8u20: Request for feedback on unit test proposal
Daniel Blaukopf
daniel.blaukopf at oracle.com
Thu Jan 30 09:40:14 PST 2014
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