77
APPENDIX
A
Test API
The following is the Java ME technology-specific API that every test developer must
know:
■ Test
■ Status
■ MultiTest
■ J2MEDistributedTest
■ J2SEDistributedTest
■ DistribInteractiveTest
■ OTATest
Test
Interface name: com.sun.tck.cldc.lib.Test
This is a Java ME technology version of the standard harness Test interface. This
interface is implemented by all Java ME technology tests. Each test must define the
run method as follows:
CODE EXAMPLE A-1 run Method
public Status run(String[] args, PrintStream log, PrintStream ref)