Partially revert 670cbb9aed

... but continue to execute `Abstract*Tests` classes.
This commit is contained in:
Sam Brannen 2019-09-03 15:17:34 +02:00
parent 23d5c6e3dc
commit bc869657c8
1 changed files with 7 additions and 3 deletions

View File

@ -317,12 +317,16 @@ configure([rootProject] + javaProjects) { project ->
}
test {
useJUnitPlatform()
scanForTestClasses = false
include(["**/*Tests.class", "**/*Test.class"])
systemProperty("java.awt.headless", "true")
systemProperty("testGroups", project.properties.get("testGroups"))
systemProperty("io.netty.leakDetection.level", "paranoid")
useJUnitPlatform()
scanForTestClasses = false
include(["**/*Tests.class", "**/*Test.class"])
// Since we set scanForTestClasses to false, we need to filter out inner
// classes with the "$" pattern; otherwise, using -Dtest.single=MyTests to
// run MyTests by itself will fail if MyTests contains any inner classes.
exclude(['**/*$*'])
}
checkstyle {