Skip to content
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

Create single threaded Feature with scheduler #158

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed unused mockito invocation
  • Loading branch information
LachlanMcKee committed Aug 3, 2022
commit dcaef225fefe2e7a16ed0024f46d8416ed5e48d9
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import io.reactivex.schedulers.TestScheduler
import io.reactivex.subjects.PublishSubject
import org.junit.Before
import org.junit.Test
import org.mockito.MockitoAnnotations
import java.util.concurrent.CountDownLatch
import java.util.concurrent.TimeUnit
import kotlin.test.assertEquals
Expand All @@ -45,7 +44,6 @@ class BaseFeatureWithSchedulerTest {

@Before
fun prepare() {
MockitoAnnotations.initMocks(this)
SameThreadVerifier.isEnabled = true
LachlanMcKee marked this conversation as resolved.
Show resolved Hide resolved

newsSubject = PublishSubject.create<TestNews>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import io.reactivex.schedulers.TestScheduler
import io.reactivex.subjects.PublishSubject
import org.junit.Before
import org.junit.Test
import org.mockito.MockitoAnnotations
import java.util.concurrent.TimeUnit
import kotlin.test.assertEquals

Expand All @@ -38,7 +37,6 @@ class BaseFeatureWithoutSchedulerTest {

@Before
fun prepare() {
MockitoAnnotations.initMocks(this)
SameThreadVerifier.isEnabled = false

newsSubject = PublishSubject.create<TestNews>()
Expand Down