You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Sean Schofield <se...@gmail.com> on 2006/07/29 05:11:55 UTC

Can't build Tomahawk. Unit test is failing.

I recently tried to rebuild from scratch and I can't build Tomahawk
now.  The UserDataTest is failing for me.

Test set: org.apache.myfaces.custom.date.UserDataTest
-------------------------------------------------------------------------------
Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.047
sec <<< FAILURE!
testParseGivesCorrectDateWhenValidDataIsEnteredForTypeDate(org.apache.myfaces.custom.date.UserDataTest)
 Time elapsed: 0 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<20...> but was:<19...>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at junit.framework.Assert.assertEquals(Assert.java:87)
	at org.apache.myfaces.custom.date.UserDataTest.testParseGivesCorrectDateWhenValidDataIsEnteredForTypeDate(UserDataTest.java:66)

I noticed Mario was also having problems with this test and made some changes.

@Mario: I will try to rsolve it tomorrow but if you can look at it in
the meantime that would be hlepful.

Sean

Re: Can't build Tomahawk. Unit test is failing.

Posted by Sean Schofield <se...@gmail.com>.
By the way, the test worked this morning so it would seem to be a
timezone or daylight savings problem.  Test failed at 11:00 ESDT last
night.

Sean

On 7/28/06, Sean Schofield <se...@gmail.com> wrote:
> I recently tried to rebuild from scratch and I can't build Tomahawk
> now.  The UserDataTest is failing for me.
>
> Test set: org.apache.myfaces.custom.date.UserDataTest
> -------------------------------------------------------------------------------
> Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.047
> sec <<< FAILURE!
> testParseGivesCorrectDateWhenValidDataIsEnteredForTypeDate(org.apache.myfaces.custom.date.UserDataTest)
>  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: expected:<20...> but was:<19...>
>         at junit.framework.Assert.assertEquals(Assert.java:81)
>         at junit.framework.Assert.assertEquals(Assert.java:87)
>         at org.apache.myfaces.custom.date.UserDataTest.testParseGivesCorrectDateWhenValidDataIsEnteredForTypeDate(UserDataTest.java:66)
>
> I noticed Mario was also having problems with this test and made some changes.
>
> @Mario: I will try to rsolve it tomorrow but if you can look at it in
> the meantime that would be hlepful.
>
> Sean
>