|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Test | |
j2meunit.examples | |
j2meunit.framework | |
j2meunit.midletui | |
j2meunit.textui |
Uses of Test in j2meunit.examples |
Classes in j2meunit.examples that implement Test | |
class |
TestAll
|
class |
TestOne
Example Testcase 1. |
class |
TestTwo
Insert the type's description here. |
Methods in j2meunit.examples that return Test | |
Test |
TestTwo.suite()
Create the test suite. |
Test |
TestOne.suite()
To create the test suite. |
Test |
TestAll.suite()
|
Uses of Test in j2meunit.framework |
Classes in j2meunit.framework that implement Test | |
class |
TestCase
A test case defines the fixture to run multiple tests. |
class |
TestSuite
A TestSuite is a collection of Test instances which can be run
together. |
Fields in j2meunit.framework declared as Test | |
protected Test |
TestFailure.fFailedTest
|
Methods in j2meunit.framework that return Test | |
Test |
TestSuite.testAt(int index)
Returns the test at the given index. |
Test |
TestFailure.failedTest()
Gets the failed test. |
Test |
TestCase.suite()
This method should be overridden if a test case contains multiple test methods. |
Methods in j2meunit.framework with parameters of type Test | |
void |
TestSuite.addTest(Test test)
Adds a test to the suite. |
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 result that a test was completed. |
void |
TestResult.endTestStep(Test test)
Informs the result 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 e)
A failure occurred. |
void |
TestListener.endTest(Test test)
A test ended. |
void |
TestListener.endTestStep(Test test)
A test step ended. |
void |
TestListener.startTest(Test test)
A test started. |
Constructors in j2meunit.framework with parameters of type Test | |
TestSuite(Test rTest)
To create a test suite initialized with a single test. |
|
TestSuite(Test[] rTests)
To create a test suite initialized with multiple tests. |
|
TestFailure(Test failedTest,
java.lang.Throwable thrownException)
Constructs a TestFailure with the given test and exception. |
Uses of Test in j2meunit.midletui |
Methods in j2meunit.midletui that return Test | |
protected Test |
TestRunner.createTestSuite(java.lang.String[] rTestCaseClasses)
Builds a test suite from all test case classes in a string array. |
Methods in j2meunit.midletui with parameters of type Test | |
void |
TestRunner.addError(Test test,
java.lang.Throwable t)
TestListener.addError() - will print 'E' to System.out. |
void |
TestRunner.addFailure(Test test,
AssertionFailedError e)
TestListener.addError() - will print 'F' to System.out. |
void |
TestRunner.endTest(Test test)
TestListener.endTest() |
void |
TestRunner.endTestStep(Test test)
TestListener.endTestStep() |
void |
TestRunner.startTest(Test test)
TestListener.startTest() - will print '.' to te System.out. |
protected void |
TestRunner.doRun(Test suite)
Will run all tests in the given test suite. |
Uses of Test in j2meunit.textui |
Methods in j2meunit.textui with parameters of type Test | |
void |
TestRunner.addError(Test test,
java.lang.Throwable t)
DOCUMENT ME! |
void |
TestRunner.addFailure(Test test,
AssertionFailedError e)
DOCUMENT ME! |
void |
TestRunner.endTest(Test test)
DOCUMENT ME! |
void |
TestRunner.endTestStep(Test test)
TestListener.endTestStep() |
static void |
TestRunner.run(Test suite)
Runs a single test and collects its results. |
void |
TestRunner.startTest(Test test)
DOCUMENT ME! |
protected void |
TestRunner.doRun(Test suite)
DOCUMENT ME! |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |