Searched refs:result2 (Results 1 – 8 of 8) sorted by relevance
/tools/tradefederation/core/javatests/com/android/tradefed/result/ |
D | TestRunResultTest.java | 243 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 …]
|
D | DeviceFileReporterTest.java | 243 final String result2 = "/data/files/file.png\r\n/data/files/file.xml\r\n"; in testRepeat_skip() local 273 when(mDevice.executeShellCommand((String) Mockito.any())).thenReturn(result1, result2); in testRepeat_skip() 296 final String result2 = "/data/files/file.png\r\n/data/files/file.xml\r\n"; in testRepeat_noSkip() local 333 when(mDevice.executeShellCommand((String) Mockito.any())).thenReturn(result2); in testRepeat_noSkip()
|
/tools/asuite/atest/integration_tests/ |
D | result_compare_test.py | 129 def assert_test_result_equal(self, result1, result2): argument 130 self.assertEqual(set(result1.keys()), set(result2.keys())) 139 if v != result2[k]: 141 print('{0:100} {1:20} {2}'.format(k, v, result2[k]))
|
/tools/test/connectivity/acts/framework/tests/controllers/ |
D | bits_test.py | 89 result2 = bits._get_single_file(registry, 'key_that_is_not_in_registry') 92 self.assertEqual(None, result2)
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/retry/ |
D | ResultsPlayerTest.java | 221 TestResult result2 = new TestResult(); in testReplay_MultiTest() local 222 result2.setStatus(TestStatus.FAILURE); in testReplay_MultiTest() 223 result2.setStartTime(0L); in testReplay_MultiTest() 224 result2.setEndTime(10L); in testReplay_MultiTest() 225 result2.setStackTrace("fail0"); in testReplay_MultiTest() 226 Entry<TestDescription, TestResult> entry2 = new SimpleEntry<>(test2, result2); in testReplay_MultiTest()
|
/tools/tradefederation/core/javatests/com/android/tradefed/retry/ |
D | BaseRetryDecisionTest.java | 167 TestRunResult result2 = createResult(null, null); in testShouldRetry_success() local 168 boolean res2 = mRetryDecision.shouldRetry(mTestClass, 0, Arrays.asList(result2)); in testShouldRetry_success() 203 TestRunResult result2 = createResult(null, null, failure2); in testShouldRetry_runFailure_nonRetriable() local 205 boolean res = mRetryDecision.shouldRetry(mTestClass, 0, Arrays.asList(result, result2)); in testShouldRetry_runFailure_nonRetriable() 218 TestRunResult result2 = createResult(null, null, failure2); in testShouldRetry_multi_runFailure_nonRetriable() local 220 boolean res = mRetryDecision.shouldRetry(mTestClass, 0, Arrays.asList(result, result2)); in testShouldRetry_multi_runFailure_nonRetriable()
|
/tools/asuite/adevice/src/ |
D | fingerprint.rs | 943 let result2 = fingerprint_partitions(tmp_root.path(), &[PathBuf::from("system")]).unwrap(); in fingerprint_partition_cache_mismatch_test() localVariable 951 matching_file_fingerprint(file_name, data, &result2), in fingerprint_partition_cache_mismatch_test() 956 FileType::Directory => assert!(result2 in fingerprint_partition_cache_mismatch_test()
|
/tools/asuite/atest/ |
D | cli_translator_unittest.py | 529 result2 = ['test1', 'test2', 'test3'] 530 self.assertEqual(ctr._extract_testable_modules_by_wildcard(expr2), result2)
|