Commit 8ee5cd04 authored by Duncan McNAMARA's avatar Duncan McNAMARA
Browse files

Update JUnit

parent 27f02f7e
......@@ -20,7 +20,7 @@
package org.videolan.vlc.database
import androidx.test.runner.AndroidJUnit4
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.Matchers.*
import org.junit.Test
......
......@@ -21,7 +21,7 @@
package org.videolan.vlc.database
import android.net.Uri
import androidx.test.runner.AndroidJUnit4
import androidx.test.ext.junit.runners.AndroidJUnit4
import junit.framework.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith
......
package org.videolan.vlc.database
import androidx.test.runner.AndroidJUnit4
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.hamcrest.CoreMatchers.hasItem
import org.hamcrest.core.Is.`is`
import org.junit.Assert.assertThat
......
......@@ -20,7 +20,7 @@
package org.videolan.vlc.database
import androidx.test.runner.AndroidJUnit4
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.hamcrest.Matchers.*
import org.junit.Assert.assertThat
import org.junit.Test
......
......@@ -27,7 +27,7 @@ import androidx.room.testing.MigrationTestHelper
import android.net.Uri
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.test.InstrumentationRegistry
import androidx.test.runner.AndroidJUnit4
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.hamcrest.CoreMatchers.`is`
import org.hamcrest.CoreMatchers.hasItem
import org.junit.Assert.*
......
......@@ -20,7 +20,7 @@
package org.videolan.vlc.database
import androidx.test.runner.AndroidJUnit4
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.Matchers.*
import org.junit.Test
......
......@@ -269,11 +269,12 @@ dependencies {
androidTestImplementation "androidx.room:room-testing:$rootProject.ext.roomVersion"
testImplementation "androidx.arch.core:core-testing:$rootProject.ext.archVersion"
androidTestImplementation "androidx.arch.core:core-testing:$rootProject.ext.archVersion"
androidTestImplementation "androidx.test:runner:$rootProject.ext.supportTest"
androidTestImplementation "androidx.test.ext:junit:$rootProject.ext.supportTest"
androidTestUtil "androidx.test:orchestrator:$rootProject.ext.supportTest"
testImplementation "org.mockito:mockito-core:$rootProject.ext.mockito"
testImplementation "org.powermock:powermock-api-mockito2:$rootProject.ext.powerMock"
testImplementation "org.powermock:powermock-module-junit4:$rootProject.ext.powerMock"
androidTestImplementation 'androidx.test:rules:1.3.0-alpha01'
}
static def buildTime() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment