RFR: JDK-8340555 : Open source DnD tests - Set4 [v8]

Andrey Turbanov aturbanov at openjdk.org
Thu Oct 3 06:03:42 UTC 2024


On Wed, 2 Oct 2024 17:49:41 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>> Following tests are added as part of this PR:
>> 
>> 1. /java/awt/dnd/DnDHTMLToOutlookTest/DnDHTMLToOutlookTest.java - **Manual PassFailJFrame (PFJ) test**, problemlisted on all platforms.
>> 
>> 2. java/awt/dnd/DragSourceMotionListenerTest.java -  **Automated test**, problemlisted on windows
>> 
>> 3. /java/awt/dnd/DragToAnotherScreenTest.java - **Manual PFJ test**
>> 
>> 4. /java/awt/dnd/RejectDragTest.java - **Automated test**, problemlisted on macOS
>
> Harshitha Onkar has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - unused import
>  - RejectDragTest

test/jdk/java/awt/dnd/DnDHTMLToOutlookTest/DnDSource.java line 61:

> 59:         try {
> 60:             m_df = new DataFlavor("text/html; Class=" + InputStream.class.getName() + "; charset=UTF-8");
> 61:         } catch(Exception e) {

Suggestion:

        } catch (Exception e) {

test/jdk/java/awt/dnd/DnDHTMLToOutlookTest/DnDSource.java line 87:

> 85:                 }
> 86:             );
> 87:         } catch(Exception e) {

Suggestion:

        } catch (Exception e) {

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21213#discussion_r1785671260
PR Review Comment: https://git.openjdk.org/jdk/pull/21213#discussion_r1785671338


More information about the client-libs-dev mailing list