public class TapestryIOCJUnit4ClassRunner extends org.junit.runners.BlockJUnit4ClassRunner
Registry
annotation. A RegistryShutdownType
can be specified to configure the
lifecycle of the test registry and it's services
ModuleDef
s can be added to the
Registry
by annotating a factory method(s)
with ModuleDef
. These ModuleDef
factory methods must be
ModuleDef
Inject
ed into the test
class to be used during testing.Modifier and Type | Class and Description |
---|---|
static class |
TapestryIOCJUnit4ClassRunner.RegistryManagerRunNotifier |
Constructor and Description |
---|
TapestryIOCJUnit4ClassRunner(Class<?> type) |
Modifier and Type | Method and Description |
---|---|
protected Object |
createTest() |
void |
run(org.junit.runner.notification.RunNotifier notifier) |
protected org.junit.runners.model.Statement |
withAfterClasses(org.junit.runners.model.Statement statement) |
collectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
public TapestryIOCJUnit4ClassRunner(Class<?> type) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
public void run(org.junit.runner.notification.RunNotifier notifier)
run
in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
protected org.junit.runners.model.Statement withAfterClasses(org.junit.runners.model.Statement statement)
withAfterClasses
in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
protected Object createTest() throws Exception
createTest
in class org.junit.runners.BlockJUnit4ClassRunner
Exception
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.