/tools/tradefederation/core/javatests/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarderTest.java | 42 private static final String RUN_NAME = "run"; field in TestRunToTestInvocationForwarderTest 61 mForwarder.testRunStarted(RUN_NAME, 2); in testForwarding() 73 verify(mMockListener).testRunStarted(RUN_NAME, 2); in testForwarding() 100 mForwarder.testRunStarted(RUN_NAME, 2); in testForwarding_null() 113 inOrder.verify(mMockListener).testRunStarted(RUN_NAME, 2); in testForwarding_null() 130 mForwarder.testRunStarted(RUN_NAME, 2); in testForwarding_null_ignored() 143 inOrder.verify(mMockListener).testRunStarted(RUN_NAME, 2); in testForwarding_null_ignored() 171 mForwarder.testRunStarted(RUN_NAME, 2); in testForwarding_initError() 183 verify(mMockListener).testRunStarted(RUN_NAME, 2); in testForwarding_initError()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/ |
D | GranularRetriableTestWrapperTest.java | 82 private static final String RUN_NAME = "test run"; field in GranularRetriableTestWrapperTest 138 listener.testRunStarted(RUN_NAME, mTestCases.size()); in run() 387 granularTestWrapper.getTestRunResultCollected().get(RUN_NAME).get(0); in testIntraModuleRun_catchDeviceUnresponsiveException() 415 maxRunCount, granularTestWrapper.getTestRunResultCollected().get(RUN_NAME).size()); in testRun_withMultipleRun() 431 .get(RUN_NAME) in testRun_withMultipleRun() 439 .get(RUN_NAME) in testRun_withMultipleRun() 474 maxRunCount, granularTestWrapper.getTestRunResultCollected().get(RUN_NAME).size()); in testRun_withMultipleRun_becomePass() 490 .get(RUN_NAME) in testRun_withMultipleRun_becomePass() 498 .get(RUN_NAME) in testRun_withMultipleRun_becomePass() 533 assertEquals(4, granularTestWrapper.getTestRunResultCollected().get(RUN_NAME).size()); in testRun_withMultipleRun_AllBecomePass() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | NativeStressTestTest.java | 47 private static final String RUN_NAME = "run-name"; field in NativeStressTestTest 65 when(mMockStressFile.getName()).thenReturn(RUN_NAME); in setUp() 66 when(mMockStressFile.getFullEscapedPath()).thenReturn(RUN_NAME); in setUp() 76 verify(mMockListener).testRunStarted(RUN_NAME, 0); in verifyMocks()
|
D | NativeBenchmarkTestParserTest.java | 28 private static final String RUN_NAME = "run-name"; field in NativeBenchmarkTestParserTest 33 mParser = new NativeBenchmarkTestParser(RUN_NAME); in setUp()
|
D | NativeStressTestParserTest.java | 28 private static final String RUN_NAME = "run-name"; field in NativeStressTestParserTest 34 mParser = new NativeStressTestParser(RUN_NAME); in setUp()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/ |
D | ClangCodeCoverageCollectorTest.java | 95 private static final String RUN_NAME = "SomeTest"; field in ClangCodeCoverageCollectorTest 169 mListener.testRunStarted(RUN_NAME, TEST_COUNT); in coverageDisabled_noCoverageLog() 184 mListener.testRunStarted(RUN_NAME, TEST_COUNT); in clangCoverageDisabled_noCoverageLog() 205 mListener.testRunStarted(RUN_NAME, TEST_COUNT); in coverageFlushEnabled_flushCalled() 234 mListener.testRunStarted(RUN_NAME, TEST_COUNT); in testRun_misc_trace_only_logsCoverageFile() 291 mListener.testRunStarted(RUN_NAME, TEST_COUNT); in testRun_local_tmp_only_logsCoverageFile() 344 mListener.testRunStarted(RUN_NAME, TEST_COUNT); in testRun_both_locations_logsCoverageFile() 396 mListener.testRunStarted(RUN_NAME, TEST_COUNT); in testRun_noModuleName_logsCoverageFile() 439 mListener.testRunStarted(RUN_NAME, TEST_COUNT); in testRun_profraw_filter_option() 477 mListener.testRunStarted(RUN_NAME, TEST_COUNT); in testOtherFileTypes_ignored() [all …]
|
D | JavaCodeCoverageCollectorTest.java | 99 private static final String RUN_NAME = "SomeTest"; field in JavaCodeCoverageCollectorTest 161 mCodeCoverageCollector.testRunStarted(RUN_NAME, TEST_COUNT); in testRunEnded_noCoverageEnabled_noop() 183 mCodeCoverageCollector.testRunStarted(RUN_NAME, TEST_COUNT); in testRunEnded_rootEnabled_logsCoverageMeasurement() 215 mCodeCoverageCollector.testRunStarted(RUN_NAME, TEST_COUNT); in testRunEnded_rootEnabled_noModuleName_logsCoverageMeasurement() 233 mCodeCoverageCollector.testRunStarted(RUN_NAME, TEST_COUNT); in testFailure_unableToPullFile() 251 mCodeCoverageCollector.testRunStarted(RUN_NAME, TEST_COUNT); in testRunEnded_rootDisabled_enablesRootBeforePullingFiles() 290 mCodeCoverageCollector.testRunStarted(RUN_NAME, TEST_COUNT); in testRunEnded_rootDisabled_disablesRootAfterPullingFiles() 326 mCodeCoverageCollector.testRunStarted(RUN_NAME, TEST_COUNT); in testCoverageFlush_producesMultipleMeasurements() 370 mCodeCoverageCollector.testRunStarted(RUN_NAME, TEST_COUNT); in testRunningProcess_coverageFileNotDeleted() 404 mCodeCoverageCollector.testRunStarted(RUN_NAME, TEST_COUNT); in testStreamingCoverage_logsReceived() [all …]
|
D | LogcatTimingMetricCollectorTest.java | 59 private static final String RUN_NAME = "HelloTestRun"; field in LogcatTimingMetricCollectorTest 95 mCollector.testRunStarted(RUN_NAME, 1); in testCollect_oneDevice_perRun() 130 mCollector.testRunStarted(RUN_NAME, 1); in testCollect_multipleDevice_perRun() 154 mCollector.testRunStarted(RUN_NAME, 1); in testCollect_onDevice_twoTests() 192 mCollector.testRunStarted(RUN_NAME, 1); in testCollect_testFail()
|
D | GcovCodeCoverageCollectorTest.java | 78 private static final String RUN_NAME = "SomeTest"; field in GcovCodeCoverageCollectorTest 141 mCodeCoverageListener.testRunStarted(RUN_NAME, TEST_COUNT); in test_logsCoverageZip() 173 mCodeCoverageListener.testRunStarted(RUN_NAME, TEST_COUNT); in testNoCoverageFiles_logsEmptyZip() 200 mCodeCoverageListener.testRunStarted(RUN_NAME, TEST_COUNT); in testCoverageFlushAllProcesses_flushAllCommandCalled() 221 mCodeCoverageListener.testRunStarted(RUN_NAME, TEST_COUNT); in testCoverageFlushSpecificProcesses_flushCommandCalled() 238 mCodeCoverageListener.testRunStarted(RUN_NAME, TEST_COUNT); in testFailure_unableToPullFile() 258 mCodeCoverageListener.testRunStarted(RUN_NAME, TEST_COUNT); in testNoCollectOnTestEnd_noCoverageMeasurements()
|
/tools/tradefederation/core/javatests/com/android/tradefed/postprocessor/ |
D | BasePostProcessorTest.java | 64 private static final String RUN_NAME = "test.run"; field in BasePostProcessorTest 740 listener.testRunStarted(RUN_NAME, 1); in testLogsFilesFromPostProcessing() 776 listener.testRunStarted(RUN_NAME, 1); in testNoDoubleLoggingFilesFromOutsideLogSaverForwarder() 831 listener.testRunStarted(RUN_NAME, 1); in testNoDoubleLoggingFilesToSubsequentPostProcessors() 864 listener.testRunStarted(RUN_NAME, 1); in testNoAssociatingNewlyLoggedFileWithinSelf() 885 listener.testRunStarted(RUN_NAME, 1); in testLogsFromPostProcessorsAreForwarded() 911 mProcessor.testRunStarted(RUN_NAME, 1); in testLogsFromPostProcessorsAreOnlyForwardedWhenNoLogSaverIsSet() 944 listener.testRunStarted(RUN_NAME, 1); in testLogsFromOutsidePostProcessorsAreForwarded()
|