/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | DeviceSetupTest.java | 90 EasyMock.replay(mMockDevice); in testSetup() 113 EasyMock.replay(mMockDevice); in testSetup_airplane_mode_on() 127 EasyMock.replay(mMockDevice); in testSetup_airplane_mode_off() 140 EasyMock.replay(mMockDevice); in testSetup_data_on() 153 EasyMock.replay(mMockDevice); in testSetup_data_off() 165 EasyMock.replay(mMockDevice); in testSetup_cell_on() 177 EasyMock.replay(mMockDevice); in testSetup_cell_off() 189 EasyMock.replay(mMockDevice); in testSetup_cell_auto_setting_on() 201 EasyMock.replay(mMockDevice); in testSetup_cell_auto_setting_off() 214 EasyMock.replay(mMockDevice); in testSetup_wifi_on() [all …]
|
D | FastbootDeviceFlasherTest.java | 102 EasyMock.replay(mMockDevice); in testFlash_deviceNotAvailable() 118 EasyMock.replay(mMockDevice); in testFlash_missingBoard() 137 EasyMock.replay(mMockDevice, mMockRunUtil); in testGetImageVersion() 155 EasyMock.replay(mMockDevice, mMockRunUtil); in testGetCurrentSlot_fastboot() 168 EasyMock.replay(mMockDevice, mMockRunUtil); in testGetCurrentSlot_adb() 184 EasyMock.replay(mMockDevice, mMockRunUtil); in testGetCurrentSlot_null() 213 EasyMock.replay(mMockDevice, mMockRunUtil); in testRetryGetVersionCommand() 230 EasyMock.replay(mockDevice, mMockRunUtil); in testFlashBaseband_noVersion() 259 EasyMock.replay(mMockDevice, mockZipInstaller); in testFlashUserData_testsZip() 332 EasyMock.replay(mMockDevice); in testWipeCache_exists() [all …]
|
D | PushFilePreparerTest.java | 74 EasyMock.replay(mMockDevice); in testNoop() 83 EasyMock.replay(mMockDevice); in testLocalNoExist() 103 EasyMock.replay(mMockDevice); in testRemoteNoExist() 134 EasyMock.replay(mMockDevice); in testPushFile_RemoteIsDir() 165 EasyMock.replay(mMockDevice); in testPushFile_duplicateKey() 193 EasyMock.replay(mMockDevice); in testPushDir_RemoteIsDir() 213 EasyMock.replay(mMockDevice); in testPushDir_RemoteIsFile() 252 EasyMock.replay(mMockDevice); in testRemotePush_override() 286 EasyMock.replay(mMockDevice); in testPushFileAndPush_override() 306 EasyMock.replay(mMockDevice); in testWarnOnFailure() [all …]
|
D | InstallApexModuleTargetPreparerTest.java | 245 EasyMock.replay(mMockBuildInfo, mMockDevice); in testSetupSuccess_removeExistingStagedApexSuccess() 269 EasyMock.replay(mMockBuildInfo, mMockDevice); in testSetupSuccess_noDataUnderApexDataDirs() 302 EasyMock.replay(mMockBuildInfo, mMockDevice); in testSetupSuccess_getActivatedPackageSuccess() 335 EasyMock.replay(mMockBuildInfo, mMockDevice); in testSetupSuccess_withAbsoluteTestFileName() 365 EasyMock.replay(mMockBuildInfo, mMockDevice); in testSetupFail_getActivatedPackageSuccessThrowModuleNotPreloaded() 393 EasyMock.replay(mMockBuildInfo, mMockDevice); in testSetupFail_getActivatedPackageFail() 434 EasyMock.replay(mMockBuildInfo, mMockDevice); in testSetupFail_apexActivationFailPackageNameWrong() 476 EasyMock.replay(mMockBuildInfo, mMockDevice); in testSetupFail_apexActivationFailVersionWrong() 518 EasyMock.replay(mMockBuildInfo, mMockDevice); in testSetupFail_apexActivationFailSourceDirWrong() 557 EasyMock.replay(mMockBuildInfo, mMockDevice); in testSetupSuccess_activatedSuccessOnQ() [all …]
|
D | TestAppInstallSetupTest.java | 153 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testSetupAndTeardown() 179 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testSetupAndTeardown_install_package_only() 192 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testSetupAndTeardown_install_packages_only() 211 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testSetup_instantMode() 239 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testSetup_abi() 259 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testSetup_forceMode() 275 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testSetup_forceQueryable() 285 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testInstallFailure() 315 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testInstallFailedUpdateIncompatible() 327 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testMissingApk() [all …]
|
D | InstallAllTestZipAppsSetupTest.java | 106 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testGetZipFile() 117 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testGetZipFileDoesntExist() 125 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testNullTestZipName() 148 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testSuccess() 170 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testForceQueryableSuccess() 190 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testSuccessNoTearDown() 206 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testInstallFailure() 228 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testInstallFailureNoStop() 238 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testDisable() 252 EasyMock.replay(mMockBuildInfo, mMockTestDevice); in testUnzipFail() [all …]
|
D | GkiDeviceFlashPreparerTest.java | 133 EasyMock.replay(mMockDevice, mMockRunUtil); in testValidateGkiBootImg_NoBuildInfoFiles() 148 EasyMock.replay(mMockDevice, mMockRunUtil); in testValidateGkiBootImg_NoRamdiskRecoveryImg() 165 EasyMock.replay(mMockDevice, mMockRunUtil); in testValidateGkiBootImg_NoOtatoolsZip() 187 EasyMock.replay(mMockDevice, mMockRunUtil); in testValidateGkiBootImg_NoMkbootimgInOtatoolsZip() 229 EasyMock.replay(mMockDevice, mMockRunUtil); in testValidateGkiBootImg_FailToGenerateBootImg() 242 EasyMock.replay(mMockDevice, mMockRunUtil); in testSetUp_NoGkiBootImg() 264 EasyMock.replay(mMockDevice, mMockRunUtil); in testSetUp_NoMkbootimgInOtatoolsZip() 292 EasyMock.replay(mMockDevice, mMockRunUtil); in testSetup_Success() 318 EasyMock.replay(mMockDevice, mMockRunUtil); in testSetup_Success_FromZip() 344 EasyMock.replay(mMockDevice, mMockRunUtil); in testSetUp_GkiFlashFailure() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | NativeDeviceTest.java | 361 EasyMock.replay(fakeEntry); in testPullDir_nothingToDo() 430 EasyMock.replay(fakeEntry, fakeFile, fakeDir); in testPullDir() 511 EasyMock.replay(fakeEntry, fakeFile, fakeDir, secondLevelChildren); in testPullDir_pullFail() 743 EasyMock.replay(mMockWifi); in testConnectToWifiNetworkIfNeeded_alreadyConnected() 757 EasyMock.replay(mMockWifi, mMockIDevice); in testConnectToWifiNetwork_success() 778 EasyMock.replay(mMockWifi, mMockIDevice, mMockRunUtil); in testConnectToWifiNetwork_failure() 809 EasyMock.replay(mMockWifi, mMockIDevice); in testConnectToWifiNetwork_maxConnectTime() 823 EasyMock.replay(mMockWifi, mMockIDevice); in testConnectToWifiNetwork_scanSsid() 837 EasyMock.replay(mMockWifi, mMockIDevice); in testCheckWifiConnection() 846 EasyMock.replay(mMockWifi, mMockIDevice); in testCheckWifiConnection_failure() [all …]
|
D | DeviceSelectionOptionsTest.java | 187 EasyMock.replay(mMockDevice); 199 EasyMock.replay(mMockDevice); 211 EasyMock.replay(mMockDevice); 222 EasyMock.replay(mMockDevice); 237 EasyMock.replay(mMockDevice); 255 EasyMock.replay(mMockDevice); 265 EasyMock.replay(mMockDevice); 276 EasyMock.replay(mMockDevice); 289 EasyMock.replay(mMockDevice); 302 EasyMock.replay(mMockDevice); [all …]
|
D | TestDeviceTest.java | 185 EasyMock.replay(mMockIDevice); in testEnableAdbRoot_alreadyRoot() 194 EasyMock.replay(mMockIDevice, mMockRunUtil, mMockStateMonitor); in testEnableAdbRoot_notRoot() 217 EasyMock.replay(mMockIDevice); in testDisableAdbRoot_alreadyUnroot() 236 EasyMock.replay(mMockIDevice, mMockRunUtil, mMockStateMonitor); in testDisableAdbRoot_unroot() 287 EasyMock.replay(mMockIDevice, mMockRunUtil, mMockStateMonitor); in testEnableAdbRoot_rootRetry() 296 EasyMock.replay(mMockIDevice); in testIsAdbRootForNonRoot() 305 EasyMock.replay(mMockIDevice); in testIsAdbRootForRoot() 325 EasyMock.replay(mMockIDevice, mMockRunUtil); in testGetProductType_fastboot() 346 EasyMock.replay(mMockIDevice, mMockRunUtil); in testGetProductType_fastbootNonalpha() 367 EasyMock.replay(mMockIDevice); in testGetProductType_fastbootFail() [all …]
|
D | DeviceStateMonitorTest.java | 55 EasyMock.replay(mMockDevice); in setUp() 100 EasyMock.replay(mockDevice); in testIsAdbTcp_usb() 112 EasyMock.replay(mockDevice); in testIsAdbTcp_tcp() 168 EasyMock.replay(mMockDevice); in testWaitForShellAvailable() 195 EasyMock.replay(mMockDevice); in testWaitForShell_becomeAvailable() 236 EasyMock.replay(mMockDevice); in testWaitForShell_timeout() 341 EasyMock.replay(mMockDevice); in testWaitForPmResponsive() 369 EasyMock.replay(mMockDevice); in testWaitForPm_becomeResponsive() 411 EasyMock.replay(mMockDevice); in testWaitForPm_timeout() 441 EasyMock.replay(mMockDevice); in testgetMountPoint() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | HostTestTest.java | 624 EasyMock.replay(mListener); in testRun_testcase() 650 EasyMock.replay(mListener); in testRun_MetricTestCase() 675 EasyMock.replay(mListener); in testRun_LogMetricTestCase() 711 EasyMock.replay(mListener); in testRun_MetricTestCase_withOption() 730 EasyMock.replay(mListener); in testRun_testSuite() 749 EasyMock.replay(mListener); in testRun_junit3TestSuite_dynamicOptions() 768 EasyMock.replay(mListener); in testRun_testHierarchySuite() 785 EasyMock.replay(mListener); in testRun_testMethod() 882 EasyMock.replay(mListener); in testRun_multipleClass() 923 EasyMock.replay(mListener); in testRun_deviceTest() [all …]
|
D | PythonUnitTestResultParserTest.java | 22 import static org.easymock.EasyMock.replay; 141 replay(mMockListener); in testParseNoTests() 161 replay(mMockListener); in testParseSingleTestPass() 180 replay(mMockListener); in testParsePartialSingleLineMatchSkipped() 200 replay(mMockListener); in testParseSingleTestPassWithExpectedFailure() 221 replay(mMockListener); in testParseMultiTestPass() 242 replay(mMockListener); in testParseMultiTestPassWithOneExpectedFailure() 263 replay(mMockListener); in testParseMultiTestPassWithAllExpectedFailure() 291 replay(mMockListener); in testParseSingleTestFail() 318 replay(mMockListener); in testParseSubtestFailure() [all …]
|
D | AndroidJUnitTestTest.java | 131 EasyMock.replay(mMockRemoteRunner, mMockTestDevice); in testRun_includeFilterClass() 143 EasyMock.replay(mMockRemoteRunner, mMockTestDevice); in testRun_excludeFilterClass() 156 EasyMock.replay(mMockRemoteRunner, mMockTestDevice); in testRun_includeAndExcludeFilterClass() 169 EasyMock.replay(mMockRemoteRunner, mMockTestDevice); in testRun_includeFilterPackage() 181 EasyMock.replay(mMockRemoteRunner, mMockTestDevice); in testRun_excludeFilterPackage() 194 EasyMock.replay(mMockRemoteRunner, mMockTestDevice); in testRun_includeAndExcludeFilterPackage() 207 EasyMock.replay(mMockRemoteRunner, mMockTestDevice); in testRun_includeFilterSingleTestsRegex() 219 EasyMock.replay(mMockRemoteRunner, mMockTestDevice); in testRun_includeFilterMultipleTestsRegex() 230 EasyMock.replay(mMockRemoteRunner, mMockTestDevice); in testRun_includeFilterInvalidTestsRegex() 251 EasyMock.replay(mMockRemoteRunner, mMockTestDevice); in testRun_includeAndExcludeFilters() [all …]
|
D | GTestResultParserTest.java | 54 EasyMock.replay(mockRunListener); in testParseSimpleFile() 78 EasyMock.replay(mockRunListener); in testParseSimpleFileNoTimes() 94 EasyMock.replay(mockRunListener); in testParseNoTests() 118 EasyMock.replay(mockRunListener); in testParseLargerFile() 179 EasyMock.replay(mockRunListener); in testParseWithFailures() 230 EasyMock.replay(mockRunListener); in testParseWithErrors() 253 EasyMock.replay(mockRunListener); in testParseNonAlignedTag() 311 EasyMock.replay(mockRunListener); in testParseSimpleFile_AltFormat() 329 EasyMock.replay(mockRunListener); in testParseSimpleFile_LinkError() 357 EasyMock.replay(mockRunListener); in testParseSimpleFile_earlyError() [all …]
|
D | DeviceTestCaseTest.java | 126 EasyMock.replay(listener); in testRun_suite() 148 EasyMock.replay(listener); in testRun_includeFilter() 168 EasyMock.replay(listener); in testRun_excludeFilter() 191 EasyMock.replay(listener); in testRun_includeAnnotationFiltering() 211 EasyMock.replay(listener); in testRun_checkAnnotation() 239 EasyMock.replay(listener); in testRun_excludeAnnotationFiltering() 259 EasyMock.replay(listener); in testRun_singleTest() 280 EasyMock.replay(listener); in testRun_deviceNotAvail() 305 EasyMock.replay(listener); in testRun_testcaseCollectMode() 324 EasyMock.replay(listener); in testRun_testcaseCollectMode_singleMethod() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | AtraceCollectorTest.java | 81 EasyMock.replay(mMockInvocationContext); in setUp() 114 EasyMock.replay(mMockDevice); in testStartsAtraceOnSetupNoOptions() 136 EasyMock.replay(mMockDevice); in testStartsAtraceOnSetupNoCompression() 162 EasyMock.replay(mMockDevice); in testStartsAtraceOnSetupCategoriesOption() 187 EasyMock.replay(mMockDevice); in testStartsAtraceOnSetupMultipleCategoriesOption() 211 EasyMock.replay(mMockDevice); in testStartsAtraceWithNoCategoriesOption() 241 EasyMock.replay(mMockDevice); in testStopsAtraceDuringTearDown() 267 EasyMock.replay(mMockDevice); in testPreserveFileOnDeviceOption() 284 EasyMock.replay(mMockDevice); in testLogPullFail() 306 EasyMock.replay(mMockDevice, mMockTestLogger); in testUploadsLogWithCompression() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | FileDownloadCacheTest.java | 79 EasyMock.replay(mMockDownloader); in testFetchRemoteFile() 90 EasyMock.replay(mMockDownloader); in testFetchRemoteFile_destFile() 98 EasyMock.replay(mMockDownloader); in testFetchRemoteFile_destFile_nullPath() 115 EasyMock.replay(mMockDownloader); in testFetchRemoteFile_cacheHit() 122 EasyMock.replay(mMockDownloader); in testFetchRemoteFile_cacheHit() 135 EasyMock.replay(mMockDownloader); in testFetchRemoteFile_cacheHit_notFresh() 143 EasyMock.replay(mMockDownloader); in testFetchRemoteFile_cacheHit_notFresh() 160 EasyMock.replay(mMockDownloader); in testFetchRemoteFile_cacheSizeExceeded() 180 EasyMock.replay(mMockDownloader); in testFetchRemoteFile_downloadFailed() 199 EasyMock.replay(mMockDownloader); in testFetchRemoteFile_downloadFailed_Runtime() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | BaseTestSuiteTest.java | 86 EasyMock.replay(mMockDevice); in setUp() 381 EasyMock.replay(logger); in testSplit_withFilters() 401 EasyMock.replay(mockDevice); in testLoadTestsForMultiAbi() 425 EasyMock.replay(mockDevice); in testLoadTests_parameterizedModule() 470 EasyMock.replay(mockDevice); in testLoadTests_parameterizedModule_load_with_filter() 496 EasyMock.replay(mockDevice); in testLoadTests_parameterizedModule_load_with_filter_param() 522 EasyMock.replay(mockDevice); in testLoadTests_forcedModule_load_with_filter_param() 547 EasyMock.replay(mockDevice); in testLoadTests_parameterizedModule_multiAbi() 575 EasyMock.replay(mockDevice); in testLoadTests_parameterizedModule_multiAbi_filter() 599 EasyMock.replay(mockDevice); in testLoadTests_parameterizedModule_multiAbi_forced() [all …]
|
D | ITestSuiteTest.java | 374 EasyMock.replay(mMockListener, mMockDevice, mMockBuildInfo, mMockSysChecker); in replayMocks() 882 EasyMock.replay(mMockDevice); in testGetAbis() 899 EasyMock.replay(mMockDevice); in testGetAbis_notSupported() 924 EasyMock.replay(mMockDevice); in testGetAbis_primaryAbiOnly() 943 EasyMock.replay(mMockDevice); in testGetAbis_primaryAbiOnly_NotSupported() 969 EasyMock.replay(mMockDevice); in testGetAbis_skipCtsArchCheck() 989 EasyMock.replay(mMockDevice); in testGetAbis_skipCtsArchCheck_abiSpecified() 1475 EasyMock.replay(moduleListener); in testRun_withModuleListener() 1616 EasyMock.replay(moduleListener); in testRun_GranularRerunwithModuleListener() 1629 EasyMock.replay(mMockDevice); in testNullDeviceSuite() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SubprocessTestResultsParserTest.java | 116 EasyMock.replay(mockRunListener); in testParse_randomEvents() 158 EasyMock.replay(mockRunListener); in testParse_invalidEventOrder() 187 EasyMock.replay(mockRunListener); in testParse_testNotStarted() 226 EasyMock.replay(mockRunListener); in testParse_noTimeStamp() 261 EasyMock.replay(mockRunListener); in testParse_invocationFailed() 302 EasyMock.replay(mockRunListener); in testParser_receiveFromSocket() 338 EasyMock.replay(mockRunListener); in testParser_failToJoin() 354 EasyMock.replay(listener); in testParser_noConnection() 372 EasyMock.replay(mockRunListener); in testParse_testTag() 400 EasyMock.replay(mockRunListener); in testParse_testInvocationEndedWithoutBuildInfo() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 353 EasyMock.replay(mockRescheduler); in testInvoke_RemoteTest() 373 EasyMock.replay(mockRescheduler); in testInvokeMulti_RemoteTest() 395 EasyMock.replay(mockRescheduler); in testInvoke_twoSummary() 565 EasyMock.replay(mockRescheduler); in testInvoke_deviceTest() 588 EasyMock.replay(mockRescheduler); in testInvoke_testFail() 610 EasyMock.replay(mockRescheduler); in testInvoke_metricsCollectedWhenStopped() 636 EasyMock.replay(mockRescheduler); in testInvoke_fatalError() 663 EasyMock.replay(mockRescheduler); in testInvoke_deviceNotAvail() 724 EasyMock.replay(mockRescheduler); in testInvoke_buildError() 747 EasyMock.replay(mockCleaner, mockRescheduler); in testInvoke_tearDown() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/ |
D | GceManagerTest.java | 167 EasyMock.replay(mMockBuildInfo); in testBuildGceCommand() 203 EasyMock.replay(mMockBuildInfo); in testBuildGceCommand_withServiceAccountJsonKeyFile() 243 EasyMock.replay(mMockBuildInfo); in testBuildGceCommandWithEmulatorBuild() 292 EasyMock.replay(mMockBuildInfo); in testBuildGceCommandWithGceDriverParam() 359 EasyMock.replay(mMockRunUtil); in testStartGce_timeout() 379 EasyMock.replay(mMockBuildInfo); in testBuildGceCommandWithKernelBuild() 461 EasyMock.replay(mMockRunUtil); in testStartGce() 500 EasyMock.replay(mMockRunUtil); in testStartGce_failed() 559 EasyMock.replay(mMockRunUtil); in testStartGce_bootFail() 597 EasyMock.replay(mMockRunUtil); in testShutdownGce() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
D | RemoteManagerFuncTest.java | 81 EasyMock.replay(mMockDeviceManager, device); in testAllocateFree() 99 EasyMock.replay(mMockScheduler); in testAddCommand() 117 EasyMock.replay(mMockScheduler); in testAddCommandFile() 139 EasyMock.replay(mMockDeviceManager, device); in testAllocateClose() 163 EasyMock.replay(mMockDeviceManager, device); in testAllocateFreeAll() 220 EasyMock.replay(mMockDeviceManager); in testListDevices() 261 EasyMock.replay(mMockDeviceManager, device, mMockScheduler); in testExecCommand() 304 EasyMock.replay(mMockDeviceManager, device, mMockScheduler); in testConsecutiveExecCommand() 351 EasyMock.replay(mMockScheduler); in testHandover() 370 EasyMock.replay(mMockScheduler); in testHandoverInit() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | DynamicRemoteFileResolverTest.java | 133 EasyMock.replay(mMockResolver); in testResolve() 162 EasyMock.replay(mMockResolver); in testResolveWithQuery() 190 EasyMock.replay(mMockResolver); in testResolveOptional() 213 EasyMock.replay(mMockResolver); in testResolve_remoteFileList() 255 EasyMock.replay(mMockResolver); in testResolve_remoteFileList_downloadError() 289 EasyMock.replay(mMockResolver); in testResolve_remoteMap() 331 EasyMock.replay(mMockResolver); in testResolve_remoteMultiMap() 377 EasyMock.replay(mMockResolver); in testResolve_remoteMultiMap_concurrent() 426 EasyMock.replay(mMockResolver); in testResolve_withNoGlobalNameSpace() 451 EasyMock.replay(mMockResolver); in testResolvePartialDownloadZip() [all …]
|