harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apavle...@apache.org
Subject svn commit: r585477 - /harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/awt/FontMetrics/FontMetricsTest.java
Date Wed, 17 Oct 2007 13:04:49 GMT
Author: apavlenko
Date: Wed Oct 17 06:04:48 2007
New Revision: 585477

URL: http://svn.apache.org/viewvc?rev=585477&view=rev
Log:
Patch for HARMONY-4859. The test is incorrect because it checks unspecified value. This test
also fails on RI.

Modified:
    harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/awt/FontMetrics/FontMetricsTest.java

Modified: harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/awt/FontMetrics/FontMetricsTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/awt/FontMetrics/FontMetricsTest.java?rev=585477&r1=585476&r2=585477&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/awt/FontMetrics/FontMetricsTest.java
(original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/awt/FontMetrics/FontMetricsTest.java
Wed Oct 17 06:04:48 2007
@@ -55,9 +55,6 @@
         
         if (!f.equals(m.getFont()))
             return fail("FontMetric.getFont returned incorrect value");
-        if (m.getHeight() != 13)
-            return fail("FontMetrics.getHeight == " + m.getHeight() + " != 13 " +
-                    " returned incorrect value");
         log.info("ok");
         return pass();
     }



Mime
View raw message