Skip to content

Commit 71c569b

Browse files
committed
Fixed tests, updated some dependencies
1 parent 20569dc commit 71c569b

File tree

12 files changed

+22
-28
lines changed

12 files changed

+22
-28
lines changed

app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
def final VERSION_CODE = 36
2-
def final VERSION_NAME = '1.4'
2+
def final VERSION_NAME = '1.3.2'
33

44
apply plugin: 'com.android.application'
55
apply plugin: 'kotlin-android'
@@ -89,15 +89,15 @@ dependencies {
8989

9090
def final ROOM_VERSION = '2.0.0'
9191
def final LIFECYCLE_VERSION = '2.0.0'
92-
def final ESPRESSO_VERSION = '3.1.0-alpha4'
92+
def final ESPRESSO_VERSION = '3.2.0-beta01'
9393
def final COROUTINES_VERSION = '1.2.1'
9494

9595
implementation fileTree(dir: 'libs', include: ['*.jar'])
9696

9797
implementation 'androidx.appcompat:appcompat:1.0.2'
9898
implementation 'androidx.recyclerview:recyclerview:1.0.0'
9999
implementation 'androidx.cardview:cardview:1.0.0'
100-
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha5'
100+
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta1'
101101
implementation 'com.google.android.material:material:1.0.0'
102102

103103
implementation "androidx.room:room-runtime:$ROOM_VERSION"
@@ -129,7 +129,7 @@ dependencies {
129129

130130
testImplementation "org.jetbrains.kotlin:kotlin-stdlib:$KOTLIN_VERSION"
131131
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$KOTLIN_VERSION"
132-
testImplementation 'io.mockk:mockk:1.9.3.kotlin12'
132+
testImplementation 'io.mockk:mockk:1.9.3'
133133
testImplementation 'junit:junit:4.12'
134134

135135
androidTestImplementation 'androidx.annotation:annotation:1.0.2'

app/src/main/res/values-notnight/colors.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

app/src/main/res/values-notnight/styles.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

app/src/test/kotlin/com/glodanif/bluetoothchat/presenter/ChatPresenterUnitTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import com.glodanif.bluetoothchat.ui.viewmodel.converter.ChatMessageConverter
77
import io.mockk.MockKAnnotations
88
import io.mockk.impl.annotations.RelaxedMockK
99
import io.mockk.verify
10-
import kotlinx.coroutines.experimental.Dispatchers
10+
import kotlinx.coroutines.Dispatchers
1111
import org.junit.Before
1212
import org.junit.Test
1313

app/src/test/kotlin/com/glodanif/bluetoothchat/presenter/ContactChooserPresenterUnitTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import com.glodanif.bluetoothchat.ui.viewmodel.ContactViewModel
88
import com.glodanif.bluetoothchat.ui.viewmodel.converter.ContactConverter
99
import io.mockk.*
1010
import io.mockk.impl.annotations.RelaxedMockK
11-
import kotlinx.coroutines.experimental.Dispatchers
11+
import kotlinx.coroutines.Dispatchers
1212
import org.junit.Before
1313
import org.junit.Test
1414

app/src/test/kotlin/com/glodanif/bluetoothchat/presenter/ConversationsPresenterUnitTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import com.glodanif.bluetoothchat.ui.viewmodel.ConversationViewModel
1111
import com.glodanif.bluetoothchat.ui.viewmodel.converter.ConversationConverter
1212
import io.mockk.*
1313
import io.mockk.impl.annotations.RelaxedMockK
14-
import kotlinx.coroutines.experimental.Dispatchers
15-
import kotlinx.coroutines.experimental.runBlocking
14+
import kotlinx.coroutines.Dispatchers
15+
import kotlinx.coroutines.runBlocking
1616
import org.junit.Before
1717
import org.junit.Test
1818

app/src/test/kotlin/com/glodanif/bluetoothchat/presenter/ImagesPreviewPresenterUnitTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import io.mockk.MockKAnnotations
88
import io.mockk.every
99
import io.mockk.impl.annotations.RelaxedMockK
1010
import io.mockk.verify
11-
import kotlinx.coroutines.experimental.Dispatchers
11+
import kotlinx.coroutines.Dispatchers
1212
import org.junit.Before
1313
import org.junit.Test
1414
import java.io.File

app/src/test/kotlin/com/glodanif/bluetoothchat/presenter/ProfilePresenterUnitTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import io.mockk.MockKAnnotations
99
import io.mockk.every
1010
import io.mockk.impl.annotations.RelaxedMockK
1111
import io.mockk.verify
12-
import kotlinx.coroutines.experimental.Dispatchers
12+
import kotlinx.coroutines.Dispatchers
1313
import org.junit.Before
1414
import org.junit.Test
1515

app/src/test/kotlin/com/glodanif/bluetoothchat/presenter/ReceivedImagesPresenterUnitTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import io.mockk.coEvery
99
import io.mockk.impl.annotations.RelaxedMockK
1010
import io.mockk.mockk
1111
import io.mockk.verify
12-
import kotlinx.coroutines.experimental.Dispatchers
12+
import kotlinx.coroutines.Dispatchers
1313
import org.junit.Before
1414
import org.junit.Test
1515

app/src/test/kotlin/com/glodanif/bluetoothchat/presenter/ScanPresenterUnitTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import com.glodanif.bluetoothchat.ui.presenter.ScanPresenter
88
import com.glodanif.bluetoothchat.ui.view.ScanView
99
import io.mockk.*
1010
import io.mockk.impl.annotations.RelaxedMockK
11-
import kotlinx.coroutines.experimental.Dispatchers
11+
import kotlinx.coroutines.Dispatchers
1212
import org.junit.Before
1313
import org.junit.Test
1414

0 commit comments

Comments
 (0)