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

JCK1.4a-runtime: awt FileDialog does not work as expected

XMLWordPrintable

    • tiger
    • x86, sparc, itanium
    • linux, solaris_8, solaris_9
    • Verified



      Name: icR10030 Date: 11/26/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b08
      JCK : JCK1.4a-runtime
      Platform[s] : Linux, Solaris 9 (sparc) (CDE)
      switch/Mode : -client, -Xbatch -Xdebug -Xfuture
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]:
                 api/java_awt/interactive/ComponentTests.html#ComponentTests [ComponentTest0002, ComponentTest0003]
                 api/java_awt/interactive/FileDialogTests.html#FileDialogTests [FileDialogTest0001, FileDialogTest0002, FileDialogTest0003, FileDialogTest0004, FileDialogTest0005,
      FileDialogTest0006]

      2 JCK1.4a-runtime tests fail on JDK1.4.2-b08
      awt FileDialog does not work as expected: the value of the "Filter" field does not affect on "Files" list.

      Test source location:
      =====================
      /java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/java_awt/interactive/ComponentTests.java
      /java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/java_awt/interactive/FileDialogTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/mantis/b08/jck14a/sparc/sol9_sparc_client_batch_debug_novo48/java_awt/interactive/ComponentTests_ComponentTests.jtr
      /net/jtgb4u4c.eng/export/sail15/results/mantis/b08/jck14a/sparc/sol9_sparc_client_batch_debug_novo48/java_awt/interactive/FileDialogTests_FileDialogTests.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/sparc"
      switches="-Xbatch -Xdebug -Xfuture"
      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

      $JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.awt.interactive.FileDialog.FileDialogTests -TestCaseID FileDialogTest0001 FileDialogTest0002 FileDialogTest0003 FileDialogTest0004 FileDialogTest0005 FileDialogTest0006

      --- script end ---

      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 for FileDialog mode LOAD.
      FileDialogTest0004: Failed. FileDialog created by FileDialog(Frame,String,int) constructor does not look and behave correctly for FileDialog mode SAVE.
      FileDialogTest0005: Failed. FileDialog test does NOT work as expected.
      FileDialogTest0006: Failed. FileDialog test does NOT work as expected.
      STATUS:Failed.test cases: 6; all failed; first test case failure: FileDialogTest0001

      Specific machine info:
      ======================
      Hostname: novo48
      OS: Solaris 9 (sparc) (CDE)
      Hostname: linux-13
      OS: Solaris Redhat 7.3
      Hostname: linux-10
      OS: Solaris 8 (x86) (Open Windows)

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

            kdmsunw Kdm Kdm (Inactive)
            ichesunw Iche Iche (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: