Re-add test fixtures
This commit is contained in:
committed by
Steve Myers
parent
597d0685ae
commit
9131c37d8e
@@ -25,12 +25,12 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// implementation(project(':jvm')) {
|
||||
// exclude group: 'net.java.dev.jna', module: 'jna'
|
||||
// }
|
||||
// api(project(':jvm')) {
|
||||
// exclude group: 'net.java.dev.jna', module: 'jna'
|
||||
// }
|
||||
implementation(project(':jvm')) {
|
||||
exclude group: 'net.java.dev.jna', module: 'jna'
|
||||
}
|
||||
api(project(':jvm')) {
|
||||
exclude group: 'net.java.dev.jna', module: 'jna'
|
||||
}
|
||||
implementation 'net.java.dev.jna:jna:5.8.0@aar'
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||
implementation 'androidx.appcompat:appcompat:1.3.0'
|
||||
@@ -38,12 +38,12 @@ dependencies {
|
||||
api "org.slf4j:slf4j-api:1.7.30"
|
||||
|
||||
androidTestImplementation 'com.github.tony19:logback-android:2.0.0'
|
||||
// androidTestImplementation(testFixtures(project(':jvm'))) {
|
||||
// exclude group: 'net.java.dev.jna', module: 'jna'
|
||||
// exclude group: 'ch.qos.logback', module: 'logback-core'
|
||||
// exclude group: 'ch.qos.logback', module: 'logback-classic'
|
||||
// exclude group: 'junit', module: 'junit'
|
||||
// }
|
||||
androidTestImplementation(testFixtures(project(':jvm'))) {
|
||||
exclude group: 'net.java.dev.jna', module: 'jna'
|
||||
exclude group: 'ch.qos.logback', module: 'logback-core'
|
||||
exclude group: 'ch.qos.logback', module: 'logback-classic'
|
||||
exclude group: 'junit', module: 'junit'
|
||||
}
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
||||
androidTestImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1'
|
||||
|
||||
@@ -11,11 +11,11 @@ import org.junit.runner.RunWith
|
||||
*
|
||||
* See [testing documentation](http://d.android.com/tools/testing).
|
||||
*/
|
||||
//@RunWith(AndroidJUnit4::class)
|
||||
//class AndroidLibTest : LibTest() {
|
||||
// override fun getTestDataDir(): String {
|
||||
// val context = ApplicationProvider.getApplicationContext<Application>()
|
||||
// return context.getDir("bdk-test", MODE_PRIVATE).toString()
|
||||
// }
|
||||
//
|
||||
//}
|
||||
@RunWith(AndroidJUnit4::class)
|
||||
class AndroidLibTest : LibTest() {
|
||||
override fun getTestDataDir(): String {
|
||||
val context = ApplicationProvider.getApplicationContext<Application>()
|
||||
return context.getDir("bdk-test", MODE_PRIVATE).toString()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user