Package org.apache.tapestry5.ioc.junit
Class TestRegistryManager
-
- org.apache.tapestry5.ioc.junit.TestRegistryManager
-
public class TestRegistryManager extends
Helper class used by theTapestryIOCJUnit4ClassRunner
to manage the test registry
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterTestClass()
Notify that the current test class has completedvoid
afterTestMethod()
Notify that the current test method has completedprotected <>
<?> type)
Registry
getOrCreateRegistry()
Get the existing registry or create one if required.protected void
shutdownRegistry()
protected void
method)
-
-
-
Method Detail
-
findModuleDefFactories
protected <> <?> type) throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
-
validateModuleDefMethod
protected void method) throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
-
getOrCreateRegistry
public Registry getOrCreateRegistry() throws
Get the existing registry or create one if required.- Returns:
- The test Registry
- Throws:
-
afterTestMethod
public void afterTestMethod()
Notify that the current test method has completed
-
afterTestClass
public void afterTestClass()
Notify that the current test class has completed
-
shutdownRegistry
protected void shutdownRegistry()
-
-