public class JUnit4Runner
extends org.junit.runners.BlockJUnit4ClassRunner
| Modifier and Type | Class and Description |
|---|---|
static class |
JUnit4Runner.MultiStatementExecutor |
| Constructor and Description |
|---|
JUnit4Runner(OpenEjbRunner runner,
Class<?> testClazz) |
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runners.model.Statement |
createUnsecuredStatement(org.junit.runners.model.FrameworkMethod method)
Builds a method statement that executes in an unauthenticated context
|
protected OpenEjbRunner |
getOpenEjbRunner() |
protected org.junit.runners.model.Statement |
methodBlock(org.junit.runners.model.FrameworkMethod method)
Prepares a method statement, configuring it for the test context
|
protected org.junit.runners.model.Statement |
possiblyExpectingAccessException(org.junit.runners.model.Statement next,
boolean failWithAccessException) |
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutpublic JUnit4Runner(OpenEjbRunner runner, Class<?> testClazz) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected OpenEjbRunner getOpenEjbRunner()
protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
methodBlock in class org.junit.runners.BlockJUnit4ClassRunnerprotected org.junit.runners.model.Statement createUnsecuredStatement(org.junit.runners.model.FrameworkMethod method)
protected org.junit.runners.model.Statement possiblyExpectingAccessException(org.junit.runners.model.Statement next,
boolean failWithAccessException)
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.