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

3 JCK1.4a-runtime-api interactive menu tests failed

XMLWordPrintable

    • b16
    • x86, sparc
    • linux, solaris_8
    • Verified



      Name: icR10030 Date: 10/22/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b03
      JCK : JCK1.4a-runtime
      Platform[s] : Linux (GNOME)
      switch/Mode : -client -Xfuture
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]:
                api/javax_swing/interactive/JCheckBoxMenuItemTests.html#JCheckBoxMenuItem
                    [JCheckBoxMenuItemTest0003, JCheckBoxMenuItemTest0005, JCheckBoxMenuItemTest0006]
                api/javax_swing/interactive/JMenuItemTests.html#JMenuItem
                    [JMenuItemTest0004]
                api/javax_swing/interactive/JPMenuTests.html#JPMenuTests
                    [JPMenuTests0001, JPMenuTests0002, JPMenuTests0003, JPMenuTests0004, JPMenuTests0005,
                     JPMenuTests0006, JPMenuTests0007, JPMenuTests0008, JPMenuTests0009, JPMenuTests0010]

      3 JCK1.4a-runtime-api interactive menu tests fail on JDK1.4.2-b03 due to the following reason:
      if any part of JCheckBoxMenuItem, JMenuItem or JPMenu is out of main frame the menu disappears
      after cursor moving.
      The bug is reproducible with mantis b03 on Sawfish WM (Linux) with point-to-focus
      focus policy, with 'enter-exit' sub-option.

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4a/JCK-runtime-14a/tests/api/javax_swing/interactive

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/mantis/b03/jck14a/linux/turbo_gnome_client_incgc_linux-4/javax_swing/interactive/JCheckBoxMenuItemTests_JCheckBoxMenuItem.jtr
      /net/jtgb4u4c.eng/export/sail15/results/mantis/b03/jck14a/linux/turbo_gnome_client_incgc_linux-4/javax_swing/interactive/JMenuItemTests_JMenuItem.jtr
      /net/jtgb4u4c.eng/export/sail15/results/mantis/b03/jck14a/linux/turbo_gnome_client_incgc_linux-4/javax_swing/interactive/JPMenuTests_JPMenuTests.jtr

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

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

      JCK="/net/linux-15/export/home/java/jck1.4a/JCK-runtime-14a"
      JDK="/net/linux-15/export/home/java/jdk1.4.2/linux"
      switches="-Xincgc -Xfuture"
      CLASSPATH="$JCK/classes:$JCK/javatest.jar"

      $JDK/bin/java $switches -cp $CLASSPATH -Djava.security.policy=$JCK/lib/jck.policy javasoft.sqe.tests.api.javax.swing.interactive.JCheckBoxMenuItem.JCheckBoxMenuItemTests -TestDirURL file://$JCK/tests/api/javax_swing/interactive/JCheckBoxMenuItemTests.html#JCheckBoxMenuItem -TestCaseID JCheckBoxMenuItemTest0003 JCheckBoxMenuItemTest0005 JCheckBoxMenuItemTest0006

      --- script end ---

      Test output:
      ============
      JCheckBoxMenuItemTest0003: Failed. JCheckBoxMenuItem created by JCheckBoxMenuItem(Icon) constructor does not behave as expected.
      JCheckBoxMenuItemTest0005: Failed. JCheckBoxMenuItem created by JCheckBoxMenuItem(String, Icon) constructor does not behave as expected.
      JCheckBoxMenuItemTest0006: Failed. JCheckBoxMenuItem created by JCheckBoxMenuItem(String, Icon, boolean) constructor does not behave as expected.
      STATUS:Failed.test cases: 3; all failed; first test case failure: JCheckBoxMenuItemTest0003

      Specific machine info:
      ======================
      Hostname: linux-13
      OS: RedHat Linux 7.3 (GNOME)

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

      Name: icR10030 Date: 12/18/2002


      One more JCK1.4a test fails due to the bug:
      api/java_awt/interactive/PMenuTests.html#PMenuTests

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

      Name: icR10030 Date: 01/15/2003


      One more JCK1.4a test fails due to the bug: api/javax_swing/interactive/JComboBoxTests.html#JComboBox





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

            kizune Alexander Zuev
            ichesunw Iche Iche (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: