|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.runner.Runner org.junit.runners.ParentRunner<org.junit.runner.Runner> org.junit.runners.Suite org.hibernate.envers.test.EnversRunner
public class EnversRunner
Copied & modified from Parameterized
.
The modification is that the generated runners extend CustomRunner
instead of the default
TestClassRunnerForParameters
.
The runner itself sets the data using a setter instead of a constructor, and creates only one test instance. Moreover
it doesn't override classBlock
which causes the custom @BeforeClassOnce
and @AfterClassOnce
annotations to work.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.junit.runners.Suite |
---|
org.junit.runners.Suite.SuiteClasses |
Constructor Summary | |
---|---|
EnversRunner(Class<?> klass)
Only called reflectively. |
Method Summary | |
---|---|
protected List<org.junit.runner.Runner> |
getChildren()
|
Methods inherited from class org.junit.runners.Suite |
---|
describeChild, emptySuite, runChild |
Methods inherited from class org.junit.runners.ParentRunner |
---|
childrenInvoker, classBlock, collectInitializationErrors, filter, getDescription, getName, getTestClass, run, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses |
Methods inherited from class org.junit.runner.Runner |
---|
testCount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnversRunner(Class<?> klass) throws Throwable
Throwable
Method Detail |
---|
protected List<org.junit.runner.Runner> getChildren()
getChildren
in class org.junit.runners.Suite
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |