Sun SPOT API
Green Release  


Package com.sun.spot.testFramework

Interface Summary
ITestCases The interface implemented for any class containing test cases.

To use the test framework (loosely based on junit) create a subclass of TestBase.

To start a test run use:
TestRunner tr = new TestRunner();
tr.run(new [your test class]());


Each test case is a public void method in your test class with a name of the form testnn(), where nn is the test number in the range 00 to, currently, 29.
ITestResultLog  
 

Class Summary
ChildIsolateTestHelper  
ChildIsolateTestRunner  
CopiableTestResults  
InterIsolateTestResultLog  
SystemOutTestResultLog  
TestBase The abstract superclass for any class containing test cases.

See ITestCases for details of use.
TestRunner The TestRunner runs test cases contained in a subclass of TestBase.
 


Sun SPOT API
Green Release  


Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved.