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

REGRESSION: JCK1.5 api/javax_swing/interactive/JComboBoxTests.html#JComboBox

    XMLWordPrintable

Details

    • b30
    • generic, x86
    • generic, windows_98, windows_xp
    • Verified

    Description



      Name: iaR10016 Date: 10/27/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b25, JDK1.5.0-b24, JDK1.5.0-b23, JDK1.5.0-b22
                        (not reproducible with JDK1.5.0-b19, JDK1.4.2-b28)
      JCK : JCK1.5-runtime (b07)
      Platform[s] : Windows
                        (not reproducible on Solaris and Linux)
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]: api/javax_swing/interactive/JComboBoxTests.html#JComboBox[JComboBoxTest0007]

      JCK1.5-runtime api/javax_swing/interactive/JComboBoxTests.html#JComboBox [JComboBoxTest0007]
      test fails with JDK1.5.0-b25 on Windows systems.

      JComboboxTest0007 test Description reads:
      ...
      This test verifies the behavior of the setLightWeightPopupEnabled() method.
      Shown below is a 25-item JComboBox, a "LightWeightPopup enabled" checkbox and a button.
      Selecting the checkbox will cause the combobox's popup menu to be lightweight,
      and de-selecting it will cause the combobox's popup menu to be heavyweight.
      Please verify that with the checkbox checked the combobox list displays underneath the
      button, and when unchecked the combobox list displays above the button. In the case
      that the button is not directly underneath the list please resize the test frame
      to position the button so that it is.
      ...

      However, on Windows checking/unchecking "LightWeightPopup enabled" checkbox has no effect:
      the combobox list is always underneath the "Heavy Weight Component" button.

      Please, run the script from "How to reproduce" section to reproduce the failure.

      Test source location:
      =====================
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_swing/interactive/JComboBoxTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b25/jck15/win32/linux-17/workDir/api-interactive/javax_swing/interactive/JComboBoxTests_JComboBox.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/bash

      #Paths in Java Software:
      JDK="z:/jdk/1.5.0/promoted/all/b25/binaries/windows-i586"
      JCK="z:/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"

      #Alternative paths outside Java Software:
      #JDK="z:/jdk/1.5.0/promoted/all/b25/binaries/windows-i586"
      #JCK="z:/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"

      #Alternative paths for the NSK site:
      #JCK="h:/java/jck1.5/JCK-runtime-15"
      #JDK="h:/java/jdk1.5.0/win32"

      export CLASSPATH="$JCK/classes;$JCK/lib/javatest.jar"

      $JDK/bin/java javasoft.sqe.tests.api.javax.swing.interactive.JComboBox.JComboBoxTests -TestCaseID JComboBoxTest0007 -TestDirURL file://$JCK/tests/javax_swing/interactive/JComboBoxTests.html#JComboBox"
      --- script end ---

      Specific machine info:
      ======================
      Hostname: linux-17
      OS: Windows 98
      Hostname: linux-22
      OS: Windows 2000
      Hostname: linux-21
      OS: Windows XP Pro

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

      Attachments

        Issue Links

          Activity

            People

              son Oleg Sukhodolsky (Inactive)
              irasunw Ira Ira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: