Home
last modified time | relevance | path

Searched refs:TestSuite (Results 1 – 25 of 33) sorted by relevance

12

/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
DTestSuite.java25 class TestSuite implements Comparable<TestSuite> { class
29 private final Map<String, TestSuite> mSuites = new HashMap<String, TestSuite>();
33 public TestSuite(String name) { in TestSuite() method in TestSuite
45 public TestSuite getSuite(String name) { in getSuite()
49 public void addSuite(TestSuite suite) { in addSuite()
53 public Collection<TestSuite> getSuites() { in getSuites()
66 public int compareTo(TestSuite another) { in compareTo()
72 for (TestSuite suite : mSuites.values()) { in countTests()
DTestListParser.java34 public Collection<TestSuite> parse(InputStream input) { in parse()
35 Map<String, TestSuite> suiteMap = new HashMap<String, TestSuite>(); in parse()
36 TestSuite currentSuite = null; in parse()
70 private TestSuite handleSuite(Map<String, TestSuite> suiteMap, String fullSuite) { in handleSuite()
73 TestSuite lastSuite = null; in handleSuite()
81 TestSuite newSuite = new TestSuite(name); in handleSuite()
88 lastSuite = new TestSuite(name); in handleSuite()
96 private TestCase handleCase(TestSuite suite, String caseName) { in handleCase()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestSuite.java34 class TestSuite extends AbstractXmlPullParser { class
41 Map<String, TestSuite> mChildSuiteMap = new LinkedHashMap<String, TestSuite>();
47 public TestSuite(String suiteName) { in TestSuite() method in TestSuite
51 public TestSuite() { in TestSuite() method in TestSuite
84 TestSuite suite = getTestSuite(rootName); in findTest()
92 public Collection<TestSuite> getTestSuites() { in getTestSuites()
109 private TestSuite getTestSuite(String suiteName) { in getTestSuite()
110 TestSuite testSuite = mChildSuiteMap.get(suiteName); in getTestSuite()
112 testSuite = new TestSuite(suiteName); in getTestSuite()
143 for (TestSuite childSuite : mChildSuiteMap.values()) { in serialize()
[all …]
DTestPackageResult.java65 private TestSuite mSuiteRoot = new TestSuite(null);
114 public Collection<TestSuite> getTestSuites() { in getTestSuites()
202 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(TestSuite.TAG)) { in parse()
203 TestSuite suite = new TestSuite(); in parse()
/cts/common/util/src/com/android/compatibility/common/util/
DTestSuiteFilter.java20 import junit.framework.TestSuite;
31 public static TestSuite createSuite(List<Class<?>> classes, Set<String> includes, in createSuite()
42 private static class FilterableTestSuite extends TestSuite {
63 if (test instanceof TestSuite) { in countTests()
66 TestSuite suite = (TestSuite) test; in countTests()
88 if (test instanceof TestSuite) { in runTests()
91 TestSuite suite = (TestSuite) test; in runTests()
/cts/tools/vm-tests-tf/src/dot/junit/format/
DAllTests.java20 import junit.framework.TestSuite;
33 TestSuite suite = new TestSuite("Tests for dalvik vm: test that " in suite()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestSuite.java21 import junit.framework.TestSuite;
32 public class GnssCtsTestSuite extends TestSuite {
34 private final TestSuite mWrappedTestSuite;
36 public GnssCtsTestSuite(Context context, TestSuite testSuite) { in GnssCtsTestSuite()
DGnssCtsTestActivity.java27 import junit.framework.TestSuite;
138 TestSuite testSuite; in runnerForClass()
141 if (test instanceof TestSuite) { in runnerForClass()
142 testSuite = (TestSuite) test; in runnerForClass()
148 testSuite = new TestSuite(testClass); in runnerForClass()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestSuite.java21 import junit.framework.TestSuite;
32 class SensorCtsTestSuite extends TestSuite {
34 private final TestSuite mWrappedTestSuite;
36 public SensorCtsTestSuite(Context context, TestSuite testSuite) { in SensorCtsTestSuite()
DSensorCtsTestActivity.java25 import junit.framework.TestSuite;
143 TestSuite testSuite; in runnerForClass()
146 if (test instanceof TestSuite) { in runnerForClass()
147 testSuite = (TestSuite) test; in runnerForClass()
153 testSuite = new TestSuite(testClass); in runnerForClass()
/cts/tools/vm-tests-tf/src/dot/junit/
DAllTests.java20 import junit.framework.TestSuite;
32 TestSuite suite = new TestSuite(); in suite()
/cts/tools/vm-tests-tf/src/dot/junit/verify/
DAllTests.java20 import junit.framework.TestSuite;
33 TestSuite suite = new TestSuite("Tests for dalvik vm: test that " in suite()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DAllTests.java20 import junit.framework.TestSuite;
25 public class AllTests extends TestSuite {
/cts/common/host-side/util/tests/src/com/android/compatibility/common/util/
DHostUnitTests.java19 import junit.framework.TestSuite;
26 public class HostUnitTests extends TestSuite {
/cts/tools/cts-native-scanner/tests/src/com/android/cts/nativescanner/
DUnitTests.java21 import junit.framework.TestSuite;
28 public class UnitTests extends TestSuite {
/cts/tests/tests/icu/tools/android/icu/cts/tools/
DGenerateTestCaseXML.java75 TestSuite root = new TestSuite(""); in main()
150 public static class TestSuite extends SuiteContent { class in GenerateTestCaseXML
154 public TestSuite(String name) { in TestSuite() method in GenerateTestCaseXML.TestSuite
158 public TestSuite getSuite(String name) { in getSuite()
159 return getSuiteContent(TestSuite.class, name); in getSuite()
194 TestSuite childSuite = getSuite(suiteName); in addTest()
/cts/common/util/tests/src/com/android/compatibility/common/util/
DUnitTests.java19 import junit.framework.TestSuite;
26 public class UnitTests extends TestSuite {
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DFrameworkUnitTests.java20 import junit.framework.TestSuite;
35 public class FrameworkUnitTests extends TestSuite {
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/
DUnitTests.java30 import junit.framework.TestSuite;
37 public class UnitTests extends TestSuite {
/cts/build/
Ddeqp_dummy_test_list1 suite:TestSuite
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DDalvikTestRunner.java29 import junit.framework.TestSuite;
87 TestSuite suite = TestSuiteFilter.createSuite(classes, includes, excludes); in main()
106 private static void collectTests(TestSuite suite, TestListener listener, in collectTests()
112 if (test instanceof TestSuite) { in collectTests()
113 collectTests((TestSuite) test, listener, includes, excludes); in collectTests()
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/
DUnitTests.java38 import junit.framework.TestSuite;
46 public class UnitTests extends TestSuite {
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
DTestResultsTest.java95 TestSuite comSuite = pkg.getTestSuites().iterator().next(); in testParse_test()
97 TestSuite exampleSuite = comSuite.getTestSuites().iterator().next(); in testParse_test()
/cts/tests/camera/src/android/hardware/cts/
DCamera_SizeTest.java28 import junit.framework.TestSuite;
114 private static void addTestToSuite(TestSuite testSuite, String testName) { in addTestToSuite()
/cts/tools/utils/cts/
Dtools.py36 class TestSuite(object): class in TestPackage
50 sub_suite = self.test_suites.setdefault(names[0], TestPackage.TestSuite())
75 self.root_suite = self.TestSuite(is_root=True)

12