public abstract class WebTestSuiteRunner
extends org.junit.runner.Runner
WebTestSuite
implementation class it instantiates it and gathers information necessary to create a delegate runner that will
run all the tests in the suite.Modifier and Type | Field and Description |
---|---|
static String |
PACKAGE_SEPARATOR |
protected WebTestSuite |
suite |
protected Set<Class<?>> |
testClasses |
protected String |
testPackage |
protected Class<?> |
webTestSuiteClass |
Constructor and Description |
---|
WebTestSuiteRunner(Class<?> webTestSuiteClass) |
Modifier and Type | Method and Description |
---|---|
protected abstract org.junit.runner.Runner |
delegateRunner()
Override this method to create the runner that will perform actual test run.
|
org.junit.runner.Description |
getDescription() |
protected Iterable<WebTestListener> |
listeners()
A list of listeners to apply for this suite
|
void |
run(org.junit.runner.notification.RunNotifier notifier) |
WebTestSuite |
suite() |
public static final String PACKAGE_SEPARATOR
protected final Class<?> webTestSuiteClass
protected final WebTestSuite suite
protected final String testPackage
public WebTestSuiteRunner(Class<?> webTestSuiteClass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
protected abstract org.junit.runner.Runner delegateRunner()
protected Iterable<WebTestListener> listeners()
public org.junit.runner.Description getDescription()
getDescription
in interface org.junit.runner.Describable
getDescription
in class org.junit.runner.Runner
public void run(org.junit.runner.notification.RunNotifier notifier)
run
in class org.junit.runner.Runner
public final WebTestSuite suite()
Copyright © 2002-2017 Atlassian. All Rights Reserved.