org.junit.runner.Describable
, org.junit.runner.manipulation.Filterable
, org.junit.runner.manipulation.Sortable
public class BMUnitRunner
extends org.junit.runners.BlockJUnit4ClassRunner
Constructor | Description |
---|---|
BMUnitRunner(Class<?> klass) |
Creates a BMUnitRunner to run test in
klass |
Modifier and Type | Method | Description |
---|---|---|
protected org.junit.runners.model.Statement |
addClassConfigLoader(org.junit.runners.model.Statement statement,
org.junit.runner.notification.RunNotifier notifier) |
|
protected org.junit.runners.model.Statement |
addClassMultiRuleLoader(org.junit.runners.model.Statement statement,
org.junit.runner.notification.RunNotifier notifier) |
|
protected org.junit.runners.model.Statement |
addClassMultiScriptLoader(org.junit.runners.model.Statement statement,
org.junit.runner.notification.RunNotifier notifier) |
|
protected org.junit.runners.model.Statement |
addClassSingleRuleLoader(org.junit.runners.model.Statement statement,
org.junit.runner.notification.RunNotifier notifier) |
|
protected org.junit.runners.model.Statement |
addClassSingleScriptLoader(org.junit.runners.model.Statement statement,
org.junit.runner.notification.RunNotifier notifier) |
|
protected org.junit.runners.model.Statement |
addMethodConfigLoader(org.junit.runners.model.Statement statement,
org.junit.runners.model.FrameworkMethod method) |
|
protected org.junit.runners.model.Statement |
addMethodMultiRuleLoader(org.junit.runners.model.Statement statement,
org.junit.runners.model.FrameworkMethod method) |
wrap the test method execution statement with the necessary
load and unload calls if it has a BMRules annotation
|
protected org.junit.runners.model.Statement |
addMethodMultiScriptLoader(org.junit.runners.model.Statement statement,
org.junit.runners.model.FrameworkMethod method) |
wrap the test method execution statement with the necessary
load and unload calls if it has a BMScripts annotation
|
protected org.junit.runners.model.Statement |
addMethodSingleRuleLoader(org.junit.runners.model.Statement statement,
org.junit.runners.model.FrameworkMethod method) |
wrap the test method execution statement with the necessary
load and unload calls if it has a BMRule annotation
|
protected org.junit.runners.model.Statement |
addMethodSingleScriptLoader(org.junit.runners.model.Statement statement,
org.junit.runners.model.FrameworkMethod method) |
wrap the test method execution statement with the necessary
load and unload calls if it has a BMScript annotation
|
protected org.junit.runners.model.Statement |
childrenInvoker(org.junit.runner.notification.RunNotifier notifier) |
|
protected org.junit.runners.model.Statement |
methodInvoker(org.junit.runners.model.FrameworkMethod method,
Object test) |
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BMUnitRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
klass
klass
- idenitifies the Java class containing the testsorg.junit.runners.model.InitializationError
- if the test class is malformed.protected org.junit.runners.model.Statement childrenInvoker(org.junit.runner.notification.RunNotifier notifier)
childrenInvoker
in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
protected org.junit.runners.model.Statement addClassConfigLoader(org.junit.runners.model.Statement statement, org.junit.runner.notification.RunNotifier notifier)
protected org.junit.runners.model.Statement addClassSingleScriptLoader(org.junit.runners.model.Statement statement, org.junit.runner.notification.RunNotifier notifier)
protected org.junit.runners.model.Statement addClassMultiScriptLoader(org.junit.runners.model.Statement statement, org.junit.runner.notification.RunNotifier notifier)
protected org.junit.runners.model.Statement addClassMultiRuleLoader(org.junit.runners.model.Statement statement, org.junit.runner.notification.RunNotifier notifier)
protected org.junit.runners.model.Statement addClassSingleRuleLoader(org.junit.runners.model.Statement statement, org.junit.runner.notification.RunNotifier notifier)
protected org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method, Object test)
methodInvoker
in class org.junit.runners.BlockJUnit4ClassRunner
protected org.junit.runners.model.Statement addMethodConfigLoader(org.junit.runners.model.Statement statement, org.junit.runners.model.FrameworkMethod method)
protected org.junit.runners.model.Statement addMethodSingleScriptLoader(org.junit.runners.model.Statement statement, org.junit.runners.model.FrameworkMethod method)
statement
- the statement to be evaluatedmethod
- the method being testedprotected org.junit.runners.model.Statement addMethodMultiScriptLoader(org.junit.runners.model.Statement statement, org.junit.runners.model.FrameworkMethod method)
statement
- the statement to be evaluatedmethod
- the method being testedprotected org.junit.runners.model.Statement addMethodMultiRuleLoader(org.junit.runners.model.Statement statement, org.junit.runners.model.FrameworkMethod method)
statement
- the statement to be evaluatedmethod
- the method being testedprotected org.junit.runners.model.Statement addMethodSingleRuleLoader(org.junit.runners.model.Statement statement, org.junit.runners.model.FrameworkMethod method)
statement
- the statement to be evaluatedmethod
- the method being testedCopyright © 2018. All rights reserved.