|
|
@ -38,7 +38,7 @@ import com.google.samples.apps.nowinandroid.core.testing.data.newsResourcesTestD
|
|
|
|
import org.junit.Before
|
|
|
|
import org.junit.Before
|
|
|
|
import org.junit.Rule
|
|
|
|
import org.junit.Rule
|
|
|
|
import org.junit.Test
|
|
|
|
import org.junit.Test
|
|
|
|
import com.google.samples.apps.nowinandroid.feature.interests.R as interestsR
|
|
|
|
import com.google.samples.apps.nowinandroid.core.ui.R.string
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* UI test for checking the correct behaviour of the Search screen.
|
|
|
|
* UI test for checking the correct behaviour of the Search screen.
|
|
|
@ -73,9 +73,9 @@ class SearchScreenTest {
|
|
|
|
clearSearchContentDesc = getString(R.string.feature_search_clear_search_text_content_desc)
|
|
|
|
clearSearchContentDesc = getString(R.string.feature_search_clear_search_text_content_desc)
|
|
|
|
clearRecentSearchesContentDesc = getString(R.string.feature_search_clear_recent_searches_content_desc)
|
|
|
|
clearRecentSearchesContentDesc = getString(R.string.feature_search_clear_recent_searches_content_desc)
|
|
|
|
followButtonContentDesc =
|
|
|
|
followButtonContentDesc =
|
|
|
|
getString(interestsR.string.feature_interests_card_follow_button_content_desc)
|
|
|
|
getString(string.core_ui_interests_card_follow_button_content_desc)
|
|
|
|
unfollowButtonContentDesc =
|
|
|
|
unfollowButtonContentDesc =
|
|
|
|
getString(interestsR.string.feature_interests_card_unfollow_button_content_desc)
|
|
|
|
getString(string.core_ui_interests_card_unfollow_button_content_desc)
|
|
|
|
topicsString = getString(R.string.feature_search_topics)
|
|
|
|
topicsString = getString(R.string.feature_search_topics)
|
|
|
|
updatesString = getString(R.string.feature_search_updates)
|
|
|
|
updatesString = getString(R.string.feature_search_updates)
|
|
|
|
tryAnotherSearchString = getString(R.string.feature_search_try_another_search) +
|
|
|
|
tryAnotherSearchString = getString(R.string.feature_search_try_another_search) +
|
|
|
|