/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionTest.java | 488 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 …]
|
D | ITestSuiteTest.java | 816 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/ |
D | TestInvocationTest.java | 463 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 …]
|
D | TestInvocationMultiTest.java | 199 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/ |
D | GTestResultParserTest.java | 325 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()
|
D | HostTestTest.java | 1594 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()
|
D | JarHostTestTest.java | 270 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/ |
D | AveragePostProcessorTest.java | 56 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/ |
D | LogcatCrashResultForwarderTest.java | 153 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()
|
D | SubprocessResultsReporterTest.java | 125 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/ |
D | RunConfigDeviceRecoveryTest.java | 130 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/ |
D | gtest_output5.txt | 34 This is some random text that should get captured by the parser.
|