Describable
, Filterable
, Sortable
public class Enclosed extends Suite
So, for example:
@RunWith(Enclosed.class) public class ListTests { ...useful shared stuff... public static class OneKindOfListTest {...} public static class AnotherKind {...} abstract public static class Ignored {...} }
Suite.SuiteClasses
Constructor | Description |
---|---|
Enclosed(Class<?> klass,
RunnerBuilder builder) |
Only called reflectively.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
childrenInvoker, classBlock, classRules, collectInitializationErrors, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, isIgnored, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses
describeChild, emptySuite, getChildren, runChild
public Enclosed(Class<?> klass, RunnerBuilder builder) throws Throwable
Throwable
Copyright © 2002–2018 JUnit. All rights reserved.