Uses of Interface
lejosunit.framework.Test

Packages that use Test
lejosunit.examples Examples how to use leJOSUnit. 
lejosunit.framework Core framework classes. 
lejosunit.rcxui The TestRunner for the RCX. 
lejosunit.tests leJOSUnit test classes. 
lejosunit.tests.size leJOSUnit test classes for calculating the required sizes in VM. 
 

Uses of Test in lejosunit.examples
 

Classes in lejosunit.examples that implement Test
 class OneTest
          Example test case class.
 class TwoTest
          Example test case class.
 

Methods in lejosunit.examples that return Test
static Test TwoTest.suite()
          Suite method to get all tests to run.
static Test OneTest.suite()
          Suite method to get all tests to run.
static Test AllTests.suite()
          Suite method to get all tests to run.
 

Uses of Test in lejosunit.framework
 

Classes in lejosunit.framework that implement Test
 class TestCase
          A test case defines the fixture to run multiple tests.
 class TestSuite
          A TestSuite is a Composite of Tests.
 

Methods in lejosunit.framework that return Test
 Test TestFailure.failedTest()
          Gets the failed test.
 

Methods in lejosunit.framework with parameters of type Test
 void TestSuite.addTest(Test test)
          Adds a test to the suite.
 void TestSuite.runTest(Test test, TestResult result)
          Run the given test into the result.
 void TestResult.addError(Test test, java.lang.Throwable t)
          Adds an error to the list of errors.
 void TestResult.addFailure(Test test, AssertionFailedError t)
          Adds a failure to the list of failures.
 void TestResult.endTest(Test test)
          Informs the listener that a test was completed.
 void TestResult.runProtected(Test test, Protectable p)
          Runs a TestCase.
 void TestResult.startTest(Test test)
          Informs the result that a test will be started.
 void TestListener.addError(Test test, java.lang.Throwable t)
          An error occurred.
 void TestListener.addFailure(Test test, AssertionFailedError t)
          A failure occurred
 void TestListener.endTest(Test test)
          A test ended.
 void TestListener.startTest(Test test)
          A test started.
 

Constructors in lejosunit.framework with parameters of type Test
TestFailure(Test failedTest, java.lang.Throwable thrownException)
          Constructs a TestFailure with the given test and exception.
 

Uses of Test in lejosunit.rcxui
 

Methods in lejosunit.rcxui with parameters of type Test
static void TestRunner.main(Test suite)
          Main program to start the test runner.
static void TestRunner.main(Test suite, boolean doWait)
          Main program to start the test runner.
 TestResult TestRunner.doRun(Test suite)
          Run a test or test suite.
 TestResult TestRunner.doRun(Test suite, byte mode)
          Run a test or test suite.
 void TestRunner.startTest(Test test)
          Starts a test.
 void TestRunner.endTest(Test test)
          Ends a test.
 void TestRunner.addError(Test test, java.lang.Throwable t)
          Add an error to the runner.
 void TestRunner.addFailure(Test test, AssertionFailedError t)
          Add a failure to the runner.
 

Uses of Test in lejosunit.tests
 

Classes in lejosunit.tests that implement Test
 class AssertTest
          Test class for the Assert class and all the assert methods.
 class FloatAssertTest
          Test class for the FloatAssert class and all the assert methods.
 class MyTestCase
          Helper class to execute some test on the class TestCase.
 class MyTestCaseTest
          Test class for class TestCase using a helper class.
 class TestCaseTest
          Test cases for the class TestCase.
 class TestRunnerTest
          Test class for the TestRunner class.
 class UtilTest
          Test class for Util class.
 

Methods in lejosunit.tests that return Test
static Test UtilTest.suite()
          Suite method to get all tests to run.
static Test TestRunnerTest.suite()
          Suite method to get all tests to run.
static Test TestCaseTest.suite()
          Suite method to get all tests to run.
static Test MyTestCaseTest.suite()
          Suite method to get all tests to run.
static Test FloatAssertTest.suite()
          Suite method to get all tests to run.
static Test AssertTest.suite()
          Suite method to get all tests to run.
static Test AllTests.suite()
          Suite method to get all tests to run.
 

Uses of Test in lejosunit.tests.size
 

Classes in lejosunit.tests.size that implement Test
 class FreeMemoryTest
          Test class to display the free memory, when using including leJOSUnit.
 class HelloWorldTest
          Test class to calculate the size of an HelloWorld example including leJOSUnit.
 class SimpleTest
          Test class to calculate the size the simplest example including leJOSUnit.
 

Methods in lejosunit.tests.size that return Test
static Test SimpleTest.suite()
          Suite method to get all tests to run.
static Test HelloWorldTest.suite()
          Suite method to get all tests to run.
static Test FreeMemoryTest.suite()
          Suite method to get all tests to run.
 



Copyright (C) 2003 Jochen Hiller. All Rights Reserved.