<AWT Dev> <AWT dev>[9] Review request for [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT

Manajit Halder manajit.halder at oracle.com
Fri Jun 24 15:23:51 UTC 2016


Hi Sergey,

Kindly review the fix for JDK9.

Bug: 
https://bugs.openjdk.java.net/browse/JDK-8160266 <https://bugs.openjdk.java.net/browse/JDK-8160266>

Webrev: 
http://cr.openjdk.java.net/~mhalder/8160266/webrev.00/ <http://cr.openjdk.java.net/~mhalder/8160266/webrev.00/>

Issue: 
[macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT

Cause: 
Both the tests were written using unit.framework.

Fix: 
Test files are modified to remove the dependency of junit.framework and related API calls. Test files were moved from MACOSX_PORT to the current JDK 9 codebase and added at the corresponding folder location:
test/java/awt/Dialog/NestedDialogs/Modal/NestedModalDialogTest.java
test/java/awt/Dialog/NestedDialogs/Modeless/NestedModelessDialogTest.java

Along with the test file 3 supporting files are also moved. The files are:
test/java/awt/regtesthelpers/RobotUtilities.java
test/java/awt/regtesthelpers/VisibilityValidator.java
test/java/awt/regtesthelpers/Waypoint.java


Regards,
Manajit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20160624/f1c2e41c/attachment.html>


More information about the awt-dev mailing list