cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r611517 - /cocoon/branches/BRANCH_2_1_X/src/test/org/apache/cocoon/SitemapComponentTestCase.java
Date Sun, 13 Jan 2008 01:35:03 GMT
Author: joerg
Date: Sat Jan 12 17:35:03 2008
New Revision: 611517

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

Modified:
    cocoon/branches/BRANCH_2_1_X/src/test/org/apache/cocoon/SitemapComponentTestCase.java

Modified: cocoon/branches/BRANCH_2_1_X/src/test/org/apache/cocoon/SitemapComponentTestCase.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/test/org/apache/cocoon/SitemapComponentTestCase.java?rev=611517&r1=611516&r2=611517&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/test/org/apache/cocoon/SitemapComponentTestCase.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/test/org/apache/cocoon/SitemapComponentTestCase.java
Sat Jan 12 17:35:03 2008
@@ -689,7 +689,7 @@
 
         Diff diff = compareXML(expected, actual);
 
-        assertEquals(msg + ", " + diff.toString(), true, diff.similar());
+        assertTrue(msg + ", " + diff.toString(), diff.similar());
     }
 
     /**
@@ -705,7 +705,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());
     }
 
     /**
@@ -722,7 +722,7 @@
 
         Diff diff = compareXML(expected, actual);
 
-        assertEquals(msg + ", " + diff.toString(), true, diff.identical());
+        assertTrue(msg + ", " + diff.toString(), diff.identical());
     }
 
     /**
@@ -738,7 +738,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