Home
last modified time | relevance | path

Searched refs:testResults (Results 1 – 13 of 13) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/result/
DTestResultTest.java36 List<TestResult> testResults = new ArrayList<>(); in testMerge_singleRes() local
37 testResults.add(createResult(TestStatus.PASSED, null, 2, 5)); in testMerge_singleRes()
39 TestResult.merge(testResults, MergeStrategy.ONE_TESTCASE_PASS_IS_PASS); in testMerge_singleRes()
48 List<TestResult> testResults = new ArrayList<>(); in testMerge_multiRes_aggPass() local
49 testResults.add(createResult(TestStatus.PASSED, null, 2, 5)); in testMerge_multiRes_aggPass()
50 testResults.add(createResult(TestStatus.FAILURE, "failed", 6, 7)); in testMerge_multiRes_aggPass()
52 TestResult.merge(testResults, MergeStrategy.ONE_TESTCASE_PASS_IS_PASS); in testMerge_multiRes_aggPass()
63 List<TestResult> testResults = new ArrayList<>(); in testMerge_allFailed_aggPass() local
64 testResults.add(createResult(TestStatus.FAILURE, "failed", 2, 5)); in testMerge_allFailed_aggPass()
65 testResults.add(createResult(TestStatus.FAILURE, "failed", 6, 7)); in testMerge_allFailed_aggPass()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DGoogleBenchmarkResultParser.java110 Map<String, String> testResults = new HashMap<String, String>(); in parse() local
117 testResults = parseJsonToMap(testRes); in parse()
127 String iterations = testResults.get("iterations"); in parse()
135 String errorMessage = testResults.get("error_message"); in parse()
148 mTestListener.testEnded(testId, TfMetricProtoUtil.upgradeConvert(testResults)); in parse()
179 Map<String, String> testResults = new HashMap<String, String>(); in parseJsonToMap() local
183 testResults.put(key, j.get(key).toString()); in parseJsonToMap()
185 return testResults; in parseJsonToMap()
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/
DDetectRegressionTest.java160 MultiMap<String, TableRow> testResults = testResultCaptor.getValue(); in testRunRegressionDetection() local
161 assertEquals(1, testResults.size()); in testRunRegressionDetection()
162 assertEquals(1, testResults.get(id2.toString()).size()); in testRunRegressionDetection()
163 assertEquals("metric-6", testResults.get(id2.toString()).get(0).name); in testRunRegressionDetection()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java417 Map<TestDescription, TestResult> testResults = in testRun_withMultipleRun() local
419 assertTrue(testResults.containsKey(fakeTestCase)); in testRun_withMultipleRun()
420 assertTrue(testResults.containsKey(fakeTestCase2)); in testRun_withMultipleRun()
421 assertTrue(testResults.containsKey(fakeTestCase3)); in testRun_withMultipleRun()
423 assertEquals(TestStatus.FAILURE, testResults.get(fakeTestCase).getStatus()); in testRun_withMultipleRun()
424 assertEquals(TestStatus.FAILURE, testResults.get(fakeTestCase2).getStatus()); in testRun_withMultipleRun()
425 assertEquals(TestStatus.PASSED, testResults.get(fakeTestCase3).getStatus()); in testRun_withMultipleRun()
476 Map<TestDescription, TestResult> testResults = in testRun_withMultipleRun_becomePass() local
478 assertTrue(testResults.containsKey(fakeTestCase)); in testRun_withMultipleRun_becomePass()
479 assertTrue(testResults.containsKey(fakeTestCase2)); in testRun_withMultipleRun_becomePass()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/result/
DMetricsXMLResultReporter.java128 Map<TestDescription, TestResult> testResults = runResult.getTestResults(); in printRunResults() local
129 for (TestDescription test : testResults.keySet()) { in printRunResults()
130 printTestResults(serializer, test, testResults.get(test)); in printRunResults()
DXmlResultReporter.java161 Map<TestDescription, TestResult> testResults = runResult.getTestResults(); in printTestResults() local
162 for (Map.Entry<TestDescription, TestResult> testEntry : testResults.entrySet()) { in printTestResults()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java291 private void forwardTestResults(Map<TestDescription, TestResult> testResults) { in forwardTestResults() argument
292 for (Map.Entry<TestDescription, TestResult> testEntry : testResults.entrySet()) { in forwardTestResults()
/tools/asuite/atest/bazel/reporter/src/com/android/tradefed/result/
DBazelXmlResultReporter.java214 Map<TestDescription, TestResult> testResults = in writeTestResult() local
217 for (Map.Entry<TestDescription, TestResult> testEntry : testResults.entrySet()) { in writeTestResult()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java275 Map<TestDescription, TestResult> testResults = testRunResult.getTestResults(); in getTestRunSummary() local
276 for (Map.Entry<TestDescription, TestResult> entry : testResults.entrySet()) { in getTestRunSummary()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DResultAggregator.java472 Map<TestDescription, TestResult> testResults, ITestInvocationListener listener) { in forwardTestResults() argument
473 for (Map.Entry<TestDescription, TestResult> testEntry : testResults.entrySet()) { in forwardTestResults()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DHermeticLaunchTest.java222 List<TestResult> testResults = new ArrayList<>(testResultsCollection); in run() local
227 mActivityTraceFileMap = testResults.get(0).getMetrics(); in run()
DAppTransitionTests.java757 List<TestResult> testResults = new ArrayList<>(testResultsCollection); in getAppComponentInfoMap() local
758 return testResults.get(0).getMetrics(); in getAppComponentInfoMap()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java921 Map<TestDescription, TestResult> testResults, ITestInvocationListener listener) { in forwardTestResults() argument
922 for (Map.Entry<TestDescription, TestResult> testEntry : testResults.entrySet()) { in forwardTestResults()