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

JCK 14 : api/java_awt/interactive/FileDialogTests jdk1.4.0-beta2_b77 ,C1 ,C2

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      generic

      Description


            JDK : 1.4.0-beta2-b77
            JCK : JCK1.4
            Platform[s] : Solaris(Sparc & x86)
            switch/Mode : All
            JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
            Failing Test [s] : api/java_awt/interactive/FileDialogTests.html

      SubTest Names:
      ==============

      FileDialogTest0001
      FileDialogTest0002
      FileDialogTest0003
      FileDialogTest0004
      FileDialogTest0005
      FileDialogTest0006

       
            Test source location:
            =====================
            api test source:
            file:/net/jtgb4u4c/export/sail16/JCK/jck14/JCK-runtime-14/tests/api/java_awt/interactive/FileDialogTests.java

            jtr file location:
            ==================
            The jtr files are under the following base dir
            
      file:/net/jtg-i104/export/home/jtg-test/b77_beta2/jck14/jtg-i104_s6_NS476/workDir/api/java_awt/interactive/FileDialogTests_FileDialogTests.jtr

            How to reproduce:
            ====================
           Run The Attached Script:

           FileDialogTests.ksh

           Steps to Reproduce:
           -------------------
      1) Run the Script
      2) Click on Show File Dialog
      3) When double clicked on any one of the directorys the files in that directory are not displayed, the dialog box close when u click on one of the directory.

       Script#
       -------
      #!/bin/ksh
      SWITCH=${1+$@}
      tmp=`uname -p`
      echo $tmp
      JDK=/net/jdk/export/disk8/local.java/jdk1.4

      TESTBASE=/net/jtgb4u4c.eng/export/sail16/JCK/jck14
      JCK=${TESTBASE}/JCK-runtime-14

      executeClass=javasoft.sqe.tests.api.java.awt.interactive.FileDialog.FileDialogTests
      excludeCmd=
      executeClassArgs=
      executeTestURL=
      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}
      LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
      PATH=$JDK/bin:$sharedJDK/bin:$PATH

      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH

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

            Test output:
            =============
            
      FileDialogTest0001: Failed. FileDialog created by FileDialog(Frame) constructor does not look and behave correctly.
      FileDialogTest0002: Failed. FileDialog created by FileDialog(Frame,String) constructor does not look and behave correctly.
      FileDialogTest0003: Failed. FileDialog created by FileDialog(Frame,String,int) constructor does not look and behave correctly FileDialog mode LOAD.
      FileDialogTest0004: Failed. FileDialog created by FileDialog(Frame,String,int) constructor does not look and behave correctly FileDialog mode SAVE.
      FileDialogTest0005: Failed. FileDialog test does NOT work as expected.
      FileDialogTest0006: Failed. FileDialog test does NOT work as expected.
      result: Failed. tests: 6; failed: 6; first test case failure: FileDialogTest0001

      result: Failed. tests: 6; failed: 6; first test case failure: FileDialogTest0001




            Specific Machine Info:
            =====================
            For Solaris[sparc/x86] ->

            jtg-i104>uname -a
      SunOS jtg-i104 5.6 Generic_105182-25 i86pc i386 i86pc

      jtg-s111>uname -a
      SunOS jtg-s111 5.8 Generic sun4u sparc SUNW,Ultra-2


      ###@###.### 2001-08-24

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mmartaksunw Michael Martak (Inactive)
              Reporter:
              ssubramasunw Suresh Subramaniam (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: