< prev index next >

./build.gradle

Print this page
rev 9491 : 8145203: Refactor systemTests for clear separation of tests
Reviewed-by: kcr


1769         compile project(":media")
1770     }
1771 
1772     // Tests are disabled until RT-33926 can be fixed
1773     test.enabled = false
1774 
1775     if (!DO_BUILD_SDK_FOR_TEST) {
1776        def javafxMxJar = new File(TEST_SDK_DIR, "lib/javafx-mx.jar")
1777        [test, compileTestJava].each {
1778            it.classpath = files(javafxMxJar) + it.classpath
1779        }
1780     }
1781 }
1782 
1783 // This project is for system tests that need to run with a full SDK.
1784 // Most of them display a stage or do other things that preclude running
1785 // them in a shared JVM or as part of the "smoke test" run (which must
1786 // not pop up any windows or use audio). As such, they are only enabled
1787 // when FULL_TEST is specified, and each test runs in its own JVM
1788 project(":systemTests") {






1789     test {
1790         enabled = IS_FULL_TEST
1791         if (!IS_USE_ROBOT) {
1792             // Disable all robot-based visual tests
1793             exclude("**/helloworld/*.*");
1794             exclude("**/javafx/embed/swing/*.*");
1795             exclude("**/javafx/scene/layout/*.*");
1796             exclude("**/test3d/*.*");
1797             exclude("**/scenegraph/*.*");
1798             exclude("**/painttest/*.*");
1799             exclude("**/renderlock/*.*");
1800         }
1801         if (!IS_AWT_TEST) {
1802             // Disable all AWT-based tests
1803             exclude("**/javafx/embed/swing/*.*");
1804             exclude("**/com/sun/javafx/application/Swing*.*");
1805         }
1806         
1807         forkEvery = 1
1808     }
1809 }
1810 
1811 project(":fxpackager") {
1812     tasks.all {
1813         if (!COMPILE_FXPACKAGER) it.enabled = false
1814     }
1815     // fxpackager has a dependency on ant in order to build the ant jar,
1816     // and as such needs to point to the apache binary repository
1817     if (!BUILD_CLOSED) {
1818         repositories {
1819             maven {




1769         compile project(":media")
1770     }
1771 
1772     // Tests are disabled until RT-33926 can be fixed
1773     test.enabled = false
1774 
1775     if (!DO_BUILD_SDK_FOR_TEST) {
1776        def javafxMxJar = new File(TEST_SDK_DIR, "lib/javafx-mx.jar")
1777        [test, compileTestJava].each {
1778            it.classpath = files(javafxMxJar) + it.classpath
1779        }
1780     }
1781 }
1782 
1783 // This project is for system tests that need to run with a full SDK.
1784 // Most of them display a stage or do other things that preclude running
1785 // them in a shared JVM or as part of the "smoke test" run (which must
1786 // not pop up any windows or use audio). As such, they are only enabled
1787 // when FULL_TEST is specified, and each test runs in its own JVM
1788 project(":systemTests") {
1789 
1790     dependencies {
1791         testCompile project(":graphics").sourceSets.test.output
1792         testCompile project(":base").sourceSets.test.output
1793     }
1794 
1795     test {
1796         enabled = IS_FULL_TEST
1797         if (!IS_USE_ROBOT) {
1798             // Disable all robot-based visual tests
1799             exclude("test/robot/**");






1800         }
1801         if (!IS_AWT_TEST) {
1802             // Disable all AWT-based tests
1803             exclude("**/javafx/embed/swing/*.*");
1804             exclude("**/com/sun/javafx/application/Swing*.*");
1805         }
1806         
1807         forkEvery = 1
1808     }
1809 }
1810 
1811 project(":fxpackager") {
1812     tasks.all {
1813         if (!COMPILE_FXPACKAGER) it.enabled = false
1814     }
1815     // fxpackager has a dependency on ant in order to build the ant jar,
1816     // and as such needs to point to the apache binary repository
1817     if (!BUILD_CLOSED) {
1818         repositories {
1819             maven {


< prev index next >