Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit c1bb12d

Browse files
committed
build.gradle: upgrade TestFX to 4.0.7-alpha
TestFX 4.0.7-alpha has been released. Besides being the latest and greatest version, 4.0.7-alpha also contains a proper working headless mode for Linux. Without this upgrade, attempting to run `./gradlew headless guiTests` on Linux would result with the GUI tests failing with the following exception: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalAccessException: Class org.testfx.toolkit.impl.ApplicationLauncherImpl can not access a member of class com.sun.glass.ui.monocle.HeadlessPlatform with modifiers "" Caused by: java.lang.RuntimeException: java.lang.IllegalAccessException: Class org.testfx.toolkit.impl.ApplicationLauncherImpl can not access a member of class com.sun.glass.ui.monocle.HeadlessPlatform with modifiers "" Caused by: java.lang.IllegalAccessException: Class org.testfx.toolkit.impl.ApplicationLauncherImpl can not access a member of class com.sun.glass.ui.monocle.HeadlessPlatform with modifiers "" Let's upgrade TestFX to 4.0.7-alpha to have happy Linux developers. This working headless mode was also present in the 4.0.6-alpha, but we couldn't upgrade to it as it broke our gui tests. (See e1eafd1 ([#353] All gui tests are failing (#354), 2017-03-23)) Furthermore, since headless mode now works on Linux, our Travis CI builds do not need to run xvfb any more. As such, let's remove its usage from .travis.yml.
1 parent dd162d5 commit c1bb12d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ deploy:
1414
on:
1515
branch: master
1616

17-
before_install:
18-
- "export DISPLAY=:99.0"
19-
- "sh -e /etc/init.d/xvfb start"
20-
2117
addons:
2218
apt:
2319
packages:

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ allprojects {
4040
jacksonVersion = '2.7.0'
4141
jacksonDataTypeVersion = '2.7.4'
4242
junitVersion = '4.12'
43-
testFxVersion = '4.0.5-alpha'
43+
testFxVersion = '4.0.7-alpha'
4444
monocleVersion = '1.8.0_20'
4545
checkstyleVersion = '8.1'
4646

0 commit comments

Comments
 (0)