Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DCoreSettingsObserverTest.java63 private static final String TEST_SETTING_SYSTEM_STRING = "systemString"; field in CoreSettingsObserverTest
83 CoreSettingsObserver.sSystemSettingToTypeMap.put(TEST_SETTING_SYSTEM_STRING, String.class); in setupOnce()
119 Settings.System.putString(mContentResolver, TEST_SETTING_SYSTEM_STRING, TEST_STRING); in testPopulateSettings()
127 assertEquals("Unexpected value of " + TEST_SETTING_SYSTEM_STRING, in testPopulateSettings()
128 TEST_STRING, settingsBundle.getString(TEST_SETTING_SYSTEM_STRING)); in testPopulateSettings()
139 assertWithMessage("Bundle should not contain " + TEST_SETTING_SYSTEM_STRING) in testPopulateSettings_settingNotSet()
140 .that(settingsBundle.keySet()).doesNotContain(TEST_SETTING_SYSTEM_STRING); in testPopulateSettings_settingNotSet()
147 Settings.System.putString(mContentResolver, TEST_SETTING_SYSTEM_STRING, TEST_STRING); in testPopulateSettings_settingDeleted()
155 assertEquals("Unexpected value of " + TEST_SETTING_SYSTEM_STRING, in testPopulateSettings_settingDeleted()
156 TEST_STRING, settingsBundle.getString(TEST_SETTING_SYSTEM_STRING)); in testPopulateSettings_settingDeleted()
[all …]