File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
author/src/test/java/com/google/samples/apps/nowinandroid/feature/author
bookmarks/src/test/java/com/google/samples/apps/nowinandroid/feature/bookmarks
foryou/src/test/java/com/google/samples/apps/nowinandroid/feature/foryou
topic/src/test/java/com/google/samples/apps/nowinandroid/feature/topic Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ import com.google.samples.apps.nowinandroid.core.testing.repository.TestNewsRepo
2828import com.google.samples.apps.nowinandroid.core.testing.repository.TestUserDataRepository
2929import com.google.samples.apps.nowinandroid.core.testing.util.MainDispatcherRule
3030import com.google.samples.apps.nowinandroid.feature.author.navigation.authorIdArg
31+ import kotlin.test.assertEquals
32+ import kotlin.test.assertIs
33+ import kotlin.test.assertTrue
3134import kotlinx.coroutines.flow.collect
3235import kotlinx.coroutines.flow.combine
3336import kotlinx.coroutines.flow.first
@@ -38,9 +41,6 @@ import kotlinx.datetime.Instant
3841import org.junit.Before
3942import org.junit.Rule
4043import org.junit.Test
41- import kotlin.test.assertEquals
42- import kotlin.test.assertIs
43- import kotlin.test.assertTrue
4444
4545/* *
4646 * To learn more about how this test handles Flows created with stateIn, see
Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ import com.google.samples.apps.nowinandroid.core.testing.repository.TestUserData
2323import com.google.samples.apps.nowinandroid.core.testing.util.MainDispatcherRule
2424import com.google.samples.apps.nowinandroid.core.ui.NewsFeedUiState.Loading
2525import com.google.samples.apps.nowinandroid.core.ui.NewsFeedUiState.Success
26+ import kotlin.test.assertEquals
27+ import kotlin.test.assertIs
2628import kotlinx.coroutines.flow.collect
2729import kotlinx.coroutines.launch
2830import kotlinx.coroutines.test.UnconfinedTestDispatcher
2931import kotlinx.coroutines.test.runTest
3032import org.junit.Before
3133import org.junit.Rule
3234import org.junit.Test
33- import kotlin.test.assertEquals
34- import kotlin.test.assertIs
3535
3636/* *
3737 * To learn more about how this test handles Flows created with stateIn, see
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ import com.google.samples.apps.nowinandroid.core.testing.util.MainDispatcherRule
3434import com.google.samples.apps.nowinandroid.core.testing.util.TestNetworkMonitor
3535import com.google.samples.apps.nowinandroid.core.testing.util.TestSyncStatusMonitor
3636import com.google.samples.apps.nowinandroid.core.ui.NewsFeedUiState
37+ import kotlin.test.assertEquals
3738import kotlinx.coroutines.flow.collect
3839import kotlinx.coroutines.launch
3940import kotlinx.coroutines.test.UnconfinedTestDispatcher
@@ -43,7 +44,6 @@ import kotlinx.datetime.Instant
4344import org.junit.Before
4445import org.junit.Rule
4546import org.junit.Test
46- import kotlin.test.assertEquals
4747
4848/* *
4949 * To learn more about how this test handles Flows created with stateIn, see
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ import com.google.samples.apps.nowinandroid.core.testing.repository.TestTopicsRe
2828import com.google.samples.apps.nowinandroid.core.testing.repository.TestUserDataRepository
2929import com.google.samples.apps.nowinandroid.core.testing.util.MainDispatcherRule
3030import com.google.samples.apps.nowinandroid.feature.topic.navigation.topicIdArg
31+ import kotlin.test.assertEquals
32+ import kotlin.test.assertIs
3133import kotlinx.coroutines.flow.collect
3234import kotlinx.coroutines.flow.combine
3335import kotlinx.coroutines.flow.first
@@ -38,8 +40,6 @@ import kotlinx.datetime.Instant
3840import org.junit.Before
3941import org.junit.Rule
4042import org.junit.Test
41- import kotlin.test.assertEquals
42- import kotlin.test.assertIs
4343
4444/* *
4545 * To learn more about how this test handles Flows created with stateIn, see
You can’t perform that action at this time.
0 commit comments