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

Regression-test java/awt/font/TextLayout/TestGraphicOutline.html fails

XMLWordPrintable

    • 2d
    • b48
    • generic
    • generic
    • Verified



      Name: iaR10016 Date: 03/25/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b43, JDK1.4.2-b28
      Testbase : Regression-test
      Platform[s] : all
      switch/Mode : -client
      Falling test[s]: java/awt/font/TextLayout/TestGraphicOutline.html

      Manual Regression-test java/awt/font/TextLayout/TestGraphicOutline.html test fails with JDK1.5.0-b43.

      Test Description reads:
      ...
      Display graphics (ovals) embedded in text, and draw both the outline (top) and black box bounds (bottom) of the result.
      The ovals should each display at a different height, the outline and frames should approximatly (within a pixel or two)
      surround each character. Pass the test if these conditions hold.
      ...

      I have found two problems during the test execution:

      1. The bounds of the text and ovals at the bottom part are red (not black!)
      2. Text elements at the top part of the applet are outlined as expected. However, ovals at the top part are not outlined:
      they are bounded with black boxes in JDK1.5.0 and has no bounds in JDK1.4.2 instead.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/all/b43/ws/j2se/test/java/awt/font/TextLayout/TestGraphicOutline.html

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b43/regtest/win32/Windows_XP_Pro_manual_linux-16/workDir/test-manual/java/awt/font/TextLayout/TestGraphicOutline.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/b43/binaries/linux-i586"
      TESTBASE="/java/re/jdk/1.5.0/promoted/all/b43/ws/j2se/test"

      #Alternative paths outside Java Software
      #TESTJAVA="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b43/binaries/linux-i586"
      #TESTBASE="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b43/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/font/TextLayout/* .
      $TESTJAVA/bin/javac *.java
      $TESTJAVA/bin/appletviewer TestGraphicOutline.html
      --- script end ---

      Specific machine info:
      ======================
      Hostname: linux-16
      OS: Windows XP Pro

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

            dougfelt Doug Felt
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: