public class OpenEjbRunner
extends org.junit.runner.Runner
| Constructor and Description |
|---|
OpenEjbRunner(Class<?> testClazz)
Creates a new runner (called by JUnit)
|
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runner.Runner |
getDelegateRunner(Class<?> testClazz)
Determines, based on the test class which runner we should delegate the
actual JUnit logic to.
|
org.junit.runner.Description |
getDescription() |
protected Class<?> |
getTestClass() |
TestContext |
newTestContext(Method method) |
TestContext |
newTestContext(Method method,
String roleName)
This accepts a null method.
|
void |
run(org.junit.runner.notification.RunNotifier runNotifier) |
int |
testCount() |
public OpenEjbRunner(Class<?> testClazz) throws org.junit.runners.model.InitializationError
testClazz - org.junit.runners.model.InitializationErrorprotected org.junit.runner.Runner getDelegateRunner(Class<?> testClazz) throws Throwable
testClazz - Throwable - NFC! Not like you need to declare you're throwing an Errorpublic TestContext newTestContext(Method method)
method - method - newTestContext(java.lang.reflect.Method, java.lang.String)public TestContext newTestContext(Method method, String roleName)
method - roleName - Role to execute the context in.public org.junit.runner.Description getDescription()
getDescription in interface org.junit.runner.DescribablegetDescription in class org.junit.runner.Runnerpublic void run(org.junit.runner.notification.RunNotifier runNotifier)
run in class org.junit.runner.Runnerpublic int testCount()
testCount in class org.junit.runner.Runnerprotected Class<?> getTestClass()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.