public class ContractSuite
extends org.junit.runners.ParentRunner<org.junit.runner.Runner>
@RunWith( ContractSuite.class ) this class scans the
classes on the class path to find all the test implementations that should be
run by this test suite.
Tests annotated with @RunWith( ContractSuite.class ) must:
ContractImpl annotation specifying the implementation
being tested@Contract.Inject annotated getter that returns an
IProducerThe ContractSuite will:
@RunWith( ContractSuite.class )
NOTE:If the class annotated with
@RunWith( ContractSuite.class ) implements Dynamic the above
requirements change. See Dynamic for more information.
| Constructor and Description |
|---|
ContractSuite(Class<?> cls,
org.junit.runners.model.RunnerBuilder builder)
Called reflectively on classes annotated with
@RunWith(Suite.class) |
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runner.Description |
describeChild(org.junit.runner.Runner child) |
protected List<org.junit.runner.Runner> |
getChildren() |
protected void |
runChild(org.junit.runner.Runner child,
org.junit.runner.notification.RunNotifier notifier) |
childrenInvoker, classBlock, classRules, collectInitializationErrors, filter, getDescription, getName, getRunnerAnnotations, getTestClass, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClassesprotected List<org.junit.runner.Runner> getChildren()
getChildren in class org.junit.runners.ParentRunner<org.junit.runner.Runner>protected org.junit.runner.Description describeChild(org.junit.runner.Runner child)
describeChild in class org.junit.runners.ParentRunner<org.junit.runner.Runner>protected void runChild(org.junit.runner.Runner child,
org.junit.runner.notification.RunNotifier notifier)
runChild in class org.junit.runners.ParentRunner<org.junit.runner.Runner>Copyright © 2013-2014 XENEI.com. All Rights Reserved.