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

JCK : 2 tests fail under api/java_awt/Font/FontRenderContext/, mustang

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • client-libs
    • 2d
    • b39
    • 6
    • b43
    • generic
    • generic
    • Verified

      JCK : jck1.5a, jck6.0
      J2SE : FAIL - mustang b39
                       PASS - mustang b38
      Platform[s] : FAIL - All
      switch/Mode : FAIL - default
       
      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto

      Failing Tests:
      ===============
      - api/java_awt/Font/FontRenderContext/index.html#ConstructorTesttestCase1
      - api/java_awt/Font/FontRenderContext/index.html#GetTesttestCase3

      Test source location:
      =====================
      /net/cady.sfbay.sun.com/export/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a/tests/api/java_awt/Font/FontRenderContext/

      jtr file location:
      ==================
      attached

      How to reproduce:
      ====================
      --------------script starts --------------------------
      #!/bin/sh
      #Paths in Java Software:
      JDK=/export/jdk/b39/solaris-sparc/jdk1.6.0

      #JCK=/net/jsqalab.sfbay/export/testsuites/JCK/jck1.5a/b11/JCK-runtime-15a
      JCK=/net/jsqalab.sfbay/export/testsuites/JCK/jck6.0/b01/JCK-runtime-60

      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      LD_LIBRARY_PATH="$JCK/lib/SunOS.sparc:$JCK/lib/SunOS.sparc/jmx"
      export LD_LIBRARY_PATH
      POLICYFILE="-Djava.security.policy=$JCK/lib/jck.policy"

      TEST="javasoft.sqe.tests.api.java.awt.Font.FontRenderContext.ConstructorTest -TestCaseID testCase1"
      #TEST="javasoft.sqe.tests.api.java.awt.Font.FontRenderContext.GetTest -TestCaseID testCase3"

      echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep
      JCK_BUILD`

      $JDK/bin/java -showversion -cp $CLASSPATH $POLICYFILE $TEST
      --------------script ends -----------------------------------

      Test output:
      =============

      index.html#ConstructorTesttestCase1 testCase1: Failed. Case#2: FontRenderContext(AffineTransform,boolean,boolean): Expected AffineTransform[[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]] but got Affine
      Transform[[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]] Expected isAntiAliased = false but got false Expected usesFractionalMetrics = false but got true: Failed Case
      #4: ...
      Expected AffineTransform[[0.0, 0.0, 1.0], [0.0, 0.0, 1.0]] but got AffineTransform[[0.0, 0.0, 1.0], [0.0, 0.0, 1.0]] Expected isAntiAliased = false but got false Expected usesFractionalMetrics = false but got true: Failed
      Case#6: FontRenderContext(AffineTransform,boolean,boolean): Expected AffineTransform[[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]] but got AffineTransform[[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]] Expected isAntiAliased = false but got false Expected usesFractionalMetrics = false but got true Expected AffineTransform[[0.0, 0.0, 1.0], [0.0, 0.0, 1.0]] but got AffineTransform[[0.0, 0.0, 1.0], [0.0, 0.0, 1.0]] Expected isAntiAliased = false but got false Expected usesFractionalMetrics = false but got true Expected AffineTransform[[0.0, 1.0, 0.0], [1.0, 0.0, 0.0]] but got AffineTransform[[0.0, 1.0, 0.0], [1.0, 0.0, 0.0]] Expected isAntiAliased = false but got false Expected usesFractionalMetrics = false but got true: Failed *** 3 out of 6 test cases failed. ***


      index.html#GetTesttestCase3 testCase3: Failed. Case#2: FontRenderContext.usesFractionalMetrics(): Expected usesFractionalMetrics = false but got true: Failed *** 1 out of 2 test cases failed. ***
      STATUS:Failed.test cases: 1; all failed; first test case failure: testCase3

      Specific Machine Info:
      =====================
      $ uname -a
      SunOS kang 5.8 Generic_108528-29 sun4u sparc SUNW,Ultra-60
      ###@###.### 2005-06-08 23:26:33 GMT

            prr Philip Race
            jsongsunw Joo Song (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: