Home
last modified time | relevance | path

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

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPreference.java29 protected int persistedInt; field in ShadowPreference
93 return persistent ? persistedInt : defaultReturnValue; in getPersistedInt()
98 this.persistedInt = value; in persistInt()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DPreferenceTest.java172 for(int persistedInt : values) { in shouldPersistedIn()
173 shadow.persistInt(persistedInt); in shouldPersistedIn()
179 assertThat(preference.getPersistedInt(defaultValue), equalTo(persistedInt)); in shouldPersistedIn()