|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runner.Runner>
org.junit.runners.Suite
org.xwiki.rendering.test.integration.RenderingTestSuite
public class RenderingTestSuite
Run all tests found in *.test files located in the classpath. These *.test files must follow the
conventions described in TestDataParser.
Usage Example
- Since:
- 3.0RC1
- Version:
- $Id: 195c3038e4a98eb4e2d1b5190b637ef925b63c50 $
Nested Class Summary
static interface
RenderingTestSuite.Initialized
static interface
RenderingTestSuite.Scope
Nested classes/interfaces inherited from class org.junit.runners.Suite
org.junit.runners.Suite.SuiteClasses
Constructor Summary
RenderingTestSuite(Class<?> klass)
Only called reflectively.
Method Summary
protected List<org.junit.runner.Runner>
getChildren()
org.junit.runner.Description
getDescription()
We override this method so that the JUnit results are not displayed in a test hierarchy with a single test
result for each node (as it would be otherwise since RenderingTest has a single test method).
Methods inherited from class org.junit.runners.Suite
describeChild, emptySuite, runChild
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, collectInitializationErrors, filter, getName, getRunnerAnnotations, getTestClass, run, 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
Constructor Detail
RenderingTestSuite
public RenderingTestSuite(Class<?> klass)
throws Throwable
- Only called reflectively. Do not use programmatically.
- Throws:
Throwable
Method Detail
getChildren
protected List<org.junit.runner.Runner> getChildren()
- Overrides:
getChildren in class org.junit.runners.Suite
getDescription
public org.junit.runner.Description getDescription()
-
We override this method so that the JUnit results are not displayed in a test hierarchy with a single test
result for each node (as it would be otherwise since RenderingTest has a single test method).
- Specified by:
getDescription in interface org.junit.runner.Describable- Overrides:
getDescription in class org.junit.runners.ParentRunner<org.junit.runner.Runner>
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2004–2014 XWiki. All rights reserved.