TABLE C-1Framework Test Description Fields (Continued)

FieldDescription

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.

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-2identifies the Framework keywords and describes the function of their values in the test description file.

TABLE C-2Framework 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.

 

 

94 Java ME TCK Framework Developer’s Guide • July 2007

Page 114
Image 114
Sun Microsystems 1.2 manual Table C-2Framework Keywords