-
Notifications
You must be signed in to change notification settings - Fork 5
feat(onboarding): Add OnboardingViewModel tests and improve effect handling #670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
d63a0f2
feat(onboarding): Add OnboardingViewModel tests and improve effect ha…
Mostafa-alsaygh 1c7accb
Refactor: Rename OnboardingEffect.NavigateToWelcome to OnWelcomeNavig…
Mostafa-alsaygh 0b5ee2c
Merge branch 'develop' into add/onboarding-viewmodel-testing
Mostafa-alsaygh 984a869
Branch was auto-updated.
london-bot[bot] 56461c1
Refactor: Use tryToExecute for preference setting
Mostafa-alsaygh 34bb76f
Merge branch 'develop' into add/onboarding-viewmodel-testing
Mostafa-alsaygh 08d78f6
Test: Improve OnboardingViewModelTest stability
Mostafa-alsaygh 7f9d74e
Branch was auto-updated.
london-bot[bot] 0daab8f
Branch was auto-updated.
london-bot[bot] 6642e15
Branch was auto-updated.
london-bot[bot] 314bf48
Merge branch 'develop' into add/onboarding-viewmodel-testing
Mostafa-alsaygh e74dd19
test(OnboardingViewModel): Advance time in scrollNext test
Mostafa-alsaygh 9cba631
Branch was auto-updated.
london-bot[bot] 6fbe134
test(OnboardingViewModel): Remove redundant comments
Mostafa-alsaygh e0bdd9a
Merge remote-tracking branch 'origin/add/onboarding-viewmodel-testing…
Mostafa-alsaygh 50a8de6
test(OnboardingViewModel): Replace `advanceTimeBy` with `withTimeout`…
Mostafa-alsaygh b71f8f0
Merge branch 'develop' into add/onboarding-viewmodel-testing
Mostafa-alsaygh ccda4b1
test(OnboardingViewModel): Remove unnecessary timeout in scrollNext test
Mostafa-alsaygh 462cbb5
test(OnboardingViewModel): Use advanceUntilIdle in navigateToWelcome …
Mostafa-alsaygh fddda42
Branch was auto-updated.
london-bot[bot] 061dacd
Branch was auto-updated.
london-bot[bot] f96219e
Branch was auto-updated.
london-bot[bot] cb5de3c
Merge remote-tracking branch 'origin/add/onboarding-viewmodel-testing…
Mostafa-alsaygh df6cda1
Refactor: Rename OnboardingEffect.OnWelcomeNavigation to WelcomeNavig…
Mostafa-alsaygh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tion/src/main/java/com/london/presentation/feature/welcome/onboarding/OnboardingEffect.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| package com.london.presentation.feature.welcome.onboarding | ||
|
|
||
| sealed interface OnboardingEffect { | ||
| data object NavigateToWelcome : OnboardingEffect | ||
| data object WelcomeNavigation : OnboardingEffect | ||
| data class ScrollToPage(val page: Int) : OnboardingEffect | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.