Lines Matching defs:test
17 package android.test.suitebuilder;
32 for (Test test : tests) {
33 if (test instanceof TestCase) {
34 testCaseNames.add(((TestCase) test).getName());
35 } else if (test instanceof TestSuite) {
36 testCaseNames.addAll(getTestCaseNames((TestSuite) test));
43 * Returns a list of test class and method names for each TestCase in suite.
48 for (Test test : tests) {
49 if (test instanceof TestCase) {
50 String className = test.getClass().getName();
51 String testName = ((TestCase) test).getName();
53 } else if (test instanceof TestSuite) {
54 testNames.addAll(getTestNames((TestSuite) test));
61 * Data holder for test case info
81 * Override parent to do string-based class and test name comparison