/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestResultTest.java | 20 import com.android.ddmlib.testrunner.TestResult.TestStatus; 35 List<TestResult> testResults = new ArrayList<>(); in testMerge_singleRes() 37 TestResult finalRes = in testMerge_singleRes() 38 TestResult.merge(testResults, MergeStrategy.ONE_TESTCASE_PASS_IS_PASS); in testMerge_singleRes() 47 List<TestResult> testResults = new ArrayList<>(); in testMerge_multiRes_aggPass() 50 TestResult finalRes = in testMerge_multiRes_aggPass() 51 TestResult.merge(testResults, MergeStrategy.ONE_TESTCASE_PASS_IS_PASS); in testMerge_multiRes_aggPass() 61 List<TestResult> testResults = new ArrayList<>(); in testMerge_allFailed_aggPass() 64 TestResult finalRes = in testMerge_allFailed_aggPass() 65 TestResult.merge(testResults, MergeStrategy.ONE_TESTCASE_PASS_IS_PASS); in testMerge_allFailed_aggPass() [all …]
|
D | TestRunResultTest.java | 23 import com.android.ddmlib.testrunner.TestResult.TestStatus; 168 TestResult testRes = result.getTestResults().get(test); in testLogSavedFile_testCases() 193 TestResult testRes = result.getTestResults().get(test); in testLogSavedFile_runLogs() 280 Map<TestDescription, TestResult> testResult = result.getTestResults(); in testMergeRetriedRunResults_fullMergeLogicCheck() 285 TestResult test1Result = testResult.get(testcase1); in testMergeRetriedRunResults_fullMergeLogicCheck() 286 TestResult test2Result = testResult.get(testcase2); in testMergeRetriedRunResults_fullMergeLogicCheck() 287 TestResult test3Result = testResult.get(testcase3); in testMergeRetriedRunResults_fullMergeLogicCheck() 340 Map<TestDescription, TestResult> testRunResult = result.getTestResults(); in testMergeRetriedRunResults_checkMergingStackTraces() 342 TestResult testResult = testRunResult.get(testcase); in testMergeRetriedRunResults_checkMergingStackTraces() 598 Map<TestDescription, TestResult> testRunResult = result.getTestResults(); in testMergeRetriedRunResults_testCaseStatus() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | TestRunResult.java | 18 import com.android.ddmlib.testrunner.TestResult.TestStatus; 46 private Map<TestDescription, TestResult> mTestResults = 47 new LinkedHashMap<TestDescription, TestResult>(); 56 private TestResult mCurrentTestResult; 85 public Map<TestDescription, TestResult> getTestResults() { in getTestResults() 118 for (Map.Entry<TestDescription, TestResult> testEntry : getTestResults().entrySet()) { in getTestsInState() 158 for (TestResult r : mTestResults.values()) { in getNumTestsInState() 236 mCurrentTestResult = new TestResult(); in testStarted() 241 private void addTestResult(TestDescription test, TestResult testResult) { in addTestResult() 247 TestResult r = mTestResults.get(test); in updateTestResult() [all …]
|
D | TestResult.java | 18 import com.android.ddmlib.testrunner.TestResult.TestStatus; 31 public class TestResult { class 42 public TestResult() { in TestResult() method in TestResult 118 public TestResult setStatus(TestStatus status) { in setStatus() 149 TestResult other = (TestResult) obj; in equals() 166 public static TestResult merge(List<TestResult> results, MergeStrategy strategy) { in merge() 174 TestResult mergedResult = new TestResult(); in merge() 186 for (TestResult attempt : results) { in merge()
|
D | ConsoleResultReporter.java | 20 import com.android.ddmlib.testrunner.TestResult.TestStatus; 102 Map<TestDescription, TestResult> testResults = testRunResult.getTestResults(); in getTestRunSummary() 103 for (Map.Entry<TestDescription, TestResult> entry : testResults.entrySet()) { in getTestRunSummary() 124 String getTestSummary(TestDescription testId, TestResult testResult) { in getTestSummary()
|
D | XmlResultReporter.java | 21 import com.android.ddmlib.testrunner.TestResult.TestStatus; 164 Map<TestDescription, TestResult> testResults = runResult.getTestResults(); in printTestResults() 165 for (Map.Entry<TestDescription, TestResult> testEntry : testResults.entrySet()) { in printTestResults() 173 void print(KXmlSerializer serializer, TestDescription testId, TestResult testResult) in print()
|
/tools/tradefederation/core/atest/test_runners/ |
D | event_handler_unittest.py | 130 call1 = mock.call(test_runner_base.TestResult( 142 call2 = mock.call(test_runner_base.TestResult( 160 call = mock.call(test_runner_base.TestResult( 178 call = mock.call(test_runner_base.TestResult( 197 call = mock.call(test_runner_base.TestResult( 229 call1 = mock.call(test_runner_base.TestResult( 241 call2 = mock.call(test_runner_base.TestResult( 259 call1 = mock.call(test_runner_base.TestResult( 274 call2 = mock.call(test_runner_base.TestResult(
|
D | event_handler.py | 117 self.reporter.process_test_result(test_runner_base.TestResult( 131 self.reporter.process_test_result(test_runner_base.TestResult( 182 self.reporter.process_test_result(test_runner_base.TestResult( 246 reporter.process_test_result(test_runner_base.TestResult(
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/ |
D | ResultsPlayerTest.java | 19 import com.android.ddmlib.testrunner.TestResult.TestStatus; 28 import com.android.tradefed.result.TestResult; 140 TestResult result = new TestResult(); in testReplay_oneTest() 146 Entry<TestDescription, TestResult> entry = new SimpleEntry<>(test, result); in testReplay_oneTest() 169 TestResult result = new TestResult(); in testReplay_MultiTest() 174 Entry<TestDescription, TestResult> entry = new SimpleEntry<>(test, result); in testReplay_MultiTest() 178 TestResult result2 = new TestResult(); in testReplay_MultiTest() 183 Entry<TestDescription, TestResult> entry2 = new SimpleEntry<>(test2, result2); in testReplay_MultiTest()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/ |
D | RetryRescheduler.java | 34 import com.android.tradefed.result.TestResult; 254 Map<TestDescription, TestResult> parameterizedMethods = new LinkedHashMap<>(); in updateRunner() 256 for (Entry<TestDescription, TestResult> result : in updateRunner() 273 for (Entry<String, Map<TestDescription, TestResult>> subMap : in updateRunner() 289 for (Entry<TestDescription, TestResult> result : in updateRunner() 342 private Map<String, Map<TestDescription, TestResult>> sortMethodToClass( in sortMethodToClass() 343 Map<TestDescription, TestResult> paramMethods) { in sortMethodToClass() 344 Map<String, Map<TestDescription, TestResult>> returnMap = new LinkedHashMap<>(); in sortMethodToClass() 345 for (Entry<TestDescription, TestResult> entry : paramMethods.entrySet()) { in sortMethodToClass() 351 Map<TestDescription, TestResult> forClass = returnMap.get(noParamName); in sortMethodToClass()
|
D | ResultsPlayer.java | 27 import com.android.tradefed.result.TestResult; 45 public List<Entry<TestDescription, TestResult>> mResults = new ArrayList<>(); 83 Collection<Entry<TestDescription, TestResult>> testSet = holder.mResults; in run() 116 Entry<TestDescription, TestResult> testResult) { in addToReplay() 136 Collection<Entry<TestDescription, TestResult>> testSet, in forwardTestResults() 139 for (Map.Entry<TestDescription, TestResult> testEntry : testSet) { in forwardTestResults()
|
D | RetryResultHelper.java | 18 import com.android.ddmlib.testrunner.TestResult.TestStatus; 19 import com.android.tradefed.result.TestResult; 46 public static boolean shouldRunTest(TestResult result, List<RetryType> types) { in shouldRunTest()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/ |
D | GameQualificationResultReporter.java | 20 import com.android.ddmlib.testrunner.TestResult.TestStatus; 34 import com.android.tradefed.result.TestResult; 179 for (Map.Entry<TestDescription, TestResult> entry in getInvocationSummary() 202 TestResult result = testRunResult.getTestResults().get(test); in getInvocationSummary() 247 TestResult result = testRunResult.getTestResults().get(test); in createFunctionalTestFailureReport() 275 Map<TestDescription, TestResult> testResults = testRunResult.getTestResults(); in getTestRunSummary() 276 for (Map.Entry<TestDescription, TestResult> entry : testResults.entrySet()) { in getTestRunSummary() 368 private String getTestSummary(TestDescription testId, TestResult testResult) { in getTestSummary()
|
/tools/tradefederation/core/atest/ |
D | result_reporter_unittest.py | 25 RESULT_PASSED_TEST = test_runner_base.TestResult( 38 RESULT_PASSED_TEST_MODULE_2 = test_runner_base.TestResult( 51 RESULT_PASSED_TEST_RUNNER_2_NO_MODULE = test_runner_base.TestResult( 64 RESULT_FAILED_TEST = test_runner_base.TestResult( 77 RESULT_RUN_FAILURE = test_runner_base.TestResult( 90 RESULT_INVOCATION_FAILURE = test_runner_base.TestResult( 103 RESULT_IGNORED_TEST = test_runner_base.TestResult( 116 RESULT_ASSUMPTION_FAILED_TEST = test_runner_base.TestResult(
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | GTestResultParser.java | 96 private TestResult mCurrentTestResult = null; 140 private static class TestResult { class in GTestResultParser 256 private TestResult getCurrentTestResult() { in getCurrentTestResult() 258 mCurrentTestResult = new TestResult(); in getCurrentTestResult() 554 private String getTestClass(TestResult testResult) { in getTestClass() 573 TestResult testResult = getCurrentTestResult(); in processTestStartedTag() 600 TestResult testResult = getCurrentTestResult(); in doTestEnded() 711 TestResult testResult = getCurrentTestResult(); in appendTestOutputLine()
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_records_test.py | 170 tr1 = records.TestResult() 177 tr2 = records.TestResult() 189 tr1 = records.TestResult() 204 tr = records.TestResult() 219 tr = records.TestResult()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | TestLoaderTest.java | 20 import junit.framework.TestResult; 47 TestResult result = new TestResult(); in testLoadTests()
|
/tools/test/connectivity/acts/framework/acts/ |
D | records.py | 32 from mobly.records import TestResult as MoblyTestResult 157 class TestResult(MoblyTestResult): class 189 if not isinstance(r, TestResult): 192 sum_result = TestResult()
|
/tools/tradefederation/contrib/src/com/android/framework/tests/ |
D | FrameworkPerfTest.java | 26 import com.android.tradefed.result.TestResult; 124 Collection<TestResult> testResultsCollection = in run() 127 List<TestResult> testResults = new ArrayList<TestResult>(testResultsCollection); in run()
|
D | FrameworkStressTest.java | 33 import com.android.tradefed.result.TestResult; 92 Map<TestDescription, TestResult> testResults = in run() 95 for (Entry<TestDescription, TestResult> e : testResults.entrySet()) { in run() 96 TestResult res = e.getValue(); in run()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardListener.java | 19 import com.android.ddmlib.testrunner.TestResult.TestStatus; 29 import com.android.tradefed.result.TestResult; 181 private void forwardTestResults(Map<TestDescription, TestResult> testResults) { in forwardTestResults() 182 for (Map.Entry<TestDescription, TestResult> testEntry : testResults.entrySet()) { in forwardTestResults()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatter.java | 19 import com.android.ddmlib.testrunner.TestResult.TestStatus; 27 import com.android.tradefed.result.TestResult; 301 XmlSerializer serializer, Map<TestDescription, TestResult> results) in serializeTestCases() 304 Map<String, Map<String, TestResult>> format = new LinkedHashMap<>(); in serializeTestCases() 305 for (Entry<TestDescription, TestResult> cr : results.entrySet()) { in serializeTestCases() 309 Map<String, TestResult> methodResult = format.get(cr.getKey().getClassName()); in serializeTestCases() 316 for (Entry<String, TestResult> individualResult : format.get(className).entrySet()) { in serializeTestCases() 370 XmlSerializer serializer, Entry<String, TestResult> testResult) in HandleLoggedFiles()
|
/tools/tradefederation/contrib/src/com/android/graphics/tests/ |
D | ImageProcessingTest.java | 29 import com.android.tradefed.result.TestResult; 92 Collection<TestResult> testRunResults = in run() 96 for (TestResult testCaseResult : testRunResults) { in run()
|
/tools/tradefederation/core/src/com/android/tradefed/device/helper/ |
D | TelephonyHelper.java | 20 import com.android.ddmlib.testrunner.TestResult.TestStatus; 27 import com.android.tradefed.result.TestResult; 118 TestResult testResult = runResult.getTestResults().get(SIM_TEST); in getSimInfo()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | InstrumentationPreparer.java | 19 import com.android.ddmlib.testrunner.TestResult.TestStatus; 29 import com.android.tradefed.result.TestResult; 149 for (Entry<TestDescription, TestResult> entry : result.getTestResults().entrySet()) { in getFailedTestNames()
|