A fully functional Android app built entirely with Kotlin and Jetpack Compose
Rename settings feature string resources
Don Turner53cbbbf59489
diff --git a/feature/settings/impl/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/feature/settings/impl/SettingsDialogTest.kt b/feature/settings/impl/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/feature/settings/impl/SettingsDialogTest.ktindex 5d221be6a..f0f69a424 100644--- a/feature/settings/impl/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/feature/settings/impl/SettingsDialogTest.kt+++ b/feature/settings/impl/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/feature/settings/impl/SettingsDialogTest.kt@@ -48,7 +48,7 @@ class SettingsDialogTest {}composeTestRule- .onNodeWithText(getString(R.string.feature_settings_loading))+ .onNodeWithText(getString(R.string.feature_settings_impl_loading)).assertExists()}@@ -71,17 +71,17 @@ class SettingsDialogTest {}// Check that all the possible settings are displayed.- composeTestRule.onNodeWithText(getString(R.string.feature_settings_brand_default)).assertExists()- composeTestRule.onNodeWithText(getString(R.string.feature_settings_brand_android)).assertExists()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_brand_default)).assertExists()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_brand_android)).assertExists()composeTestRule.onNodeWithText(- getString(R.string.feature_settings_dark_mode_config_system_default),+ getString(R.string.feature_settings_impl_dark_mode_config_system_default),).assertExists()- composeTestRule.onNodeWithText(getString(R.string.feature_settings_dark_mode_config_light)).assertExists()- composeTestRule.onNodeWithText(getString(R.string.feature_settings_dark_mode_config_dark)).assertExists()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_dark_mode_config_light)).assertExists()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_dark_mode_config_dark)).assertExists()// Check that the correct settings are selected.- composeTestRule.onNodeWithText(getString(R.string.feature_settings_brand_android)).assertIsSelected()- composeTestRule.onNodeWithText(getString(R.string.feature_settings_dark_mode_config_dark)).assertIsSelected()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_brand_android)).assertIsSelected()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_dark_mode_config_dark)).assertIsSelected()}@Test@@ -103,12 +103,12 @@ class SettingsDialogTest {)}- composeTestRule.onNodeWithText(getString(R.string.feature_settings_dynamic_color_preference)).assertExists()- composeTestRule.onNodeWithText(getString(R.string.feature_settings_dynamic_color_yes)).assertExists()- composeTestRule.onNodeWithText(getString(R.string.feature_settings_dynamic_color_no)).assertExists()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_dynamic_color_preference)).assertExists()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_dynamic_color_yes)).assertExists()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_dynamic_color_no)).assertExists()// Check that the correct default dynamic color setting is selected.- composeTestRule.onNodeWithText(getString(R.string.feature_settings_dynamic_color_no)).assertIsSelected()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_dynamic_color_no)).assertIsSelected()}@Test@@ -129,10 +129,10 @@ class SettingsDialogTest {)}- composeTestRule.onNodeWithText(getString(R.string.feature_settings_dynamic_color_preference))+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_dynamic_color_preference)).assertDoesNotExist()- composeTestRule.onNodeWithText(getString(R.string.feature_settings_dynamic_color_yes)).assertDoesNotExist()- composeTestRule.onNodeWithText(getString(R.string.feature_settings_dynamic_color_no)).assertDoesNotExist()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_dynamic_color_yes)).assertDoesNotExist()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_dynamic_color_no)).assertDoesNotExist()}@Test@@ -153,10 +153,10 @@ class SettingsDialogTest {)}- composeTestRule.onNodeWithText(getString(R.string.feature_settings_dynamic_color_preference))+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_dynamic_color_preference)).assertDoesNotExist()- composeTestRule.onNodeWithText(getString(R.string.feature_settings_dynamic_color_yes)).assertDoesNotExist()- composeTestRule.onNodeWithText(getString(R.string.feature_settings_dynamic_color_no)).assertDoesNotExist()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_dynamic_color_yes)).assertDoesNotExist()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_dynamic_color_no)).assertDoesNotExist()}@Test@@ -177,9 +177,9 @@ class SettingsDialogTest {)}- composeTestRule.onNodeWithText(getString(R.string.feature_settings_privacy_policy)).assertExists()- composeTestRule.onNodeWithText(getString(R.string.feature_settings_licenses)).assertExists()- composeTestRule.onNodeWithText(getString(R.string.feature_settings_brand_guidelines)).assertExists()- composeTestRule.onNodeWithText(getString(R.string.feature_settings_feedback)).assertExists()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_privacy_policy)).assertExists()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_licenses)).assertExists()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_brand_guidelines)).assertExists()+ composeTestRule.onNodeWithText(getString(R.string.feature_settings_impl_feedback)).assertExists()}}