Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DLauncherPrefsTest.kt31 private val TEST_BOOLEAN_ITEM = LauncherPrefs.nonRestorableItem("1", false) in <lambda>() constant
51 assertThat(launcherPrefs.has(TEST_BOOLEAN_ITEM)).isFalse() in has_keyMissingFromLauncherPrefs_returnsFalse()
57 putSync(TEST_BOOLEAN_ITEM.to(TEST_BOOLEAN_ITEM.defaultValue)) in has_keyPresentInLauncherPrefs_returnsTrue()
58 assertThat(has(TEST_BOOLEAN_ITEM)).isTrue() in has_keyPresentInLauncherPrefs_returnsTrue()
59 remove(TEST_BOOLEAN_ITEM) in has_keyPresentInLauncherPrefs_returnsTrue()
100 addListener(listener, TEST_INT_ITEM, TEST_STRING_ITEM, TEST_BOOLEAN_ITEM) in addListenerAndRemoveListener_forMultipleItems_bothWorkProperly()
104 TEST_BOOLEAN_ITEM.to(!TEST_BOOLEAN_ITEM.defaultValue) in addListenerAndRemoveListener_forMultipleItems_bothWorkProperly()
108 removeListener(listener, TEST_INT_ITEM, TEST_STRING_ITEM, TEST_BOOLEAN_ITEM) in addListenerAndRemoveListener_forMultipleItems_bothWorkProperly()
113 TEST_BOOLEAN_ITEM.to(TEST_BOOLEAN_ITEM.defaultValue) in addListenerAndRemoveListener_forMultipleItems_bothWorkProperly()
115 remove(TEST_INT_ITEM, TEST_STRING_ITEM, TEST_BOOLEAN_ITEM) in addListenerAndRemoveListener_forMultipleItems_bothWorkProperly()
[all …]