Searched refs:mAppSetup (Results 1 – 2 of 2) sorted by relevance
45 private AppSetup mAppSetup; field in AppSetupTest54 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()
54 private AppSetup mAppSetup; field in AppSetupTest62 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 …]