mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 18:55:30 +08:00
* Fixes Gradle config so tests are only run once
* Adds missing test to the test suite
This commit is contained in:
@@ -28,7 +28,10 @@ dependencies {
|
||||
// testCompile files('./JSON-Java.jar')
|
||||
}
|
||||
|
||||
test { finalizedBy jacocoTestReport }
|
||||
test {
|
||||
include "org/json/junit/JunitTestSuite.class"
|
||||
finalizedBy jacocoTestReport
|
||||
}
|
||||
jacocoTestReport{
|
||||
additionalSourceDirs = files(sourceSets.main.allJava.srcDirs)
|
||||
reports {
|
||||
|
@@ -17,7 +17,8 @@ import org.junit.runners.Suite;
|
||||
JSONArrayTest.class,
|
||||
EnumTest.class,
|
||||
JSONPointerTest.class,
|
||||
JSONStringTest.class
|
||||
JSONStringTest.class,
|
||||
JSONTokenerTest.class
|
||||
})
|
||||
public class JunitTestSuite {
|
||||
}
|
||||
|
Reference in New Issue
Block a user