[8] Review Request: JDK-8026871 NASHORN TEST: Enable possibility to test Nashorn use of JavaFX canvas.

Konstantin Shefov konstantin.shefov at oracle.com
Sun Oct 20 14:11:35 PDT 2013


18.10.2013 18:36, Jim Laskey (Oracle) пишет:
> +1
>
> Why is there a difference between linux kaleidoscope.png and those of mac and windows?
On different platforms there are different screenshots, they have 
different size and slightly different color.
>
>
>
> On 2013-10-18, at 11:20 AM, Konstantin Shefov <konstantin.shefov at oracle.com> wrote:
>
>> Hello,
>>
>> Please review a new Nashorn test feature:
>>
>> JDK-8026871 NASHORN TEST: Enable possibility to test Nashorn use of JavaFX canvas.
>>
>> https://bugs.openjdk.java.net/browse/JDK-8026871
>>
>> The webrev is: http://cr.openjdk.java.net/~kshefov/8026871/webrev.00
>>
>> Nashorn can use JavaFX canvas to draw images like it is in HTML5.
>>
>> The possibility of testing this should be added to Nashorn WS.
>> 2 example tests were made (drawing algorithms were taken from Google Experiments).
>> Later more tests will be added.
>>
>> To run JavaFX Nashorn tests one should go to $NASHORN_WS/make directory and type
>> $ANT_HOME/bin/ant testjfx
>>
>> The host where the tests are run should have a display connected.
>>
>> Thanks,
>> Konstantin



More information about the nashorn-dev mailing list