/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | FilePullerLogCollectorTest.java | 74 Capture<HashMap<String, Metric>> capture = new Capture<>(); in testPullAndLog() local 82 mMockListener.testEnded(EasyMock.eq(test), EasyMock.eq(50L), EasyMock.capture(capture)); in testPullAndLog() 88 HashMap<String, Metric> metricCaptured = capture.getValue(); in testPullAndLog() 110 Capture<HashMap<String, Metric>> capture = new Capture<>(); in testSkipTestCollection() local 112 mMockListener.testEnded(EasyMock.eq(test), EasyMock.eq(50L), EasyMock.capture(capture)); in testSkipTestCollection() 118 HashMap<String, Metric> metricCaptured = capture.getValue(); in testSkipTestCollection()
|
D | DumpHeapCollectorTest.java | 132 .testLog(dataNameCaptor.capture(), dataTypeCaptor.capture(), inputCaptor.capture()); in testCollect_success() 167 .testLog(dataNameCaptor.capture(), dataTypeCaptor.capture(), inputCaptor.capture()); in testCollectSuccess_thresholdTooHigh() 193 dataNameCaptor.capture(), in testCollectNoError_processNotFound() 194 dataTypeCaptor.capture(), in testCollectNoError_processNotFound() 195 inputCaptor.capture()); in testCollectNoError_processNotFound()
|
D | BaseDeviceMetricCollectorTest.java | 317 .testEnded(Mockito.eq(test), Mockito.anyLong(), mCapturedMetrics.capture()); in verifyFiltering() 416 .testEnded(Mockito.eq(test1), Mockito.anyLong(), mCapturedMetrics.capture()); in testActualRunAnnotated_include() 420 .testEnded(Mockito.eq(test2), Mockito.anyLong(), mCapturedMetrics.capture()); in testActualRunAnnotated_include() 425 .testEnded(Mockito.eq(test3), Mockito.anyLong(), mCapturedMetrics.capture()); in testActualRunAnnotated_include() 464 .testEnded(Mockito.eq(test1), Mockito.anyLong(), mCapturedMetrics.capture()); in testActualRunAnnotated_exclude() 468 .testEnded(Mockito.eq(test2), Mockito.anyLong(), mCapturedMetrics.capture()); in testActualRunAnnotated_exclude() 473 .testEnded(Mockito.eq(test3), Mockito.anyLong(), mCapturedMetrics.capture()); in testActualRunAnnotated_exclude()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GoogleBenchmarkResultParserTest.java | 93 (TestDescription) EasyMock.anyObject(), EasyMock.capture(capture1)); in testParseSimpleFile() 95 (TestDescription) EasyMock.anyObject(), EasyMock.capture(capture2)); in testParseSimpleFile() 97 (TestDescription) EasyMock.anyObject(), EasyMock.capture(capture3)); in testParseSimpleFile() 151 Capture<HashMap<String, Metric>> capture = new Capture<>(); in testParseSimpleFile_twoTests() local 153 (TestDescription) EasyMock.anyObject(), EasyMock.capture(capture)); in testParseSimpleFile_twoTests() 163 HashMap<String, Metric> results = capture.getValue(); in testParseSimpleFile_twoTests() 226 Capture<HashMap<String, Metric>> capture = new Capture<>(); in testParseSimpleFile_withWarning() local 228 (TestDescription) EasyMock.anyObject(), EasyMock.capture(capture)); in testParseSimpleFile_withWarning() 236 HashMap<String, Metric> results = capture.getValue(); in testParseSimpleFile_withWarning()
|
D | DeviceTestCaseTest.java | 194 Capture<TestDescription> capture = new Capture<>(); in testRun_checkAnnotation() local 195 listener.testStarted(EasyMock.capture(capture)); in testRun_checkAnnotation() 197 EasyMock.capture(capture), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_checkAnnotation() 198 listener.testStarted(EasyMock.capture(capture)); in testRun_checkAnnotation() 200 EasyMock.capture(capture), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_checkAnnotation() 207 List<TestDescription> descriptions = capture.getValues(); in testRun_checkAnnotation()
|
D | NativeStressTestTest.java | 56 mMockListener.testRunEnded(EasyMock.anyLong(), EasyMock.capture(mCapturedMetricMap)); in setUp()
|
D | InstalledInstrumentationsTestTest.java | 73 mMockListener.testRunEnded(EasyMock.anyLong(), EasyMock.capture(captureMetrics)); in testRun()
|
D | InstrumentationTestTest.java | 152 inOrder.verify(mInstrumentationTest).setRunnerArgs(runner.capture()); in testRun() 398 verify(mInstrumentationTest).getTestReRunner(testCaptor.capture()); in testRun_rerunCoverage()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | JUnitToInvocationResultForwarderTest.java | 118 Capture<TestDescription> capture = new Capture<>(); in testStartTest_annotations() local 119 mListener.testStarted(EasyMock.capture(capture)); in testStartTest_annotations() 125 TestDescription desc = capture.getValue(); in testStartTest_annotations()
|
D | BugreportCollectorTest.java | 353 listener.testEnded(EasyMock.eq(test), EasyMock.capture(mTestCapture)); in setListenerTestRunExpectations() 354 listener.testRunEnded(EasyMock.anyInt(), EasyMock.capture(mRunCapture)); in setListenerTestRunExpectations()
|
/tools/tradefederation/core/prod-tests/src/com/android/wireless/tests/ |
D | WifiStressTest.java | 307 List<List<String>> capture = new ArrayList<>(1); in parseOutputFile() local 308 String key = test.mPatternMap.retrieve(capture, line); in parseOutputFile() 311 "catpure: %s", test.mTestName, key, capture.toString()); in parseOutputFile() 315 int count = Integer.parseInt(capture.get(0).get(0)); in parseOutputFile() 316 int total = Integer.parseInt(capture.get(0).get(1)); in parseOutputFile() 323 runMetrics.put(key, capture.get(0).get(0)); in parseOutputFile()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | VideoEditingPerformanceTest.java | 220 List<List<String>> capture = new ArrayList<>(1); in parseOutputFile() local 221 String key = mPatternMap.retrieve(capture, line); in parseOutputFile() 224 capture.toString())); in parseOutputFile() 232 runMetrics.put(key, capture.get(0).get(0)); in parseOutputFile()
|
D | MediaPlayerStressTest.java | 176 List<List<String>> capture = new ArrayList<>(1); in parseOutputFile() local 177 String key = mPatternMap.retrieve(capture, line); in parseOutputFile() 180 key, capture.toString())); in parseOutputFile() 188 runMetrics.put(key, capture.get(0).get(0)); in parseOutputFile()
|
D | CameraLatencyTest.java | 248 List<List<String>> capture = new ArrayList<>(1); in parseOutputFile() local 249 String key = test.mPatternMap.retrieve(capture, line); in parseOutputFile() 252 capture.toString()); in parseOutputFile() 261 runMetrics.put(key, capture.get(0).get(0)); in parseOutputFile()
|
D | CameraStressTest.java | 286 List<List<String>> capture = new ArrayList<>(1); in parseOutputFile() local 287 String pattern = test.mPatternMap.retrieve(capture, line); in parseOutputFile() 291 countExpected = Integer.parseInt(capture.get(0).get(0)); in parseOutputFile() 294 countActual = Integer.parseInt(capture.get(0).get(0)); in parseOutputFile() 315 test.mTestName, key, capture.toString())); in parseOutputFile()
|
/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/ |
D | OpenGlPerformanceTest.java | 261 List<List<String>> capture = new ArrayList<>(1); in parseOutputFile() local 262 String key = mPatternMap.retrieve(capture, line); in parseOutputFile() 265 for (int i = 0; i < capture.size(); i++) { in parseOutputFile() 266 CLog.v("caputre.get[%d]: %s", i, capture.get(i).toString()); in parseOutputFile() 270 key, capture.toString()); in parseOutputFile() 278 fps[iterationId] = Double.parseDouble(capture.get(0).get(0)); in parseOutputFile()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SubprocessTestResultsParserTest.java | 240 mockRunListener.invocationFailed((EasyMock.capture(cap))); in testParse_invocationFailed() 418 Capture<LogFile> capture = new Capture<>(); in testParse_logAssociation() local 419 mockRunListener.logAssociation(EasyMock.eq("dataname"), EasyMock.capture(capture)); in testParse_logAssociation() 441 LogFile received = capture.getValue(); in testParse_logAssociation()
|
/tools/tradefederation/core/prod-tests/tests/src/com/android/continuous/ |
D | SmokeTestFailureReporterTest.java | 64 mMailer.send(EasyMock.capture(msgCapture)); in testSingleFail() 111 mMailer.send(EasyMock.capture(msgCapture)); in testTwoPassOneFail()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/metricregression/ |
D | DetectRegressionTest.java | 153 runResultCaptor.capture(), in testRunRegressionDetection() 154 testResultCaptor.capture()); in testRunRegressionDetection()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | KernelFlashPreparerTest.java | 289 EasyMock.capture(bootimgPath))).andReturn(new CommandResult(CommandStatus.SUCCESS)); 309 EasyMock.capture(bootimgPath))).andReturn(new CommandResult(CommandStatus.FAILED)); 339 EasyMock.capture(bootimgPath))).andThrow(new RuntimeException());
|
D | DeviceSetupTest.java | 1170 EasyMock.expect(mMockDevice.pushString(EasyMock.capture(setPropCapture), in doSetupExpectations()
|
/tools/test/connectivity/acts/tests/google/tel/config/ |
D | README.md | 5 …- **no_bug_report_on_fail** - The default behavior of telephony tests is to capture a bug report a…
|
/tools/test/connectivity/acts/tests/google/wifi/aware/ |
D | README.md | 19 in a particular mode and expect the tester to capture an over-the-air
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 578 EasyMock.expect(mockRescheduler.scheduleConfig(EasyMock.capture(capturedConfig))) in testInvoke_resume() 1307 mMockSummaryListener.putSummary(EasyMock.capture(mUriCapture)); in setupMockListeners() 1870 mMockTestListener.testRunEnded(EasyMock.anyLong(), EasyMock.capture(captured)); in testMetricCollectionChain()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ITestSuiteTest.java | 888 mMockListener.testRunEnded(EasyMock.anyLong(), EasyMock.capture(c)); in testRun_withCollectors()
|