SunSPOT API V3.0


com.sun.spot.testFramework
Class TestRunner

java.lang.Object
  extended by com.sun.spot.testFramework.TestRunner

public class TestRunner
extends Object

The TestRunner runs test cases contained in a subclass of TestBase. For information on using the TestRunner see ITestCases.


Constructor Summary
TestRunner()
           
TestRunner(ITestResultLog testResultLog)
           
 
Method Summary
 void run(ITestCases tc)
          Start a test run by executing the test cases in the supplied object
 void showResults()
           
static void startWatchdog(int timeout)
          Terminate execution after a specified period.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRunner

public TestRunner()

TestRunner

public TestRunner(ITestResultLog testResultLog)
Method Detail

startWatchdog

public static void startWatchdog(int timeout)
Terminate execution after a specified period.

Parameters:
timeout - time to wait in millisecs before terminating

run

public void run(ITestCases tc)
Start a test run by executing the test cases in the supplied object

Parameters:
tc - The object holding the test cases

showResults

public void showResults()

SunSPOT API V3.0


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