de.bechte.junit.runners.context.description
Class SuiteDescriber
java.lang.Object
de.bechte.junit.runners.context.description.SuiteDescriber
- All Implemented Interfaces:
- Describer<Class<?>>
- Direct Known Subclasses:
- ContextDescriber
public class SuiteDescriber
- extends Object
- implements Describer<Class<?>>
The SuiteDescriber is responsible for creating the Description for a test suite. A test suite can be
a single test or a test suite containing several test classes. This class only handles classes and subclasses found
by the given ChildResolver.
|
Method Summary |
protected void |
addChildren(org.junit.runner.Description description,
org.junit.runners.model.TestClass testClass)
|
org.junit.runner.Description |
describe(Class<?> suiteClass)
Returns a Description for the given object of type T. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuiteDescriber
public SuiteDescriber(ChildResolver<Class<?>> childResolver)
describe
public org.junit.runner.Description describe(Class<?> suiteClass)
- Description copied from interface:
Describer
- Returns a
Description for the given object of type T.
- Specified by:
describe in interface Describer<Class<?>>
- Parameters:
suiteClass - the object of type T
- Returns:
- a
Description of the object
addChildren
protected void addChildren(org.junit.runner.Description description,
org.junit.runners.model.TestClass testClass)
Copyright © 2015. All rights reserved.