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

Merge pull request #77 from johnjaylward/FixJUnitGradleConfig

Fixes Gradle config so tests are only run once
This commit is contained in:
Sean Leary 2017-07-20 06:51:14 -05:00 committed by GitHub
commit 44c3e321b5
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 {
}