Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java488 Capture<FailureDescription> captured = new Capture<>(); in testRun_tearDownException() local
489 mMockListener.testRunFailed(EasyMock.capture(captured)); in testRun_tearDownException()
495 assertTrue(captured.getValue().getErrorMessage().contains("teardown failed")); in testRun_tearDownException()
546 Capture<FailureDescription> captured = new Capture<>(); in testRun_aggregateRunFailures() local
547 mMockListener.testRunFailed(EasyMock.capture(captured)); in testRun_aggregateRunFailures()
579 assertTrue(captured.getValue() instanceof MultiFailureDescription); in testRun_aggregateRunFailures()
691 Capture<FailureDescription> captured = new Capture<>(); in testRun_failPreparation() local
692 mMockListener.testRunFailed(EasyMock.capture(captured)); in testRun_failPreparation()
699 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation()
735 Capture<FailureDescription> captured = new Capture<>(); in testRun_failPreparation_runtime() local
[all …]
DITestSuiteTest.java816 Capture<FailureDescription> captured = new Capture<>(); in testRun_runtimeException() local
817 mMockListener.testRunFailed(EasyMock.capture(captured)); in testRun_runtimeException()
825 FailureDescription exception = captured.getValue(); in testRun_runtimeException()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java463 Capture<IBuildInfo> captured = new Capture<>(); in testInvoke_buildFailed_runtimeException() local
464 mMockBuildProvider.cleanUp(EasyMock.capture(captured)); in testInvoke_buildFailed_runtimeException()
472 IBuildInfo stubBuild = captured.getValue(); in testInvoke_buildFailed_runtimeException()
497 Capture<IBuildInfo> captured = new Capture<>(); in testInvoke_noBuild() local
498 mMockBuildProvider.cleanUp(EasyMock.capture(captured)); in testInvoke_noBuild()
506 IBuildInfo stubBuild = captured.getValue(); in testInvoke_noBuild()
537 Capture<IBuildInfo> captured = new Capture<>(); in testInvoke_noBuild_noHostLog() local
538 mMockBuildProvider.cleanUp(EasyMock.capture(captured)); in testInvoke_noBuild_noHostLog()
546 IBuildInfo stubBuild = captured.getValue(); in testInvoke_noBuild_noHostLog()
1946 Capture<HashMap<String, Metric>> captured = new Capture<>(); in testMetricCollectionChain() local
[all …]
DTestInvocationMultiTest.java199 Capture<IBuildInfo> captured = new Capture<>(); in testRunBuildProvider_oneMiss() local
200 mProvider2.cleanUp(EasyMock.capture(captured)); in testRunBuildProvider_oneMiss()
246 IBuildInfo stubBuild = captured.getValue(); in testRunBuildProvider_oneMiss()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestResultParserTest.java325 Capture<FailureDescription> captured = new Capture<>(); in testParseSimpleFile_LinkError() local
326 mockRunListener.testRunFailed(EasyMock.capture(captured)); in testParseSimpleFile_LinkError()
335 captured.getValue() in testParseSimpleFile_LinkError()
353 Capture<FailureDescription> captured = new Capture<>(); in testParseSimpleFile_earlyError() local
354 mockRunListener.testRunFailed(EasyMock.capture(captured)); in testParseSimpleFile_earlyError()
363 captured.getValue() in testParseSimpleFile_earlyError()
409 Capture<FailureDescription> captured = new Capture<>(); in testParseSimpleFileWithoutRunComplete() local
410 mockRunListener.testRunFailed(EasyMock.capture(captured)); in testParseSimpleFileWithoutRunComplete()
DHostTestTest.java1594 Capture<TestDescription> captured = new Capture<>(); in testRun_Junit4Test_malformed() local
1595 mListener.testStarted(EasyMock.capture(captured)); in testRun_Junit4Test_malformed()
1603 assertEquals(Junit4MalformedTestClass.class.getName(), captured.getValue().getClassName()); in testRun_Junit4Test_malformed()
1604 assertEquals("initializationError", captured.getValue().getTestName()); in testRun_Junit4Test_malformed()
2278 Capture<FailureDescription> captured = new Capture<>(); in testEarlyFailure() local
2279 mListener.testRunFailed(EasyMock.capture(captured)); in testEarlyFailure()
2291 captured.getValue() in testEarlyFailure()
DJarHostTestTest.java270 Capture<FailureDescription> captured = new Capture<>(); in testCountTestFails() local
271 mListener.testRunFailed(EasyMock.capture(captured)); in testCountTestFails()
288 captured.getValue() in testCountTestFails()
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/
DAveragePostProcessorTest.java56 Capture<HashMap<String, Metric>> captured = new Capture<>(); in testAverage_double() local
57 mMockListener.testRunEnded(EasyMock.eq(15L), EasyMock.capture(captured)); in testAverage_double()
65 HashMap<String, Metric> result = captured.getValue(); in testAverage_double()
79 Capture<HashMap<String, Metric>> captured = new Capture<>(); in testAverage_long() local
80 mMockListener.testRunEnded(EasyMock.eq(15L), EasyMock.capture(captured)); in testAverage_long()
88 HashMap<String, Metric> result = captured.getValue(); in testAverage_long()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogcatCrashResultForwarderTest.java153 Capture<FailureDescription> captured = new Capture<>(); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() local
154 mMockListener.testRunFailed(EasyMock.capture(captured)); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded()
163 captured.getValue() in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded()
201 Capture<FailureDescription> captured = new Capture<>(); in testCaptureTestCrash_duplicateStack() local
202 mMockListener.testRunFailed(EasyMock.capture(captured)); in testCaptureTestCrash_duplicateStack()
211 captured.getValue() in testCaptureTestCrash_duplicateStack()
DSubprocessResultsReporterTest.java125 Capture<FailureDescription> captured = new Capture<>(); in testPrintEvent_printToSocket() local
133 mMockListener.testRunFailed(EasyMock.capture(captured)); in testPrintEvent_printToSocket()
146 FailureDescription capturedFailure = captured.getValue(); in testPrintEvent_printToSocket()
163 Capture<FailureDescription> captured = new Capture<>(); in testPrintEvent_printToSocket_StructuredFailures() local
172 mMockListener.testRunFailed(EasyMock.capture(captured)); in testPrintEvent_printToSocket_StructuredFailures()
198 FailureDescription capturedFailure = captured.getValue(); in testPrintEvent_printToSocket_StructuredFailures()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/recovery/
DRunConfigDeviceRecoveryTest.java130 Capture<String[]> captured = new Capture<>(); in testRecoverDevice_run() local
132 EasyMock.anyObject(), EasyMock.eq(device), EasyMock.capture(captured)); in testRecoverDevice_run()
138 String[] args = captured.getValue(); in testRecoverDevice_run()
/tools/tradefederation/core/tests/res/testtype/
Dgtest_output5.txt34 This is some random text that should get captured by the parser.