public class OpenEjbRunner
extends Runner
Constructor and Description |
---|
OpenEjbRunner(java.lang.Class<?> testClazz)
Creates a new runner (called by JUnit)
|
Modifier and Type | Method and Description |
---|---|
protected Runner |
getDelegateRunner(java.lang.Class<?> testClazz)
Determines, based on the test class which runner we should delegate the
actual JUnit logic to.
|
Description |
getDescription() |
protected java.lang.Class<?> |
getTestClass() |
TestContext |
newTestContext(java.lang.reflect.Method method) |
TestContext |
newTestContext(java.lang.reflect.Method method,
java.lang.String roleName)
This accepts a null method.
|
void |
run(RunNotifier runNotifier) |
int |
testCount() |
public OpenEjbRunner(java.lang.Class<?> testClazz) throws InitializationError
testClazz
- InitializationError
protected Runner getDelegateRunner(java.lang.Class<?> testClazz) throws java.lang.Throwable
testClazz
- java.lang.Throwable
- NFC! Not like you need to declare you're throwing an Errorpublic TestContext newTestContext(java.lang.reflect.Method method)
method
- method
- newTestContext(java.lang.reflect.Method, java.lang.String)
public TestContext newTestContext(java.lang.reflect.Method method, java.lang.String roleName)
method
- roleName
- Role to execute the context in.public Description getDescription()
public void run(RunNotifier runNotifier)
public int testCount()
protected java.lang.Class<?> getTestClass()