Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
kotlin/src/test/java/com/android/example/flow/test/RepositoryTest.kt
kotlin/src/test/java/com/android/example/flow/test/ViewModelTest.kt
kotlin/src/test/java/com/android/example/flow/test/MainDispatcherRule.kt
kotlin/src/test/java/com/android/example/flow/test/TurbineTest.kt
kotlin/src/test/java/com/android/example/flow/test/fakes.kt
kotlin/build.gradle.kts
gradle/libs.versions.toml
kotlin/src/test/java/com/android/example/flow/test/RepositoryTest.kt
GEMINI.md
android_snippets_kotlin_flow_test_fake_repository
android_snippets_kotlin_flow_test_my_test
android_snippets_kotlin_flow_test_repository_test_first
android_snippets_kotlin_flow_test_repository_test_to_list
android_snippets_kotlin_flow_test_repository_and_datasource
android_snippets_kotlin_flow_test_continuously_collect
android_snippets_kotlin_flow_test_using_turbine
android_snippets_kotlin_flow_test_my_view_model
android_snippets_kotlin_flow_test_fake_repository_viewmodel
android_snippets_kotlin_flow_test_hot_fake_repository
android_snippets_kotlin_flow_test_my_view_model_with_state_in
android_snippets_kotlin_flow_test_lazily_sharing_view_model
RepositoryTest
,ViewModelTest
, andTurbineTest
classes. These are unit tests and can be run with the command./gradlew :kotlin:testDebugUnitTest
.cartland/flow-test-snippets
.git status
,git log -n 2
, andgit diff main
that the correct changes have been committedcartland/flow-test-snippets
git push
https://github.com/android/snippets/pull/new/cartland/flow-test-snippets