Searched refs:mLogicalPreferenceGroup (Results 1 – 4 of 4) sorted by relevance
56 private LogicalPreferenceGroup mLogicalPreferenceGroup; field in AppDataUsagePreferenceControllerTest72 mLogicalPreferenceGroup = new LogicalPreferenceGroup(mContext); in setUp()74 AppDataUsagePreferenceController.class, mLogicalPreferenceGroup); in setUp()90 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(0); in defaultInitialize_hasNoPreference()97 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(0); in onDataLoaded_dataNotLoaded_hasNoPreference()106 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(0); in onDataLoaded_statsSizeZero_hasNoPreference()123 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(2); in onDataLoaded_statsLoaded_hasTwoPreference()142 (ProgressBarPreference) mLogicalPreferenceGroup.getPreference(0); in onDataLoaded_statsLoaded_hasOnePreference()144 (ProgressBarPreference) mLogicalPreferenceGroup.getPreference(1); in onDataLoaded_statsLoaded_hasOnePreference()146 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(2); in onDataLoaded_statsLoaded_hasOnePreference()
51 private LogicalPreferenceGroup mLogicalPreferenceGroup; field in StorageApplicationListPreferenceControllerTest59 mLogicalPreferenceGroup = new LogicalPreferenceGroup(mContext); in setUp()61 StorageApplicationListPreferenceController.class, mLogicalPreferenceGroup); in setUp()68 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(0); in defaultInitialize_hasNoPreference()88 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(1); in onDataLoaded_addPreference_hasOnePreference()89 assertThat(mLogicalPreferenceGroup.getPreference(0).getTitle()).isEqualTo(LABEL); in onDataLoaded_addPreference_hasOnePreference()90 assertThat(mLogicalPreferenceGroup.getPreference(0).getSummary()).isEqualTo(SIZE_STR); in onDataLoaded_addPreference_hasOnePreference()120 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(1); in onDataLoaded_updatePreference_hasOnePreferenceWithUpdatedValues()121 assertThat(mLogicalPreferenceGroup.getPreference(0).getTitle()).isEqualTo(LABEL); in onDataLoaded_updatePreference_hasOnePreferenceWithUpdatedValues()122 assertThat(mLogicalPreferenceGroup.getPreference(0).getSummary()).isEqualTo( in onDataLoaded_updatePreference_hasOnePreferenceWithUpdatedValues()
51 private LogicalPreferenceGroup mLogicalPreferenceGroup; field in StorageMediaCategoryDetailPreferenceControllerTest59 mLogicalPreferenceGroup = new LogicalPreferenceGroup(mContext); in setUp()61 StorageMediaCategoryDetailPreferenceController.class, mLogicalPreferenceGroup); in setUp()68 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(0); in refreshUi_defaultInitialize_hasNoPreference()92 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(2); in onDataLoaded_addPreference_hasTwoPreferences()94 assertThat(mLogicalPreferenceGroup.getPreference(0).getTitle()).isEqualTo(LABEL); in onDataLoaded_addPreference_hasTwoPreferences()95 assertThat(mLogicalPreferenceGroup.getPreference(0).getSummary()).isEqualTo(SIZE_STR); in onDataLoaded_addPreference_hasTwoPreferences()97 assertThat(mLogicalPreferenceGroup.getPreference(1).getTitle()).isEqualTo( in onDataLoaded_addPreference_hasTwoPreferences()99 assertThat(mLogicalPreferenceGroup.getPreference(1).getSummary()).isEqualTo( in onDataLoaded_addPreference_hasTwoPreferences()
53 private LogicalPreferenceGroup mLogicalPreferenceGroup; field in ApplicationsSettingsPreferenceControllerTest61 mLogicalPreferenceGroup = new LogicalPreferenceGroup(mContext); in setUp()63 ApplicationsSettingsPreferenceController.class, mLogicalPreferenceGroup); in setUp()70 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(0); in defaultInitialize_hasNoPreference()89 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(1); in onDataLoaded_addPreference_hasOnePreference()90 assertThat(mLogicalPreferenceGroup.getPreference(0).getTitle()).isEqualTo(LABEL); in onDataLoaded_addPreference_hasOnePreference()91 assertThat(mLogicalPreferenceGroup.getPreference(0).getSummary()).isEqualTo(SIZE_STR); in onDataLoaded_addPreference_hasOnePreference()110 Preference preference = mLogicalPreferenceGroup.getPreference(0); in preferenceClick_launchesDetailFragment()