|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
ch.elca.el4j.tests.core.context.junit4.EL4JJunit4ClassRunner
public class EL4JJunit4ClassRunner
JUnit4ClassRunner which enables the use of the ExtendedContextConfiguration.
To be used in conjunction with the ModuleTestContextLoader.
It is an error to use this ClassRunner with a ContextConfiguration.loader() not
set to a subtype of ModuleTestContextLoader.
| Constructor Summary | |
|---|---|
EL4JJunit4ClassRunner(Class<?> testClass)
Constructor which places the tested class in a thread-local variable of ModuleTestContextLoader so the ContextLoader can investigate the @ExtendedContextConfiguration annotation and
configure the ModuleApplicationContext appropriately. |
|
| Method Summary |
|---|
| Methods inherited from class org.springframework.test.context.junit4.SpringJUnit4ClassRunner |
|---|
createTest, createTestContextManager, getDefaultContextLoaderClassName, getDescription, getExpectedException, getJUnitTimeout, getSpringTimeout, getTestContextManager, isTestMethodIgnored, methodBlock, possiblyExpectingExceptions, run, runChild, withAfterClasses, withAfters, withBeforeClasses, withBefores, withPotentialRepeat, withPotentialTimeout |
| Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner |
|---|
collectInitializationErrors, computeTestMethods, describeChild, getChildren, methodInvoker, testName, validateConstructor, validateInstanceMethods, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor |
| Methods inherited from class org.junit.runners.ParentRunner |
|---|
childrenInvoker, classBlock, filter, getName, getTestClass, setScheduler, sort, validatePublicVoidNoArgMethods |
| 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 EL4JJunit4ClassRunner(Class<?> testClass)
throws org.junit.runners.model.InitializationError
@ExtendedContextConfiguration annotation and
configure the ModuleApplicationContext appropriately.
testClass - the test class
org.junit.runners.model.InitializationError
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||