/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparerTest.java | 21 import static org.mockito.Mockito.times; 221 EasyMock.expectLastCall().times(1); in testSetupSuccess_removeExistingStagedApexSuccess() 223 EasyMock.expectLastCall().times(1); in testSetupSuccess_removeExistingStagedApexSuccess() 225 EasyMock.expectLastCall().times(1); in testSetupSuccess_removeExistingStagedApexSuccess() 240 EasyMock.expect(mMockDevice.getActiveApexes()).andReturn(activatedApex).times(3); in testSetupSuccess_removeExistingStagedApexSuccess() 265 EasyMock.expect(mMockDevice.getActiveApexes()).andReturn(activatedApex).times(3); in testSetupSuccess_noDataUnderApexDataDirs() 278 EasyMock.expectLastCall().times(1); in testSetupSuccess_getActivatedPackageSuccess() 280 EasyMock.expectLastCall().times(1); in testSetupSuccess_getActivatedPackageSuccess() 282 EasyMock.expectLastCall().times(1); in testSetupSuccess_getActivatedPackageSuccess() 297 EasyMock.expect(mMockDevice.getActiveApexes()).andReturn(activatedApex).times(3); in testSetupSuccess_getActivatedPackageSuccess() [all …]
|
D | AppSetupTest.java | 21 import static org.mockito.Mockito.times; 186 Mockito.verify(mMockAaptParser, times(1)).getPackageName(); in testSetup_noPackageName() 241 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(21).times(2); in testSetup_checkMinSdk_apiLow() 248 Mockito.verify(mMockAaptParser, times(2)).getSdkVersion(); in testSetup_checkMinSdk_apiLow() 281 Mockito.verify(mMockAaptParser, times(2)).getPackageName(); in testSetup_checkMinSdk_apiOk() 282 Mockito.verify(mMockAaptParser, times(1)).getSdkVersion(); in testSetup_checkMinSdk_apiOk() 334 EasyMock.expect(mMockDevice.getUninstallablePackageNames()).andReturn(res).times(2); in testSetup_uninstallAll() 335 EasyMock.expect(mMockDevice.uninstallPackage("com.fake1")).andReturn(null).times(2); in testSetup_uninstallAll() 353 EasyMock.expect(mMockDevice.getUninstallablePackageNames()).andReturn(res).times(4); in testSetup_uninstallAll_fails() 354 EasyMock.expect(mMockDevice.uninstallPackage("com.fake1")).andReturn("error").times(3); in testSetup_uninstallAll_fails()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollectorTest.java | 21 import static org.mockito.Mockito.times; 95 Mockito.verify(mMockListener, times(1)).invocationStarted(Mockito.any()); in testInitAndForwarding() 96 Mockito.verify(mMockListener, times(1)).testModuleStarted(Mockito.any()); in testInitAndForwarding() 97 Mockito.verify(mMockListener, times(1)) in testInitAndForwarding() 100 Mockito.verify(mMockListener, times(1)).testStarted(Mockito.eq(test), Mockito.anyLong()); in testInitAndForwarding() 101 Mockito.verify(mMockListener, times(1)) in testInitAndForwarding() 103 Mockito.verify(mMockListener, times(1)).testFailed(test, "trace"); in testInitAndForwarding() 104 Mockito.verify(mMockListener, times(1)).testAssumptionFailure(test, "trace"); in testInitAndForwarding() 105 Mockito.verify(mMockListener, times(1)).testIgnored(test); in testInitAndForwarding() 106 Mockito.verify(mMockListener, times(1)) in testInitAndForwarding() [all …]
|
D | AtraceCollectorTest.java | 112 EasyMock.expectLastCall().times(1); in testStartsAtraceOnSetupNoOptions() 134 EasyMock.expectLastCall().times(1); in testStartsAtraceOnSetupNoCompression() 160 EasyMock.expectLastCall().times(1); in testStartsAtraceOnSetupCategoriesOption() 185 EasyMock.expectLastCall().times(1); in testStartsAtraceOnSetupMultipleCategoriesOption() 235 EasyMock.expectLastCall().times(1); in testStopsAtraceDuringTearDown() 262 EasyMock.expectLastCall().times(1); in testPreserveFileOnDeviceOption() 305 EasyMock.expectLastCall().times(1); in testUploadsLogWithCompression() 329 EasyMock.expectLastCall().times(1); in testUploadsLogWithoutCompression() 366 EasyMock.expectLastCall().times(num_devices); in testMultipleDeviceBehavior() 398 .times(1); in testExecutesPostProcessPar() [all …]
|
D | RuntimeRestartCollectorTest.java | 24 import static org.mockito.Mockito.times; 135 verify(mCollector, times(1)) in testStatsdInteractions_singleDevice() 139 verify(mCollector, times(1)).getStatsdMetadata(eq(testDevice)); in testStatsdInteractions_singleDevice() 142 verify(mCollector, times(1)).getEventMetricData(eq(testDevice), eq(CONFIG_ID_1)); in testStatsdInteractions_singleDevice() 143 verify(mCollector, times(1)).removeConfig(eq(testDevice), eq(CONFIG_ID_1)); in testStatsdInteractions_singleDevice() 144 verify(mCollector, times(2)).getStatsdMetadata(eq(testDevice)); in testStatsdInteractions_singleDevice() 171 verify(mCollector, times(1)) in testStatsdInteractions_multiDevice() 175 verify(mCollector, times(1)) in testStatsdInteractions_multiDevice() 179 verify(mCollector, times(1)).getStatsdMetadata(eq(testDevice1)); in testStatsdInteractions_multiDevice() 180 verify(mCollector, times(1)).getStatsdMetadata(eq(testDevice2)); in testStatsdInteractions_multiDevice() [all …]
|
D | RebootReasonCollectorTest.java | 25 import static org.mockito.Mockito.times; 85 verify(mCollector, times(1)) in testStatsdInteractions_singleDevice() 89 verify(mCollector, times(1)).getEventMetricData(eq(testDevice), eq(CONFIG_ID_1)); in testStatsdInteractions_singleDevice() 90 verify(mCollector, times(1)).removeConfig(eq(testDevice), eq(CONFIG_ID_1)); in testStatsdInteractions_singleDevice() 180 verify(mCollector, times(1)) in testStatsdInteractions_multiDevice() 184 verify(mCollector, times(1)) in testStatsdInteractions_multiDevice() 188 verify(mCollector, times(1)).getEventMetricData(eq(testDevice1), eq(CONFIG_ID_1)); in testStatsdInteractions_multiDevice() 189 verify(mCollector, times(1)).getEventMetricData(eq(testDevice2), eq(CONFIG_ID_2)); in testStatsdInteractions_multiDevice() 190 verify(mCollector, times(1)).removeConfig(eq(testDevice1), eq(CONFIG_ID_1)); in testStatsdInteractions_multiDevice() 191 verify(mCollector, times(1)).removeConfig(eq(testDevice2), eq(CONFIG_ID_2)); in testStatsdInteractions_multiDevice()
|
D | HostStatsdMetricCollectorTest.java | 24 import static org.mockito.Mockito.times; 101 verify(mCollector, times(2)).pushBinaryStatsConfig(eq(device), any(File.class)); in testCollect_perTest() 102 verify(mCollector, times(2)).getReportByteStream(eq(device), anyLong()); in testCollect_perTest() 103 verify(mCollector, times(2)).removeConfig(eq(device), anyLong()); in testCollect_perTest() 125 verify(mCollector, times(2)).pushBinaryStatsConfig(eq(device), any(File.class)); in testCollect_testFail() 126 verify(mCollector, times(2)).getReportByteStream(eq(device), anyLong()); in testCollect_testFail() 127 verify(mCollector, times(2)).removeConfig(eq(device), anyLong()); in testCollect_testFail()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/ |
D | ExecutableTargetTestTest.java | 98 Mockito.verify(mListener, Mockito.times(1)).testRunStarted(eq(testName1), eq(1)); in testRun_cmdSuccess() 99 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription)); in testRun_cmdSuccess() 100 Mockito.verify(mListener, Mockito.times(1)) in testRun_cmdSuccess() 106 Mockito.verify(mListener, Mockito.times(1)).testRunStarted(eq(testName2), eq(1)); in testRun_cmdSuccess() 107 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription2)); in testRun_cmdSuccess() 108 Mockito.verify(mListener, Mockito.times(1)) in testRun_cmdSuccess() 112 Mockito.verify(mListener, Mockito.times(2)) in testRun_cmdSuccess() 141 Mockito.verify(mListener, Mockito.times(0)).testRunStarted(eq(testName1), eq(1)); in testRun_pathNotExist() 147 Mockito.verify(mListener, Mockito.times(1)).testRunFailed(failure1); in testRun_pathNotExist() 149 Mockito.verify(mListener, Mockito.times(0)).testRunStarted(eq(testName2), eq(1)); in testRun_pathNotExist() [all …]
|
D | ExecutableHostTestTest.java | 25 import static org.mockito.Mockito.times; 90 verify(mMockListener, times(0)).testRunStarted(any(), anyInt()); in testRunHostExecutable_noBinaries() 101 verify(mMockListener, Mockito.times(1)).testRunStarted(eq("test"), eq(0)); in testRunHostExecutable_doesNotExists() 107 verify(mMockListener, Mockito.times(1)).testRunFailed(failure); in testRunHostExecutable_doesNotExists() 108 verify(mMockListener, Mockito.times(1)) in testRunHostExecutable_doesNotExists() 130 verify(mMockListener, Mockito.times(1)).testRunStarted(eq(tmpBinary.getName()), eq(1)); in testRunHostExecutable() 131 verify(mMockListener, Mockito.times(0)).testRunFailed((String) any()); in testRunHostExecutable() 132 verify(mMockListener, Mockito.times(0)).testFailed(any(), (String) any()); in testRunHostExecutable() 133 verify(mMockListener, Mockito.times(1)) in testRunHostExecutable() 164 verify(mMockListener, Mockito.times(1)).testRunStarted(eq(tmpBinary.getName()), eq(1)); in testRunHostExecutable_relativePath() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | TestsPoolPollerTest.java | 139 Mockito.verify(mListener, Mockito.times(numTests)) in testPollingRun() 141 Mockito.verify(mListener, Mockito.times(numTests)) in testPollingRun() 173 Mockito.verify(mListener, Mockito.times(numTests)) in testRun_runtimeException() 175 Mockito.verify(mListener, Mockito.times(numTests)) in testRun_runtimeException() 204 Mockito.verify(mListener, Mockito.times(numTests)) in testRun_deviceUnresponsive() 206 Mockito.verify(mListener, Mockito.times(numTests)) in testRun_deviceUnresponsive() 242 Mockito.verify(mListener, Mockito.times(0)) in testRun_dnae() 244 Mockito.verify(mListener, Mockito.times(0)) in testRun_dnae() 281 Mockito.verify(mListener, Mockito.times(1)) in testRun_dnae_reportNotExecuted() 284 Mockito.verify(mListener, Mockito.times(1)) in testRun_dnae_reportNotExecuted() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/ |
D | UserCheckerTest.java | 36 import static org.mockito.Mockito.times; 75 verify(preDevice, times(1)).switchUser(0); in testSwitchIsSuccess() 103 verify(preDevice, times(1)).createUser("Tfsecondary", false, false); in testCreateIsSuccess() 104 verify(preDevice, times(1)).switchUser(10); in testCreateIsSuccess() 133 verify(preDevice, times(1)).createUser("Tfsecondary", false, false); in testCreateCleanup() 134 verify(preDevice, times(1)).switchUser(10); in testCreateCleanup() 145 verify(postDevice, times(1)).switchUser(0); in testCreateCleanup() 146 verify(postDevice, times(1)).removeUser(10); in testCreateCleanup() 165 verify(preDevice, times(1)).createUser("Tfsecondary", false, false); in testCreateCleanup_cleanupFail() 166 verify(preDevice, times(1)).switchUser(10); in testCreateCleanup_cleanupFail() [all …]
|
D | DeviceSettingCheckerTest.java | 60 .times(2); in testSettingsUnchanged() 63 .times(2); in testSettingsUnchanged() 66 .times(2); in testSettingsUnchanged() 86 .times(2); in testSettingsChanged() 89 .times(2); in testSettingsChanged() 114 .times(2); in testIgnoredSettings() 117 .times(2); in testIgnoredSettings() 141 .times(2); in testSettingsMissedPostExecution() 144 .times(2); in testSettingsMissedPostExecution() 166 .times(2); in testSettingsNewPostExecution() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterCommandConfigBuilderTest.java | 23 import static org.mockito.Mockito.times; 111 verify(mConfig, times(1)).injectOptionValue("cluster:request-id", REQUEST_ID); in testBuild_commandProperties() 112 verify(mConfig, times(1)).injectOptionValue("cluster:command-id", COMMAND_ID); in testBuild_commandProperties() 113 verify(mConfig, times(1)).injectOptionValue("cluster:attempt-id", ATTEMPT_ID); in testBuild_commandProperties() 114 verify(mConfig, times(1)).injectOptionValue("cluster:command-line", COMMAND_LINE); in testBuild_commandProperties() 115 verify(mConfig, times(1)).injectOptionValue("cluster:root-dir", mWorkDir.getAbsolutePath()); in testBuild_commandProperties() 133 verify(mConfig, times(1)).setDeviceConfigList(captor.capture()); in testBuild_targetPreparers() 169 verify(mConfig, times(1)) in testBuild_envVars() 171 verify(mConfig, times(1)).injectOptionValue("cluster:env-var", "E1", "V1"); in testBuild_envVars() 172 verify(mConfig, times(1)).injectOptionValue("cluster:env-var", "E2", "V2"); in testBuild_envVars() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 262 EasyMock.expectLastCall().times(2); in setUp() 264 EasyMock.expectLastCall().times(2); in setUp() 266 EasyMock.expectLastCall().times(2); in setUp() 268 EasyMock.expectLastCall().times(2); in setUp() 428 EasyMock.expect(mMockDevice.getLogcat()).andReturn(EMPTY_STREAM_SOURCE).times(2); in testInvoke_buildFailed() 430 EasyMock.expectLastCall().times(2); in testInvoke_buildFailed() 460 EasyMock.expect(mMockDevice.getLogcat()).andReturn(EMPTY_STREAM_SOURCE).times(2); in testInvoke_buildFailed_runtimeException() 462 EasyMock.expectLastCall().times(2); in testInvoke_buildFailed_runtimeException() 494 EasyMock.expect(mMockDevice.getLogcat()).andReturn(EMPTY_STREAM_SOURCE).times(2); in testInvoke_noBuild() 496 EasyMock.expectLastCall().times(2); in testInvoke_noBuild() [all …]
|
D | TestInvocationMultiTest.java | 172 .times(2); in testRunBuildProvider_oneMiss() 180 EasyMock.expectLastCall().times(2); in testRunBuildProvider_oneMiss() 185 EasyMock.expectLastCall().times(2); in testRunBuildProvider_oneMiss() 268 .times(2); in testResolveDynamicFails() 276 EasyMock.expectLastCall().times(2); in testResolveDynamicFails() 281 EasyMock.expectLastCall().times(2); in testResolveDynamicFails() 350 .times(2); in testRunBuildProvider_oneThrow() 358 EasyMock.expectLastCall().times(2); in testRunBuildProvider_oneThrow() 363 EasyMock.expectLastCall().times(2); in testRunBuildProvider_oneThrow() 440 .times(2); in testRunBuildProvider_cleanUpThrow() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/ |
D | RetryReschedulerTest.java | 18 import static org.mockito.Mockito.times; 118 EasyMock.expectLastCall().times(1); in testReschedule_onlyPassTests() 162 EasyMock.expectLastCall().times(1); in testReschedule_carryShardCount() 200 EasyMock.expectLastCall().times(1); in testReschedule_someFailedTests() 239 EasyMock.expectLastCall().times(1); in testReschedule_someAssumptionFailures() 278 EasyMock.expectLastCall().times(1); in testReschedule_mixedFailedAssumptionFailures() 323 EasyMock.expectLastCall().times(1); in testReschedule_excludeFilters() 362 EasyMock.expectLastCall().times(1); in testReschedule_module_option() 405 EasyMock.expectLastCall().times(1); in testReschedule_excludeFilters_abi() 446 EasyMock.expectLastCall().times(1); in testReschedule_moduleOption_abi() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | PythonUnitTestResultParserTest.java | 530 expectLastCall().times(1); in testCaptureMultilineTraceback() 532 expectLastCall().times(1); in testCaptureMultilineTraceback() 534 expectLastCall().times(1); in testCaptureMultilineTraceback() 574 expectLastCall().times(1); in setRunListenerChecks() 576 expectLastCall().times(1); in setRunListenerChecks() 743 expectLastCall().times(1); in setTestIdChecks() 746 expectLastCall().times(1); in setTestIdChecks() 751 expectLastCall().times(1); in setTestIdChecks() 753 expectLastCall().times(1); in setTestIdChecks() 761 expectLastCall().times(1); in setTestIdChecks() [all …]
|
D | TfTestLauncherTest.java | 138 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andReturn(BUILD_BRANCH).times(3); in testRun() 139 EasyMock.expect(mMockBuildInfo.getBuildFlavor()).andReturn(BUILD_FLAVOR).times(2); in testRun() 142 EasyMock.expect(mMockBuildInfo.getBuildId()).andReturn(BUILD_ID).times(3); in testRun() 147 EasyMock.expectLastCall().times(3); in testRun() 197 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andReturn(BUILD_BRANCH).times(1); in testTestTmpDirClean_failExtraFile() 220 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andReturn(BUILD_BRANCH).times(1); in testTestTmpDirClean_failMultipleFiles() 245 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andReturn(BUILD_BRANCH).times(2); in testRunCoverage() 246 EasyMock.expect(mMockBuildInfo.getBuildFlavor()).andReturn(BUILD_FLAVOR).times(2); in testRunCoverage() 247 EasyMock.expect(mMockBuildInfo.getBuildId()).andReturn(BUILD_ID).times(2); in testRunCoverage()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/sandbox/ |
D | ParentSandboxInvocationExecutionTest.java | 24 import static org.mockito.Mockito.times; 126 verify(mMockFactory, times(0)).createConfigurationFromArgs(Mockito.any()); in testDefaultSkipSetup_tearDown() 127 verify(mMockDevice, times(0)).getIDevice(); in testDefaultSkipSetup_tearDown() 146 verify(mMockFactory, times(1)).createConfigurationFromArgs(Mockito.any()); in testParentConfig() 147 verify(mMockPreparer, times(1)).setUp(Mockito.any()); in testParentConfig() 148 verify(mMockPreparer, times(1)).tearDown(Mockito.any(), Mockito.any()); in testParentConfig() 149 verify(mMockDevice, times(0)).getIDevice(); in testParentConfig() 172 verify(mMockFactory, times(1)).createConfigurationFromArgs(Mockito.any()); in testParentConfig_errorStage() 173 verify(mMockPreparer, times(1)).setUp(Mockito.any()); in testParentConfig_errorStage() 174 verify(mMockPreparer, times(1)).tearDown(Mockito.any(), Mockito.any()); in testParentConfig_errorStage() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionTest.java | 422 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false).times(2); in testRun() 427 EasyMock.expectLastCall().times(2); in testRun() 474 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false).times(2); in testRun_tearDownException() 479 EasyMock.expectLastCall().times(2); in testRun_tearDownException() 525 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false).times(2); in testRun_aggregateRunFailures() 615 EasyMock.expect(mMockPrep.isDisabled()).andReturn(true).times(2); in testRun_disabledPreparation() 619 EasyMock.expectLastCall().times(2); in testRun_disabledPreparation() 639 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false).times(2); in testRun_disabledTearDown() 644 EasyMock.expectLastCall().times(2); in testRun_disabledTearDown() 919 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false).times(2); in testRun_fullPass() [all …]
|
D | ITestSuiteTest.java | 477 Mockito.verify(mMockPreparer, Mockito.times(0)).setUp(Mockito.any()); in testRun_whiteListPreparer() 498 .times(2); in testRun_failedSystemChecker() 524 .times(2); in testRun_failedSystemChecker_runtimeException() 591 .times(1); in testRun_failedSystemChecker_reportFailure_bugreport() 688 EasyMock.expectLastCall().times(1); in testRun_unresponsiveDevice() 698 EasyMock.expectLastCall().times(1); in testRun_unresponsiveDevice() 745 EasyMock.expectLastCall().times(2); in testRun_deviceUnavailable() 748 EasyMock.expectLastCall().times(1); in testRun_deviceUnavailable() 752 EasyMock.expectLastCall().times(1); in testRun_deviceUnavailable() 764 EasyMock.expectLastCall().times(2); in testRun_deviceUnavailable() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandSchedulerTest.java | 294 EasyMock.expectLastCall().times(2); in testRun_dryRun() 351 EasyMock.expectLastCall().times(1); in testExecCommand() 391 private void setExpectedInvokeCalls(int times) throws Throwable { in setExpectedInvokeCalls() argument 395 EasyMock.expectLastCall().times(times); in setExpectedInvokeCalls() 405 private Object waitForExpectedInvokeCalls(final int times) throws Throwable { in waitForExpectedInvokeCalls() argument 412 if (times == mCalls) { in waitForExpectedInvokeCalls() 622 EasyMock.expectLastCall().times(3); in testAddCommandFile_reload() 670 EasyMock.expectLastCall().times(2); in testAddCommandFile_twice() 717 private void setCreateConfigExpectations(String[] args, int times) in setCreateConfigExpectations() argument 724 .times(times); in setCreateConfigExpectations() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/statsd/ |
D | ConfigUtilTest.java | 25 import static org.mockito.Mockito.times; 82 verify(mTestDevice, times(1)).pushFile(any(File.class), anyString()); in testPushDeviceConfig() 83 verify(mTestDevice, times(1)).executeShellV2Command(matches(STATS_CONFIG_UPDATE_MATCHER)); in testPushDeviceConfig() 84 verify(mTestDevice, times(1)).deleteFile(matches(REMOTE_PATH_MATCHER)); in testPushDeviceConfig() 125 verify(mTestDevice, times(1)).pushFile(eq(mConfigFile), anyString()); in testPushBinaryDeviceConfig() 126 verify(mTestDevice, times(1)).executeShellV2Command(matches(STATS_CONFIG_UPDATE_MATCHER)); in testPushBinaryDeviceConfig() 127 verify(mTestDevice, times(1)).deleteFile(matches(REMOTE_PATH_MATCHER)); in testPushBinaryDeviceConfig() 152 verify(mTestDevice, times(1)) in testRemoveDeviceConfig()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SubprocessTestResultsParserTest.java | 99 EasyMock.expectLastCall().times(4); in testParse_randomEvents() 104 EasyMock.expectLastCall().times(4); in testParse_randomEvents() 107 EasyMock.expectLastCall().times(1); in testParse_randomEvents() 142 EasyMock.expectLastCall().times(4); in testParse_invalidEventOrder() 147 EasyMock.expectLastCall().times(3); in testParse_invalidEventOrder() 149 EasyMock.expectLastCall().times(1); in testParse_invalidEventOrder() 152 EasyMock.expectLastCall().times(1); in testParse_invalidEventOrder() 186 EasyMock.expectLastCall().times(1); in testParse_testNotStarted() 225 EasyMock.expectLastCall().times(1); in testParse_noTimeStamp() 301 EasyMock.expectLastCall().times(1); in testParser_receiveFromSocket()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/ |
D | TradefedSandboxTest.java | 110 EasyMock.expectLastCall().times(2); in testPrepareEnvironment() 112 EasyMock.expectLastCall().times(2); in testPrepareEnvironment() 152 EasyMock.expectLastCall().times(2); in testPrepareEnvironment_dumpConfigFail() 154 EasyMock.expectLastCall().times(2); in testPrepareEnvironment_dumpConfigFail() 192 EasyMock.expectLastCall().times(2); in testPrepareEnvironment_dumpConfigFail_fallback_fail() 194 EasyMock.expectLastCall().times(2); in testPrepareEnvironment_dumpConfigFail_fallback_fail() 252 EasyMock.expect(mMockConfig.getCommandLine()).andReturn("empty --arg 1").times(2); in setPrepareConfigurationExpectations()
|