RFR: 8333403: Write a test to check various components events are triggered properly [v6]

Alexey Ivanov aivanov at openjdk.org
Wed Sep 4 16:15:31 UTC 2024


On Mon, 5 Aug 2024 11:52:45 GMT, Ravi Gupta <rgupta at openjdk.org> wrote:

> when form Frame.ICONIFIED to Frame.NORMAL componentMoved and componentResized events are triggered

Then verify that these events are triggered:


-        if (componentShown || componentHidden) {
+        if (componentShown || componentHidden || !componentMoved
+            || !componentResized) {

Otherwise it looks as if you forgot to test something. You may have two `if` statements to print more precise error message.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/19521#discussion_r1744049100


More information about the client-libs-dev mailing list