Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 10716 invoked from network); 14 Nov 2007 10:18:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2007 10:18:46 -0000 Received: (qmail 75102 invoked by uid 500); 14 Nov 2007 10:18:32 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 75018 invoked by uid 500); 14 Nov 2007 10:18:32 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 75009 invoked by uid 99); 14 Nov 2007 10:18:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 02:18:32 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [217.146.189.166] (HELO web86514.mail.ird.yahoo.com) (217.146.189.166) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 14 Nov 2007 10:18:33 +0000 Received: (qmail 38009 invoked by uid 60001); 14 Nov 2007 10:18:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btopenworld.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=T0qxv0cmcQ0rh3NMoX744x/yTFqrSLqLdQfsDhLvsJfaVV1EJL1ShJzMcNFHZOsa3ow0qbCge8/AdwOHUIvwoptpLnJBuGbf+pV0oXls8Sq5DHhrJ41ImO+uvD6e6UxeeXdt4+jKyufDZpxe6+USw1nIUMZBBt+F41EJaJR0+iE=; X-YMail-OSG: VLYk7ZMVM1lZKkHBEJUNKGB5cMQw6Dec1C6g0ZzyVhoyRDrDbqpDj4LISC4uv4kCKhPum1cxOSXprgDZYIbZFdViCM02yu72D7z6swoWNmUal5Rg Received: from [194.164.132.240] by web86514.mail.ird.yahoo.com via HTTP; Wed, 14 Nov 2007 10:18:10 GMT X-Mailer: YahooMailRC/818.27 YahooMailWebService/0.7.152 Date: Wed, 14 Nov 2007 10:18:10 +0000 (GMT) From: Stephen Colebourne Subject: Re: [lang] TextTestSuite failures To: Jakarta Commons Developers List MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <85059.39116.qm@web86514.mail.ird.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org >From my work on Joda-Time, I would advise not writing tests in Locale.US ex= clusively. The US locale can have special status as the 'default', and you = don't want your tests to get caught up in that.=0AStephen=0A=0A=0A----- Ori= ginal Message ----=0AFrom: Niall Pemberton =0A= =0AMy guess from just looking at the test output is that theres an=0Aassump= tion in the test that the default Locale is US. If that is the=0Acase then = these tests should set the default locale to Locale.US=0Abefore executing.= =0A=0ANiall=0A=0AOn Nov 13, 2007 7:38 PM, Ben Speakmon wrote:=0A> Odd. WFM on my ubuntu with Java 1.4 and 5.=0A>=0A>=0A> On Nov= 13, 2007 11:31 AM, Niall Pemberton =0A wrote:= =0A> > I just tried running "maven test" for Commons Lang and the=0A> > Tex= tTestSuite had a bunch of failures. I don't really have time to=0A> > look = into this at the moment.=0A> >=0A> > Niall=0A> >=0A> > Testcase:=0A testLon= gTime(org.apache.commons.lang.text.MessageFormatTest): FAILED=0A> > expecte= d:<...00:15:20 GMT; Time 1: 12:30:35 GMT; Time 2:=0A 18:45:50...>=0A> > but= was:<...12:15:20 AM GMT; Time 1: 12:30:35 PM GMT; Time 2:=0A 6:45:50=0A> >= PM...>=0A> > junit.framework.ComparisonFailure: expected:<...00:15:20 GMT;= Time=0A 1:=0A> > 12:30:35 GMT; Time 2: 18:45:50...> but was:<...12:15:20 A= M GMT;=0A Time=0A> > 1: 12:30:35 PM GMT; Time 2: 6:45:50 PM...>=0A> > = at=0A org.apache.commons.lang.text.AbstractMessageFormatTest.doAssertion= s(AbstractMessageFormatTest.java:64)=0A> > at=0A org.apache.commons= .lang.text.AbstractMessageFormatTest.doAssertions(AbstractMessageFormatTest= .java:58)=0A> > at=0A org.apache.commons.lang.text.AbstractMessageF= ormatTest.testLongTime(AbstractMessageFormatTest.java:222)=0A> > at= sun.reflect.NativeMethodAccessorImpl.invoke0(Native=0A Method)=0A> > = at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown=0A Source)=0A> > = at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown=0A Sourc= e)=0A> >=0A> >=0A> > Testcase:=0A testFullTime(org.apache.commons.lang.text= .MessageFormatTest): FAILED=0A> > expected:<...00:15:20 o'clock GMT; Time 1= : 12:30:35 o'clock GMT;=0A Time=0A> > 2: 18:45:50 o'clock...> but was:<...1= 2:15:20 AM GMT; Time 1:=0A 12:30:35=0A> > PM GMT; Time 2: 6:45:50 PM...>=0A= > > junit.framework.ComparisonFailure: expected:<...00:15:20 o'clock=0A GMT= ;=0A> > Time 1: 12:30:35 o'clock GMT; Time 2: 18:45:50 o'clock...> but=0A> = > was:<...12:15:20 AM GMT; Time 1: 12:30:35 PM GMT; Time 2: 6:45:50=0A> > P= M...>=0A> > at=0A org.apache.commons.lang.text.AbstractMessageForma= tTest.doAssertions(AbstractMessageFormatTest.java:64)=0A> > at=0A o= rg.apache.commons.lang.text.AbstractMessageFormatTest.testFullTime(Abstract= MessageFormatTest.java:238)=0A> > at sun.reflect.NativeMethodAccess= orImpl.invoke0(Native=0A Method)=0A> > at sun.reflect.NativeMethodA= ccessorImpl.invoke(Unknown=0A Source)=0A> > at sun.reflect.Delegati= ngMethodAccessorImpl.invoke(Unknown=0A Source)=0A> >=0A> >=0A> > Testcase:= =0A testLongTime(org.apache.commons.lang.text.ExtendedMessageFormatBaseline= Test): FAILED=0A> > expected:<...00:15:20 GMT; Time 1: 12:30:35 GMT; Time 2= :=0A 18:45:50...>=0A> > but was:<...12:15:20 AM GMT; Time 1: 12:30:35 PM GM= T; Time 2:=0A 6:45:50=0A> > PM...>=0A> > junit.framework.ComparisonFailure:= expected:<...00:15:20 GMT; Time=0A 1:=0A> > 12:30:35 GMT; Time 2: 18:45:50= ...> but was:<...12:15:20 AM GMT;=0A Time=0A> > 1: 12:30:35 PM GMT; Time 2:= 6:45:50 PM...>=0A> > at=0A org.apache.commons.lang.text.AbstractMe= ssageFormatTest.doAssertions(AbstractMessageFormatTest.java:64)=0A> > = at=0A org.apache.commons.lang.text.AbstractMessageFormatTest.doAssertion= s(AbstractMessageFormatTest.java:58)=0A> > at=0A org.apache.commons= .lang.text.AbstractMessageFormatTest.testLongTime(AbstractMessageFormatTest= .java:222)=0A> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Na= tive=0A Method)=0A> > at sun.reflect.NativeMethodAccessorImpl.invok= e(Unknown=0A Source)=0A> > at sun.reflect.DelegatingMethodAccessorI= mpl.invoke(Unknown=0A Source)=0A> >=0A> >=0A> > Testcase:=0A testFullTime(o= rg.apache.commons.lang.text.ExtendedMessageFormatBaselineTest): FAILED=0A> = > expected:<...00:15:20 o'clock GMT; Time 1: 12:30:35 o'clock GMT;=0A Time= =0A> > 2: 18:45:50 o'clock...> but was:<...12:15:20 AM GMT; Time 1:=0A 12:3= 0:35=0A> > PM GMT; Time 2: 6:45:50 PM...>=0A> > junit.framework.ComparisonF= ailure: expected:<...00:15:20 o'clock=0A GMT;=0A> > Time 1: 12:30:35 o'cloc= k GMT; Time 2: 18:45:50 o'clock...> but=0A> > was:<...12:15:20 AM GMT; Time= 1: 12:30:35 PM GMT; Time 2: 6:45:50=0A> > PM...>=0A> > at=0A org.a= pache.commons.lang.text.AbstractMessageFormatTest.doAssertions(AbstractMess= ageFormatTest.java:64)=0A> > at=0A org.apache.commons.lang.text.Abs= tractMessageFormatTest.testFullTime(AbstractMessageFormatTest.java:238)=0A>= > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native=0A Method= )=0A> > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown=0A S= ource)=0A> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unk= nown=0A Source)=0A> >=0A> >=0A> > Testcase:=0A testLongTime(org.apache.comm= ons.lang.text.MessageFormatExtensionTest): FAILED=0A> > expected:<..= .00:15:20 GMT; Time 1: 12:30:35 GMT; Time 2:=0A 18:45:50...>=0A> > but was:= <...12:15:20 AM GMT; Time 1: 12:30:35 PM GMT; Time 2:=0A 6:45:50=0A> > PM..= .>=0A> > junit.framework.ComparisonFailure: expected:<...00:15:20 GMT; Time= =0A 1:=0A> > 12:30:35 GMT; Time 2: 18:45:50...> but was:<...12:15:20 AM GMT= ;=0A Time=0A> > 1: 12:30:35 PM GMT; Time 2: 6:45:50 PM...>=0A> > at= =0A org.apache.commons.lang.text.AbstractMessageFormatTest.doAssertions(Abs= tractMessageFormatTest.java:64)=0A> > at=0A org.apache.commons.lang= .text.AbstractMessageFormatTest.doAssertions(AbstractMessageFormatTest.java= :58)=0A> > at=0A org.apache.commons.lang.text.AbstractMessageFormat= Test.testLongTime(AbstractMessageFormatTest.java:222)=0A> > at sun.= reflect.NativeMethodAccessorImpl.invoke0(Native=0A Method)=0A> > at= sun.reflect.NativeMethodAccessorImpl.invoke(Unknown=0A Source)=0A> > = at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown=0A Source)=0A= > >=0A> >=0A> > Testcase:=0A testFullTime(org.apache.commons.lang.text.Mess= ageFormatExtensionTest): FAILED=0A> > expected:<...00:15:20 o'clock = GMT; Time 1: 12:30:35 o'clock GMT;=0A Time=0A> > 2: 18:45:50 o'clock...> bu= t was:<...12:15:20 AM GMT; Time 1:=0A 12:30:35=0A> > PM GMT; Time 2: 6:45:5= 0 PM...>=0A> > junit.framework.ComparisonFailure: expected:<...00:15:20 o'c= lock=0A GMT;=0A> > Time 1: 12:30:35 o'clock GMT; Time 2: 18:45:50 o'clock..= .> but=0A> > was:<...12:15:20 AM GMT; Time 1: 12:30:35 PM GMT; Time 2: 6:45= :50=0A> > PM...>=0A> > at=0A org.apache.commons.lang.text.AbstractM= essageFormatTest.doAssertions(AbstractMessageFormatTest.java:64)=0A> > = at=0A org.apache.commons.lang.text.AbstractMessageFormatTest.testFullTi= me(AbstractMessageFormatTest.java:238)=0A> > at sun.reflect.NativeM= ethodAccessorImpl.invoke0(Native=0A Method)=0A> > at sun.reflect.Na= tiveMethodAccessorImpl.invoke(Unknown=0A Source)=0A> > at sun.refle= ct.DelegatingMethodAccessorImpl.invoke(Unknown=0A Source)=0A> >=0A> >=0A --= -------------------------------------------------------------------=0A> > T= o unsubscribe, e-mail: dev-unsubscribe@commons.apache.org=0A> > For additio= nal commands, e-mail: dev-help@commons.apache.org=0A> >=0A> >=0A>=0A> -----= ----------------------------------------------------------------=0A> To uns= ubscribe, e-mail: dev-unsubscribe@commons.apache.org=0A> For additional com= mands, e-mail: dev-help@commons.apache.org=0A>=0A>=0A=0A-------------------= --------------------------------------------------=0ATo unsubscribe, e-mail= : dev-unsubscribe@commons.apache.org=0AFor additional commands, e-mail: dev= -help@commons.apache.org=0A=0A=0A=0A --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org