jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. B. Rainsberger" <jbra...@rogers.com>
Subject Re: Odd output with servlet redirector and assert
Date Tue, 23 Dec 2003 23:01:44 GMT
Jeff_Mychasiw@nlgroup.ca wrote:

> Greetings:
>       I am using cactus 1.5/jboss3.0.4/tomcat4.0.6 and trying to using the
> most simple config option that I can until I get he hang of writing tests.
> So I have both the client and server side Jars in on the serverside and am
> running tests with a browser.
> I noticed the output from assertEquals() does not show the expected and
> actual values.
> Improper Key: expected:<...e> but was:<...>  should be:
> Expected: businessrule.customer.invalid.dat
> Actual:businessrule.customer.invalid.date

Google "JUnit string comparison patch". I think that'll help you.
J. B. Rainsberger,
Diaspar Software Services
http://www.diasparsoftware.com :: +1 416 791-8603
Let's write software that people understand

View raw message