Home
last modified time | relevance | path

Searched refs:result2 (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestRunResultTest.java243 TestRunResult result2 = new TestRunResult(); in testMergeRetriedRunResults_fullMergeLogicCheck() local
256 result2.testRunStarted("fake run", 2); in testMergeRetriedRunResults_fullMergeLogicCheck()
257 result2.testStarted(testcase2); in testMergeRetriedRunResults_fullMergeLogicCheck()
258 result2.testFailed(testcase2, "flaky 2"); in testMergeRetriedRunResults_fullMergeLogicCheck()
259 result2.testEnded(testcase2, new HashMap<String, Metric>()); in testMergeRetriedRunResults_fullMergeLogicCheck()
260 result2.testStarted(testcase3); in testMergeRetriedRunResults_fullMergeLogicCheck()
261 result2.testFailed(testcase3, "bad_code2"); in testMergeRetriedRunResults_fullMergeLogicCheck()
262 result2.testRunEnded(0, new HashMap<String, Metric>()); in testMergeRetriedRunResults_fullMergeLogicCheck()
272 new ArrayList<>(Arrays.asList(result1, result2, result3)); in testMergeRetriedRunResults_fullMergeLogicCheck()
277 assertEquals(result2.getExpectedTestCount(), 2); in testMergeRetriedRunResults_fullMergeLogicCheck()
[all …]
DDeviceFileReporterTest.java226 final String result2 = "/data/files/file.png\r\n/data/files/file.xml\r\n"; in testRepeat_skip() local
264 .andReturn(result2); in testRepeat_skip()
282 final String result2 = "/data/files/file.png\r\n/data/files/file.xml\r\n"; in testRepeat_noSkip() local
323 .andReturn(result2); in testRepeat_noSkip()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/
DResultsPlayerTest.java178 TestResult result2 = new TestResult(); in testReplay_MultiTest() local
179 result2.setStatus(TestStatus.FAILURE); in testReplay_MultiTest()
180 result2.setStartTime(0L); in testReplay_MultiTest()
181 result2.setEndTime(10L); in testReplay_MultiTest()
182 result2.setStackTrace("fail0"); in testReplay_MultiTest()
183 Entry<TestDescription, TestResult> entry2 = new SimpleEntry<>(test2, result2); in testReplay_MultiTest()
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiLint.kt3361 val result2 = acronymPattern3.find(name) in <lambda>() constant
3362 return if (result2 != null) { in <lambda>()
3363 name.substring(result2.range.start, result2.range.endInclusive + 1) in <lambda>()