public class SimpleServerRunner extends ProductContextRunner
SimpleServer| Constructor and Description |
|---|
SimpleServerRunner(Class<?> klass)
Constructor compatible with the underlying default JUnit4 runner.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runners.model.Statement |
classBlock(org.junit.runner.notification.RunNotifier notifier) |
protected TestedProduct<?> |
createProduct(Class<? extends TestedProduct<?>> testedProductClass)
Override to implement custom factory method for tested product.
|
getProductgetInjectionContextmethodInvokercollectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, methodBlock, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutpublic SimpleServerRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError - if the test class is malformed.protected TestedProduct<?> createProduct(Class<? extends TestedProduct<?>> testedProductClass)
ProductContextRunnercreateProduct in class ProductContextRunnertestedProductClass - tested product classprotected org.junit.runners.model.Statement classBlock(org.junit.runner.notification.RunNotifier notifier)
classBlock in class AbstractInjectingRunnerCopyright © 2015 Atlassian. All rights reserved.