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

JCK13a, interactive: some swing components do not response to keyboard

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description



      Name: icR10030 Date: 01/30/2001


      Some swing components do not response to keyboard.

      Failing Test:
      =============
      api/javax_swing/interactive/JComboBoxTests.html#JComboBox
      api/javax_swing/interactive/JToggleButtonTests.html#JToggleButton
      api/javax_swing/interactive/JMenuItemTests.html#JMenuItem
      api/javax_swing/interactive/JButtonTests.html#JButton

      JCK :
      =====
      jck1.3a

      Platforms:
      =============
      RedHat 6.2

      JDK, switches Info:
      ===================
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b49)
      Java HotSpot(TM) Client VM (build 1.4beta-B49, mixed mode)

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail7/JavaWebServer1.1.3/public_html/QA/merlin/b49/jck13a/linux/redhat6.2_single_kde_client_linux-13/workDir/api-interactive/javax_swing/interactive/JComboBoxTests_JComboBox.jtr
      /net/jtgb4u4c.eng/export/sail7/JavaWebServer1.1.3/public_html/QA/merlin/b49/jck13a/linux/redhat6.2_single_kde_client_linux-13/workDir/api-interactive/javax_swing/interactive/JToggleButtonTests_JToggleButton.jtr
      /net/jtgb4u4c.eng/export/sail7/JavaWebServer1.1.3/public_html/QA/merlin/b49/jck13a/linux/redhat6.2_single_kde_client_linux-13/workDir/api-interactive/javax_swing/interactive/JMenuItemTests_JMenuItem.jtr
      /net/jtgb4u4c.eng/export/sail7/JavaWebServer1.1.3/public_html/QA/merlin/b49/jck13a/linux/redhat6.2_single_kde_client_linux-13/workDir/api-interactive/javax_swing/interactive/JButtonTests_JButton.jtr

      How to reproduce:
      ====================
      Run following script ( you may need to change some environment variables ):
      #!/bin/ksh
      #
      # README: Modify these threev variables to fit your need:
      #
      # - ${executeClass}
      # - ${excludeCmd}
      # - ${executeClassArgs}
      # - ${executeContextArgs}
      # - ${executeTestURL}
      #
      #################################

      SWITCH=${1+$@}

      #This is where you want the JDK to be use.
      #Example: JDK=/net/jdk/export/disk8/local.java/jdk1.3.1
      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0

      #This is where you want the JCK to be use.
      #Example: TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a

      TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a

      JCK=${TESTBASE}/JCK-runtime-13fcs

      executeClass="javasoft.sqe.tests.api.javax.swing.interactive.JButton.JButtonTests"
      executeContextArgs=""
      excludeCmd=
      executeClassArgs="-TestCaseID JButtonTest0010"
      executeTestURL="-TestDirURL file:///${JCK}/tests/api/javax_swing/interactive/JButtonTests.html#JButton"

      #Example:
      #
      #executeClass=javasoft.sqe.tests.api.javax.swing.SwingUtilities.otherTests
      #excludeCmd="-exclude JComboBox2027,JComboBox2026,JComboBox2028"
      #executeClassArgs="-TestCaseID ALL"
      #executeContextArgs="-nativeCodeSupported true"
      #executeTestURL="-TestURL file:/net/ultraowl.eng/export/ultraowl1/javatb/testbase/src/JCK-runtime-13fcs/tests/api/signaturetest/SignatureTest.html#CORBASignatureTest -FileName jdk1_3.CORBA.sig -Package org.omg"


      case `uname -s` in
        SunOS)
         ARCH=`uname -p`
         case $ARCH in
          sparc)
            sharedJDK=$JDK/solsparc
            ;;
          i386)
            sharedJDK=$JDK/solx86
            ;;
         esac
         ;;
        Linux)
         sharedJDK=$JDK/linux-i386
         ARCH=linux
         ;;
      esac

      CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
      DISPLAY=${DISPLAY-$HOST:0.0}
      LD_LIBRARY_PATH=${TESTBASE}/lib:${JCK}/lib/${ARCH}
      PATH=$JDK/bin:$sharedJDK/bin:$PATH

      export PATH
      export CLASSPATH
      export DISPLAY
      export LD_LIBRARY_PATH

      echo
      java ${SWITCH} -version
      echo
      java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
      echo return=$?
      exit


      Test output:
      =============

      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b49)
      Java HotSpot(TM) Client VM (build 1.4beta-B49, mixed mode)

      JButtonTest0010: Failed. setMnemonic() method does not work as expected.
      STATUS:Failed.tests: 1; failed: 1; first test case failure: JButtonTest0010
      return=97

      Specific Machine Info:
      =====================
      Hostname: linux-13

      Additional JCK related info:
      ============================
      URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mbronsonsunw Mike Bronson (Inactive)
                Reporter:
                ichesunw Iche Iche (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: