public class TestRegistryManager extends Object
TapestryIOCJUnit4ClassRunner
to manage the test registryConstructor and Description |
---|
TestRegistryManager(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 List<Method> |
findModuleDefFactories(Class<?> type) |
Registry |
getOrCreateRegistry()
Get the existing registry or create one if required.
|
protected void |
shutdownRegistry() |
protected void |
validateModuleDefMethod(Method method) |
public TestRegistryManager(Class<?> type) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
protected List<Method> findModuleDefFactories(Class<?> type) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
protected void validateModuleDefMethod(Method method) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
public Registry getOrCreateRegistry() throws Exception
Exception
public void afterTestMethod()
public void afterTestClass()
protected void shutdownRegistry()
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.