org.apache.sling.junit.remote.testrunner
Class SlingRemoteTestRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.apache.sling.junit.remote.testrunner.SlingRemoteTest>
org.apache.sling.junit.remote.testrunner.SlingRemoteTestRunner
- All Implemented Interfaces:
- org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable
public class SlingRemoteTestRunner
- extends org.junit.runners.ParentRunner<org.apache.sling.junit.remote.testrunner.SlingRemoteTest>
JUnit TestRunner that talks to a remote
Sling JUnit test servlet. Using this test
runner lets a test class discover tests
that the JUnit servlet can execute, execute
them and report results exactly as if the tests
ran locally.
|
Method Summary |
protected org.junit.runner.Description |
describeChild(org.apache.sling.junit.remote.testrunner.SlingRemoteTest t)
|
protected java.util.List<org.apache.sling.junit.remote.testrunner.SlingRemoteTest> |
getChildren()
|
protected void |
runChild(org.apache.sling.junit.remote.testrunner.SlingRemoteTest t,
org.junit.runner.notification.RunNotifier notifier)
|
| Methods inherited from class org.junit.runners.ParentRunner |
childrenInvoker, classBlock, collectInitializationErrors, filter, getDescription, getName, getTestClass, run, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses |
| Methods inherited from class org.junit.runner.Runner |
testCount |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlingRemoteTestRunner
public SlingRemoteTestRunner(java.lang.Class<?> testClass)
throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
describeChild
protected org.junit.runner.Description describeChild(org.apache.sling.junit.remote.testrunner.SlingRemoteTest t)
- Specified by:
describeChild in class org.junit.runners.ParentRunner<org.apache.sling.junit.remote.testrunner.SlingRemoteTest>
getChildren
protected java.util.List<org.apache.sling.junit.remote.testrunner.SlingRemoteTest> getChildren()
- Specified by:
getChildren in class org.junit.runners.ParentRunner<org.apache.sling.junit.remote.testrunner.SlingRemoteTest>
runChild
protected void runChild(org.apache.sling.junit.remote.testrunner.SlingRemoteTest t,
org.junit.runner.notification.RunNotifier notifier)
- Specified by:
runChild in class org.junit.runners.ParentRunner<org.apache.sling.junit.remote.testrunner.SlingRemoteTest>
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.