Home
last modified time | relevance | path

Searched refs:TestPackageDef (Results 1 – 5 of 5) sorted by relevance

/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DTestPackageXmlParserTest.java99 for (TestPackageDef def : parser.getTestPackageDefs()) { in testParse_instrPackage()
113 for (TestPackageDef def : parser.getTestPackageDefs()) { in testParse_hostTest()
114 assertEquals(TestPackageDef.HOST_SIDE_ONLY_TEST, def.getTestType()); in testParse_hostTest()
137 for (TestPackageDef def : parser.getTestPackageDefs()) { in testParse_hostTest_noKnownFailures()
138 assertEquals(TestPackageDef.HOST_SIDE_ONLY_TEST, def.getTestType()); in testParse_hostTest_noKnownFailures()
160 for (TestPackageDef def : parser.getTestPackageDefs()) { in testParse_badHostTest()
161 assertFalse(TestPackageDef.HOST_SIDE_ONLY_TEST.equals(def.getTestType())); in testParse_badHostTest()
166 assertTestType(TestPackageDef.VM_HOST_TEST, VM_HOST_TEST_XML); in testParse_vmHostTest()
170 assertTestType(TestPackageDef.NATIVE_TEST, NATIVE_TEST_XML); in testParse_nativeTest()
176 for (TestPackageDef def : parser.getTestPackageDefs()) { in assertTestType()
[all …]
DTestPackageDefTest.java34 TestPackageDef def = new TestPackageDef() { in testGenerateDigest()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestPackageRepo.java47 private final Map<String, Map<String, TestPackageDef>> mTestMap;
119 Set<TestPackageDef> defs = parser.getTestPackageDefs(); in parseModuleTestConfigs()
125 for (TestPackageDef def : defs) { in parseModuleTestConfigs()
132 mTestMap.put(abi, new HashMap<String, TestPackageDef>()); in parseModuleTestConfigs()
192 Map<String, TestPackageDef> testNameMap = mTestMap.get(abi); in getPackageIds()
193 for (TestPackageDef testPackageDef : testNameMap.values()) { in getPackageIds()
209 Map<String, TestPackageDef> testNameMap = mTestMap.get(abi); in getPackageNames()
210 for (TestPackageDef testPackageDef : testNameMap.values()) { in getPackageNames()
228 Map<String, TestPackageDef> testNameMap = mTestMap.get(abi); in getTestPackageDefsByName()
DTestPackageXmlParser.java45 private Map<String, TestPackageDef> mPackageDefs = new HashMap<String, TestPackageDef>();
92 TestPackageDef packageDef = new TestPackageDef(); in startElement()
172 for (TestPackageDef packageDef : mPackageDefs.values()) { in startElement()
187 return TestPackageDef.HOST_SIDE_ONLY_TEST; in getTestType()
189 return TestPackageDef.VM_HOST_TEST; in getTestType()
234 public Set<TestPackageDef> getTestPackageDefs() { in getTestPackageDefs()
DTestPackageDef.java50 class TestPackageDef implements ITestPackageDef { class