harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r468333 - in /incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common: java/awt/BasicStrokeTest.java java/awt/geom/ShapeTestCase.java org/apache/harmony/awt/gl/MultiRectAreaTestCase.java
Date Fri, 27 Oct 2006 09:46:30 GMT
Author: hindessm
Date: Fri Oct 27 02:46:29 2006
New Revision: 468333

URL: http://svn.apache.org/viewvc?view=rev&rev=468333
Log:
Fix assert that would never fail.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/BasicStrokeTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/geom/ShapeTestCase.java
    incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/org/apache/harmony/awt/gl/MultiRectAreaTestCase.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/BasicStrokeTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/BasicStrokeTest.java?view=diff&rev=468333&r1=468332&r2=468333
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/BasicStrokeTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/BasicStrokeTest.java
Fri Oct 27 02:46:29 2006
@@ -50,7 +50,7 @@
     @Override
     protected void setUp() throws Exception {
         String basePath = System.getProperty("TEST_SRC_DIR");
-        assertNotNull(basePath, "Parameter TEST_SRC_DIR not defined");
+        assertNotNull("Parameter TEST_SRC_DIR not defined", basePath);
         if (!basePath.endsWith(File.separator)) {
             basePath += File.separator;
         }

Modified: incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/geom/ShapeTestCase.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/geom/ShapeTestCase.java?view=diff&rev=468333&r1=468332&r2=468333
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/geom/ShapeTestCase.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/geom/ShapeTestCase.java
Fri Oct 27 02:46:29 2006
@@ -114,7 +114,7 @@
     public ShapeTestCase(String name) {
         super(name);
         String basePath = System.getProperty("TEST_SRC_DIR");
-        assertNotNull(basePath, "Parameter TEST_SRC_DIR not defined");
+        assertNotNull("Parameter TEST_SRC_DIR not defined", basePath);
         if (!basePath.endsWith(File.separator)) {
             basePath += File.separator;
         }

Modified: incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/org/apache/harmony/awt/gl/MultiRectAreaTestCase.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/org/apache/harmony/awt/gl/MultiRectAreaTestCase.java?view=diff&rev=468333&r1=468332&r2=468333
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/org/apache/harmony/awt/gl/MultiRectAreaTestCase.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/org/apache/harmony/awt/gl/MultiRectAreaTestCase.java
Fri Oct 27 02:46:29 2006
@@ -44,7 +44,7 @@
     public MultiRectAreaTestCase(String name) {
         super(name);
         String basePath = System.getProperty("TEST_SRC_DIR");
-        assertNotNull(basePath, "Parameter TEST_SRC_DIR not defined");
+        assertNotNull("Parameter TEST_SRC_DIR not defined", basePath);
         if (!basePath.endsWith(File.separator)) {
             basePath += File.separator;
         }



Mime
View raw message