Describable
, Filterable
, Sortable
public class Enclosed extends Suite
\@RunWith(Enclosed.class) public class ListTests { ...useful shared stuff... public static class OneKindOfListTest {...} public static class AnotherKind {...} }For a real example, @see org.junit.tests.manipulation.SortableTest.
Suite.SuiteClasses
Constructor | Description |
---|---|
Enclosed(java.lang.Class<?> klass,
RunnerBuilder builder) |
Only called reflectively.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
childrenInvoker, classBlock, classRules, collectInitializationErrors, filter, getDescription, getName, getRunnerAnnotations, getTestClass, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses
describeChild, emptySuite, getChildren, runChild
public Enclosed(java.lang.Class<?> klass, RunnerBuilder builder) throws java.lang.Throwable
java.lang.Throwable