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

JCK1.4 :api/java_awt/interactive/event/EventTests,C1,C2,Sol-OpenWin,jdk1.4_b80

XMLWordPrintable

    • fcs
    • x86, sparc
    • generic
    • Verified

      Bug Description:
      ================

      The Test Failed for Solaris (Sparc & x86) OpenWin.

      For OpenWin:
      ============
      1.The Event "Component Moved" CheckBox is Checked before the Event is Generated .
      2.The following Events CheckBox are not Checked when the Event is genereated

      1.Key Typed
      2.Key Pressed
      3.Key Released
      4.Focus Lost
      5.Focus Gained
      --------------------------------------------------------------------------------

      JDK : build 1.4.0-beta3-b80
      JCK : JCK1.4
      Platform[s] : Solaris (Sparc & x86 )[OpenWin and CDE]
      switch/Mode : -client -Xmixed
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/java_awt/interactive/event/EventTests.html#EventTest0018

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

      jtr file location:
      ==================
      file:/net/jtgb4u4c.sfbay/export/sail16/results/merlin/b79/jck14/sparc/s6_plugin_ns4.76_jtg-s116/workDir/api-interactive/java_awt/interactive/event/EventTests_EventTest0018.jtr

      How to reproduce:
      =================
      Run the Attached Script:
      EventTests.ksh
      ********Script Starts****************************************
      #!/bin/ksh
      SWITCH=${1+$@}
      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
      #JDK=/net/jdk/export/disk6/promoted/jdk/1.4/beta3/b82/binaries
      TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
      JCK=${TESTBASE}/JCK-runtime-14
      executeClass="javasoft.sqe.tests.api.java.awt.interactive.event.EventTests"
      excludeCmd=""
      executeClassArgs="-TestCaseID EventTest0018"
      executeTestURL=""
      headless=
      executeContextArgs=

      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}

      if `echo $SWITCH|grep "\-d64" >/dev/null`; then
        LD_LIBRARY_PATH=${JCK}/lib/sparcv9
      else
        LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
      fi


      PATH=$JDK/bin:$sharedJDK/bin:$PATH

      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH


      echo
      java ${SWITCH} -version
      echo
      ((x=0))
      while (( $x != 1 )) do
      echo testing $x

      java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.security.auth.policy=${JCK}/lib/jck.auth.policy -Djava.security.auth.login.config=${JCK}/lib/jck.auth.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
      (( x = $x + 1 ))
      done


      ********Script End********************************************


      Test output:
      =============
      EventTest0018: Failed. All event checkboxes NOT checked via generation of window events.
      STATUS:Failed.tests: 1; failed: 1; first test case failure: EventTest0018

      Specific Machine Info:
      ======================
      SunOS jtg-s116 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-2



      ###@###.### 2001-09-21

            mbronsonsunw Mike Bronson (Inactive)
            ssubramasunw Suresh Subramaniam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: