public class KarmaTestSuiteRunner extends org.junit.runners.ParentRunner<String>
| Modifier and Type | Class and Description |
|---|---|
static interface |
KarmaTestSuiteRunner.KarmaConfigPath
Describes the karma config path used by the test results server.
|
static interface |
KarmaTestSuiteRunner.KarmaProcessArgs
Provides the karma process argument.
|
static interface |
KarmaTestSuiteRunner.KarmaProcessName
Points to the karma process name.
|
static interface |
KarmaTestSuiteRunner.KarmaRemoteServerPort
Describes the remote server port which karma reports the test result to.
|
static interface |
KarmaTestSuiteRunner.KarmaStartupScripts
Provide a list of executable files.
|
| Modifier and Type | Field and Description |
|---|---|
private org.junit.runners.model.RunnerScheduler |
fScheduler |
private JSTestExecutionServer |
jsTestExecutionServer |
| Constructor and Description |
|---|
KarmaTestSuiteRunner(Class<?> testClass) |
| Modifier and Type | Method and Description |
|---|---|
private org.junit.runners.model.Statement |
afterTests(org.junit.runners.model.Statement statement)
Clean up our test environment.
|
private org.junit.runners.model.Statement |
beforeTests(org.junit.runners.model.Statement statement)
Establish our test environment.
|
protected org.junit.runners.model.Statement |
childrenInvoker(org.junit.runner.notification.RunNotifier notifier)
Returns a
Statement: Call ParentRunner.runChild(Object, RunNotifier)
on each object returned by getChildren() (subject to any imposed
filter and sort) |
protected org.junit.runners.model.Statement |
classBlock(org.junit.runner.notification.RunNotifier notifier) |
protected org.junit.runner.Description |
describeChild(String name) |
protected List<String> |
getChildren() |
protected void |
runChild(String name,
org.junit.runner.notification.RunNotifier notifier) |
private void |
runChildren(org.junit.runner.notification.RunNotifier notifier) |
private org.junit.runners.model.RunnerScheduler fScheduler
private JSTestExecutionServer jsTestExecutionServer
public KarmaTestSuiteRunner(Class<?> testClass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprivate org.junit.runners.model.Statement afterTests(org.junit.runners.model.Statement statement)
statement - the statement we should append to.private org.junit.runners.model.Statement beforeTests(org.junit.runners.model.Statement statement)
statement - the statement to prepend.protected org.junit.runners.model.Statement classBlock(org.junit.runner.notification.RunNotifier notifier)
classBlock in class org.junit.runners.ParentRunner<String>protected org.junit.runners.model.Statement childrenInvoker(org.junit.runner.notification.RunNotifier notifier)
Statement: Call ParentRunner.runChild(Object, RunNotifier)
on each object returned by getChildren() (subject to any imposed
filter and sort)childrenInvoker in class org.junit.runners.ParentRunner<String>private void runChildren(org.junit.runner.notification.RunNotifier notifier)
protected org.junit.runner.Description describeChild(String name)
describeChild in class org.junit.runners.ParentRunner<String>protected List<String> getChildren()
getChildren in class org.junit.runners.ParentRunner<String>Copyright © 2014 Immobilien Scout GmbH. All rights reserved.