public class WisdomBlackBoxRunner
extends org.junit.runners.BlockJUnit4ClassRunner
implements org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER |
private org.osgi.framework.Bundle |
probe |
| Constructor and Description |
|---|
WisdomBlackBoxRunner(Class<?> klass)
Creates an instance of runner.
|
| Modifier and Type | Method and Description |
|---|---|
void |
filter(org.junit.runner.manipulation.Filter filter) |
private boolean |
mustDeployTheTestBundle(Class<?> klass) |
void |
sort(org.junit.runner.manipulation.Sorter sorter) |
protected org.junit.runners.model.Statement |
withAfterClasses(org.junit.runners.model.Statement statement)
If the test bundle was deployed, it uninstalls it.
|
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutprivate static final org.slf4j.Logger LOGGER
private final org.osgi.framework.Bundle probe
private boolean mustDeployTheTestBundle(Class<?> klass)
public void sort(org.junit.runner.manipulation.Sorter sorter)
sort in interface org.junit.runner.manipulation.Sortablesort in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>public void filter(org.junit.runner.manipulation.Filter filter)
throws org.junit.runner.manipulation.NoTestsRemainException
filter in interface org.junit.runner.manipulation.Filterablefilter in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>org.junit.runner.manipulation.NoTestsRemainExceptionprotected org.junit.runners.model.Statement withAfterClasses(org.junit.runners.model.Statement statement)
withAfterClasses in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>statement - the statement uninstalling the test bundle.Copyright © 2013–2014 Wisdom Framework. All rights reserved.