|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Test | |
---|---|
momeunit.framework | MoMEUnit is an instance of the xUnit architecture for unit testing of J2ME applications. |
momeunit.runner | This package consists of classes of and used by test runners of MoMEUnit test framework. |
Uses of Test in momeunit.framework |
---|
Classes in momeunit.framework that implement Test | |
---|---|
class |
TestCase
An abstract class that every test case should extend. |
class |
TestSuite
A collection of tests that can be processed together. |
(package private) class |
TestSuite.ErrorTestCase
Returns the name of the suite. |
Fields in momeunit.framework declared as Test | |
---|---|
protected Test |
TestFailure.test
Test instance that failed. |
Methods in momeunit.framework that return Test | |
---|---|
Test |
TestFailure.failedTest()
Returns the failed test. |
Test |
TestSuite.testAt(int index)
Returns the test at the given index. |
Methods in momeunit.framework with parameters of type Test | |
---|---|
void |
TestListener.addError(Test test,
Throwable t)
Informs this listener that an error has occurred. |
void |
TestResult.addError(Test test,
Throwable t)
Adds a Throwable thrown while executing test to the list of errors. |
void |
TestListener.addFailure(Test test,
AssertionFailedError t)
Informs this listener that a failure has occurred. |
void |
TestResult.addFailure(Test test,
AssertionFailedError t)
Adds a failure of test to the list of failures. |
void |
TestSuite.addTest(Test test)
Adds specified test to the test suite. |
void |
TestListener.endTest(Test test)
Informs this listener about the end of test. |
void |
TestResult.endTest(Test test)
Informs the result that a test was completed. |
void |
TestSuite.runTest(Test test,
TestResult result)
Runs the specified test and populates the specified TestResult with results of test. |
void |
TestListener.startTest(Test test)
Informs this listener that a test has started. |
void |
TestResult.startTest(Test test)
Informs the result that a test will be started. |
Constructors in momeunit.framework with parameters of type Test | |
---|---|
TestFailure(Test failedTest,
Throwable thrownException)
Instantiates a TestFailure with the given Test and
Throwable . |
Uses of Test in momeunit.runner |
---|
Methods in momeunit.runner with parameters of type Test | |
---|---|
void |
AntTestRunner.addError(Test test,
Throwable t)
Sends error test event. |
void |
TestScreen.addError(Test test,
Throwable t)
|
void |
AntTestRunner.addFailure(Test test,
AssertionFailedError t)
Sends failure test event. |
void |
TestScreen.addFailure(Test test,
AssertionFailedError t)
|
void |
AntTestRunner.endTest(Test test)
Sends end test event. |
void |
TestScreen.endTest(Test test)
|
void |
AntTestRunner.startTest(Test test)
Sends start test event. |
void |
TestScreen.startTest(Test test)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |