diff --git a/core/src/test/java/info/nightscout/androidaps/utils/rx/RxExtensionsTest.kt b/core/src/test/java/info/nightscout/androidaps/utils/rx/RxExtensionsTest.kt index 6e1ec2c7dc..2e84af6618 100644 --- a/core/src/test/java/info/nightscout/androidaps/utils/rx/RxExtensionsTest.kt +++ b/core/src/test/java/info/nightscout/androidaps/utils/rx/RxExtensionsTest.kt @@ -14,7 +14,7 @@ class RxExtensionsTest { private val testScheduler = TestScheduler() @get:Rule - val schedulerRule = TestSchedulerRule(testScheduler) + val schedulerRule = RxSchedulerRule(testScheduler) @Test fun `fail after 4 retries`() { diff --git a/core/src/test/java/info/nightscout/androidaps/utils/rx/RxSchedulerRule.kt b/core/src/test/java/info/nightscout/androidaps/utils/rx/RxSchedulerRule.kt index 258c89fc91..3ccdc9dcf4 100644 --- a/core/src/test/java/info/nightscout/androidaps/utils/rx/RxSchedulerRule.kt +++ b/core/src/test/java/info/nightscout/androidaps/utils/rx/RxSchedulerRule.kt @@ -7,7 +7,7 @@ import org.junit.rules.TestRule import org.junit.runner.Description import org.junit.runners.model.Statement -class TestSchedulerRule(val scheduler: Scheduler) : TestRule { +class RxSchedulerRule(val scheduler: Scheduler) : TestRule { override fun apply(base: Statement, description: Description) = object : Statement() {