8u20: Request for feedback on unit test proposal

Tom Eugelink tbee at tbee.org
Thu Jan 30 10:09:51 PST 2014

Am I to understand that this is using the VNC server? Because I'm not seeing the tell-tale -D parameters in the gradle.build. Or is this actually running on-screen?


On 2014-1-30 18:40, Daniel Blaukopf wrote:
> Hi,
> I put up on https://javafx-jira.kenai.com/browse/RT-35396 a draft of what our unit tests might look like if we were to run them on top of the real Quantum Toolkit instead of StubToolkit. The main problem is how to solve the threading: tests that use StubToolkit are all accessing the toolkit and scene graph on the main thread, which you can’t do in Quantum.
> A webrev is here: http://cr.openjdk.java.net/~dblaukop/webrev-20140123-1559-RT-35330/webrev
> It’s not complete. I rewrote some tests to correct the threading, but many other problems remain, like that tests call methods on StubToolkit that are not part of the Toolkit interface. For a start I’d like feedback on how we get around the threading problems in JUnit.
> Thanks,
> Daniel

More information about the openjfx-dev mailing list