/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/test/migration/ |
D | TestRunBlockingTest.kt | 57 assertFailsWith<TimeoutCancellationException> { in <lambda>() 79 assertFailsWith<TimeoutCancellationException> { in <lambda>() 115 assertFailsWith<TimeoutCancellationException> { in <lambda>() 145 assertFailsWith<TimeoutCancellationException> { in <lambda>() 177 assertFailsWith<IllegalArgumentException> { in <lambda>() 189 assertFailsWith<IllegalArgumentException> { in <lambda>() 206 assertFailsWith<IllegalArgumentException> { in <lambda>() 293 assertFailsWith<UncompletedCoroutinesError> { in <lambda>() 305 assertFailsWith<IllegalArgumentException> { in <lambda>() 314 assertFailsWith<IllegalArgumentException> { in <lambda>() [all …]
|
D | RunTestLegacyScopeTest.kt | 46 assertFailsWith<IllegalStateException> { in <lambda>() 71 assertFailsWith<UncompletedCoroutinesError> { fn() } in <lambda>() 116 assertFailsWith<IllegalArgumentException> { in <lambda>() 124 assertFailsWith<RuntimeException> { it() } in <lambda>() 133 assertFailsWith<RuntimeException> { it() } in <lambda>() 165 assertFailsWith<AssertionError> { it() } in <lambda>() 181 assertFailsWith<TimeoutCancellationException> { it() } in <lambda>() 194 assertFailsWith<TestException> { it() } in <lambda>()
|
D | TestCoroutineScopeTest.kt | 17 assertFailsWith<IllegalArgumentException> { in <lambda>() 91 assertFailsWith<AssertionError> { scope.cleanupTestCoroutines() } in <lambda>() 106 assertFailsWith<AssertionError> { scope.cleanupTestCoroutines() } in <lambda>() 134 assertFailsWith<TestException> { in <lambda>() 150 assertFailsWith<TestException> { in <lambda>() 160 assertFailsWith<IllegalStateException> { in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/terminal/ |
D | SingleTest.kt | 28 assertFailsWith<IllegalArgumentException> { flow.single() } in <lambda>() 34 assertFailsWith<NoSuchElementException> { flow<Int> {}.single() } in <lambda>() 44 assertFailsWith<TestException> { flow.single() } in <lambda>() 45 assertFailsWith<TestException> { flow.singleOrNull() } in <lambda>() 55 assertFailsWith<TestException> { flow.single() } in <lambda>() 56 assertFailsWith<TestException> { flow.singleOrNull() } in <lambda>() 63 assertFailsWith<NoSuchElementException> { flowOf<Int?>().single() } in <lambda>() 81 assertFailsWith<IllegalArgumentException> { flow2.single() } in <lambda>()
|
D | CountTest.kt | 33 assertFailsWith<TestException> { flow.count() } in <lambda>() 34 assertFailsWith<TestException> { flow.count { false } } in <lambda>() 44 assertFailsWith<TestException> { flow.count() } in <lambda>() 45 assertFailsWith<TestException> { flow.count { false } } in <lambda>()
|
D | FirstTest.kt | 32 assertFailsWith<NoSuchElementException> { flow.first { it > 3 } } in <lambda>() 60 assertFailsWith<NoSuchElementException> { emptyFlow<Int>().first() } in <lambda>() 61 assertFailsWith<NoSuchElementException> { emptyFlow<Int>().first { true } } in <lambda>() 77 assertFailsWith<TestException> { in <lambda>() 150 assertFailsWith<TestException> { in <lambda>() 177 assertFailsWith<CancellationException> { flow.first() } in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/channels/ |
D | ChannelBuildersFlowTest.kt | 21 assertFailsWith<IllegalStateException> { flow.collect() } in <lambda>() 48 assertFailsWith<IllegalStateException> { flow.collect() } in <lambda>() 62 assertFailsWith<TestException> { flow.sum() } // exception in the rest in <lambda>() 74 assertFailsWith<TestException> { flow.sum() } in <lambda>() 75 assertFailsWith<IllegalStateException> { flow.collect() } in <lambda>() 87 assertFailsWith<TestException> { flow.sum() } in <lambda>() 88 assertFailsWith<TestException> { flow.collect() } // repeated collection -- same exception in <lambda>() 96 assertFailsWith<IllegalStateException> { flow.produceIn(this) } in <lambda>() 124 assertFailsWith<IllegalStateException> { flow.produceIn(this) } in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/ |
D | CancellableContinuationHandlersTest.kt | 30 assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>() 36 assertFailsWith<TestException> { in <lambda>() 42 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>() 56 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>() 76 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>() 88 assertFailsWith<CancellationException> { in <lambda>() 110 assertFailsWith<IllegalStateException> { in <lambda>() 125 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>() 141 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>()
|
D | JobExtensionsTest.kt | 47 assertFailsWith<JobCancellationException> { job.ensureActive() } in <lambda>() 48 assertFailsWith<JobCancellationException> { scope.ensureActive() } in <lambda>() 49 assertFailsWith<JobCancellationException> { scope.coroutineContext.ensureActive() } in <lambda>() 91 assertFailsWith<IllegalStateException> { EmptyCoroutineContext.job } in <lambda>() 92 assertFailsWith<IllegalStateException> { Dispatchers.Default.job } in <lambda>() 93 assertFailsWith<IllegalStateException> { (Dispatchers.Default + CoroutineName("")).job } in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/ |
D | RetryTest.kt | 40 assertFailsWith<TestException>(flow) in <lambda>() 42 assertFailsWith<TestException>(flow.retry(2)) in <lambda>() 55 assertFailsWith<TestException>(flow.retry(1) { it !is TestException }) in <lambda>() 68 assertFailsWith<TestException>(flow) in <lambda>() 123 assertFailsWith<TestException>(flow) in <lambda>() 142 assertFailsWith<TestException>(flow) in <lambda>() 161 assertFailsWith<TestException>(flow) in <lambda>()
|
D | FlowOnTest.kt | 72 assertFailsWith<TestException> { flow.single() } in <lambda>() 89 assertFailsWith<TestException>(flow) in testFlowOnThrowingOperator() 111 assertFailsWith<TestException> { flow.single() } in <lambda>() 247 assertFailsWith<TimeoutCancellationException>(flow) in <lambda>() 260 assertFailsWith<TimeoutCancellationException>(flow) in <lambda>() 316 assertFailsWith<TestException> { flow.single() } in <lambda>() 317 assertFailsWith<TestException>(flow) in <lambda>() 324 assertFailsWith<IllegalArgumentException> { flow.flowOn(Job()) } in testIllegalArgumentException() 347 assertFailsWith<CancellationException> { in <lambda>()
|
D | CatchTest.kt | 20 assertFailsWith<TestException>(flow) in <lambda>() 33 assertFailsWith<TestException>(flow) in <lambda>() 57 assertFailsWith<TestException>(flow) in <lambda>() 163 assertFailsWith<TestException>(flow) in <lambda>() 182 assertFailsWith<TestException>(flow) in <lambda>() 201 assertFailsWith<TestException>(flow) in <lambda>()
|
/external/cronet/third_party/protobuf/java/kotlin/src/test/kotlin/com/google/protobuf/ |
D | DslMapTest.kt | 35 import kotlin.test.assertFailsWith 94 assertFailsWith<UnsupportedOperationException> { in dslMapIsNotEvenSecretlyMutable() 104 assertFailsWith<UnsupportedOperationException> { in dslMapKeysAreNotEvenSecretlyMutable() 116 assertFailsWith<UnsupportedOperationException> { in dslMapKeysIteratorIsNotEvenSecretlyMutable() 126 assertFailsWith<UnsupportedOperationException> { in dslMapValuesAreNotEvenSecretlyMutable() 138 assertFailsWith<UnsupportedOperationException> { in dslMapValuesIteratorIsNotEvenSecretlyMutable() 149 assertFailsWith<UnsupportedOperationException> { in dslMapEntriesAreNotEvenSecretlyMutable() 161 assertFailsWith<UnsupportedOperationException> { in dslMapEntriesIteratorIsNotEvenSecretlyMutable() 171 assertFailsWith<UnsupportedOperationException> { in dslMapEntryObjectsAreNotEvenSecretlyMutable()
|
D | ByteStringsTest.kt | 38 import kotlin.test.assertFailsWith 68 assertFailsWith<IndexOutOfBoundsException> { str[-1] } in byteAtBelowZero() 69 assertFailsWith<IndexOutOfBoundsException> { str[-2] } in byteAtBelowZero() 75 assertFailsWith<IndexOutOfBoundsException> { str[3] } in byteAtAboveLength() 76 assertFailsWith<IndexOutOfBoundsException> { str[4] } in byteAtAboveLength()
|
D | DslListTest.kt | 35 import kotlin.test.assertFailsWith 70 assertFailsWith<UnsupportedOperationException> { in dslListIsNotEvenSecretlyMutable() 82 assertFailsWith<UnsupportedOperationException> { in dslList_IteratorIsNotEvenSecretlyMutable() 94 assertFailsWith<UnsupportedOperationException> { in dslList_ListIteratorIsNotEvenSecretlyMutable() 106 assertFailsWith<UnsupportedOperationException> { in dslList_ListIteratorIndexIsNotEvenSecretlyMutable()
|
D | ExtensionListTest.kt | 37 import kotlin.test.assertFailsWith 82 assertFailsWith<UnsupportedOperationException> { in extensionListIsNotEvenSecretlyMutable() 96 assertFailsWith<UnsupportedOperationException> { in extensionList_IteratorIsNotEvenSecretlyMutable() 110 assertFailsWith<UnsupportedOperationException> { in extensionList_ListIteratorIsNotEvenSecretlyMutable() 124 assertFailsWith<UnsupportedOperationException> { in extensionList_ListIteratorIndexIsNotEvenSecretlyMutable()
|
/external/protobuf/java/kotlin/src/test/kotlin/com/google/protobuf/ |
D | DslMapTest.kt | 35 import kotlin.test.assertFailsWith 94 assertFailsWith<UnsupportedOperationException> { in dslMapIsNotEvenSecretlyMutable() 104 assertFailsWith<UnsupportedOperationException> { in dslMapKeysAreNotEvenSecretlyMutable() 116 assertFailsWith<UnsupportedOperationException> { in dslMapKeysIteratorIsNotEvenSecretlyMutable() 126 assertFailsWith<UnsupportedOperationException> { in dslMapValuesAreNotEvenSecretlyMutable() 138 assertFailsWith<UnsupportedOperationException> { in dslMapValuesIteratorIsNotEvenSecretlyMutable() 149 assertFailsWith<UnsupportedOperationException> { in dslMapEntriesAreNotEvenSecretlyMutable() 161 assertFailsWith<UnsupportedOperationException> { in dslMapEntriesIteratorIsNotEvenSecretlyMutable() 171 assertFailsWith<UnsupportedOperationException> { in dslMapEntryObjectsAreNotEvenSecretlyMutable()
|
D | ByteStringsTest.kt | 38 import kotlin.test.assertFailsWith 68 assertFailsWith<IndexOutOfBoundsException> { str[-1] } in byteAtBelowZero() 69 assertFailsWith<IndexOutOfBoundsException> { str[-2] } in byteAtBelowZero() 75 assertFailsWith<IndexOutOfBoundsException> { str[3] } in byteAtAboveLength() 76 assertFailsWith<IndexOutOfBoundsException> { str[4] } in byteAtAboveLength()
|
D | DslListTest.kt | 35 import kotlin.test.assertFailsWith 70 assertFailsWith<UnsupportedOperationException> { in dslListIsNotEvenSecretlyMutable() 82 assertFailsWith<UnsupportedOperationException> { in dslList_IteratorIsNotEvenSecretlyMutable() 94 assertFailsWith<UnsupportedOperationException> { in dslList_ListIteratorIsNotEvenSecretlyMutable() 106 assertFailsWith<UnsupportedOperationException> { in dslList_ListIteratorIndexIsNotEvenSecretlyMutable()
|
D | ExtensionListTest.kt | 37 import kotlin.test.assertFailsWith 82 assertFailsWith<UnsupportedOperationException> { in extensionListIsNotEvenSecretlyMutable() 96 assertFailsWith<UnsupportedOperationException> { in extensionList_IteratorIsNotEvenSecretlyMutable() 110 assertFailsWith<UnsupportedOperationException> { in extensionList_ListIteratorIsNotEvenSecretlyMutable() 124 assertFailsWith<UnsupportedOperationException> { in extensionList_ListIteratorIndexIsNotEvenSecretlyMutable()
|
/external/okio/okio/src/commonTest/kotlin/okio/ |
D | CommonRealBufferedSinkTest.kt | 21 import kotlin.test.assertFailsWith 99 assertFailsWith<IOException> { in closeWithExceptionWhenWriting() 111 assertFailsWith<IOException> { in closeWithExceptionWhenClosing() 141 assertFailsWith<IllegalStateException> { in operationsAfterClose() 145 assertFailsWith<IllegalStateException> { in operationsAfterClose() 149 assertFailsWith<IllegalStateException> { in operationsAfterClose() 153 assertFailsWith<IllegalStateException> { in operationsAfterClose() 157 assertFailsWith<IllegalStateException> { in operationsAfterClose()
|
D | CommonRealBufferedSourceTest.kt | 21 import kotlin.test.assertFailsWith 72 assertFailsWith<EOFException> { in requireInsufficientData() 117 assertFailsWith<IllegalStateException> { in operationsAfterClose() 121 assertFailsWith<IllegalStateException> { in operationsAfterClose() 125 assertFailsWith<IllegalStateException> { in operationsAfterClose() 129 assertFailsWith<IllegalStateException> { in operationsAfterClose()
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/test/ |
D | ListenableFutureTest.kt | 134 val e = assertFailsWith<IllegalArgumentException> { in testFutureLazyStartThrows() 222 assertFailsWith<CancellationException> { future.get() } in <lambda>() 244 assertFailsWith<CancellationException> { future.get() } in <lambda>() 267 assertFailsWith<CancellationException> { future.get() } in <lambda>() 287 assertFailsWith<CancellationException> { asListenableFuture.get() } in testAsListenableFutureCancellationPropagatingToDeferredNoInterruption() 291 assertFailsWith<CancellationException> { future.get() } in testAsListenableFutureCancellationPropagatingToDeferredNoInterruption() 310 assertFailsWith<CancellationException> { asListenableFuture.get() } in <lambda>() 316 assertFailsWith<CancellationException> { future.get() } in <lambda>() 338 assertFailsWith<CancellationException> { deferred.await() } in <lambda>() 346 assertFailsWith<CancellationException> { future.get() } in <lambda>() [all …]
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/common/test/ |
D | RunTestTest.kt | 50 assertFailsWith<IllegalStateException> { in <lambda>() 232 assertFailsWith<IllegalArgumentException> { in <lambda>() 241 assertFailsWith<RuntimeException> { it() } in <lambda>() 251 assertFailsWith<RuntimeException> { it() } in <lambda>() 284 assertFailsWith<AssertionError> { it() } in <lambda>() 301 assertFailsWith<TimeoutCancellationException> { it() } in <lambda>() 315 assertFailsWith<TestException> { it() } in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/sync/ |
D | MutexTest.kt | 116 assertFailsWith<IllegalStateException> { mutex.unlock(Any()) } in testUnlockWithNullOwner() 135 assertFailsWith<IllegalStateException> { mutex.unlock(owner2) } in <lambda>() 147 assertFailsWith<IllegalStateException> { mutex.tryLock(owner) } in <lambda>() 148 assertFailsWith<IllegalStateException> { mutex.lock(owner) } in <lambda>() 149 assertFailsWith<IllegalStateException> { select { mutex.onLock(owner) {} } } in <lambda>()
|