Package ej.junit
Class AbstractAllTestClassesWrapper
- java.lang.Object
-
- ej.junit.AbstractAllTestClassesWrapper
-
- All Implemented Interfaces:
TestWrapper
public abstract class AbstractAllTestClassesWrapper extends Object implements TestWrapper
Executes all the test methods in all the test classes.
-
-
Field Summary
Fields Modifier and Type Field Description protected TestListenertestListenerThe test listener notified when the tests are executed.
-
Constructor Summary
Constructors Constructor Description AbstractAllTestClassesWrapper()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetTestClass()booleanrun(TestListener listener)protected abstract voidrunTestClasses()ClasswrapperRunTestClass(AbstractTestWrapper)for eachAbstractTestWrapperto execute.protected voidwrapperRunTestClass(AbstractTestWrapper test)Runs all the methods in the test.
-
-
-
Field Detail
-
testListener
protected TestListener testListener
The test listener notified when the tests are executed.
-
-
Method Detail
-
runTestClasses
protected abstract void runTestClasses()
ClasswrapperRunTestClass(AbstractTestWrapper)for eachAbstractTestWrapperto execute.
-
wrapperRunTestClass
protected void wrapperRunTestClass(AbstractTestWrapper test)
Runs all the methods in the test.- Parameters:
test- the test.
-
getTestClass
public String getTestClass()
- Specified by:
getTestClassin interfaceTestWrapper
-
run
public boolean run(TestListener listener)
- Specified by:
runin interfaceTestWrapper
-
-