Home
last modified time | relevance | path

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

12345678910>>...13

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceSetupTest.java56 protected void setUp() throws Exception { in setUp() method in DeviceSetupTest
57 super.setUp(); in setUp()
86 mDeviceSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup()
110 mDeviceSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_airplane_mode_on()
124 mDeviceSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_airplane_mode_off()
137 mDeviceSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_data_on()
150 mDeviceSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_data_off()
162 mDeviceSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_cell_on()
174 mDeviceSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_cell_off()
186 mDeviceSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_cell_auto_setting_on()
[all …]
DStopServicesSetupTest.java38 protected void setUp() throws Exception { in setUp() method in StopServicesSetupTest
39 super.setUp(); in setUp()
51 mPreparer.setUp(mMockDevice, null); in testNoop()
62 mPreparer.setUp(mMockDevice, null); in testNoStopFramework()
78 mPreparer.setUp(mMockDevice, null); in testStopServices()
DTestAppInstallSetupTest.java56 public void setUp() throws Exception { in setUp() method in TestAppInstallSetupTest
107 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testSetupAndTeardown()
122 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testSetup_instantMode()
140 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testSetup_forceMode()
153 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testInstallFailure()
178 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testInstallFailedUpdateIncompatible()
191 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testMissingApk()
207 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testUnreadableApk()
223 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testMissingApk_silent()
235 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testUnreadableApk_silent()
[all …]
DBuildInfoAttributePreparerTest.java36 public void setUp() throws Exception { in setUp() method in BuildInfoAttributePreparerTest
37 super.setUp(); in setUp()
46 mPrep.setUp(null, build); in testSimple()
DPreloadedClassesPreparerTest.java53 public void setUp() throws Exception { in setUp() method in PreloadedClassesPreparerTest
82 mSpyPreparer.setUp(mMockDevice, mMockBuildInfo); in testSetUp_RemoteSuccess()
92 mSpyPreparer.setUp(mMockDevice, mMockBuildInfo); in testSetUp_RemoteNoTool()
110 mSpyPreparer.setUp(mMockDevice, mMockBuildInfo); in testSetUp_LocalSuccess()
116 mSpyPreparer.setUp(mMockDevice, mMockBuildInfo); in testSetUp_NoFile()
131 mSpyPreparer.setUp(mMockDevice, mMockBuildInfo); in testSetUp_WriteFailure()
DRootTargetPreparerTest.java36 public void setUp() { in setUp() method in RootTargetPreparerTest
47 mRootTargetPreparer.setUp(mMockDevice, mMockBuildInfo); in testSetUpSuccess_rootBefore()
59 mRootTargetPreparer.setUp(mMockDevice, mMockBuildInfo); in testSetUpSuccess_notRootBefore()
71 mRootTargetPreparer.setUp(mMockDevice, mMockBuildInfo); in testSetUpFail()
DAppSetupTest.java60 public void setUp() { in setUp() method in AppSetupTest
85 mAppSetup.setUp(mMockDevice, new BuildInfo()); in testSetup_notIAppBuildInfo()
107 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_failToInstall()
132 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_aaptCannotParse()
164 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_noPackageName()
196 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_checkMinSdk_failParsing()
229 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_checkMinSdk_apiLow()
262 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_checkMinSdk_apiOk()
285 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_executePostInstall()
301 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_uninstallAll_noPackage()
[all …]
DInstrumentationPreparerTest.java46 public void setUp() throws Exception { in setUp() method in InstrumentationPreparerTest
47 super.setUp(); in setUp()
81 mInstrumentationPreparer.setUp(mMockDevice, mMockBuildInfo); in testRun()
110 mInstrumentationPreparer.setUp(mMockDevice, mMockBuildInfo); in testRun_testFailed()
DDeviceStringPusherTest.java39 public void setUp() { in setUp() method in DeviceStringPusherTest
55 mDeviceStringPusher.setUp(mMockDevice, mMockBuildInfo); in testFail()
68 mDeviceStringPusher.setUp(mMockDevice, mMockBuildInfo); in testDoesntExist()
85 mDeviceStringPusher.setUp(mMockDevice, mMockBuildInfo); in testAlreadyExists()
DPushFilePreparerTest.java46 public void setUp() throws Exception { in setUp() method in PushFilePreparerTest
58 mPreparer.setUp(mMockDevice, null); in testNoop()
69 mPreparer.setUp(mMockDevice, null); in testLocalNoExist()
88 mPreparer.setUp(mMockDevice, null); in testRemoteNoExist()
112 mPreparer.setUp(mMockDevice, null); in testWarnOnFailure()
DInstallApkSetupTest.java52 public void setUp() throws Exception { in setUp() method in InstallApkSetupTest
80 mInstallApkSetup.setUp(mMockTestDevice, mMockBuildInfo); in testSetup()
94 mInstallApkSetup.setUp(mMockTestDevice, mMockBuildInfo); in testNonExistingApk()
117 mInstallApkSetup.setUp(mMockTestDevice, mMockBuildInfo); in testInstallFailureNoThrow()
136 mInstallApkSetup.setUp(mMockTestDevice, mMockBuildInfo); in testInstallFailureThrow()
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()
DDeviceStorageFillerTest.java37 public void setUp() { in setUp() method in DeviceStorageFillerTest
56 mDeviceStorageFiller.setUp(mMockDevice, mMockBuildInfo); in testSetUpWriteFile()
69 mDeviceStorageFiller.setUp(mMockDevice, mMockBuildInfo); in testSetUpSkip()
DKernelFlashPreparerTest.java61 protected void setUp() throws Exception { in setUp() method in KernelFlashPreparerTest
62 super.setUp(); in setUp()
132 mFlashPreparer.setUp(mMockDevice, mBuildInfo); in testSetUp()
155 mFlashPreparer.setUp(mMockDevice, mBuildInfo); in testSetup_targetsetuperror()
180 mFlashPreparer.setUp(mMockDevice, mBuildInfo); in testSetup_fastbooterror()
211 mFlashPreparer.setUp(mMockDevice, mBuildInfo); in testSetup_builderror()
242 mFlashPreparer.setUp(mMockDevice, mBuildInfo); in testSetup_unresponsive()
259 mFlashPreparer.setUp(null, new BuildInfo()); in testSetup_invalidbuildinfo()
DInstallAllTestZipAppsSetupTest.java53 public void setUp() throws Exception { in setUp() method in InstallAllTestZipAppsSetupTest
126 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testNullTestZipName()
149 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testSuccess()
169 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testSuccessNoTearDown()
217 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testDisable()
233 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testUnzipFail()
260 mPrep.setUp(mMockTestDevice, mMockBuildInfo); in testAaptFail()
DRebootTargetPreparerTest.java36 public void setUp() { in setUp() method in RebootTargetPreparerTest
48 mRebootTargetPreparer.setUp(mMockDevice, mMockBuildInfo); in testSetUp()
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()
215 setup.setUp(mMockDevice, stubBuild); in testThrowIfNotFound()
237 setup.setUp(mMockDevice, stubBuild); in testThrowIfNotFound_false()
DRunCommandTargetPreparerTest.java53 public void setUp() throws Exception { in setUp() method in RunCommandTargetPreparerTest
76 mPreparer.setUp(mMockDevice, mMockBuildInfo); in testSetUp()
102 mPreparer.setUp(mMockDevice, mMockBuildInfo); in testSetUp_withTimeout()
118 mPreparer.setUp(mMockDevice, mMockBuildInfo); in testDisabled()
162 mPreparer.setUp(mMockDevice, mMockBuildInfo); in testBgCmd()
/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/tests/res/testtype/
DtestJar1.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/ui/ android/ ...
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DInvocationToJUnitResultForwarderTest.java43 protected void setUp() throws Exception { in setUp() method in InvocationToJUnitResultForwarderTest
44 super.setUp(); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DConfigCompletorTest.java32 protected void setUp() throws Exception { in setUp() method in ConfigCompletorTest
33 super.setUp(); in setUp()
/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()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/hostmetric/
DAbstractHostMonitorTest.java29 protected void setUp() throws Exception { in setUp() method in AbstractHostMonitorTest
30 super.setUp(); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerFuncTest.java31 protected void setUp() throws Exception { in setUp() method in DeviceManagerFuncTest
32 super.setUp(); in setUp()

12345678910>>...13