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

For 5-1 step: if input something into the 'File:' and 'Dir:', the dir output isn't empty in the output window after showing and canceling the file dialog

    XMLWordPrintable

Details

    • b110
    • x86
    • windows_7

    Description

      Testsuite name: Regression
      JDK/JRE tested: OpenJDK8b102(32bit)
      OS/architecture: win7-x86
      Reproducible: Always
      Reproducible on machine: win7-x86
      Test run log location:http://jsqalab.us.oracle.com/results/Evergreen/8/open-b102/regression/win7-x86/results-awt-part3/workDir/java/awt/FileDialog/FileDialogReturnTest/FileDialogReturnTest.jtr

      Steps to reproduce:
      1.Download regression workspace from http://jre.sfbay.sun.com/java/re/jdk/8/promoted/ea/b102/ws/jdk/test/to /regression
      2. Install test bundle OpenJDK8b102 (download from http://jre.sfbay.sun.com/java/re/jdk/8/promoted/all/b102/openjdk/bundles/windows-i586/jdk_ri-8-b102-windows-i586-07_aug_2013.zip) to C:/regression/java-se-8-ri
      3.download and unzip Jtreg from http://jre.us.oracle.com/java/re/jtreg/4.1/promoted/fcs/b02/bundles/jtreg_bin-4.1.zip locate at C:/regression
      4.Create the script regression.sh as follows and run it
      export JT_JAVA=C:/regression/java-se-8-ri
      C:/regression/jtreg/win32/bin/jtreg -v -m -ignore:quiet -jdk:C:/regression/java-se-8-ri -r:C:/regression/results/reportDir -w:C:/regression/results/workDir C:/regression/test/java/awt/FileDialog/FileDialogReturnTest/FileDialogReturnTest.html

      Instruction:
       1. The test shows the 'FileDialogReturnTest' applet which contains two text fields and one button,
       2. Input something into the 'File:' text field or just keep the field empty,
       3. Input something into the 'Dir:' text field or just keep the field empty,
       4. Press the 'Show' button and a file dialog will appear,
       5-1. Cancel the file dialog, e.g. by selecting the 'close' menu item,
       If the output window shows that 'file'/'dir' values is null then the test passes, otherwise the test fails,
       5-2. Select any file, e.g. by pressing the 'OK' button, If the output window shows that 'file'/'dir' values is not-null then the test passes, otherwise the test fails.

      Actual behavior:
      1) For 5-1 step: if input something into the 'File:' and 'Dir:', the dir output isn't empty in the output window after showing and canceling the file dialog refer to FileDialogReturnTest.jpg.
      2) For 5-1 step: if keep the 'File:' and 'Dir:' field empty, it is pass.

      Validation:
      7u45b09(64bit) on solaris10-sparc: pass
      8b104(64bit) on Mac10.9: pass
      OpenJDK8b102 on oel6.2-uek-x64: pass

      Attachments

        Issue Links

          Activity

            People

              pchelko Petr Pchelko (Inactive)
              tolli Tony Li (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: