Package ej.junit
Class CheckHelperTestListener
- java.lang.Object
-
- ej.junit.CheckHelperTestListener
-
- All Implemented Interfaces:
TestListener
public class CheckHelperTestListener extends Object implements TestListener
-
-
Constructor Summary
Constructors Constructor Description CheckHelperTestListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonCaseEnd(String name, double duration)voidonCaseStart(String name, String className, String file, int line)voidonError(String message, String type, String trace)voidonFailure(String message, String type, String trace)voidonSkip(String message)voidonSuiteEnd(String name, int runs, int failures, int errors)voidonSuiteStart(String name)voidtestAfterClassMethod(String testClass, String methodName)voidtestAfterMethod(String testClass, String methodName)voidtestBeforeClassMethod(String testClass, String methodName)voidtestBeforeMethod(String testClass, String methodName)voidtestInstance(String testClass)
-
-
-
Method Detail
-
testBeforeClassMethod
public void testBeforeClassMethod(String testClass, String methodName)
- Specified by:
testBeforeClassMethodin interfaceTestListener
-
testInstance
public void testInstance(String testClass)
- Specified by:
testInstancein interfaceTestListener
-
testBeforeMethod
public void testBeforeMethod(String testClass, String methodName)
- Specified by:
testBeforeMethodin interfaceTestListener
-
testAfterMethod
public void testAfterMethod(String testClass, String methodName)
- Specified by:
testAfterMethodin interfaceTestListener
-
testAfterClassMethod
public void testAfterClassMethod(String testClass, String methodName)
- Specified by:
testAfterClassMethodin interfaceTestListener
-
onSuiteStart
public void onSuiteStart(String name)
- Specified by:
onSuiteStartin interfaceTestListener
-
onSuiteEnd
public void onSuiteEnd(String name, int runs, int failures, int errors)
- Specified by:
onSuiteEndin interfaceTestListener
-
onCaseStart
public void onCaseStart(String name, String className, String file, int line)
- Specified by:
onCaseStartin interfaceTestListener
-
onCaseEnd
public void onCaseEnd(String name, double duration)
- Specified by:
onCaseEndin interfaceTestListener
-
onFailure
public void onFailure(String message, String type, String trace)
- Specified by:
onFailurein interfaceTestListener
-
onError
public void onError(String message, String type, String trace)
- Specified by:
onErrorin interfaceTestListener
-
onSkip
public void onSkip(String message)
- Specified by:
onSkipin interfaceTestListener
-
-