Home
last modified time | relevance | path

Searched refs:capture (Results 1 – 25 of 28) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DFilePullerLogCollectorTest.java74 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()
DDumpHeapCollectorTest.java132 .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()
DBaseDeviceMetricCollectorTest.java317 .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/
DGoogleBenchmarkResultParserTest.java93 (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()
DDeviceTestCaseTest.java194 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()
DNativeStressTestTest.java56 mMockListener.testRunEnded(EasyMock.anyLong(), EasyMock.capture(mCapturedMetricMap)); in setUp()
DInstalledInstrumentationsTestTest.java73 mMockListener.testRunEnded(EasyMock.anyLong(), EasyMock.capture(captureMetrics)); in testRun()
DInstrumentationTestTest.java152 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/
DJUnitToInvocationResultForwarderTest.java118 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()
DBugreportCollectorTest.java353 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/
DWifiStressTest.java307 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/
DVideoEditingPerformanceTest.java220 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()
DMediaPlayerStressTest.java176 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()
DCameraLatencyTest.java248 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()
DCameraStressTest.java286 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/
DOpenGlPerformanceTest.java261 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/
DSubprocessTestResultsParserTest.java240 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/
DSmokeTestFailureReporterTest.java64 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/
DDetectRegressionTest.java153 runResultCaptor.capture(), in testRunRegressionDetection()
154 testResultCaptor.capture()); in testRunRegressionDetection()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DKernelFlashPreparerTest.java289 EasyMock.capture(bootimgPath))).andReturn(new CommandResult(CommandStatus.SUCCESS));
309 EasyMock.capture(bootimgPath))).andReturn(new CommandResult(CommandStatus.FAILED));
339 EasyMock.capture(bootimgPath))).andThrow(new RuntimeException());
DDeviceSetupTest.java1170 EasyMock.expect(mMockDevice.pushString(EasyMock.capture(setPropCapture), in doSetupExpectations()
/tools/test/connectivity/acts/tests/google/tel/config/
DREADME.md5 …- **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/
DREADME.md19 in a particular mode and expect the tester to capture an over-the-air
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java578 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/
DITestSuiteTest.java888 mMockListener.testRunEnded(EasyMock.anyLong(), EasyMock.capture(c)); in testRun_withCollectors()

12