/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | TestFilter.java | 19 import com.android.ddmlib.testrunner.TestIdentifier; 36 private final Set<TestIdentifier> mExcludedTests; 39 private final Set<TestIdentifier> mIncludedTests; 49 mExcludedTests = new HashSet<TestIdentifier>(); in TestFilter() 52 mIncludedTests = new HashSet<TestIdentifier>(); in TestFilter() 67 public void addExcludedTest(TestIdentifier test) { in addExcludedTest() 85 Set<TestIdentifier> getExcludedTests() { in getExcludedTests() 101 public void addIncludedTest(TestIdentifier test) { in addIncludedTest() 115 public Set<TestIdentifier> getIncludedTests() { in getIncludedTests() 139 public Collection<TestIdentifier> filter(Collection<TestIdentifier> tests) { in filter() [all …]
|
D | ResultFilter.java | 19 import com.android.ddmlib.testrunner.TestIdentifier; 40 private final Set<TestIdentifier> mKnownTests; 41 private final Set<TestIdentifier> mRemainingTests; 52 Collection<TestIdentifier> tests = testPackage.getKnownTests(); in ResultFilter() 53 mKnownTests = new HashSet<TestIdentifier>(tests); in ResultFilter() 55 mRemainingTests = new LinkedHashSet<TestIdentifier>(tests); in ResultFilter() 75 public void testStarted(TestIdentifier test) { in testStarted() 87 public void testFailed(TestIdentifier test, String trace) { in testFailed() 97 public void testEnded(TestIdentifier test, Map<String, String> testMetrics) { in testEnded() 108 private boolean isKnownTest(TestIdentifier test) { in isKnownTest() [all …]
|
D | ITestPlan.java | 19 import com.android.ddmlib.testrunner.TestIdentifier; 67 public void addExcludedTest(String id, TestIdentifier testToExclude); in addExcludedTest() 75 public void addExcludedTests(String id, Collection<TestIdentifier> excludedTests); in addExcludedTests()
|
D | SingleJUnitTestResultParser.java | 21 import com.android.ddmlib.testrunner.TestIdentifier; 35 private final TestIdentifier mTestId; 39 …public SingleJUnitTestResultParser(TestIdentifier testId, Collection<ITestRunListener> listeners) { in SingleJUnitTestResultParser() 44 public SingleJUnitTestResultParser(TestIdentifier testId, ITestRunListener listener) { in SingleJUnitTestResultParser()
|
D | DeqpTestRunner.java | 10 import com.android.ddmlib.testrunner.TestIdentifier; 70 private final Collection<TestIdentifier> mRemainingTests; 71 private final Map<TestIdentifier, Set<BatchRunConfiguration>> mTestInstances; 73 private final Map<TestIdentifier, Integer> mTestInstabilityRatings; 87 public DeqpTestRunner(String packageName, String name, Collection<TestIdentifier> tests, in DeqpTestRunner() 88 Map<TestIdentifier, List<Map<String,String>>> testInstances) { in DeqpTestRunner() argument 240 private TestIdentifier mCurrentTestId; 251 private final Map<TestIdentifier, PendingResult> mPendingResults = new HashMap<>(); 264 public TestIdentifier getCurrentTestId() { in getCurrentTestId() 271 private void forwardFinalizedPendingResult(TestIdentifier testId) { in forwardFinalizedPendingResult() [all …]
|
D | TestPlan.java | 20 import com.android.ddmlib.testrunner.TestIdentifier; 101 filter.addExcludedTest(new TestIdentifier(classMethodPair[0], in parseTestList() 113 filter.addIncludedTest(new TestIdentifier(classMethodPair[0], in parseTestList() 190 public void addExcludedTest(String id, TestIdentifier testToExclude) { in addExcludedTest() 203 public void addExcludedTests(String id, Collection<TestIdentifier> excludedTests) { in addExcludedTests() 250 for (TestIdentifier test : testFilter.getExcludedTests()) { in serializeFilter() 261 for (TestIdentifier test : testFilter.getIncludedTests()) { in serializeFilter()
|
D | ITestPackageDef.java | 19 import com.android.ddmlib.testrunner.TestIdentifier; 53 public Collection<TestIdentifier> getTests(); in getTests()
|
D | TestPackageDef.java | 21 import com.android.ddmlib.testrunner.TestIdentifier; 74 private Collection<TestIdentifier> mTests = new LinkedHashSet<TestIdentifier>(); 78 private Map<TestIdentifier, List<Map<String, String>>> mTestInstanceArguments = 353 private Collection<TestIdentifier> filterTests() { in filterTests() 368 void addTest(TestIdentifier testDef, int timeout) { in addTest() 381 void addTestInstance(TestIdentifier testDef, Map<String, String> instanceArguments) { in addTestInstance() 392 public Collection<TestIdentifier> getTests() { in getTests() 401 public Map<TestIdentifier, List<Map<String, String>>> getTestInstanceArguments() { in getTestInstanceArguments()
|
D | JUnitDeviceTest.java | 20 import com.android.ddmlib.testrunner.TestIdentifier; 72 private Collection<TestIdentifier> mTests; 110 public void setTests(Collection<TestIdentifier> tests) { in setTests() 114 public Collection<TestIdentifier> getTests() { in getTests() 127 for (TestIdentifier testId : mTests) { in run()
|
D | JarHostTest.java | 20 import com.android.ddmlib.testrunner.TestIdentifier; 58 private Collection<TestIdentifier> mTests; 125 void setTests(Collection<TestIdentifier> tests) { in setTests() 134 Collection<TestIdentifier> getTests() { in getTests() 192 for (TestIdentifier testId : mTests) { in run() 203 … private void runTest(TestIdentifier testId, final Test junitTest, final TestResult junitResult) { in runTest()
|
D | GeeTestResultParser.java | 22 import com.android.ddmlib.testrunner.TestIdentifier; 488 TestIdentifier testId = new TestIdentifier(mFakePackagePrefix + testResult.mTestClass, in processTestStartedTag() 508 TestIdentifier testId = new TestIdentifier(mFakePackagePrefix + testResult.mTestClass, in doTestEnded() 621 TestIdentifier testId = new TestIdentifier(mCurrentTestResult.mTestClass, in handleTestRunFailed()
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/ |
D | TestFilterTest.java | 18 import com.android.ddmlib.testrunner.TestIdentifier; 33 private List<TestIdentifier> mTestList; 35 private static final TestIdentifier TEST1 = new TestIdentifier("FooTest", "testFoo"); 36 private static final TestIdentifier TEST2 = new TestIdentifier("FooTest", "testFoo2"); 37 private static final TestIdentifier TEST3 = new TestIdentifier("FooTest2", "testFoo3"); 42 mTestList = new ArrayList<TestIdentifier>(); in setUp() 60 Collection<TestIdentifier> filteredList = mFilter.filter(mTestList); in testFilter_excludeTest() 62 Iterator<TestIdentifier> iter = filteredList.iterator(); in testFilter_excludeTest() 72 Collection<TestIdentifier> filteredList = mFilter.filter(mTestList); in testFilter_excludeClass() 82 Collection<TestIdentifier> filteredList = mFilter.filter(mTestList); in testFilter_includeClass() [all …]
|
D | TestPackageXmlParserTest.java | 20 import com.android.ddmlib.testrunner.TestIdentifier; 116 Iterator<TestIdentifier> iterator = def.getTests().iterator(); in testParse_hostTest() 118 TestIdentifier firstTest = iterator.next(); in testParse_hostTest() 122 TestIdentifier secondTest = iterator.next(); in testParse_hostTest() 126 TestIdentifier thirdTest = iterator.next(); in testParse_hostTest() 140 Iterator<TestIdentifier> iterator = def.getTests().iterator(); in testParse_hostTest_noKnownFailures() 142 TestIdentifier firstTest = iterator.next(); in testParse_hostTest_noKnownFailures() 146 TestIdentifier thirdTest = iterator.next(); in testParse_hostTest_noKnownFailures() 197 final TestIdentifier testId = in testParse_instancedMultiple() 198 new TestIdentifier("com.example.ExampleTest", "testMultiInstanced"); in testParse_instancedMultiple() [all …]
|
D | JarHostTestTest.java | 19 import com.android.ddmlib.testrunner.TestIdentifier; 77 TestIdentifier expectedTest = new TestIdentifier(MockTest.class.getName(), "testFoo"); in testRun() 79 Collection<TestIdentifier> tests = new ArrayList<TestIdentifier>(1); in testRun()
|
D | DeqpTestRunnerTest.java | 25 import com.android.ddmlib.testrunner.TestIdentifier; 125 final TestIdentifier testId = new TestIdentifier("dEQP-GLES" in testGlesVersion() 171 Collection<TestIdentifier> tests = new ArrayList<TestIdentifier>(); in testGlesVersion() 174 Map<TestIdentifier, List<Map<String, String>>> instance = new HashMap<>(); in testGlesVersion() 284 final TestIdentifier testId = new TestIdentifier("dEQP-GLES3.info", "version"); in testResultCode() 321 Collection<TestIdentifier> tests = new ArrayList<TestIdentifier>(); in testResultCode() 324 Map<TestIdentifier, List<Map<String, String>>> instance = new HashMap<>(); in testResultCode() 464 final TestIdentifier[] testIds = { in testRun_multipleTests() 465 new TestIdentifier("dEQP-GLES3.info", "vendor"), in testRun_multipleTests() 466 new TestIdentifier("dEQP-GLES3.info", "renderer"), in testRun_multipleTests() [all …]
|
D | TestPlanTest.java | 20 import com.android.ddmlib.testrunner.TestIdentifier; 121 assertTrue(filter.getExcludedTests().contains(new TestIdentifier(EXCLUDE_TEST_CLASS, in testParse_exclude() 145 assertTrue(filter.getExcludedTests().contains(new TestIdentifier(EXCLUDE_TEST_CLASS, in assertMultiExcluded() 147 assertTrue(filter.getExcludedTests().contains(new TestIdentifier(EXCLUDE_TEST_CLASS, in assertMultiExcluded() 204 mPlan.addExcludedTest(test1Id, new TestIdentifier(EXCLUDE_TEST_CLASS, in testSerialize_multiExclude() 206 mPlan.addExcludedTest(test1Id, new TestIdentifier(EXCLUDE_TEST_CLASS, in testSerialize_multiExclude()
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/ |
D | TestPackageResultTest.java | 18 import com.android.ddmlib.testrunner.TestIdentifier; 35 TestIdentifier excludedTest = new TestIdentifier("com.example.ExampleTest", "testPass"); in testGetTestsWithStatus() 38 TestIdentifier includedTest = new TestIdentifier("com.example.ExampleTest", in testGetTestsWithStatus() 41 Collection<TestIdentifier> tests = pkgResult.getTestsWithStatus( in testGetTestsWithStatus()
|
D | CtsXmlResultReporterTest.java | 22 import com.android.ddmlib.testrunner.TestIdentifier; 142 final TestIdentifier testId = new TestIdentifier("com.foo.FooTest", "testFoo"); in testSinglePass() 170 final TestIdentifier testId = new TestIdentifier("FooTest", "testFoo"); in testSingleFail() 202 final TestIdentifier testId = new TestIdentifier("FooTest", "testFoo"); in testIncludeTestLogTags() 228 … final TestIdentifier testId = new TestIdentifier("android.tests.devicesetup", "TestDeviceSetup"); in testDeviceSetup()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | TestPackageResult.java | 21 import com.android.ddmlib.testrunner.TestIdentifier; 66 …private Map<TestIdentifier, Map<String, String>> mTestMetrics = new HashMap<TestIdentifier, Map<St… 126 public Test insertTest(TestIdentifier testId) { in insertTest() 130 private Test findTest(TestIdentifier testId, boolean insertIfMissing) { in findTest() 149 public Test findTest(TestIdentifier testId) { in findTest() 223 public Collection<TestIdentifier> getTestsWithStatus(CtsTestStatus resultFilter) { in getTestsWithStatus() 224 Collection<TestIdentifier> tests = new LinkedList<TestIdentifier>(); in getTestsWithStatus() 250 for (TestIdentifier test : mTestMetrics.keySet()) { in populateMetrics() 280 public void reportTestFailure(TestIdentifier test, CtsTestStatus status, String trace) { in reportTestFailure() 292 public void reportTestEnded(TestIdentifier test, Map<String, String> testMetrics) { in reportTestEnded()
|
D | CtsTestLogReporter.java | 23 import com.android.ddmlib.testrunner.TestIdentifier; 86 public void testStarted(TestIdentifier test) { in testStarted() 94 public void testFailed(TestIdentifier test, String trace) { in testFailed() 102 public void testAssumptionFailure(TestIdentifier test, String trace) { in testAssumptionFailure() 111 public void testEnded(TestIdentifier test, Map<String, String> testMetrics) { in testEnded()
|
D | IssueReporter.java | 19 import com.android.ddmlib.testrunner.TestIdentifier; 61 public void testFailed(TestIdentifier test, String trace) { in testFailed() 68 public void testAssumptionFailure(TestIdentifier test, String trace) { in testAssumptionFailure() 75 public void testIgnored(TestIdentifier test) { in testIgnored() 133 public void testEnded(TestIdentifier test, Map<String, String> testMetrics) { in testEnded() 213 public void testStarted(TestIdentifier test) { in testStarted()
|
D | PlanCreator.java | 28 import com.android.ddmlib.testrunner.TestIdentifier; 123 Collection<TestIdentifier> filteredTests = pkg.getTestsWithStatus(mResultFilter); in createDerivedPlan() 127 Collection<TestIdentifier> excludedTests = in createDerivedPlan() 128 new LinkedHashSet<TestIdentifier>(pkgDef.getTests()); in createDerivedPlan()
|
D | TestCase.java | 18 import com.android.ddmlib.testrunner.TestIdentifier; 133 void addTestsWithStatus(Collection<TestIdentifier> tests, Deque<String> parentSuiteNames, in addTestsWithStatus() 141 tests.add(new TestIdentifier(fullClassName, test.getName())); in addTestsWithStatus()
|
D | CtsXmlResultReporter.java | 24 import com.android.ddmlib.testrunner.TestIdentifier; 277 public void testStarted(TestIdentifier test) { in testStarted() 287 public void testFailed(TestIdentifier test, String trace) { in testFailed() 297 public void testAssumptionFailure(TestIdentifier test, String trace) { in testAssumptionFailure() 308 public void testIgnored(TestIdentifier test) { in testIgnored() 316 public void testEnded(TestIdentifier test, Map<String, String> testMetrics) { in testEnded()
|
/cts/hostsidetests/net/src/com/android/cts/net/ |
D | HostsideNetworkTests.java | 21 import com.android.ddmlib.testrunner.TestIdentifier; 94 for (Map.Entry<TestIdentifier, TestResult> resultEntry : in runDeviceTests()
|