Re-add test fixtures
This commit is contained in:
committed by
Steve Myers
parent
597d0685ae
commit
9131c37d8e
@@ -1,7 +1,7 @@
|
||||
plugins {
|
||||
id 'org.jetbrains.kotlin.jvm'
|
||||
id 'java-library'
|
||||
//id 'java-test-fixtures'
|
||||
id 'java-test-fixtures'
|
||||
id 'maven-publish'
|
||||
id 'signing'
|
||||
}
|
||||
@@ -25,9 +25,9 @@ dependencies {
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||
implementation "net.java.dev.jna:jna:5.8.0"
|
||||
api "org.slf4j:slf4j-api:1.7.30"
|
||||
// testFixturesImplementation "junit:junit:4.13.2"
|
||||
// testFixturesImplementation "ch.qos.logback:logback-classic:1.2.3"
|
||||
// testFixturesImplementation "ch.qos.logback:logback-core:1.2.3"
|
||||
testFixturesImplementation "junit:junit:4.13.2"
|
||||
testFixturesImplementation "ch.qos.logback:logback-classic:1.2.3"
|
||||
testFixturesImplementation "ch.qos.logback:logback-core:1.2.3"
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
package org.bitcoindevkit
|
||||
|
||||
//import java.nio.file.Files
|
||||
import java.nio.file.Files
|
||||
|
||||
/**
|
||||
* Library test, which will execute on linux host.
|
||||
*
|
||||
*/
|
||||
//class JvmLibTest : LibTest() {
|
||||
//
|
||||
// override fun getTestDataDir(): String {
|
||||
// return Files.createTempDirectory("bdk-test").toString()
|
||||
// //return Paths.get(System.getProperty("java.io.tmpdir"), "bdk-test").toString()
|
||||
// }
|
||||
//
|
||||
//}
|
||||
class JvmLibTest : LibTest() {
|
||||
|
||||
override fun getTestDataDir(): String {
|
||||
return Files.createTempDirectory("bdk-test").toString()
|
||||
//return Paths.get(System.getProperty("java.io.tmpdir"), "bdk-test").toString()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user