something changed in the way the dates are formatted I guess. 2008-03-03 vs 2008-03-03T00:00:00
I thought it was using the second one already. Maybe you just need to update the tests. On Tue, Aug 25, 2009 at 11:49 AM, Lukasz Lenart<[email protected]> wrote: > Hi, > > I'm desperate ;-( I'm trying to build and install struts2-dojo-plugin > from source but each time I'm getting errors in test. I've tried with > different locales but no luck: mvn install -Duser.country=US > -Duser.language=en > > What to do? Please help! > > > testSimple(org.apache.struts2.dojo.views.jsp.ui.DateTimePickerTagTest) > Time elapsed: 0.141 sec <<< FAILURE! > junit.framework.ComparisonFailure: > expected:<...id"value="2008-03-03["lang="i"name="h"inputName="dojo.h"displayWeeks="true"adjustWeeks="true"startDate="2008-02-02"endDate="2008-01-01]"weekStartsOn="g"sta...> > but > was:<...id"value="2008-03-03[T00:00:00"lang="i"name="h"inputName="dojo.h"displayWeeks="true"adjustWeeks="true"startDate="2008-02-02T00:00:00"endDate="2008-01-01T00:00:00]"weekStartsOn="g"sta...> > > testSimpleDisabled(org.apache.struts2.dojo.views.jsp.ui.DateTimePickerTagTest) > Time elapsed: 0.109 sec <<< FAILURE! > junit.framework.ComparisonFailure: > expected:<...id"value="2008-03-03["lang="i"name="h"inputName="dojo.h"displayWeeks="true"adjustWeeks="true"startDate="2008-02-02"endDate="2008-01-01]"weekStartsOn="g"sta...> > but > was:<...id"value="2008-03-03[T00:00:00"lang="i"name="h"inputName="dojo.h"displayWeeks="true"adjustWeeks="true"startDate="2008-02-02T00:00:00"endDate="2008-01-01T00:00:00]"weekStartsOn="g"sta...> > > testDateParsing(org.apache.struts2.dojo.views.jsp.ui.DateTimePickerTagTest) > Time elapsed: 0.079 sec <<< FAILURE! > junit.framework.AssertionFailedError: expected:<2007> but was:<6> > > > > Thanks in advance > -- > Lukasz > http://www.lenart.org.pl/ > http://dailylog.lenart.org.pl/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
