Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/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/tests/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java367 Map<TestDescription, TestResult> testResults = in testRun_withMultipleRun() local
369 assertTrue(testResults.containsKey(fakeTestCase)); in testRun_withMultipleRun()
370 assertTrue(testResults.containsKey(fakeTestCase2)); in testRun_withMultipleRun()
371 assertTrue(testResults.containsKey(fakeTestCase3)); in testRun_withMultipleRun()
373 assertEquals(TestStatus.FAILURE, testResults.get(fakeTestCase).getStatus()); in testRun_withMultipleRun()
374 assertEquals(TestStatus.FAILURE, testResults.get(fakeTestCase2).getStatus()); in testRun_withMultipleRun()
375 assertEquals(TestStatus.PASSED, testResults.get(fakeTestCase3).getStatus()); in testRun_withMultipleRun()
426 Map<TestDescription, TestResult> testResults = in testRun_withMultipleRun_becomePass() local
428 assertTrue(testResults.containsKey(fakeTestCase)); in testRun_withMultipleRun_becomePass()
429 assertTrue(testResults.containsKey(fakeTestCase2)); in testRun_withMultipleRun_becomePass()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DGoogleBenchmarkResultParser.java76 Map<String, String> testResults = new HashMap<String, String>(); in parse() local
82 testResults = parseJsonToMap(testRes); in parse()
92 String iterations = testResults.get("iterations"); in parse()
100 String errorMessage = testResults.get("error_message"); in parse()
112 mTestListener.testEnded(testId, TfMetricProtoUtil.upgradeConvert(testResults)); in parse()
127 Map<String, String> testResults = new HashMap<String, String>(); in parseJsonToMap() local
131 testResults.put(key, j.get(key).toString()); in parseJsonToMap()
133 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/src/com/android/tradefed/result/
DMetricsXMLResultReporter.java138 Map<TestDescription, TestResult> testResults = runResult.getTestResults(); in printRunResults() local
139 for (TestDescription test : testResults.keySet()) { in printRunResults()
140 printTestResults(serializer, test, testResults.get(test)); in printRunResults()
DXmlResultReporter.java164 Map<TestDescription, TestResult> testResults = runResult.getTestResults(); in printTestResults() local
165 for (Map.Entry<TestDescription, TestResult> testEntry : testResults.entrySet()) { in printTestResults()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java254 private void forwardTestResults(Map<TestDescription, TestResult> testResults) { in forwardTestResults() argument
255 for (Map.Entry<TestDescription, TestResult> testEntry : testResults.entrySet()) { in forwardTestResults()
/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.java381 Map<TestDescription, TestResult> testResults, ITestInvocationListener listener) { in forwardTestResults() argument
382 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.java752 List<TestResult> testResults = new ArrayList<>(testResultsCollection); in getAppComponentInfoMap() local
753 return testResults.get(0).getMetrics(); in getAppComponentInfoMap()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java745 Map<TestDescription, TestResult> testResults, ITestInvocationListener listener) { in forwardTestResults() argument
746 for (Map.Entry<TestDescription, TestResult> testEntry : testResults.entrySet()) { in forwardTestResults()