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

Rajeev Chamyal rajeev.chamyal at oracle.com
Mon Jul 18 10:28:49 UTC 2016


Looks fine to me.

 

Regards,

Rajeev Chamyal

 

From: Alexandr Scherbatiy 
Sent: 14 July 2016 20:45
To: Manajit Halder
Cc: awt-dev at openjdk.java.net; Avik Niyogi
Subject: Re: <AWT Dev> <AWT dev>[9] Review request for JDK-8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT

 

The fix looks good to me.

Thanks,
Alexandr.

On 7/12/2016 2:47 PM, Manajit Halder wrote:

Hi Alexandr, 

 

Thank you for the review comments. Code is modified as per you suggestion. RobotUtilities class is replaced with direct calls to corresponding methods in Robot class and also Util class is used in some places.

Please review the modified code.

 

HYPERLINK "http://cr.openjdk.java.net/%7Emhalder/8160266/webrev.01/"http://cr.openjdk.java.net/~mhalder/8160266/webrev.01/

 

Thanks,

Manajit

 

 

On 08-Jul-2016, at 3:57 pm, Alexandr Scherbatiy <HYPERLINK "mailto:alexandr.scherbatiy at oracle.com"alexandr.scherbatiy at oracle.com> wrote:

 


Is it possible to get rid of the RobotUtilities class? Methods like RobotUtilities.pressKey(int num)/releaseKey(int num) are just direct calls to the corresponding methods in Robot.
Other necessary methods can be added to  test/java/awt/regtesthelpers/Util.java

Thanks,
Alexandr.

On 7/7/2016 1:32 PM, Manajit Halder wrote:

Hi All, 

 

Gentle remainder. Please review the fix for issue https://bugs.openjdk.java.net/browse/JDK-8160266.

 

Thanks,

Manajit

 

On 24-Jun-2016, at 8:53 pm, Manajit Halder <HYPERLINK "mailto:manajit.halder at oracle.com"manajit.halder at oracle.com> wrote:

 

Hi Sergey,

 

Kindly review the fix for JDK9.

 

Bug: 

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

 

Webrev: 

HYPERLINK "http://cr.openjdk.java.net/%7Emhalder/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/20160718/7a4d8778/attachment-0001.html>


More information about the awt-dev mailing list