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

REGRESSION: JCK1.5 test api/javax_swing/interactive/JMenuTests.html#JMenu fails

    Details

      Description



      Name: iaR10016 Date: 08/19/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b15
                        (not reproducible with JDK1.4.2-b28)
      JCK : JCK1.5-runtime (b02), JCK1.4a
      Platforms : all
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test : api/javax_swing/interactive/JMenuTests.html#JMenu
                        [JMenuTest0002, JMenuTest0003, JMenuTest0004, JMenuTest0005,
                         JMenuTest0006, JMenuTest0007, JMenuTest0008, JMenuTest0009,
                         JMenuTest0010, JMenuTest0011, JMenuTest0012]

      JCK1.5-runtime api/javax_swing/interactive/JMenuTests.html#JMenu test fails with JDK1.5.0-b15.
      Please, run the script from "How to reproduce" section and do the following steps to
      reproduce the failure:

      1. click on tested JMenu component in JMenuTest001 testcase frame.
          Empty JMenu component becomes selected.

      2. click on the JMenu once more. JMenu becomes deselected.
          JMenu behaves as expected (the testcase passes), so click "Yes" button.

      3. JMenuTest002 frame appears. Click on the JMenu component. It becomes selected. Click it
          once more and deselect JMenu.

      Try to do some mouse actions inside tested frame now (for example, click "Yes" or "No" buttons).
      The only mouse actions which you are able to do are actions with JMenu, so the test fails with
      timeout.

      I am not able to reproduce the failure if I exclude JMenuTest001 testcase which verifies the
      behavior of empty JMenu created using default JMenu constructor.

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

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/jck15/linux/suse8.0_gnome_server_linux-2/workDir/api-interactive/javax_swing/interactive/JMenuTests_JMenu.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change it's variables)

      --- script start ---
      #!/bin/bash
      JCK="/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15"
      JDK="/java/re/jdk/1.5.0/promoted/latest/binaries/solaris-sparc"
      #JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
      #JDK="/net/linux-15/export/home/java/jdk1.5.0/linux"
      export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      $JDK/bin/java javasoft.sqe.tests.api.javax.swing.interactive.JMenu.JMenuTests
      --- script end ---

      Specific machine info:
      ======================
      Hostname: linux-2
      OS: Suse Linux 8.2 (GNOME2)

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kizune Alexander Zuev
                Reporter:
                irasunw Ira Ira (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: