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

JCK13a, interactive: FileDialog(Frame) does not fill files list

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description



      Name: icR10030 Date: 01/30/2001


      java_awt FileDialog created by FileDialog(Frame) constructor does not fill files list

      Failing Test:
      =============
      api/java_awt/interactive/FileDialogTests.html#FileDialogTests
      api/java_awt/interactive/ComponentTests.html#ComponentTests

      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)

      -verify -Xfuture

      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/java_awt/interactive/FileDialogTests_FileDialogTests.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-13a

      executeClass="javasoft.sqe.tests.api.java.awt.interactive.FileDialog.FileDialogTests"
      executeContextArgs=""
      excludeCmd=
      executeClassArgs=
      executeTestURL=

      #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)

      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.
      STATUS:Failed.tests: 6; failed: 6; first test case failure: FileDialogTest0001
      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

          Activity

            People

            Assignee:
            dmikhalksunw Denis Mikhalkin (Inactive)
            Reporter:
            ichesunw Iche Iche (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: