From 47bc12d6af9a5c00accde96151255f4dbe155d79 Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Sat, 27 Feb 2021 01:28:22 +0100 Subject: [PATCH] rename scheduler rule --- .../info/nightscout/androidaps/utils/rx/RxExtensionsTest.kt | 2 +- .../java/info/nightscout/androidaps/utils/rx/RxSchedulerRule.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() {