Home
last modified time | relevance | path

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

12345678910>>...21

/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 …]
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()
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()
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()
DPerfettoPreparerTest.java44 public void setUp() throws Exception { in setUp() method in PerfettoPreparerTest
56 mPreparer.setUp(mMockDevice, null); in testNoop()
66 mPreparer.setUp(mMockDevice, null); in testLocalPerfettoBinaryNoExist()
87 mPreparer.setUp(mMockDevice, null); in testLocalPerfettoBinaryValid()
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 …]
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()
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()
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()
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()
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 …]
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 …]
DRestartSystemServerTargetPreparerTest.java38 public void setUp() { in setUp() method in RestartSystemServerTargetPreparerTest
58 mRestartSystemServerTargetPreparer.setUp(mMockDevice, mMockBuildInfo); in testSetUp_bootComplete()
76 mRestartSystemServerTargetPreparer.setUp(mMockDevice, mMockBuildInfo); in testSetUp_bootNotComplete()
108 mRestartSystemServerTargetPreparer.setUp(mMockDevice, mMockBuildInfo); in testNone()
DDeviceStringPusherTest.java43 public void setUp() { in setUp() method in DeviceStringPusherTest
63 mDeviceStringPusher.setUp(mTestInfo); in testFail()
76 mDeviceStringPusher.setUp(mTestInfo); in testDoesntExist()
93 mDeviceStringPusher.setUp(mTestInfo); in testAlreadyExists()
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()
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()
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/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/tradefederation/core/src/com/android/tradefed/targetprep/
DITargetPreparer.java47 public default void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp() method
65 public default void setUp(TestInformation testInformation) in setUp() method
67 setUp(testInformation.getDevice(), testInformation.getBuildInfo()); in setUp()
/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 …]
/tools/tradefederation/core/tests/res/testtype/
DtestJar1.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/ui/ android/ ...
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/app/
DNoApkTestSkipperTest.java49 public void setUp() { in setUp() method in NoApkTestSkipperTest
63 mSkipper.setUp(mTestInfo); in testApksPresent()
74 mSkipper.setUp(mTestInfo); in testNoApkPresent()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DNativeStressTestParserTest.java32 protected void setUp() throws Exception { in setUp() method in NativeStressTestParserTest
33 super.setUp(); in setUp()

12345678910>>...21