Home
last modified time | relevance | path

Searched refs:TestSuite (Results 1 – 25 of 27) 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()
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()
DXmlGenerator.java159 Collection<TestSuite> suites = parser.parse(System.in); in writeTestPackage()
165 private void writeTestSuites(PrintWriter writer, Collection<TestSuite> suites, in writeTestSuites()
167 Collection<TestSuite> sorted = sortCollection(suites); in writeTestSuites()
168 for (TestSuite suite : sorted) { in writeTestSuites()
/cts/common/host-side/xml-plan-generator/src/com/android/compatibility/common/xmlgenerator/
DTestSuite.java22 public class TestSuite { class
25 private final HashMap<String, TestSuite> mTestSuites = new HashMap<String, TestSuite>();
28 public TestSuite(String name) { in TestSuite() method in TestSuite
36 public TestSuite getTestSuite(String name) { in getTestSuite()
40 public void addTestSuite(TestSuite testSuite) { in addTestSuite()
52 public HashMap<String, TestSuite> getTestSuites() { in getTestSuites()
DTestListParser.java39 public static HashMap<String, TestSuite> parse(InputStream input) { in parse()
40 final HashMap<String, TestSuite> suites = new HashMap<String, TestSuite>(); in parse()
41 TestSuite currentSuite = null; in parse()
65 final TestSuite newSuite = new TestSuite(name); in parse()
72 currentSuite = new TestSuite(name); in parse()
DXmlPlanGenerator.java119 final HashMap<String, TestSuite> suites = TestListParser.parse(System.in); in writeTestPackage()
127 … private void writeTestSuites(PrintWriter writer, HashMap<String, TestSuite> suites, String name) { in writeTestSuites()
129 final TestSuite suite = suites.get(suiteName); in writeTestSuites()
/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.java68 private TestSuite mSuiteRoot = new TestSuite(null);
117 public Collection<TestSuite> getTestSuites() { in getTestSuites()
205 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(TestSuite.TAG)) { in parse()
206 TestSuite suite = new TestSuite(); in parse()
/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/tools/vm-tests-tf/src/dot/junit/
DAllTests.java20 import junit.framework.TestSuite;
32 TestSuite suite = new TestSuite(); in suite()
/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/verify/
DAllTests.java20 import junit.framework.TestSuite;
33 TestSuite suite = new TestSuite("Tests for dalvik vm: test that " in suite()
/cts/common/util/tests/src/com/android/compatibility/common/util/
DUnitTests.java19 import junit.framework.TestSuite;
24 public class UnitTests extends TestSuite {
/cts/tests/signature-tests/src/android/signature/cts/tests/
DAllTests.java20 import junit.framework.TestSuite;
25 public class AllTests 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/hardware/src/android/hardware/cts/helpers/
DFrameworkUnitTests.java20 import junit.framework.TestSuite;
34 public class FrameworkUnitTests extends TestSuite {
/cts/build/
Ddeqp_dummy_test_list1 suite: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/tools/tradefed-host/tests/src/com/android/cts/tradefed/
DUnitTests.java38 import junit.framework.TestSuite;
46 public class UnitTests extends TestSuite {
/cts/tests/tests/hardware/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)
/cts/common/host-side/xml-plan-generator/tests/src/com/android/compatibility/common/xmlgenerator/
DXmlPlanGeneratorTest.java124 final HashMap<String, TestSuite> suites = TestListParser.parse(in); in runTestListParser()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/
DAllTests.java20 import junit.framework.TestSuite;
33 TestSuite suite = new TestSuite("Tests for all dalvik vm opcodes"); in suite()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...

12