Tried overriding the locale to en_GB and ko_KR just for kicks. Still no fail for me. Hmm. I'll try a couple of other things.
On Nov 13, 2007 11:44 AM, Niall Pemberton <[EMAIL PROTECTED]> wrote: > My guess from just looking at the test output is that theres an > assumption in the test that the default Locale is US. If that is the > case then these tests should set the default locale to Locale.US > before executing. > > Niall > > > On Nov 13, 2007 7:38 PM, Ben Speakmon <[EMAIL PROTECTED]> wrote: > > Odd. WFM on my ubuntu with Java 1.4 and 5. > > > > > > On Nov 13, 2007 11:31 AM, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > > I just tried running "maven test" for Commons Lang and the > > > TextTestSuite had a bunch of failures. I don't really have time to > > > look into this at the moment. > > > > > > Niall > > > > > > Testcase: testLongTime(org.apache.commons.lang.text.MessageFormatTest): > > > FAILED > > > expected:<...00:15:20 GMT; Time 1: 12:30:35 GMT; Time 2: 18:45:50...> > > > but was:<...12:15:20 AM GMT; Time 1: 12:30:35 PM GMT; Time 2: 6:45:50 > > > PM...> > > > junit.framework.ComparisonFailure: expected:<...00:15:20 GMT; Time 1: > > > 12:30:35 GMT; Time 2: 18:45:50...> but was:<...12:15:20 AM GMT; Time > > > 1: 12:30:35 PM GMT; Time 2: 6:45:50 PM...> > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.doAssertions(AbstractMessageFormatTest.java:64) > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.doAssertions(AbstractMessageFormatTest.java:58) > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.testLongTime(AbstractMessageFormatTest.java:222) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > > > > > > > > Testcase: testFullTime(org.apache.commons.lang.text.MessageFormatTest): > > > FAILED > > > expected:<...00:15:20 o'clock GMT; Time 1: 12:30:35 o'clock GMT; Time > > > 2: 18:45:50 o'clock...> but was:<...12:15:20 AM GMT; Time 1: 12:30:35 > > > PM GMT; Time 2: 6:45:50 PM...> > > > junit.framework.ComparisonFailure: expected:<...00:15:20 o'clock GMT; > > > Time 1: 12:30:35 o'clock GMT; Time 2: 18:45:50 o'clock...> but > > > was:<...12:15:20 AM GMT; Time 1: 12:30:35 PM GMT; Time 2: 6:45:50 > > > PM...> > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.doAssertions(AbstractMessageFormatTest.java:64) > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.testFullTime(AbstractMessageFormatTest.java:238) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > > > > > > > > Testcase: > > > testLongTime(org.apache.commons.lang.text.ExtendedMessageFormatBaselineTest): > > > FAILED > > > expected:<...00:15:20 GMT; Time 1: 12:30:35 GMT; Time 2: 18:45:50...> > > > but was:<...12:15:20 AM GMT; Time 1: 12:30:35 PM GMT; Time 2: 6:45:50 > > > PM...> > > > junit.framework.ComparisonFailure: expected:<...00:15:20 GMT; Time 1: > > > 12:30:35 GMT; Time 2: 18:45:50...> but was:<...12:15:20 AM GMT; Time > > > 1: 12:30:35 PM GMT; Time 2: 6:45:50 PM...> > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.doAssertions(AbstractMessageFormatTest.java:64) > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.doAssertions(AbstractMessageFormatTest.java:58) > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.testLongTime(AbstractMessageFormatTest.java:222) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > > > > > > > > Testcase: > > > testFullTime(org.apache.commons.lang.text.ExtendedMessageFormatBaselineTest): > > > FAILED > > > expected:<...00:15:20 o'clock GMT; Time 1: 12:30:35 o'clock GMT; Time > > > 2: 18:45:50 o'clock...> but was:<...12:15:20 AM GMT; Time 1: 12:30:35 > > > PM GMT; Time 2: 6:45:50 PM...> > > > junit.framework.ComparisonFailure: expected:<...00:15:20 o'clock GMT; > > > Time 1: 12:30:35 o'clock GMT; Time 2: 18:45:50 o'clock...> but > > > was:<...12:15:20 AM GMT; Time 1: 12:30:35 PM GMT; Time 2: 6:45:50 > > > PM...> > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.doAssertions(AbstractMessageFormatTest.java:64) > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.testFullTime(AbstractMessageFormatTest.java:238) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > > > > > > > > Testcase: > > > testLongTime(org.apache.commons.lang.text.MessageFormatExtensionTest): > > > FAILED > > > expected:<...00:15:20 GMT; Time 1: 12:30:35 GMT; Time 2: 18:45:50...> > > > but was:<...12:15:20 AM GMT; Time 1: 12:30:35 PM GMT; Time 2: 6:45:50 > > > PM...> > > > junit.framework.ComparisonFailure: expected:<...00:15:20 GMT; Time 1: > > > 12:30:35 GMT; Time 2: 18:45:50...> but was:<...12:15:20 AM GMT; Time > > > 1: 12:30:35 PM GMT; Time 2: 6:45:50 PM...> > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.doAssertions(AbstractMessageFormatTest.java:64) > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.doAssertions(AbstractMessageFormatTest.java:58) > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.testLongTime(AbstractMessageFormatTest.java:222) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > > > > > > > > Testcase: > > > testFullTime(org.apache.commons.lang.text.MessageFormatExtensionTest): > > > FAILED > > > expected:<...00:15:20 o'clock GMT; Time 1: 12:30:35 o'clock GMT; Time > > > 2: 18:45:50 o'clock...> but was:<...12:15:20 AM GMT; Time 1: 12:30:35 > > > PM GMT; Time 2: 6:45:50 PM...> > > > junit.framework.ComparisonFailure: expected:<...00:15:20 o'clock GMT; > > > Time 1: 12:30:35 o'clock GMT; Time 2: 18:45:50 o'clock...> but > > > was:<...12:15:20 AM GMT; Time 1: 12:30:35 PM GMT; Time 2: 6:45:50 > > > PM...> > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.doAssertions(AbstractMessageFormatTest.java:64) > > > at > > > org.apache.commons.lang.text.AbstractMessageFormatTest.testFullTime(AbstractMessageFormatTest.java:238) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]