Home
last modified time | relevance | path

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

/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceDataStoreTest.java67 private PreferenceDataStore mDataStore; field in PreferenceDataStoreTest
93 mDataStore = mock(PreferenceDataStore.class); in setup()
114 preference.setPreferenceDataStore(mDataStore); in testSetGetOnPreference()
116 assertEquals(mDataStore, preference.getPreferenceDataStore()); in testSetGetOnPreference()
122 mManager.setPreferenceDataStore(mDataStore); in testSetGetOnPreferenceManager()
124 assertEquals(mDataStore, mManager.getPreferenceDataStore()); in testSetGetOnPreferenceManager()
132 mManager.setPreferenceDataStore(mDataStore); in testSetOnPreferenceManagerGetOnPreference()
134 assertEquals(mDataStore, preference.getPreferenceDataStore()); in testSetOnPreferenceManagerGetOnPreference()
140 mPreference.setPreferenceDataStore(mDataStore); in testDataStoresHierarchy()
147 assertEquals(mDataStore, mPreference.getPreferenceDataStore()); in testDataStoresHierarchy()
[all …]