public class Feeder
extends org.junit.runners.BlockJUnit4ClassRunner
Runner implementation that enhances BlockJUnit4ClassRunner
with parameterized tests.| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runners.model.Statement |
childrenInvoker(org.junit.runner.notification.RunNotifier notifier) |
protected List<org.junit.runners.model.FrameworkMethod> |
computeTestMethods() |
protected org.junit.runners.model.RunnerScheduler |
createDefaultScheduler() |
protected Object |
createTest()
Instantiates a test class and initializes attributes
which have been marked with a @Source annotation.
|
org.databene.benerator.engine.BeneratorContext |
getContext() |
org.junit.runners.model.RunnerScheduler |
getScheduler() |
void |
runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier)
this is needed to make the runChild() method public and thus accessible from other classes, especially
ChildRunner. |
void |
setScheduler(org.junit.runners.model.RunnerScheduler scheduler) |
protected String |
testName(org.junit.runners.model.FrameworkMethod method) |
protected void |
validateTestMethods(List<Throwable> errors) |
collectInitializationErrors, describeChild, getChildren, getTestRules, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutpublic Feeder(Class<?> testClass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected String testName(org.junit.runners.model.FrameworkMethod method)
testName in class org.junit.runners.BlockJUnit4ClassRunnerpublic void setScheduler(org.junit.runners.model.RunnerScheduler scheduler)
setScheduler in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>protected Object createTest() throws Exception
createTest in class org.junit.runners.BlockJUnit4ClassRunnerExceptionprotected List<org.junit.runners.model.FrameworkMethod> computeTestMethods()
computeTestMethods in class org.junit.runners.BlockJUnit4ClassRunnerprotected void validateTestMethods(List<Throwable> errors)
validateTestMethods in class org.junit.runners.BlockJUnit4ClassRunnerprotected org.junit.runners.model.Statement childrenInvoker(org.junit.runner.notification.RunNotifier notifier)
childrenInvoker in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>public void runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier)
ChildRunner.runChild in class org.junit.runners.BlockJUnit4ClassRunnerpublic org.junit.runners.model.RunnerScheduler getScheduler()
protected org.junit.runners.model.RunnerScheduler createDefaultScheduler()
public org.databene.benerator.engine.BeneratorContext getContext()
Copyright © 2010–2014 Volker Bergmann. All rights reserved.