A fully functional Android app built entirely with Kotlin and Jetpack Compose
Fix InterestScreenTest resources
Don Turner5084fca4dd14
diff --git a/feature/interests/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/interests/InterestsScreenTest.kt b/feature/interests/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/interests/InterestsScreenTest.ktindex 1584662b8..a441f5a9d 100644--- a/feature/interests/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/interests/InterestsScreenTest.kt+++ b/feature/interests/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/interests/InterestsScreenTest.kt@@ -27,10 +27,11 @@ import androidx.compose.ui.test.onNodeWithTextimport com.google.samples.apps.nowinandroid.core.testing.data.followableTopicTestDataimport com.google.samples.apps.nowinandroid.feature.interests.InterestsScreenimport com.google.samples.apps.nowinandroid.feature.interests.InterestsUiState-import com.google.samples.apps.nowinandroid.feature.interests.Rimport org.junit.Beforeimport org.junit.Ruleimport org.junit.Test+import com.google.samples.apps.nowinandroid.core.ui.R as CoreUiR+import com.google.samples.apps.nowinandroid.feature.interests.R as InterestsR/*** UI test for checking the correct behaviour of the Interests screen;@@ -50,12 +51,12 @@ class InterestsScreenTest {@Beforefun setup() {composeTestRule.activity.apply {- interestsLoading = getString(R.string.feature_interests_loading)- interestsEmptyHeader = getString(R.string.feature_interests_empty_header)+ interestsLoading = getString(InterestsR.string.feature_interests_loading)+ interestsEmptyHeader = getString(InterestsR.string.feature_interests_empty_header)interestsTopicCardFollowButton =- getString(R.string.feature_interests_card_follow_button_content_desc)+ getString(CoreUiR.string.core_ui_interests_card_follow_button_content_desc)interestsTopicCardUnfollowButton =- getString(R.string.feature_interests_card_unfollow_button_content_desc)+ getString(CoreUiR.string.core_ui_interests_card_unfollow_button_content_desc)}}