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

JCK14/13a,interactive: api/java_awt/interactive/FileDialogTests.html#FileDialogT

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      rc1
    • CPU:
      x86
    • OS:
      windows_2000, windows_xp
    • Verification:
      Verified

      Description

      JDK : jdk1.4.0-build 86
      JCK : JCK1.4-b12, JCK13.a
      Platform[s] : Windows XP Professional, win2000
      switch/mode : -Xmixed -Xfuture
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/java_awt/interactive/FileDialogTests.html#FileDialogTests

      If any file in awt.FileDialog is selected via mouse double-click,
      FileDialog passes last mouse click to the parent window.

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

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b86/jck14/win32/winxppro/workDir/api-interactive/api/java_awt/interactive/FileDialogTests_FileDialogTests.jtr

      How to reproduce:
      =================
      1. Run the following script (probably, you may need to change JCK and JAVA_HOME paths)
      2. Press "Activate" button to bring up FileDialog
      3. Adjust FileDialog position to make sure that at least one file name
      in the FileDialog's list is placed exactly over the "Activate" button
      from the main test frame.
      4. Double-click mouse on that file name.

      You will see that FileDialog disappears but brings up again because of last click reaches "Activate" button.

      --- Script start ---
      #!/bin/sh
      JAVA_HOME="c:/j2sdk1.4.0-rc"
      JCK="i:/sail16/JCK/jck14/JCK-runtime-14"
      export CLASSPATH="$JCK/classes;$JCK/javatest.jar"
      executeClass="javasoft.sqe.tests.api.java.awt.interactive.FileDialog.FileDialogTests"
      executeArgs="-TestCaseID FileDialogTest0005"
      $JAVA_HOME/bin/java -Xfuture -Xmixed -showversion ${executeClass} ${executeArgs}
      --- Script end ---

      Test output:
      ============
      java version "1.4.0-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b86)
      Java HotSpot(TM) Client VM (build 1.4.0-rc-b86, mixed mode)

      FileDialogTest0005: Failed. FileDialog test does NOT work as expected.
      STATUS:Failed.tests: 1; failed: 1; first test case failure: FileDialogTest0005

      Specific Machine Info:
      =====================
      Hostname: jck-win2000xp
      OS: Windows XP Professional

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bchristi Brent Christian
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: