mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 19:15:27 -04:00
* Fixes Gradle config so tests are only run once
* Adds missing test to the test suite
This commit is contained in:
parent
cf411b3187
commit
f2f6ad3b1f
@ -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 {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user