1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 07:50:52 -07:00

* Fixes Gradle config so tests are only run once

* Adds missing test to the test suite
This commit is contained in:
John J. Aylward 2017-07-19 20:34:59 -04:00
parent cf411b3187
commit f2f6ad3b1f
2 changed files with 6 additions and 2 deletions

View file

@ -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 {

View file

@ -17,7 +17,8 @@ import org.junit.runners.Suite;
JSONArrayTest.class,
EnumTest.class,
JSONPointerTest.class,
JSONStringTest.class
JSONStringTest.class,
JSONTokenerTest.class
})
public class JunitTestSuite {
}