Lines Matching defs:TestSuite
15 * <p>A <code>TestSuite</code> is a <code>Composite</code> of Tests.
19 * TestSuite suite= new TestSuite();
25 * <p>Alternatively, a TestSuite can extract the tests to be run automatically.
27 * TestSuite constructor.
29 * TestSuite suite= new TestSuite(MathTest.class);
39 * TestSuite suite= new TestSuite(testClasses);
45 public class TestSuite implements Test {
117 * Constructs an empty TestSuite.
119 public TestSuite() {
123 * Constructs a TestSuite from the given class. Adds all the methods
128 public TestSuite(final Class<?> theClass) {
158 * Constructs a TestSuite from the given class with the given name.
159 * @see TestSuite#TestSuite(Class)
161 public TestSuite(Class<? extends TestCase> theClass, String name) {
167 * Constructs an empty TestSuite.
169 public TestSuite(String name) {
174 * Constructs a TestSuite from the given array of classes.
177 public TestSuite (Class<?>... classes) {
184 return new TestSuite(each.asSubclass(TestCase.class));
190 * Constructs a TestSuite from the given array of classes with the given name.
191 * @see TestSuite#TestSuite(Class[])
193 public TestSuite(Class<? extends TestCase>[] classes, String name) {
209 addTest(new TestSuite(testClass));