/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 | 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 | 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 | 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 | 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 | TestPackageDef.java | 20 import com.android.ddmlib.testrunner.TestIdentifier; 73 private Collection<TestIdentifier> mTests = new LinkedHashSet<TestIdentifier>(); 77 private Map<TestIdentifier, List<Map<String, String>>> mTestInstanceArguments = 333 private Collection<TestIdentifier> filterTests() { in filterTests() 348 void addTest(TestIdentifier testDef, int timeout) { in addTest() 361 void addTestInstance(TestIdentifier testDef, Map<String, String> instanceArguments) { in addTestInstance() 372 public Collection<TestIdentifier> getTests() { in getTests() 381 public Map<TestIdentifier, List<Map<String, String>>> getTestInstanceArguments() { in getTestInstanceArguments()
|
D | ITestPackageDef.java | 19 import com.android.ddmlib.testrunner.TestIdentifier; 53 public Collection<TestIdentifier> getTests(); in getTests()
|
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()
|
/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 | DeqpTestRunnerTest.java | 24 import com.android.ddmlib.testrunner.TestIdentifier; 122 final TestIdentifier testId = new TestIdentifier("dEQP-GLES" in testGlesVersion() 168 Collection<TestIdentifier> tests = new ArrayList<TestIdentifier>(); in testGlesVersion() 171 Map<TestIdentifier, List<Map<String, String>>> instance = new HashMap<>(); in testGlesVersion() 281 final TestIdentifier testId = new TestIdentifier("dEQP-GLES3.info", "version"); in testResultCode() 318 Collection<TestIdentifier> tests = new ArrayList<TestIdentifier>(); in testResultCode() 321 Map<TestIdentifier, List<Map<String, String>>> instance = new HashMap<>(); in testResultCode() 461 final TestIdentifier[] testIds = { in testRun_multipleTests() 462 new TestIdentifier("dEQP-GLES3.info", "vendor"), in testRun_multipleTests() 463 new TestIdentifier("dEQP-GLES3.info", "renderer"), in testRun_multipleTests() [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 | 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() 175 final TestIdentifier testId = new TestIdentifier("FooTest", "testFoo"); in testSingleFail() 207 final TestIdentifier testId = new TestIdentifier("FooTest", "testFoo"); in testIncludeTestLogTags() 233 … final TestIdentifier testId = new TestIdentifier("android.tests.devicesetup", "TestDeviceSetup"); in testDeviceSetup()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/ |
D | NoOpTestInvocationListener.java | 18 import com.android.ddmlib.testrunner.TestIdentifier; 76 public void testStarted(TestIdentifier test) {} in testStarted() 82 public void testFailed(TestIdentifier test, String trace) {} in testFailed() 88 public void testAssumptionFailure(TestIdentifier test, String trace) {} in testAssumptionFailure() 94 public void testIgnored(TestIdentifier test) {} in testIgnored() 100 public void testEnded(TestIdentifier test, Map<String, String> testMetrics) {} in testEnded()
|
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/ |
D | ConsoleReporterTest.java | 26 import com.android.ddmlib.testrunner.TestIdentifier; 123 TestIdentifier test1 = new TestIdentifier(CLASS, METHOD_1); in runTests() 128 TestIdentifier test2 = new TestIdentifier(CLASS, METHOD_2); in runTests() 134 TestIdentifier test3 = new TestIdentifier(CLASS, METHOD_3); in runTests() 140 TestIdentifier test4 = new TestIdentifier(CLASS, METHOD_3); in runTests()
|
D | ResultReporterTest.java | 26 import com.android.ddmlib.testrunner.TestIdentifier; 120 TestIdentifier test1 = new TestIdentifier(CLASS, METHOD_1); in testResultReporting() 123 TestIdentifier test2 = new TestIdentifier(CLASS, METHOD_2); in testResultReporting() 126 TestIdentifier test3 = new TestIdentifier(CLASS, METHOD_3); in testResultReporting() 161 TestIdentifier test1 = new TestIdentifier(CLASS, METHOD_1); in testResultReporting_moduleNotDone()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | TestPackageResult.java | 22 import com.android.ddmlib.testrunner.TestIdentifier; 63 …private Map<TestIdentifier, Map<String, String>> mTestMetrics = new HashMap<TestIdentifier, Map<St… 123 public Test insertTest(TestIdentifier testId) { in insertTest() 127 private Test findTest(TestIdentifier testId, boolean insertIfMissing) { in findTest() 146 public Test findTest(TestIdentifier testId) { in findTest() 220 public Collection<TestIdentifier> getTestsWithStatus(CtsTestStatus resultFilter) { in getTestsWithStatus() 221 Collection<TestIdentifier> tests = new LinkedList<TestIdentifier>(); in getTestsWithStatus() 247 for (TestIdentifier test : mTestMetrics.keySet()) { in populateMetrics() 273 public void reportTestFailure(TestIdentifier test, CtsTestStatus status, String trace) { in reportTestFailure() 285 public void reportTestEnded(TestIdentifier test, Map<String, String> testMetrics) { in reportTestEnded()
|
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 | CtsTestLogReporter.java | 23 import com.android.ddmlib.testrunner.TestIdentifier; 88 public void testStarted(TestIdentifier test) { in testStarted() 99 public void testFailed(TestIdentifier test, String trace) { in testFailed() 110 public void testAssumptionFailure(TestIdentifier test, String trace) { in testAssumptionFailure() 122 public void testEnded(TestIdentifier test, Map<String, String> testMetrics) { in testEnded()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | ModuleListener.java | 19 import com.android.ddmlib.testrunner.TestIdentifier; 70 public void testStarted(TestIdentifier test) { in testStarted() 79 public void testEnded(TestIdentifier test, Map<String, String> metrics) { in testEnded() 88 public void testIgnored(TestIdentifier test) { in testIgnored() 97 public void testFailed(TestIdentifier test, String trace) { in testFailed() 106 public void testAssumptionFailure(TestIdentifier test, String trace) { in testAssumptionFailure()
|
D | ConsoleReporter.java | 21 import com.android.ddmlib.testrunner.TestIdentifier; 90 public void testStarted(TestIdentifier test) { in testStarted() 99 public void testFailed(TestIdentifier test, String trace) { in testFailed() 109 public void testIgnored(TestIdentifier test) { in testIgnored() 118 public void testAssumptionFailure(TestIdentifier test, String trace) { in testAssumptionFailure() 126 public void testEnded(TestIdentifier test, Map<String, String> testMetrics) { in testEnded()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | ApkInstrumentationPreparer.java | 21 import com.android.ddmlib.testrunner.TestIdentifier; 60 protected ConcurrentHashMap<TestIdentifier, Map<String, String>> testMetrics = 62 private ConcurrentHashMap<TestIdentifier, String> testFailures = new ConcurrentHashMap<>(); 128 for (TestIdentifier test : testFailures.keySet()) { in instrument() 140 public void testEnded(TestIdentifier test, Map<String, String> metrics) { in testEnded() 145 public void testFailed(TestIdentifier test, String trace) { in testFailed()
|