commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felipe Leme" <felipeali...@gmail.com>
Subject Fwd: svn commit: r391469 - in /jakarta/commons/proper/jelly/trunk/jelly-tags/junit: src/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java xdocs/changes.xml
Date Thu, 06 Apr 2006 12:44:12 GMT
FYI...

---------- Forwarded message ----------
From: felipeal@apache.org <felipeal@apache.org>
Date: Apr 4, 2006 11:57 PM
Subject: svn commit: r391469 - in
/jakarta/commons/proper/jelly/trunk/jelly-tags/junit:
src/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java
xdocs/changes.xml
To: commons-cvs@jakarta.apache.org


Author: felipeal
Date: Tue Apr  4 19:57:28 2006
New Revision: 391469

URL: http://svn.apache.org/viewcvs?rev=391469&view=rev
Log:
JELLY-204: better error messages when assertEquals fails

Modified:
    jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java
    jakarta/commons/proper/jelly/trunk/jelly-tags/junit/xdocs/changes.xml

Modified: jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java?rev=391469&r1=391468&r2=391469&view=diff
==============================================================================
--- jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java
(original)
+++ jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java
Tue Apr  4 19:57:28 2006
@@ -47,10 +47,10 @@
             return;
         }

-        String expressions = "\nExpected expression: "
-            + expected.getExpressionText()
-            + "\nActual expression: "
-            + actual.getExpressionText();
+        String expressions = "\nExpected expression: ("
+            + expected.getExpressionText() + ")=(" + expectedValue + ")"
+            + "\nActual expression: ("
+            + actual.getExpressionText() + ")=(" + actualValue + ")";

         failNotEquals(message, expectedValue, actualValue, expressions);
     }

Modified: jakarta/commons/proper/jelly/trunk/jelly-tags/junit/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/junit/xdocs/changes.xml?rev=391469&r1=391468&r2=391469&view=diff
==============================================================================
--- jakarta/commons/proper/jelly/trunk/jelly-tags/junit/xdocs/changes.xml
(original)
+++ jakarta/commons/proper/jelly/trunk/jelly-tags/junit/xdocs/changes.xml
Tue Apr  4 19:57:28 2006
@@ -25,6 +25,7 @@
   </properties>
   <body>
     <release version="1.0.1-SNAPSHOT" date="in SVN">
+      <action dev="felipeal" type="fix" issue="JELLY-204">Better
error messages when assertEquals fails</action>
       <action dev="dion" type="update">Added various assert protected
methods to AssertTagSupport</action>
       <action dev="dion" type="add">Added assertFileContains tag</action>
       <action dev="dion" type="add">Added assertFileNotFound tag</action>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message