public class Arquillian
extends org.junit.runners.BlockJUnit4ClassRunner
Modifier and Type | Class and Description |
---|---|
private static class |
Arquillian.EmptyStatement |
private static class |
Arquillian.StatementLifecycleExecutor |
Modifier and Type | Field and Description |
---|---|
private TestRunnerAdaptor |
adaptor |
Constructor and Description |
---|
Arquillian(java.lang.Class<?> testClass) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<org.junit.runners.model.FrameworkMethod> |
getChildren() |
protected org.junit.runners.model.Statement |
methodBlock(org.junit.runners.model.FrameworkMethod method) |
protected org.junit.runners.model.Statement |
methodInvoker(org.junit.runners.model.FrameworkMethod method,
java.lang.Object test) |
private void |
multiExecute(org.junit.runners.model.Statement... statements)
A helper to safely execute multiple statements in one.
Will execute all statements even if they fail, all exceptions will be kept. |
void |
run(org.junit.runner.notification.RunNotifier notifier) |
protected void |
validatePublicVoidNoArgMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
boolean isStatic,
java.util.List<java.lang.Throwable> errors)
Override to allow test methods with arguments
|
protected org.junit.runners.model.Statement |
withAfterClasses(org.junit.runners.model.Statement originalStatement) |
protected org.junit.runners.model.Statement |
withAfters(org.junit.runners.model.FrameworkMethod method,
java.lang.Object target,
org.junit.runners.model.Statement originalStatement) |
protected org.junit.runners.model.Statement |
withBeforeClasses(org.junit.runners.model.Statement originalStatement) |
protected org.junit.runners.model.Statement |
withBefores(org.junit.runners.model.FrameworkMethod method,
java.lang.Object target,
org.junit.runners.model.Statement originalStatement) |
collectInitializationErrors, computeTestMethods, createTest, describeChild, getTestRules, isIgnored, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withPotentialTimeout
private TestRunnerAdaptor adaptor
public Arquillian(java.lang.Class<?> testClass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
protected java.util.List<org.junit.runners.model.FrameworkMethod> getChildren()
getChildren
in class org.junit.runners.BlockJUnit4ClassRunner
public void run(org.junit.runner.notification.RunNotifier notifier)
run
in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
protected void validatePublicVoidNoArgMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotation, boolean isStatic, java.util.List<java.lang.Throwable> errors)
validatePublicVoidNoArgMethods
in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
protected org.junit.runners.model.Statement withBeforeClasses(org.junit.runners.model.Statement originalStatement)
withBeforeClasses
in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
protected org.junit.runners.model.Statement withAfterClasses(org.junit.runners.model.Statement originalStatement)
withAfterClasses
in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
protected org.junit.runners.model.Statement withBefores(org.junit.runners.model.FrameworkMethod method, java.lang.Object target, org.junit.runners.model.Statement originalStatement)
withBefores
in class org.junit.runners.BlockJUnit4ClassRunner
protected org.junit.runners.model.Statement withAfters(org.junit.runners.model.FrameworkMethod method, java.lang.Object target, org.junit.runners.model.Statement originalStatement)
withAfters
in class org.junit.runners.BlockJUnit4ClassRunner
protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
methodBlock
in class org.junit.runners.BlockJUnit4ClassRunner
protected org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method, java.lang.Object test)
methodInvoker
in class org.junit.runners.BlockJUnit4ClassRunner
private void multiExecute(org.junit.runners.model.Statement... statements) throws java.lang.Throwable
Statement
s
fail, a MultipleFailureException
will be thrown.java.lang.Throwable