|
From: David H. <wa...@us...> - 2004-11-04 14:35:40
|
On Thu, Nov 04, 2004 at 10:48:07AM +0000, David Holroyd wrote:
> On Wed, Nov 03, 2004 at 01:39:13PM -0800, Luke Bayes wrote:
> > Regarding the construction of a more legible error message in the
> > Assertion class. If you're interested in revising the way the UI
> > outputs errors, I would be very interested in making that more like
> > JUnit.
>
> I started looking at this, and noticed that chevrons ('<', '>') cause
> problems when output appears in the ASUnit panel. I guess the panel is
> displaying HTML, so messages need the appropriate encoding before
> appearing there. Assert shouldn't care where its output appears, so where
> should HTML-encoding happen?
The attached patch to Assert.as adds additional info for assertEquals()
and assertSame().
dave
|