Searched refs:plan (Results 1 – 7 of 7) sorted by relevance
93 def __WritePlan(self, plan, plan_name): argument95 plan.Write(os.path.join(self.plan_repository, plan_name + '.xml'))109 plan = tools.TestPlan(packages)110 plan.Exclude('android\.performance.*')111 self.__WritePlan(plan, 'CTS')112 self.__WritePlan(plan, 'CTS-TF')114 plan = tools.TestPlan(packages)115 plan.Exclude('android\.performance.*')116 plan.Exclude('android\.media\.cts\.StreamingMediaPlayerTest.*')118 self.__WritePlan(plan, 'CTS-No-Media-Stream')[all …]
29 LOCAL_MODULE := compatibility-xml-plan-generator_v243 LOCAL_JAVA_LIBRARIES := compatibility-tradefed_v2 compatibility-xml-plan-generator_v2 junit45 LOCAL_MODULE := compatibility-xml-plan-generator-tests_v2
93 private void assertTestData(TestPlan plan) { in assertTestData() argument95 assertEquals(2 * abis.size(), plan.getTestIds().size()); in assertTestData()98 Iterator<String> iter = plan.getTestIds().iterator(); in assertTestData()105 assertFalse(plan.getTestFilter(test1Id).hasExclusion()); in assertTestData()106 assertFalse(plan.getTestFilter(test2Id).hasExclusion()); in assertTestData()138 private void assertMultiExcluded(TestPlan plan) { in assertMultiExcluded() argument140 assertEquals(abis.size(), plan.getTestIds().size()); in assertMultiExcluded()144 TestFilter filter = plan.getTestFilter(test1Id); in assertMultiExcluded()
38 To run a test plan on a single device:48 'run cts --plan CTS' to run the default CTS plan58 To shard a plan test run on multiple devices59 'run cts --plan CTS --shards <number of shards>
202 plan = doc.createElement('TestPlan')203 plan.setAttribute('version', '1.0')204 doc.appendChild(plan)213 plan.appendChild(entry)
653 var plan = new Plan();658 plan.addConstraint(c);663 return plan;819 var plan = planner.extractPlanFromConstraints(edits);822 plan.execute();869 var plan = planner.extractPlanFromConstraints(edits);872 plan.execute();
843 ITestPlan plan = createPlan(mPlanName); in getAvailableTestPackages() local844 plan.parse(createXmlStream(ctsPlanFile)); in getAvailableTestPackages()846 for (String testId : plan.getTestIds()) { in getAvailableTestPackages()856 testPackageDef.setTestFilter(plan.getTestFilter(testId)); in getAvailableTestPackages()893 ITestPlan plan = createPlan(planCreator); in getAvailableTestPackages() local894 for (String testId : plan.getTestIds()) { in getAvailableTestPackages()904 testPackageDef.setTestFilter(plan.getTestFilter(testId)); in getAvailableTestPackages()