Thank you. That makes it clearer. :)

Is it possible to supply the headless part of Monocle in an external Jar
for desktop platforms?

As far as I know the only possibility to run TestFX tests with
Hudson/Jenkins is in headless mode.
TestFX's tests itself can only run with the X virtual framebuffer on Linux
test clients for the Travis CI so far.

So far the only advice I could give TestFX users who like to run headless
tests is to use 1.8.0_20-ea-b05.


On Tue, Nov 4, 2014 at 7:25 PM, Kevin Rushforth <kevin.rushfo...@oracle.com>
wrote:

>
> > Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b05)
>
> This is an early access build and is not the final build of 8u20. Monocle
> was mistakenly included in some of our early access builds, but was removed
> prior to the fcs build.
>
>
> -- Kevin
>
>
> Benjamin Gudehus wrote:
>
>  I ran a simple click test with
>
> "-Dglass.platform=Monocle -Dmonocle.platform=Headless -Dprism.order=sw"
>
> and the GlassRobot on Windows 7 with Java 8u20 and can confirm that the
> tests ran headless and clicked on an invisible table row. I also could
> browse the Monocle source code within IntelliJ IDEA.
>
>  However on Java 8u25 the same test will fail with
>
> java.lang.ClassNotFoundException:
> com.sun.glass.ui.monocle.MonoclePlatformFactory
> Failed to load Glass factory class
>
> ----
>
> C:\Program Files\Java\jdk1.8.0_20\bin>java -version
> java version "1.8.0_20-ea"
> Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b05)
> Java HotSpot(TM) 64-Bit Server VM (build 25.20-b05, mixed mode)
>
>  Regards,
> Benjamin
>
> On Tue, Nov 4, 2014 at 6:51 PM, Benjamin Gudehus <hasteb...@gmail.com>
> wrote:
>
>>  I see. Didn't know that. Thanks for the quick response.
>>
>>  Users from the TestFX project are interested in headless testing (e.g.
>> on Windows with Jenkins). There was a blog post [1] a while back, which
>> explained how to use TestFX and Java 8 to run headless tests. I've never
>> tried this myself, but recently added adapters for GlassRobot and the
>> JavaFX event robot to TestFX in order to allow headless testing.
>>
>>  [1]
>> http://ustesis.wordpress.com/2014/04/23/headless-ui-testing-with-testfx-and-javafx-8/
>>
>> On Tue, Nov 4, 2014 at 6:43 PM, Kevin Rushforth <
>> kevin.rushfo...@oracle.com> wrote:
>>
>>> Monocle is not included in any 8u release on desktop platforms (Windows,
>>> Linux, Mac).
>>>
>>> -- Kevin
>>>
>>>
>>>
>>> Benjamin Gudehus wrote:
>>>
>>>> Hi!
>>>>
>>>> I noticed `com.sun.glass.ui.monocle.MonoclePlatformFactory` is missing
>>>> from
>>>> `jfxrt.jar` at
>>>> least in the Windows and Linux builds of Java 8u25, although it is
>>>> included
>>>> in 8u20.
>>>>
>>>> Is there any specific reason why Monocle is not included? Is there a
>>>> way to
>>>> use Monocle
>>>> in 8u25?
>>>>
>>>> Regards
>>>> Benjamin
>>>>
>>>> (Crosspost from: https://community.oracle.com/message/12680634#12680634
>>>> )
>>>>
>>>>
>>>
>>
>

Reply via email to