cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r608332 - /cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapComponentTestCase.java
Date Thu, 03 Jan 2008 03:50:12 GMT
Author: joerg
Date: Wed Jan  2 19:50:11 2008
New Revision: 608332

URL: http://svn.apache.org/viewvc?rev=608332&view=rev
Log:
instead of expecting value to be equal to literal true expect value to be true :-)

Modified:
    cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapComponentTestCase.java

Modified: cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapComponentTestCase.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapComponentTestCase.java?rev=608332&r1=608331&r2=608332&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapComponentTestCase.java
(original)
+++ cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapComponentTestCase.java
Wed Jan  2 19:50:11 2008
@@ -707,7 +707,7 @@
 
         Diff diff = compareXML(expected, actual);
 
-        assertEquals(msg + ", " + diff.toString(), true, diff.similar());
+        assertTrue(msg + ", " + diff.toString(), diff.similar());
     }
 
     /**
@@ -723,7 +723,7 @@
 
         Diff diff = compareXML(expected, actual);
 
-        assertEquals("Test if the assertion document is equal, " + diff.toString(), true,
diff.similar());
+        assertTrue("Test if the assertion document is equal, " + diff.toString(), diff.similar());
     }
 
     /**
@@ -740,7 +740,7 @@
 
         Diff diff = compareXML(expected, actual);
 
-        assertEquals(msg + ", " + diff.toString(), true, diff.identical());
+        assertTrue(msg + ", " + diff.toString(), diff.identical());
     }
 
     /**
@@ -756,7 +756,7 @@
 
         Diff diff = compareXML(expected, actual);
 
-        assertEquals("Test if the assertion document is equal, " + diff.toString(), true,
diff.identical());
+        assertTrue("Test if the assertion document is equal, " + diff.toString(), diff.identical());
     }
 
     /**



Mime
View raw message