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

javax/swing/DataTransfer/DnDAutoTests/ListAutoTest.java fails

XMLWordPrintable

      JDK : Fails: Mustang b88
                            Passes: Mustang b87
      Platform[s] : Fails On: Win XP Prof.
      Failing Test [s] : javax/swing/DataTransfer/DnDAutoTests/ListAutoTest.java

          Test source location:
          =====================
      /net/cady/export/jdk1.6.0/promoted/all/b88/ws/j2se/test/javax/swing/DataTransfer/DnDAutoTests/ListAutoTest.java

          jtr file location:
          ==================
      Please see attached jtr file.

          How to reproduce:
          ====================
          - Set JAVA_HOME to Mustang b88 windows-i586
          - cd /net/cady/export/jdk1.6.0/promoted/all/b88/ws/j2se/test/javax/swing/DataTransfer/DnDAutoTests
          - /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/win32/bin/jtreg -r:/tmp -w:/tmp ./ListAutoTest.java

          Test output:
          ============
      *********************************************
      **************** ListAutoTest ***************
      *********************************************
      Test Speed = NORMAL

      {{{ WRAP mode = Vertical

      ***
      *** Test 1/6: The USE_SELECTION mode
      ***
      STEP 1
      Check for: [Drop Location Info: testName = Test 1/6, stepNumber = 1, required isInsert = false, required index = 15]
      false:15
      display: Dropped on top of "List Item 15"
      STEP 2
      Check for: [Drop Location Info: testName = Test 1/6, stepNumber = 2, required isInsert = false, required index = 19]
      false:19
      display: Dropped on top of "Drop here, no selection 19"
      STEP 3
      No drop as expected.
      STEP 4
      No drop as expected.
      STEP 5
      No drop as expected.
      STEP 6
      Check for: [Drop Location Info: testName = Test 1/6, stepNumber = 6, required isInsert = false, required index = -1]
      false:-1
      display: Dropped in empty space

      ***
      *** Test 2/6: The ON mode
      ***
      STEP 1
      Check for: [Drop Location Info: testName = Test 2/6, stepNumber = 1, required isInsert = false, required index = 15]
      false:15
      display: Dropped on top of "List Item 15"
      STEP 2
      Check for: [Drop Location Info: testName = Test 2/6, stepNumber = 2, required isInsert = false, required index = 19]
      false:19
      display: Dropped on top of "Drop here, no selection 19"
      STEP 3
      No drop as expected.
      STEP 4
      No drop as expected.
      STEP 5
      No drop as expected.
      STEP 6
      Check for: [Drop Location Info: testName = Test 2/6, stepNumber = 6, required isInsert = false, required index = -1]
      false:-1
      display: Dropped in empty space

      ***
      *** Test 3/6: The INSERT mode
      ***

      STEP 1
      Check for: [Drop Location Info: testName = Test 3/6, stepNumber = 1, required isInsert = true, required index = 0]
      true:0
      display: Dropped at beginning of list
      STEP 2
      Check for: [Drop Location Info: testName = Test 3/6, stepNumber = 2, required isInsert = true, required index = 29]
      true:29
      display: Dropped at end of list
      STEP 3
      Check for: [Drop Location Info: testName = Test 3/6, stepNumber = 3, required isInsert = true, required index = 5]
      true:5
      display: Dropped between "List Item 4" and "List Item 5"
      STEP 4
      Check for: [Drop Location Info: testName = Test 3/6, stepNumber = 4, required isInsert = true, required index = 0]
      true:0
      display: Dropped at beginning of list

      ***
      *** Test 4/6: The ON_OR_INSERT mode
      ***

      STEP 1
      Check for: [Drop Location Info: testName = Test 4/6, stepNumber = 1, required isInsert = true, required index = 0]
      true:0
      display: Dropped at beginning of list
      STEP 2
      Check for: [Drop Location Info: testName = Test 4/6, stepNumber = 2, required isInsert = true, required index = 29]
      true:29
      display: Dropped at end of list
      STEP 3
      Check for: [Drop Location Info: testName = Test 4/6, stepNumber = 3, required isInsert = true, required index = 3]
      true:3
      display: Dropped between "List Item 2" and "List Item 3"
      STEP 4
      Check for: [Drop Location Info: testName = Test 4/6, stepNumber = 4, required isInsert = true, required index = 19]
      true:19
      display: Dropped between "Drop here, no selection 18" and "Drop here, no selection 19"
      STEP 5
      Check for: [Drop Location Info: testName = Test 4/6, stepNumber = 5, required isInsert = true, required index = 23]
      true:23
      display: Dropped between "No drop here 22" and "No drop here 23"
      STEP 6
      Check for: [Drop Location Info: testName = Test 4/6, stepNumber = 6, required isInsert = true, required index = 27]
      true:27
      display: Dropped between "No drop here, but show selection 26" and "No drop here, but show selection 27"
      STEP 7
      Check for: [Drop Location Info: testName = Test 4/6, stepNumber = 7, required isInsert = false, required index = 3]
      false:3
      display: Dropped on top of "List Item 3"
      STEP 8
      Check for: [Drop Location Info: testName = Test 4/6, stepNumber = 8, required isInsert = false, required index = 19]
      false:19
      display: Dropped on top of "Drop here, no selection 19"


      }}})

      {{{ WRAP mode = Vertical Wrap

      ***
      *** Test 1/6: The USE_SELECTION mode
      ***
      STEP 1
      Check for: [Drop Location Info: testName = Test 1/6, stepNumber = 1, required isInsert = false, required index = 15]
      false:15
      display: Dropped on top of "List Item 15"
      STEP 2
      Check for: [Drop Location Info: testName = Test 1/6, stepNumber = 2, required isInsert = false, required index = 19]
      false:19
      display: Dropped on top of "Drop here, no selection 19"
      STEP 3
      No drop as expected.
      STEP 4
      No drop as expected.
      STEP 5
      No drop as expected.
      STEP 6
      Check for: [Drop Location Info: testName = Test 1/6, stepNumber = 6, required isInsert = false, required index = -1]
      false:-1
      display: Dropped in empty space

      ***
      *** Test 2/6: The ON mode
      ***
      STEP 1
      Check for: [Drop Location Info: testName = Test 2/6, stepNumber = 1, required isInsert = false, required index = 15]
      false:15
      display: Dropped on top of "List Item 15"
      STEP 2
      Check for: [Drop Location Info: testName = Test 2/6, stepNumber = 2, required isInsert = false, required index = 19]
      false:19
      display: Dropped on top of "Drop here, no selection 19"
      STEP 3
      No drop as expected.
      STEP 4
      No drop as expected.
      STEP 5
      No drop as expected.
      STEP 6
      Check for: [Drop Location Info: testName = Test 2/6, stepNumber = 6, required isInsert = false, required index = -1]
      false:-1
      display: Dropped in empty space

      ***
      *** Test 3/6: The INSERT mode
      ***

      STEP 1
      Check for: [Drop Location Info: testName = Test 3/6, stepNumber = 1, required isInsert = true, required index = 0]
      true:0
      display: Dropped at beginning of list
      STEP 2
      Check for: [Drop Location Info: testName = Test 3/6, stepNumber = 2, required isInsert = true, required index = 29]
      true:29
      display: Dropped at end of list
      STEP 3
      Check for: [Drop Location Info: testName = Test 3/6, stepNumber = 3, required isInsert = true, required index = 5]
      true:5
      display: Dropped between "List Item 4" and "List Item 5"
      STEP 4
      Check for: [Drop Location Info: testName = Test 3/6, stepNumber = 4, required isInsert = true, required index = 0]
      true:0
      display: Dropped at beginning of list

      ***
      *** Test 4/6: The ON_OR_INSERT mode
      ***

      STEP 1
      Check for: [Drop Location Info: testName = Test 4/6, stepNumber = 1, required isInsert = true, required index = 0]
      true:0
      display: Dropped at beginning of list
      STEP 2
      Check for: [Drop Location Info: testName = Test 4/6, stepNumber = 2, required isInsert = true, required index = 29]
      true:29
      display: Dropped at end of list
      STEP 3
      ----------System.err:(20/1196)----------
      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 ListAutoTest$ListAutoTestFrame.doRobotWork_ON_OR_INSERT_Test_4(ListAutoTest.java:985)
              at ListAutoTest.doTestsImpl(ListAutoTest.java:176)
              at ListAutoTest.doTests(ListAutoTest.java:142)
              at DnDTest.execute(DnDTest.java:111)
              at ListAutoTest.main(ListAutoTest.java:214)
              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)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed: an expected drop has not occured.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed: an expected drop has not occured.
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed: an expected drop has not occured.

            mknyazevsunw Michael Knyazev (Inactive)
            jaleesunw James Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: