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

REGRESSION: Regression java/awt/Frame/FrameResizeTest_5/FrameResizeTest_5.html

XMLWordPrintable

    • b49
    • x86
    • linux
    • Verified



      Name: iaR10016 Date: 04/01/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b44, JDK1.5.0-b43, JDK1.5.0-b37
                     (passed with JDK1.4.2-b28, JDK1.5.0-b32c)
      Testbase : Regression-test
      Platform[s] : QuickSilver (Gnome2), Suse Linux 8.1 (Gnome2), RedHat Linux 9 (Gnome)
                     (not reproducible on Solaris and Windows systems)
      switch/Mode : -client
      Falling test: java/awt/Frame/FrameResizeTest_5/FrameResizeTest_5.html

      Manual Regression test java/awt/Frame/FrameResizeTest_5/FrameResizeTest_5.html fails on Linux since JDK1.5.0-b37.

      Test Description reads:
      ...
      This tests the programmatic resizability of non-resizable Frames.
      Even when a Frame is set to be non-resizable, it should still be programmatically resizable using the setSize() method.
      Initially the Frame will be resizable. Try using the "Smaller" and "Larger" buttons to verify that the Frame resizes correctly.
      Then, click the "Toggle" button to make the Frame non-resizable. Again, verify that clicking the "Larger" and "Smaller" buttons
      causes the Frame to get larger and smaller. If the Frame does not change size, or does not re-layout correctly, the test fails.
      ...

      Please, run the script from "How to reproduce:" section and follow the test instructions from the "Instructions" applet:

      1. Initially the tested frame is resizable. Click the "Smaller" and "Larger" buttons several times: the tested frame resizes
      correctly.
      2. Click the "Toggle" button. The frame is not resizable now.
      3. Click the "Smaller"/"Larger" buttons again. It is expected that the frame will change its size, but it is not true actually.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/all/b44/ws/j2se/test/java/awt/Frame/FrameResizeTest_5/FrameResizeTest_5.html

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b44/regtest/linux/QuickSilver_linux-17/workDir/test-manual/java/awt/Frame/FrameResizeTest_5/FrameResizeTest_5.jtr

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

      --- script start ---
      #!/bin/sh

      #Paths in Java Software:
      TESTJAVA="/java/re/jdk/1.5.0/promoted/all/b44/binaries/linux-i586"
      TESTBASE="/java/re/jdk/1.5.0/promoted/all/b44/ws/j2se/test"

      #Alternative paths outside Java Software
      #TESTJAVA="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b44/binaries/linux-i586"
      #TESTBASE="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b44/ws/j2se/test"

      #Alternative paths for the NSK site:
      #TESTJAVA="/net/linux-15/export/home/java/jdk1.5.0/linux"
      #TESTBASE="/net/linux-15/export/home/java/regtest.tiger/test"

      cp $TESTBASE/java/awt/Frame/FrameResizeTest_5/* .
      $TESTJAVA/bin/javac *.java
      $TESTJAVA/bin/appletviewer FrameResizeTest_5.html
      --- script end ---

      Specific machine info:
      ======================
      Hostname: linux-17
      OS: QuickSilver

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

            dmikhalksunw Denis Mikhalkin (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: