Open
Conversation
| with(edit()) { | ||
| operation(this) | ||
| apply() | ||
| if (executeWithCommit) commit() else apply() |
There was a problem hiding this comment.
Consider using apply() instead; commit writes its data to persistent storage immediately, whereas apply will handle it in the background |
Kover report for template-compose:🧛 Template - Compose Unit Tests Code Coverage:
|
| File | Coverage |
|---|---|
ApiServiceProvider.kt |
0.00% |
AuthInterceptor.kt |
0.00% |
AuthPreferenceRepositoryImpl.kt |
100.00% |
AuthStatus.kt |
91.84% |
BaseEncryptedSharedPreferences.kt |
0.00% |
BaseSharedPreferences.kt |
7.03% |
DispatchersProviderImpl.kt |
0.00% |
EncryptedSharedPreferences.kt |
0.00% |
GetAuthStatusUseCase.kt |
100.00% |
HomeViewModel.kt |
100.00% |
NetworkEncryptedSharedPreferences.kt |
0.00% |
OAuthTokenModel.kt |
100.00% |
OAuthTokenResponse.kt |
100.00% |
RefreshTokenRequest.kt |
76.47% |
RefreshTokenUseCase.kt |
100.00% |
RequestAuthenticator.kt |
87.16% |
RequestInterceptingDelegate.kt |
100.00% |
SharedPreferencesExt.kt |
0.00% |
TokenRepositoryImpl.kt |
100.00% |
UpdateLoginTokensUseCase.kt |
100.00% |
Modified Files Not Found In Coverage Report:
.gitignore
ApiService.kt
AppModule.kt
AuthPreferenceRepository.kt
AuthPreferenceRepositoryTest.kt
AuthQualifiers.kt
AuthorizedApiService.kt
CoroutineTestRule.kt
CoroutineTestRule.kt
DispatchersProvider.kt
GetAuthStatusUseCaseTest.kt
HomeViewModelTest.kt
MockUtil.kt
MockUtil.kt
OkHttpClientModule.kt
PreferencesModule.kt
README.md
RefreshTokenUseCaseTest.kt
RequestAuthenticatorTest.kt
RetrofitModule.kt
TokenRepository.kt
TokenRepositoryTest.kt
UpdateLoginTokensUseCaseTest.kt
Versions.kt
api-config.properties.sample
build.gradle.kts
Codebase cunningly covered by count Shroud 🧛
Generated by 🚫 Danger
fa8f851 to
fe479f7
Compare
fe479f7 to
701c368
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
#228
What happened 👀
Apply token authentication setup from GT to template
Insight 📝
N/A
Proof Of Work 📹
Screen.Recording.2024-05-30.at.1.50.37.PM.mov