Home
last modified time | relevance | path

Searched refs:countingTaskExecutorRule (Results 1 – 13 of 13) sorted by relevance

/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/test/
DTestDatabaseTest.kt33 @Rule @JvmField val countingTaskExecutorRule = CountingTaskExecutorRule() constant in androidx.room.integration.kotlintestapp.test.TestDatabaseTest
60 countingTaskExecutorRule.drainTasks(10, TimeUnit.SECONDS) in drain()
65 countingTaskExecutorRule.drainTasks(1, TimeUnit.MINUTES) in drain()
DWriteAheadLoggingKotlinTest.kt51 @get:Rule val countingTaskExecutorRule = CountingTaskExecutorRule() in <lambda>() constant in androidx.room.integration.kotlintestapp.test.WriteAheadLoggingKotlinTest
64 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
65 assertTrue(countingTaskExecutorRule.isIdle) in <lambda>()
DSyncTriggersConcurrencyTest.kt53 @Rule @JvmField val countingTaskExecutorRule = CountingTaskExecutorRule() in <lambda>() constant in androidx.room.integration.kotlintestapp.test.SyncTriggersConcurrencyTest
79 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
83 check(countingTaskExecutorRule.isIdle) in <lambda>()
DSuspendingTransactionCancellationTest.kt57 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in teardown()
58 assertThat(countingTaskExecutorRule.isIdle).isTrue() in teardown()
DFlowQueryTest.kt66 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
67 assertThat(countingTaskExecutorRule.isIdle).isTrue() in <lambda>()
DSuspendingQueryTest.kt79 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
80 assertThat(countingTaskExecutorRule.isIdle).isTrue() in <lambda>()
/room/room-runtime/src/androidInstrumentedTest/kotlin/androidx/room/
DMultiInstanceInvalidationTest.kt58 @get:Rule val countingTaskExecutorRule = CountingTaskExecutorRule() constant in androidx.room.MultiInstanceInvalidationTest
136 countingTaskExecutorRule.drainTasks(2, TimeUnit.SECONDS) in invalidateInAnotherInstanceAutoCloser()
137 assertWithMessage("Executor isIdle").that(countingTaskExecutorRule.isIdle).isTrue() in invalidateInAnotherInstanceAutoCloser()
/room/room-paging-rxjava2/src/androidTest/kotlin/androidx/room/paging/rxjava2/
DLimitOffsetRxPagingSourceTest.kt70 @JvmField @Rule val countingTaskExecutorRule = CountingTaskExecutorRule() in <lambda>() constant in androidx.room.paging.rxjava2.LimitOffsetRxPagingSourceTest
74 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
75 assertTrue(countingTaskExecutorRule.isIdle) in <lambda>()
145 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
164 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
183 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
200 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
208 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
231 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
249 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
[all …]
/room/room-paging-rxjava3/src/androidTest/kotlin/androidx/room/paging/rxjava3/
DLimitOffsetRxPagingSourceTest.kt70 @JvmField @Rule val countingTaskExecutorRule = CountingTaskExecutorRule() in <lambda>() constant in androidx.room.paging.rxjava3.LimitOffsetRxPagingSourceTest
74 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
75 assertTrue(countingTaskExecutorRule.isIdle) in <lambda>()
145 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
164 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
183 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
200 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
208 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
231 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
249 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
[all …]
/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
DWriteAheadLoggingTest.java78 public CountingTaskExecutorRule countingTaskExecutorRule = new CountingTaskExecutorRule(); field in WriteAheadLoggingTest
91 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS); in closeDatabase()
92 assertThat(countingTaskExecutorRule.isIdle(), is(true)); in closeDatabase()
DQueryTransactionTest.java91 public CountingTaskExecutorRule countingTaskExecutorRule = new CountingTaskExecutorRule(); field in QueryTransactionTest
318 countingTaskExecutorRule.drainTasks(3, TimeUnit.SECONDS); in drain()
/room/room-paging-guava/src/androidTest/kotlin/androidx/room/paging/guava/
DLimitOffsetListenableFuturePagingSourceTest.kt67 @JvmField @Rule val countingTaskExecutorRule = CountingTaskExecutorRule() in <lambda>() constant in androidx.room.paging.guava.LimitOffsetListenableFuturePagingSourceTest
294 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
322 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
348 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
816 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
817 assertThat(countingTaskExecutorRule.isIdle).isTrue() in <lambda>()
/room/room-paging/src/androidInstrumentedTest/kotlin/androidx/room/paging/
DLimitOffsetPagingSourceTest.kt64 @JvmField @Rule val countingTaskExecutorRule = CountingTaskExecutorRule() in <lambda>() constant in androidx.room.paging.LimitOffsetPagingSourceTest
84 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
85 assertThat(countingTaskExecutorRule.isIdle).isTrue() in <lambda>()
160 countingTaskExecutorRule.drainTasks(500, TimeUnit.MILLISECONDS) in <lambda>()
174 countingTaskExecutorRule.drainTasks(5, TimeUnit.SECONDS) in <lambda>()