[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    RFR: 8282343: Create a regression test for JDK-4518432
From:       Manukumar V S <mvs () openjdk ! java ! net>
Date:       2022-02-24 11:57:32
Message-ID: rygpvWtk3UgIsffXwTUC6aTOGfOjfZRZexJaQmMLIGE=.d7ae758a-01bb-49dd-810f-1cd2b64cc326 () github ! com
[Download RAW message or body]

Create a regression test for \
[JDK-4518432](https://bugs.openjdk.java.net/browse/JDK-4518432).

Issue: Copying from JTree and then changing the data in the component that was copied \
from, can cause pastes to use   the new edited data.

This test verifies that copying from JTree node and then changing the data in the \
component that was copied from,  is not causing the pastes to use the new edited data \
instead of the original copied data.

Testing:
Java 1.4.0 -> Test Failed.
$ ./j2sdk1.4.0/bin/java JTreeWin
Testing L&F: javax.swing.plaf.metal.MetalLookAndFeel
Test Failed in javax.swing.plaf.metal.MetalLookAndFeel, Expected : "colorsblue", but \
actual : "ctextolorsblue" Testing L&F: \
com.sun.java.swing.plaf.windows.WindowsLookAndFeel Test Failed in \
com.sun.java.swing.plaf.windows.WindowsLookAndFeel, Expected : "colorsblue", but \
actual : "ctextolorsblue"

Java 1.4.1 -> Test Passed.
$ ./j2sdk1.4.1/bin/java JTreeWin
Testing L&F: javax.swing.plaf.metal.MetalLookAndFeel
Test Passed in javax.swing.plaf.metal.MetalLookAndFeel
Testing L&F: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Test Passed in com.sun.java.swing.plaf.windows.WindowsLookAndFeel

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

Commit messages:
 - 8282343: Create a regression test for JDK-4518432

Changes: https://git.openjdk.java.net/jdk/pull/7605/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7605&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8282343
  Stats: 237 lines in 1 file changed: 237 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7605.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7605/head:pull/7605

PR: https://git.openjdk.java.net/jdk/pull/7605


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic