Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppInfoWithHeaderTest.java68 private TestFragment mAppInfoWithHeader; field in AppInfoWithHeaderTest
76 mAppInfoWithHeader = new TestFragment(); in setUp()
87 mAppInfoWithHeader.onActivityCreated(null); in testAppHeaderIsAdded()
89 verify(mAppInfoWithHeader.mScreen).addPreference(any(LayoutPreference.class)); in testAppHeaderIsAdded()
95 ReflectionHelpers.getField(mAppInfoWithHeader, "mPackageRemovedReceiver"); in packageRemoved_noAppEntry_shouldFinishActivity()
96 ReflectionHelpers.setField(mAppInfoWithHeader, "mAppEntry", null); in packageRemoved_noAppEntry_shouldFinishActivity()
102 assertThat(mAppInfoWithHeader.mPackageRemovedCalled).isTrue(); in packageRemoved_noAppEntry_shouldFinishActivity()
108 ReflectionHelpers.getField(mAppInfoWithHeader, "mPackageRemovedReceiver"); in packageRemoved_appEntryMatchesPackageName_shouldFinishActivity()
112 ReflectionHelpers.setField(mAppInfoWithHeader, "mAppEntry", entry); in packageRemoved_appEntryMatchesPackageName_shouldFinishActivity()
118 assertThat(mAppInfoWithHeader.mPackageRemovedCalled).isTrue(); in packageRemoved_appEntryMatchesPackageName_shouldFinishActivity()
[all …]