Home | History | Annotate | Download | only in test

Lines Matching defs:testSuite

23 import junit.framework.TestSuite;
77 if (workingTest instanceof TestSuite) {
78 TestSuite testSuite = (TestSuite) workingTest;
79 Enumeration enumeration = testSuite.tests();
102 * method that returns a TestSuite including the TestCase itself,
127 } else if (test instanceof TestSuite) {
128 TestSuite testSuite = (TestSuite) test;
129 String name = testSuite.getName();
142 public static Test getTestAtIndex(TestSuite testSuite, int position) {
144 Enumeration enumeration = testSuite.tests();
155 public static TestSuite createTestSuite(Class<? extends Test> testClass)
161 return new TestSuite(testClass);
164 TestSuite testSuite = new TestSuite(test.getClass().getName());
165 testSuite.addTest(test);
166 return testSuite;
169 return (TestSuite) test;