Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6429090

Regression: javax/swing/DataTransfer/DnDAutoTests/TreeAutoTest.java fails

XMLWordPrintable

      JDK Version: 1.6.0-beta2-b84, b77
      Platform: solaris-sparc 10 sun4u sparc SUNW,Ultra-5_10
      Failing test: javax/swing/DataTransfer/DnDAutoTests/TreeAutoTest.java

      Test ssource location:
      /java/re/jdk/1.6.0/promoted/latest/ws/j2se/test/javax/swing/DataTransfer/DnDAutoTests/TreeAutoTest.java

      Problems:
      When run the test in mustang promoted build b84 and trace back to b77, the test fails with the following exceptions, the exceptions are different with mustang b50 exceptions:

      java.lang.RuntimeException: Test failed: an expected drop has not occured.
      at DnDTest.managedWaitForDrop_END(DnDTest.java:174)
      at DnDTest.managedMouseRelease(DnDTest.java:155)
      at DnDTest.managedMouseRelease(DnDTest.java:149)
      at TreeAutoTest$TreeAutoTestFrame.doRobotWork_ON_OR_INSERT_Test_4(TreeAutoTest.java:634)
      at TreeAutoTest.doTests(TreeAutoTest.java:137)
      at DnDTest.execute(DnDTest.java:111)
      at TreeAutoTest.main(TreeAutoTest.java:160)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:589)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
      at java.lang.Thread.run(Thread.java:619)

      Please see attached TreeAutoTest.jtr for more details.

      But if I run the test by using mustang b50, I got diff exceptions:
       
      java.lang.RuntimeException: Test failed: 'sports' != 'food'
      at TreeAutoTest$TreeAutoTestFrame.managedWaitCorrectSelection(TreeAutoTest.java:1075)
      at TreeAutoTest$TreeAutoTestFrame.impl_ON_AND_USE_SELECTION(TreeAutoTest.java:783)
      at TreeAutoTest$TreeAutoTestFrame.doRobotWork_USE_SELECTION_Test_1(TreeAutoTest.java:258)
      at TreeAutoTest.doTests(TreeAutoTest.java:125)
      at DnDTest.execute(DnDTest.java:111)
      at TreeAutoTest.main(TreeAutoTest.java:160)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
      at java.lang.Thread.run(Thread.java:608)

            shickeysunw Shannon Hickey (Inactive)
            ttzhang Tao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: