Sun Microsystems 1.2 Telephone Accessories User Manual


 
20 Java ME TCK Framework Developer’s Guide July 2007
3. Enter the ant command to invoke the ant build script.
The build creates a SimpleTestSuite-build directory containing the test
suite.
After creating the updated test suite, you must test it (see “Testing an Updated
Simple Test Suite” on page 20) before making the test suite available to users.
Testing an Updated Simple Test Suite
The following steps demonstrate how to test an updated test suite. General
information about testing can be located in Chapter 7 of the Java Technology Test Suite
Development Guide.
To Test an Updated Test Suite
After completing the procedures contained in “Building an Updated Simple Test
Suite” on page 19, you must test the updated test suite by executing it with the
JavaTest harness.
Before executing the test suite, your development environment must meet the
minimum requirements described in “Development Environment” on page 3.You
must also have the following tools installed to test the updated Simple Test Suite:
Java ME TCK Framework 1.2
JavaTest harness 3.2.2
Wireless Toolkit (WTK) version 2.5
Note The following commands are shown using Microsoft Windows system
prompts and syntax.
1. Make the Simple Test Suite root directory your current directory.
2. Start the JavaTest harness by using the following command.
The JavaTest harness displays either the Welcome to JavaTest dialog box or the
Quick Start wizard. See the JavaTest harness documentation for detailed
information about using the JavaTest harness.
java -jar lib\javatest.jar -newDesktop