|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.junit.runner.notification.RunListener
org.easetech.easytest.runner.EasyTestRunListener
public class EasyTestRunListener
Currently just a placeholder class that will be used later to factor out some common logic from the Runner class.
| Field Summary | |
|---|---|
protected static org.slf4j.Logger |
LOG
An instance of logger associated with the test framework. |
| Constructor Summary | |
|---|---|
EasyTestRunListener()
|
|
| Method Summary | |
|---|---|
void |
testAssumptionFailure(org.junit.runner.notification.Failure failure)
Called when an atomic test flags that it assumes a condition that is false |
void |
testFailure(org.junit.runner.notification.Failure failure)
Called when an atomic test fails. |
void |
testFinished(org.junit.runner.Description description)
Called when an atomic test has finished, whether the test succeeds or fails. |
void |
testIgnored(org.junit.runner.Description description)
Called when a test will not be run, generally because a test method is annotated with Ignore. |
void |
testRunFinished(org.junit.runner.Result result)
Called when all tests have finished |
void |
testRunStarted(org.junit.runner.Description description)
Called before any tests have been run. |
void |
testStarted(org.junit.runner.Description description)
Called when an atomic test is about to be started. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.slf4j.Logger LOG
| Constructor Detail |
|---|
public EasyTestRunListener()
| Method Detail |
|---|
public void testRunStarted(org.junit.runner.Description description)
throws Exception
testRunStarted in class org.junit.runner.notification.RunListenerdescription - describes the tests to be run
Exception
public void testRunFinished(org.junit.runner.Result result)
throws Exception
testRunFinished in class org.junit.runner.notification.RunListenerresult - the summary of the test run, including all the tests that failed
Exception
public void testStarted(org.junit.runner.Description description)
throws Exception
testStarted in class org.junit.runner.notification.RunListenerdescription - the description of the test that is about to be run
(generally a class and method name)
Exception
public void testFinished(org.junit.runner.Description description)
throws Exception
testFinished in class org.junit.runner.notification.RunListenerdescription - the description of the test that just ran
Exception
public void testFailure(org.junit.runner.notification.Failure failure)
throws Exception
testFailure in class org.junit.runner.notification.RunListenerfailure - describes the test that failed and the exception that was thrown
Exceptionpublic void testAssumptionFailure(org.junit.runner.notification.Failure failure)
testAssumptionFailure in class org.junit.runner.notification.RunListenerfailure - describes the test that failed and the
AssumptionViolatedException that was thrown
public void testIgnored(org.junit.runner.Description description)
throws Exception
Ignore.
testIgnored in class org.junit.runner.notification.RunListenerdescription - describes the test that will not be run
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||