RFR: 8328301: Convert Applet test ManualHTMLDataFlavorTest.java to main program [v2]

Phil Race prr at openjdk.org
Thu Mar 21 18:05:32 UTC 2024


On Thu, 21 Mar 2024 15:20:16 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8328301
>
> test/jdk/java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest.java line 126:
> 
>> 124:         3) Check the data in the output area of this window,
>> 125:         5) The output should not contain information that any of,
>> 126:            flavors is not present in the system clipboard,
> 
> I believe this condition can be verified automatically. If any missing data flavour should result in test failure, the test could be failed with `PassFailJFrame.forceFail`.

I experimented with the user experience of that. You drag something, drop it and and the test just vanishes.
I don't like the user experience and so I'd have to write a popup which first explains it to the user.
I think it better to keep things as they are.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18334#discussion_r1534393927


More information about the client-libs-dev mailing list