Home
last modified time | relevance | path

Searched refs:setUp (Results 1 – 25 of 528) sorted by relevance

12345678910>>...22

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceSetupTest.java60 protected void setUp() throws Exception { in setUp() method in DeviceSetupTest
61 super.setUp(); in setUp()
92 mDeviceSetup.setUp(mTestInfo); in testSetup()
116 mDeviceSetup.setUp(mTestInfo); in testSetup_airplane_mode_on()
130 mDeviceSetup.setUp(mTestInfo); in testSetup_airplane_mode_off()
143 mDeviceSetup.setUp(mTestInfo); in testSetup_data_on()
156 mDeviceSetup.setUp(mTestInfo); in testSetup_data_off()
168 mDeviceSetup.setUp(mTestInfo); in testSetup_cell_on()
180 mDeviceSetup.setUp(mTestInfo); in testSetup_cell_off()
192 mDeviceSetup.setUp(mTestInfo); in testSetup_cell_auto_setting_on()
[all …]
DPushFilePreparerTest.java60 public void setUp() throws Exception { in setUp() method in PushFilePreparerTest
75 mPreparer.setUp(mTestInfo); in testNoop()
87 mPreparer.setUp(mTestInfo); in testLocalNoExist()
107 mPreparer.setUp(mTestInfo); in testRemoteNoExist()
135 mPreparer.setUp(mTestInfo); in testPushFile_RemoteIsDir()
166 mPreparer.setUp(mTestInfo); in testPushFile_duplicateKey()
194 mPreparer.setUp(mTestInfo); in testPushDir_RemoteIsDir()
216 mPreparer.setUp(mTestInfo); in testPushDir_RemoteIsFile()
253 mPreparer.setUp(mTestInfo); in testRemotePush_override()
287 mPreparer.setUp(mTestInfo); in testPushFileAndPush_override()
[all …]
DTestAppInstallSetupTest.java82 public void setUp() throws Exception { in setUp() method in TestAppInstallSetupTest
154 mPrep.setUp(mTestInfo); in testSetupAndTeardown()
180 mPrep.setUp(mTestInfo); in testSetupAndTeardown_install_package_only()
193 mPrep.setUp(mTestInfo); in testSetupAndTeardown_install_packages_only()
212 mPrep.setUp(mTestInfo); in testSetup_instantMode()
240 mPrep.setUp(mTestInfo); in testSetup_abi()
260 mPrep.setUp(mTestInfo); in testSetup_forceMode()
276 mPrep.setUp(mTestInfo); in testSetup_forceQueryable()
287 mPrep.setUp(mTestInfo); in testInstallFailure()
316 mPrep.setUp(mTestInfo); in testInstallFailedUpdateIncompatible()
[all …]
DInstallApexModuleTargetPreparerTest.java93 public void setUp() throws Exception { in setUp() method in InstallApexModuleTargetPreparerTest
246 mInstallApexModuleTargetPreparer.setUp(mTestInfo); in testSetupSuccess_removeExistingStagedApexSuccess()
270 mInstallApexModuleTargetPreparer.setUp(mTestInfo); in testSetupSuccess_noDataUnderApexDataDirs()
303 mInstallApexModuleTargetPreparer.setUp(mTestInfo); in testSetupSuccess_getActivatedPackageSuccess()
336 mInstallApexModuleTargetPreparer.setUp(mTestInfo); in testSetupSuccess_withAbsoluteTestFileName()
366 mInstallApexModuleTargetPreparer.setUp(mTestInfo); in testSetupFail_getActivatedPackageSuccessThrowModuleNotPreloaded()
394 mInstallApexModuleTargetPreparer.setUp(mTestInfo); in testSetupFail_getActivatedPackageFail()
435 mInstallApexModuleTargetPreparer.setUp(mTestInfo); in testSetupFail_apexActivationFailPackageNameWrong()
477 mInstallApexModuleTargetPreparer.setUp(mTestInfo); in testSetupFail_apexActivationFailVersionWrong()
519 mInstallApexModuleTargetPreparer.setUp(mTestInfo); in testSetupFail_apexActivationFailSourceDirWrong()
[all …]
DAppSetupTest.java61 public void setUp() throws Exception { in setUp() method in AppSetupTest
97 mAppSetup.setUp(mMockDevice, new BuildInfo()); in testSetup_notApps()
115 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_failToInstall()
140 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_aaptCannotParse()
175 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_noPackageName()
210 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_checkMinSdk_failParsing()
244 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_checkMinSdk_apiLow()
277 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_checkMinSdk_apiOk()
301 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_executePostInstall()
318 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_uninstallAll_noPackage()
[all …]
DGsiDeviceFlashPreparerTest.java68 public void setUp() throws Exception { in setUp() method in GsiDeviceFlashPreparerTest
155 mPreparer.setUp(mTestInfo); in testSetUp_NoGsiImg()
173 mPreparer.setUp(mTestInfo); in testSetUp_NoSystemImageInGsiZip()
191 mPreparer.setUp(mTestInfo); in testSetUp_NoVbmetaImageInGsiZip()
238 mPreparer.setUp(mTestInfo); in testSetup_Success()
283 mPreparer.setUp(mTestInfo); in testSetup_Success_FromZipFile()
336 mPreparer.setUp(mTestInfo); in testSetup_Success_WithGkiBootImg()
391 mPreparer.setUp(mTestInfo); in testSetup_Success_WithGkiBootImgInZip()
429 mPreparer.setUp(mTestInfo); in testSetup_Success_Api28()
471 mPreparer.setUp(mTestInfo); in testSetup_GsiFlashFailure()
[all …]
DSwitchUserTargetPreparerTest.java52 public void setUp() throws ConfigurationException { in setUp() method in SwitchUserTargetPreparerTest
72 mSwitchUserTargetPreparer.setUp(mMockDevice, /* buildInfo= */ null); in testSetUpRunAsPrimary_ifAlreadyInPrimary_noSwitch()
91 mSwitchUserTargetPreparer.setUp(mMockDevice, /* buildInfo= */ null); in testSetUpRunAsSystem_ifAlreadyInSystem_noSwitch()
111 mSwitchUserTargetPreparer.setUp(mMockDevice, /* buildInfo= */ null); in testSetUpRunAsPrimary_ifNotInPrimary_switchToPrimary()
131 mSwitchUserTargetPreparer.setUp(mMockDevice, /* buildInfo= */ null); in testSetUpRunAsGuest_ifNotInGuest_switchToGuest()
151 mSwitchUserTargetPreparer.setUp(mMockDevice, /* buildInfo= */ null); in testSetUpRunAsSystem_ifNotInSystem_switchToSystem()
172 mSwitchUserTargetPreparer.setUp(mMockDevice, /* buildInfo= */ null); in testTearDown_ifStartedInSecondary_switchesBackToSecondary()
192 mSwitchUserTargetPreparer.setUp(mMockDevice, /* buildInfo= */ null); in testSetUp_ifNoSwitchToSpecified_noUserSwitch()
213 mSwitchUserTargetPreparer.setUp(mMockDevice, /* buildInfo= */ null); in testSetUp_ifSwitchFails_throwsTargetSetupError()
DRootTargetPreparerTest.java43 public void setUp() { in setUp() method in RootTargetPreparerTest
60 mRootTargetPreparer.setUp(mTestInfo); in testSetUpSuccess_rootBefore()
72 mRootTargetPreparer.setUp(mTestInfo); in testSetUpSuccess_notRootBefore()
84 mRootTargetPreparer.setUp(mTestInfo); in testSetUpFail()
97 mRootTargetPreparer.setUp(mTestInfo); in testSetUpSuccess_rootBefore_forceUnroot()
110 mRootTargetPreparer.setUp(mTestInfo); in testSetUpSuccess_notRootBefore_forceUnroot()
125 mRootTargetPreparer.setUp(mTestInfo); in testSetUpFail_forceUnroot()
139 mRootTargetPreparer.setUp(mTestInfo); in testSetUpFail_forceRoot_ignoresFailure()
155 mRootTargetPreparer.setUp(mTestInfo); in testSetUpFail_forceUnroot_ignoresFailure()
DDeviceFlashPreparerTest.java67 public void setUp() throws Exception { in setUp() method in DeviceFlashPreparerTest
131 mDeviceFlashPreparer.setUp(mTestInfo); in testSetup()
169 mDeviceFlashPreparer.setUp(mTestInfo); in testSetUp_nonDevice()
184 mDeviceFlashPreparer.setUp(mTestInfo); in testSetUp_noRamdisk()
220 mDeviceFlashPreparer.setUp(mTestInfo); in testSetup_buildError()
251 mDeviceFlashPreparer.setUp(mTestInfo); in testSetup_flashException()
272 mDeviceFlashPreparer.setUp(mTestInfo); in testSetup_flashSkipped()
294 mDeviceFlashPreparer.setUp(mTestInfo); in testSetup_flashRamdisk()
DInstallAllTestZipAppsSetupTest.java53 public void setUp() throws Exception { in setUp() method in InstallAllTestZipAppsSetupTest
127 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testNullTestZipName()
150 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testSuccess()
172 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testForceQueryableSuccess()
192 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testSuccessNoTearDown()
239 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testDisable()
255 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testUnzipFail()
282 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testAaptFail()
DRunHostScriptTargetPreparerTest.java73 public void setUp() throws IOException, ConfigurationException { in setUp() method in RunHostScriptTargetPreparerTest
114 mPreparer.setUp(mTestInfo); in testSetUp()
127 mPreparer.setUp(mTestInfo); in testSetUp_workingDir()
137 mPreparer.setUp(mTestInfo); in testSetUp_findFile()
144 mPreparer.setUp(mTestInfo); in testSetUp_fileNotFound()
152 mPreparer.setUp(mTestInfo); in testSetUp_executionError()
169 mPreparer.setUp(mTestInfo); in testSetUp_pathVariable()
DCreateUserPreparerTest.java50 public void setUp() { in setUp() method in CreateUserPreparerTest
64 mPreparer.setUp(mTestInfo); in testSetUp_tearDown()
104 preparer.setUp(mTestInfo); in testSetUp_tearDown_reuseTestUser()
142 preparer.setUp(mTestInfo); in testSetUp_tearDown_reuseTestUser_noExistingTestUser()
156 mPreparer.setUp(mTestInfo); in testSetUp_tearDown_noCurrent()
203 mPreparer.setUp(mTestInfo); in testSetUp_maxUsersReached()
220 mPreparer.setUp(mTestInfo); in testSetUp_failed()
DGkiDeviceFlashPreparerTest.java68 public void setUp() throws Exception { in setUp() method in GkiDeviceFlashPreparerTest
244 mPreparer.setUp(mTestInfo); in testSetUp_NoGkiBootImg()
266 mPreparer.setUp(mTestInfo); in testSetUp_NoMkbootimgInOtatoolsZip()
293 mPreparer.setUp(mTestInfo); in testSetup_Success()
319 mPreparer.setUp(mTestInfo); in testSetup_Success_FromZip()
346 mPreparer.setUp(mTestInfo); in testSetUp_GkiFlashFailure()
379 mPreparer.setUp(mTestInfo); in testSetUp_BootFailure()
DAllTestAppsInstallSetupTest.java29 public void setUp() throws Exception { in setUp() method in AllTestAppsInstallSetupTest
30 super.setUp(); in setUp()
43 mPrep.setUp(mMockTestDevice, mockBuildInfo); in testNotIDeviceBuildInfo()
56 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testNoTestDir()
89 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testSetup()
105 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testSetupForceQueryable()
DTestFilePushSetupTest.java55 protected void setUp() throws Exception { in setUp() method in TestFilePushSetupTest
56 super.setUp(); in setUp()
114 testFilePushSetup.setUp(device, stubBuild); in testSetup()
126 testFilePushSetup.setUp(EasyMock.createMock(ITestDevice.class), stubBuild); in testSetup_notDeviceBuildInfo()
145 setup.setUp(mMockDevice, stubBuild); in testThrowIfNotFound()
167 setup.setUp(mMockDevice, stubBuild); in testThrowIfNotFound_false()
DInstallApkSetupTest.java53 public void setUp() throws Exception { in setUp() method in InstallApkSetupTest
82 mInstallApkSetup.setUp(mMockTestDevice, mMockBuildInfo); in testSetup()
100 mInstallApkSetup.setUp(mMockTestDevice, mMockBuildInfo); in testSetupForceQueryable()
114 mInstallApkSetup.setUp(mMockTestDevice, mMockBuildInfo); in testNonExistingApk()
137 mInstallApkSetup.setUp(mMockTestDevice, mMockBuildInfo); in testInstallFailureNoThrow()
156 mInstallApkSetup.setUp(mMockTestDevice, mMockBuildInfo); in testInstallFailureThrow()
DDisableSELinuxTargetPreparerTest.java46 public void setUp() { in setUp() method in DisableSELinuxTargetPreparerTest
64 mDisableSELinuxTargetPreparer.setUp(mTestInfo); in testSetUpSuccess_permissive()
84 mDisableSELinuxTargetPreparer.setUp(mTestInfo); in testSetUpSuccess_enforced_rootBefore()
107 mDisableSELinuxTargetPreparer.setUp(mTestInfo); in testSetUpSuccess_enforced_notRootBefore()
122 mDisableSELinuxTargetPreparer.setUp(mTestInfo); in testSetUp_rootFail()
142 mDisableSELinuxTargetPreparer.setUp(mTestInfo); in testSetUp_disableSELinuxFail()
DStopServicesSetupTest.java42 protected void setUp() throws Exception { in setUp() method in StopServicesSetupTest
43 super.setUp(); in setUp()
58 mPreparer.setUp(mTestInfo); in testNoop()
69 mPreparer.setUp(mTestInfo); in testNoStopFramework()
85 mPreparer.setUp(mTestInfo); in testStopServices()
DRunHostCommandTargetPreparerTest.java61 public void setUp() { in setUp() method in RunHostCommandTargetPreparerTest
90 mPreparer.setUp(mTestInfo); in testSetUp()
105 mPreparer.setUp(mTestInfo); in testSetUp_withWorkDir()
119 mPreparer.setUp(mTestInfo); in testSetUp_withErrors()
158 mPreparer.setUp(mTestInfo); in testBgCommand()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationExecutionTest.java86 public void setUp() { in setUp() method in InvocationExecutionTest
334 inOrder.verify(stub1).setUp(testInfo); in testDoSetup()
336 inOrder.verify(stub2).setUp(testInfo); in testDoSetup()
338 inOrder.verify(cleaner).setUp(Mockito.any()); in testDoSetup()
341 inOrder.verify(stub3).setUp(testInfo); in testDoSetup()
343 inOrder.verify(stub4).setUp(testInfo); in testDoSetup()
383 inOrder.verify(stub1).setUp(testInfo); in testDoTearDown()
385 inOrder.verify(stub2).setUp(testInfo); in testDoTearDown()
387 inOrder.verify(cleaner).setUp(Mockito.any()); in testDoTearDown()
389 inOrder.verify(stub3).setUp(testInfo); in testDoTearDown()
[all …]
DTestInvocationTest.java178 public void setUp() throws Exception { in setUp() method in TestInvocationTest
693 mMockPreparer.setUp(EasyMock.anyObject()); in testInvoke_setupError()
716 mMockPreparer.setUp(EasyMock.anyObject()); in testInvoke_buildError()
740 mockCleaner.setUp(EasyMock.anyObject()); in testInvoke_tearDown()
767 mockCleaner.setUp(EasyMock.anyObject()); in testInvoke_tearDown_deviceNotAvail()
803 mockCleaner.setUp(EasyMock.anyObject()); in testInvoke_tearDown_runtime()
912 mMockPreparer.setUp(EasyMock.anyObject()); in testInvoke_testtag()
945 mMockPreparer.setUp(EasyMock.anyObject()); in testInvoke_testtag_notset()
975 mMockPreparer.setUp(EasyMock.anyObject()); in testInvoke_notesttag()
1017 mMockPreparer.setUp(EasyMock.anyObject()); in testInvoke_buildProviderNeedTestTag()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java304 public void setUp() { in setUp() method in ModuleDefinitionTest
423 mMockPrep.setUp(EasyMock.eq(mModuleInfo)); in testRun()
475 mMockPrep.setUp(EasyMock.eq(mModuleInfo)); in testRun_tearDownException()
527 mMockPrep.setUp(EasyMock.eq(mModuleInfo)); in testRun_aggregateRunFailures()
640 mMockPrep.setUp(EasyMock.eq(mModuleInfo)); in testRun_disabledTearDown()
668 public void setUp(TestInformation testInfo) in testRun_failPreparation()
713 public void setUp(TestInformation testInfo) in testRun_failPreparation_runtime()
753 public void setUp(TestInformation testInfo) in testRun_failPreparation_error()
800 public void setUp(TestInformation testInfo) in testRun_failPreparation_moduleListener()
853 public void setUp(TestInformation testInfo) in testRun_failPreparation_unresponsive()
[all …]
/tools/acloud/setup/
Dhost_setup_runner_test.py41 def setUp(self): member in CuttlefishHostSetupTest
43 super(CuttlefishHostSetupTest, self).setUp()
84 def setUp(self): member in AvdPkgInstallerTest
86 super(AvdPkgInstallerTest, self).setUp()
99 def setUp(self): member in CuttlefishCommonPkgInstallerTest
101 super(CuttlefishCommonPkgInstallerTest, self).setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMergeMultiBuildTargetPreparerTest.java51 public void setUp() { in setUp() method in MergeMultiBuildTargetPreparerTest
76 mPreparer.setUp(mContext); in testMergeFiles()
100 mPreparer.setUp(mContext); in testMergeFiles_collision()
114 mPreparer.setUp(mContext); in testMergeFiles_keyNotFound()
127 mPreparer.setUp(mContext); in testReceiverNotFound()
145 mPreparer.setUp(mContext); in testProviderNotFound()
/tools/test/connectivity/acts/framework/tests/
Dacts_relay_controller_test.py60 def setUp(self): member in ActsRelayTest
198 def setUp(self): member in ActsSainSmartBoardTest
339 def setUp(self): member in ActsRelayRigTest
429 def setUp(self): member in ActsGenericRelayDeviceTest
519 def setUp(self): member in ActsRelayDeviceTest
605 def setUp(self): member in TestRelayRigParser
703 def setUp(self): member in TestFuguRemote

12345678910>>...22