public class TestRegistryManager extends java.lang.Object
TapestryIOCJUnit4ClassRunner
to manage the test registryConstructor and Description |
---|
TestRegistryManager(java.lang.Class<?> type) |
Modifier and Type | Method and Description |
---|---|
void |
afterTestClass()
Notify that the current test class has completed
|
void |
afterTestMethod()
Notify that the current test method has completed
|
protected java.util.List<java.lang.reflect.Method> |
findModuleDefFactories(java.lang.Class<?> type) |
Registry |
getOrCreateRegistry()
Get the existing registry or create one if required.
|
protected void |
shutdownRegistry() |
protected void |
validateModuleDefMethod(java.lang.reflect.Method method) |
public TestRegistryManager(java.lang.Class<?> type) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
protected java.util.List<java.lang.reflect.Method> findModuleDefFactories(java.lang.Class<?> type) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
protected void validateModuleDefMethod(java.lang.reflect.Method method) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
public Registry getOrCreateRegistry() throws java.lang.Exception
java.lang.Exception
public void afterTestMethod()
public void afterTestClass()
protected void shutdownRegistry()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.