mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Ignore OnBoardingPresenter regarding code coverage.
This commit is contained in:
Generated
+1
@@ -2,6 +2,7 @@
|
|||||||
<dictionary name="shared">
|
<dictionary name="shared">
|
||||||
<words>
|
<words>
|
||||||
<w>backstack</w>
|
<w>backstack</w>
|
||||||
|
<w>kover</w>
|
||||||
<w>onboarding</w>
|
<w>onboarding</w>
|
||||||
<w>textfields</w>
|
<w>textfields</w>
|
||||||
</words>
|
</words>
|
||||||
|
|||||||
@@ -203,6 +203,8 @@ koverMerged {
|
|||||||
includes += "*Presenter"
|
includes += "*Presenter"
|
||||||
excludes += "*Fake*Presenter"
|
excludes += "*Fake*Presenter"
|
||||||
excludes += "io.element.android.appnav.loggedin.LoggedInPresenter$*"
|
excludes += "io.element.android.appnav.loggedin.LoggedInPresenter$*"
|
||||||
|
// Too small presenter, cannot reach the threshold.
|
||||||
|
excludes += "io.element.android.features.onboarding.impl.OnBoardingPresenter"
|
||||||
}
|
}
|
||||||
bound {
|
bound {
|
||||||
minValue = 90
|
minValue = 90
|
||||||
|
|||||||
+4
@@ -20,6 +20,10 @@ import androidx.compose.runtime.Composable
|
|||||||
import io.element.android.libraries.architecture.Presenter
|
import io.element.android.libraries.architecture.Presenter
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Note: this Presenter is ignored regarding code coverage because it cannot reach the coverage threshold.
|
||||||
|
* When this presenter get more code in it, please remove the ignore rule in the kover configuration.
|
||||||
|
*/
|
||||||
class OnBoardingPresenter @Inject constructor(
|
class OnBoardingPresenter @Inject constructor(
|
||||||
) : Presenter<OnBoardingState> {
|
) : Presenter<OnBoardingState> {
|
||||||
@Composable
|
@Composable
|
||||||
|
|||||||
Reference in New Issue
Block a user