mirror of
https://github.com/AllanWang/Frost-for-Facebook.git
synced 2024-09-20 07:31:40 +02:00
Use coroutine version in kau
This commit is contained in:
parent
96418eb386
commit
a1cf58e0ee
@ -204,7 +204,7 @@ dependencies {
|
|||||||
|
|
||||||
// androidTestImplementation "io.mockk:mockk:${MOCKK}"
|
// androidTestImplementation "io.mockk:mockk:${MOCKK}"
|
||||||
|
|
||||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:${COROUTINES}"
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:${kau.coroutines}"
|
||||||
|
|
||||||
implementation "org.apache.commons:commons-text:${COMMONS_TEXT}"
|
implementation "org.apache.commons:commons-text:${COMMONS_TEXT}"
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
*/
|
*/
|
||||||
package com.pitchedapps.frost.utils
|
package com.pitchedapps.frost.utils
|
||||||
|
|
||||||
import kotlinx.coroutines.CompletableDeferred
|
|
||||||
import kotlinx.coroutines.Dispatchers
|
import kotlinx.coroutines.Dispatchers
|
||||||
import kotlinx.coroutines.ExperimentalCoroutinesApi
|
import kotlinx.coroutines.ExperimentalCoroutinesApi
|
||||||
import kotlinx.coroutines.GlobalScope
|
import kotlinx.coroutines.GlobalScope
|
||||||
@ -217,7 +216,6 @@ class CoroutineTest {
|
|||||||
@Ignore("Not yet working as unique only buffered removes the capacity limitation of the channel")
|
@Ignore("Not yet working as unique only buffered removes the capacity limitation of the channel")
|
||||||
@Test
|
@Test
|
||||||
fun uniqueOnlyBuffer() {
|
fun uniqueOnlyBuffer() {
|
||||||
val completable = CompletableDeferred<Int>()
|
|
||||||
val channel = Channel<Int>(3)
|
val channel = Channel<Int>(3)
|
||||||
runBlocking {
|
runBlocking {
|
||||||
|
|
||||||
|
@ -23,8 +23,6 @@ ANDROID_GRADLE=3.2.1
|
|||||||
# https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md
|
# https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md
|
||||||
SPOTLESS=3.17.0
|
SPOTLESS=3.17.0
|
||||||
|
|
||||||
# https://github.com/Kotlin/kotlinx.coroutines/releases
|
|
||||||
COROUTINES=1.0.1
|
|
||||||
# https://github.com/bugsnag/bugsnag-android/releases
|
# https://github.com/bugsnag/bugsnag-android/releases
|
||||||
BUGSNAG=4.9.3
|
BUGSNAG=4.9.3
|
||||||
# https://github.com/bugsnag/bugsnag-android-gradle-plugin/releases
|
# https://github.com/bugsnag/bugsnag-android-gradle-plugin/releases
|
||||||
|
Loading…
Reference in New Issue
Block a user