Home
last modified time | relevance | path

Searched refs:mAppSetup (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/contrib/tests/src/com/android/scenario/
DAppSetupTest.java45 private AppSetup mAppSetup; field in AppSetupTest
54 mAppSetup = spy(new AppSetup()); in setUp()
55 doReturn(mTestDevice).when(mAppSetup).getDevice(); in setUp()
56 doNothing().when(mAppSetup).runTest(any()); in setUp()
57 mOptionSetter = new OptionSetter(mAppSetup); in setUp()
64 mAppSetup.run(mListener); in testDropCachesOption_set()
71 mAppSetup.run(mListener); in testDropCachesOption_notSet()
80 mAppSetup.run(mListener); in testKillAppsOption()
94 mAppSetup.run(mListener); in testDisableOption()
95 verify(mAppSetup, times(0)).runTest(any()); in testDisableOption()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DAppSetupTest.java54 private AppSetup mAppSetup; field in AppSetupTest
62 mAppSetup = new AppSetup(); in setUp()
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()
160 mAppSetup = new AppSetup() { in testSetup_noPackageName()
175 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_noPackageName()
196 mAppSetup = new AppSetup() { in testSetup_checkMinSdk_failParsing()
202 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_checkMinSdk_failParsing()
210 mAppSetup.setUp(mMockDevice, mMockBuildInfo); in testSetup_checkMinSdk_failParsing()
[all …]