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

REGRESSION: JCK1.5 api/javax_swing/interactive/...JCheckBoxMenuItem fails

XMLWordPrintable



      Name: vpR10072 Date: 11/28/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b29
                        (passes with JDK1.4.2-b28, but fails for all JDK1.5.0-b19 up to b29)
      JCK : JCK1.5-runtime (b08)
      Platform[s] : all
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing test[s]:
               api/javax_swing/interactive/JCheckBoxMenuItemTests.html#JCheckBoxMenuItem
               [JCheckBoxMenuItemTest0001, JCheckBoxMenuItemTest0002, JCheckBoxMenuItemTest0003]

      JCK1.5-runtime api/javax_swing/interactive/JCheckBoxMenuItemTests.html#JCheckBoxMenuItem
      test fails with JDK1.5.0-b29

      Please, run the script from "How to reproduce" section and make needed actions
      to reproduce the failure.

      Test source location:
      =====================
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_swing/interactive/JCheckBoxMenuItemTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b29/jck15/linux/redhat9.0_gnome_smp_plugin_ns7_linux-22/workDir/api-interactive/javax_swing/interactive/JCheckBoxMenuItemTests_JCheckBoxMenuItem.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables
      and architecture).

      --- script start --- on linux ---
      #!/bin/bash

      #Paths in Java Software:
      JDK="/java/re/jdk/1.5.0/promoted/all/b29/binaries/linux-i586"
      JCK="/java/re/jck/1.5/promoted/beta/b08/binaries/JCK-runtime-15"

      #Alternative paths outside Java Software:
      #JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b29/binaries/linux-i586"
      #JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b08/binaries/JCK-runtime-15"

      #Alternative paths for the NSK site:
      #JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
      #JDK="/net/linux-15/export/home/java/jdk1.5.0/linux"

      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

      $JDK/bin/java -cp $CLASSPATH javasoft.sqe.tests.api.javax.swing.interactive.JCheckBoxMenuItem.JCheckBoxMenuItemTests -TestCaseID JCheckBoxMenuItemTest0001 JCheckBoxMenuItemTest0002 JCheckBoxMenuItemTest0003 -TestDirURL file:///$JCK/tests/api/javax_swing/interactive/JCheckBoxMenuItemTests.html#JCheckBoxMenuItem
      --- script end ---

      When `JCheckBoxMenuItem() Constructor Test'... window is created,
      you can see a menubar with six menus in it.

      Please, move mouse-pointer to the first menu with name `Menu1' and
      push right mouse button: first pop-up menu will appear.
      After that move mouse-pointer to the next item with name `Menu2' and
      again push right mouse button: second pop-up menu will appear
      but previous pop-up menu is not disappeared. This is incorrect behaviour
      for pop-ups.
      You can do this actions for all menus and will see all pop-up menus together.
      Only if a menu item is pushed using left mouse button and
      mouse-pointer is moved from `Menu1' up to `Menu6' then all pop-ups
      disappear.

      ======================================================================

            kizune Alexander Zuev
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: