org.xwiki.test.integration
Class XWikiExecutorSuite
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runner.Runner>
org.junit.runners.Suite
org.junit.extensions.cpsuite.ClasspathSuite
org.xwiki.test.integration.XWikiExecutorSuite
- All Implemented Interfaces:
- org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable
- Direct Known Subclasses:
- PageObjectSuite
public class XWikiExecutorSuite
- extends org.junit.extensions.cpsuite.ClasspathSuite
Starts/Stop XWiki before/after all tests and run all tests found in the current classloader using cpsuite (we extend it). Tests can be filtered by passing
the "pattern" System Property.
- Since:
- 3.0RC1
- Version:
- $Id: 2bbf9433ccf11b4dc4d166b6b572cba7b0f4ecfb $
| Nested classes/interfaces inherited from class org.junit.extensions.cpsuite.ClasspathSuite |
org.junit.extensions.cpsuite.ClasspathSuite.BaseTypeFilter, org.junit.extensions.cpsuite.ClasspathSuite.BeforeSuite, org.junit.extensions.cpsuite.ClasspathSuite.ClassnameFilters, org.junit.extensions.cpsuite.ClasspathSuite.ClasspathProperty, org.junit.extensions.cpsuite.ClasspathSuite.ExcludeBaseTypeFilter, org.junit.extensions.cpsuite.ClasspathSuite.IncludeJars, org.junit.extensions.cpsuite.ClasspathSuite.SuiteTypes |
| Nested classes/interfaces inherited from class org.junit.runners.Suite |
org.junit.runners.Suite.SuiteClasses |
| Methods inherited from class org.junit.runners.Suite |
describeChild, emptySuite, runChild |
| Methods inherited from class org.junit.runners.ParentRunner |
childrenInvoker, classBlock, classRules, collectInitializationErrors, filter, getDescription, getName, getRunnerAnnotations, getTestClass, runLeaf, 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 |
PATTERN
public static final String PATTERN
XWikiExecutorSuite
public XWikiExecutorSuite(Class<?> klass,
org.junit.runners.model.RunnerBuilder builder)
throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
getExecutors
public List<XWikiExecutor> getExecutors()
getChildren
protected List<org.junit.runner.Runner> getChildren()
- Overrides:
getChildren in class org.junit.runners.Suite
beforeTests
protected void beforeTests()
- Called before test execution.
afterTests
protected void afterTests()
- Called after test execution.
run
public void run(org.junit.runner.notification.RunNotifier notifier)
-
- Overrides:
run in class org.junit.extensions.cpsuite.ClasspathSuite
Copyright © 2004-2013 XWiki. All Rights Reserved.