|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjmunit.framework.cldc11.ConsoleListener
public class ConsoleListener
The ConsoleListener class listens to test results and writes any failures and errors to the console.
| Constructor Summary | |
|---|---|
ConsoleListener()
|
|
| Method Summary | |
|---|---|
void |
addError(java.lang.Class testClass,
java.lang.String test,
java.lang.Throwable t)
Prints the details of an error. |
void |
addFailure(java.lang.Class testClass,
java.lang.String test,
AssertionFailedException t)
Prints the details of a failure. |
void |
clear()
The ConsoleListener ignores any notifications that the results have been cleared. |
void |
endTest(java.lang.Class testClass,
java.lang.String test)
The ConsoleListener ignores any notifications that a test has ended. |
void |
startTest(java.lang.Class testClass,
java.lang.String test)
The ConsoleListener ignores any notifications that a test has started. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsoleListener()
| Method Detail |
|---|
public void addError(java.lang.Class testClass,
java.lang.String test,
java.lang.Throwable t)
addError in interface TestListenertestClass - The Class associated with the test.test - The test that reported an error.t - The error.
public void addFailure(java.lang.Class testClass,
java.lang.String test,
AssertionFailedException t)
addFailure in interface TestListenertestClass - The Class associated with the test.test - The test that reported a failure.t - The failure.
public void endTest(java.lang.Class testClass,
java.lang.String test)
endTest in interface TestListenertestClass - The Class associated with the test.test - The test that finished running.
public void startTest(java.lang.Class testClass,
java.lang.String test)
startTest in interface TestListenertestClass - The Class associated with the test.test - The test that started running.public void clear()
clear in interface TestListener
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||