commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felipe Leme (JIRA)" <commons-...@jakarta.apache.org>
Subject [jira] Assigned: (JELLY-204) [junit][PATCH] Better error messages when assertEquals fails
Date Fri, 07 Apr 2006 04:53:26 GMT
     [ http://issues.apache.org/jira/browse/JELLY-204?page=all ]

Felipe Leme reassigned JELLY-204:
---------------------------------

    Assign To: Felipe Leme

> [junit][PATCH] Better error messages when assertEquals fails
> ------------------------------------------------------------
>
>          Key: JELLY-204
>          URL: http://issues.apache.org/jira/browse/JELLY-204
>      Project: jelly
>         Type: Improvement

>     Reporter: Felipe Leme
>     Assignee: Felipe Leme
>     Priority: Minor
>  Attachments: JELLY-204
>
> When assertEquals fails, only the JEXL representation of the expression is shown, not
the actual/expected values, which makes it hard do diagnosticate what's wrong. For instance:
> Expected expression: 5
> Actual expression: ${oneLineNoNewLine.length().toString()}
> So, I'm sending a patch that would instead show the following (in the example above):
> Expected expression: (5)=(5)
> Actual expression: (${oneLineNoNewLine.length().toString()})=(6)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
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