public class BehaviorTestRunner
extends org.junit.runner.Runner
implements org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable
| Constructor and Description |
|---|
BehaviorTestRunner(Class<?> testClass) |
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runners.model.Statement |
childrenInvoker(org.junit.runner.notification.RunNotifier notifier) |
protected void |
collectInitializationErrors(List<Throwable> errors) |
protected List<org.junit.runners.model.FrameworkMethod> |
computeTestFields() |
protected org.junit.runners.model.TestClass |
createTestClass(Class<?> testClass) |
protected String |
dataName(org.junit.runners.model.FrameworkMethod method,
Data data,
Browser browser) |
protected String |
datasetName(Data data) |
void |
filter(org.junit.runner.manipulation.Filter filter) |
protected List<org.junit.runners.model.FrameworkMethod> |
getChildren() |
org.junit.runner.Description |
getDescription() |
protected org.junit.runners.model.Statement |
getInvoker(org.junit.runners.model.FrameworkMethod method,
Data data,
Browser browser) |
protected Annotation[] |
getRunnerAnnotations() |
protected org.junit.runner.Description |
getScriptDescription(org.junit.runners.model.FrameworkMethod method,
Data data,
Browser browser) |
org.junit.runners.model.TestClass |
getTestClass() |
protected org.junit.runner.Description |
getTestDescription(org.junit.runners.model.FrameworkMethod method) |
protected boolean |
isIgnored(org.junit.runners.model.FrameworkMethod child) |
void |
run(org.junit.runner.notification.RunNotifier notifier) |
protected void |
runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier) |
protected void |
runLeaf(org.junit.runners.model.Statement statement,
org.junit.runner.Description description,
org.junit.runner.notification.RunNotifier notifier) |
void |
sort(org.junit.runner.manipulation.Sorter sorter) |
protected String |
testId(org.junit.runners.model.FrameworkMethod method) |
protected String |
testName(org.junit.runners.model.FrameworkMethod method) |
protected void |
validateConstructor(List<Throwable> errors) |
protected void |
validateFields(List<Throwable> errors) |
protected void |
validateInstanceFields(List<Throwable> errors) |
protected void |
validateNoNonStaticInnerClass(List<Throwable> errors) |
protected void |
validateOnlyOneConstructor(List<Throwable> errors) |
protected void |
validateTest(List<Throwable> errors) |
protected void |
validateTests(Class<? extends Annotation> annotation,
boolean isStatic,
List<Throwable> errors) |
protected void |
validateZeroArgConstructor(List<Throwable> errors) |
public BehaviorTestRunner(Class<?> testClass) throws org.junit.runners.model.InitializationError
protected boolean isIgnored(org.junit.runners.model.FrameworkMethod child)
protected List<org.junit.runners.model.FrameworkMethod> getChildren()
protected List<org.junit.runners.model.FrameworkMethod> computeTestFields()
protected String testName(org.junit.runners.model.FrameworkMethod method)
protected String testId(org.junit.runners.model.FrameworkMethod method)
protected String dataName(org.junit.runners.model.FrameworkMethod method, Data data, Browser browser)
protected org.junit.runners.model.Statement getInvoker(org.junit.runners.model.FrameworkMethod method,
Data data,
Browser browser)
protected org.junit.runners.model.TestClass createTestClass(Class<?> testClass)
protected void validateTests(Class<? extends Annotation> annotation, boolean isStatic, List<Throwable> errors)
public final org.junit.runners.model.TestClass getTestClass()
protected final void runLeaf(org.junit.runners.model.Statement statement,
org.junit.runner.Description description,
org.junit.runner.notification.RunNotifier notifier)
protected Annotation[] getRunnerAnnotations()
public org.junit.runner.Description getDescription()
protected org.junit.runner.Description getTestDescription(org.junit.runners.model.FrameworkMethod method)
protected org.junit.runner.Description getScriptDescription(org.junit.runners.model.FrameworkMethod method,
Data data,
Browser browser)
public void run(org.junit.runner.notification.RunNotifier notifier)
protected org.junit.runners.model.Statement childrenInvoker(org.junit.runner.notification.RunNotifier notifier)
protected void runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier)
public void sort(org.junit.runner.manipulation.Sorter sorter)
public void filter(org.junit.runner.manipulation.Filter filter)
throws org.junit.runner.manipulation.NoTestsRemainException
Copyright © 2021. All rights reserved.