./build.gradle
Print this page
rev 9250 : 8134762: Refactor Javafx graphics module tests for clear separation of tests
Reviewed-by:
@@ -1560,11 +1560,11 @@
assemble.dependsOn nativeDecora
processResources.dependsOn processDecoraShaders, processPrismShaders
test {
def cssDir = file("$buildDir/classes/main/javafx")
- jvmArgs "-Djava.ext.dirs=", "-Djavafx.toolkit=com.sun.javafx.pgstub.StubToolkit",
+ jvmArgs "-Djava.ext.dirs=", "-Djavafx.toolkit=test.com.sun.javafx.pgstub.StubToolkit",
"-DCSS_META_DATA_TEST_DIR=$cssDir"
enableAssertions = true
testLogging.exceptionFormat = "full"
scanForTestClasses = false
include "**/*Test.*"
@@ -1621,11 +1621,11 @@
testCompile project(":base").sourceSets.test.output
}
test {
def cssDir = file("$buildDir/classes/main/javafx")
- jvmArgs "-Djavafx.toolkit=com.sun.javafx.pgstub.StubToolkit",
+ jvmArgs "-Djavafx.toolkit=test.com.sun.javafx.pgstub.StubToolkit",
"-DCSS_META_DATA_TEST_DIR=$cssDir"
}
// TODO Css2Bin really should be moved out and put into buildSrc if it can be
// TODO could change script to dynamically locate all .css files and create bss for them, probably better
@@ -1692,11 +1692,11 @@
}
test {
// StubToolkit is not *really* needed here, but because some code inadvertently invokes performance
// tracker and this attempts to fire up the toolkit and this looks for native libraries and fails,
// we have to use the stub toolkit for now.
- jvmArgs "-Djavafx.toolkit=com.sun.javafx.pgstub.StubToolkit"
+ jvmArgs "-Djavafx.toolkit=test.com.sun.javafx.pgstub.StubToolkit"
classpath += files("$JDK_HOME/jre/lib/ext/nashorn.jar")
}
}
project(":jmx") {