commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernard D'Have" <bdhav...@wanadoo.be>
Subject RE: StringUtils.rightPad and StringUtils.leftPad fail to pad correctly
Date Wed, 02 Jan 2002 14:12:00 GMT
Hi,

I created some JUnit test for this.
They succeed!

But a lot of test with chomp functions are broken.
Also the native-Unicode test is broken but I think taht because the input
string is NOT right!

Please find it in attachment because I have made a lot of modifications to
follow JUnit "best practices".

Happy new year,

Bernard

PS: the two other testcases use the deprecated API assert in place of
assertTrue



-----Original Message-----
From: bayard@generationjava.com [mailto:bayard@generationjava.com]
Sent: Saturday, December 29, 2001 0:23
To: Jakarta Commons Developers List
Subject: Re: StringUtils.rightPad and StringUtils.leftPad fail to pad
correctly


Will do. Got a deadline of next Wednesday to work to, so will have to
focus on that first.

On Fri, 28 Dec 2001, Daniel Rall wrote:

> Janek Bogucki <janekdb@yahoo.co.uk> writes:
>
> > StringUtils.rightPad and StringUtils.leftPad fail to
> > pad correctly with certain
> > categories of input. Some samples follow.
>
> Would you mind adding a JUnit test case for this?
>
> --
> To unsubscribe, e-mail:
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message