Sun Microsystems 1.2 Telephone Accessories User Manual


 
94 Java ME TCK Framework Developer’s Guide July 2007
Keywords
Keywords are tokens associated with specific tests. Keywords have the following
functions:
Convey information to the harness about how to execute the tests
Serve as a basis for including and excluding tests during test runs
Users specify keyword expressions in the harness Configuration Editor to filter tests
during test runs.
Keywords are specified by the test developer in the keywords field of the test
description. Test suites can provide additional custom keywords.
TABLE C-2 identifies
the Framework keywords and describes the function of their values in the test
description file.
remote Contains information required to run distributed network tests.
resources Contains the location of the resource files that are needed by the test class.
The resources files can be image, data, or class files. Separate multiple
resources with white space.
remoteSource Contains the source name of the remote test class of this distributed test
group. Separate multiple remote source files with white space.
TABLE C-2 Framework Keywords
Keyword Description
interactive Identifies tests that require human interaction.
negative The component under test must terminate with (and detect) an error. An
operation performed by a negative test on the component under test must
not succeed.
OTA Identifies OTA tests.
positive The component under test must terminate normally. An operation
performed by the test on the component under test must succeed.
TABLE C-1 Framework Test Description Fields (Continued)
Field Description