You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/07/12 22:29:48 UTC

DO NOT REPLY [Bug 34715] - [lang] unit test for org.apache.commons.lang.text.StrBuilder

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34715>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34715





------- Additional Comments From heuermh@acm.org  2005-07-12 22:29 -------
Created an attachment (id=15659)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15659&action=view)
svn diff src/

svn commit r209943 causes two tests to fail for me:
	  
---
Testsuite: org.apache.commons.lang.text.TextTestSuite
Tests run: 65, Failures: 1, Errors: 1, Time elapsed: 2.531 sec
   
Testcase:    
testAppendFixedWidthPadLeft(org.apache.commons.lang.text.StrBuilderTest):
FAILED
expected:<-null> but was:<null->
junit.framework.ComparisonFailure: expected:<-null> but was:<null->
	at
org.apache.commons.lang.text.StrBuilderTest.testAppendFixedWidthPadLeft(StrBuilderTest.java:571)

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)



Testcase:
testAppendWithSeparators_Iterator(org.apache.commons.lang.text.StrBuilderTest):

Caused an ERROR
null
java.util.NoSuchElementException
	at java.util.AbstractList$Itr.next(AbstractList.java:427)
	at
org.apache.commons.lang.text.StrBuilder.appendWithSeparators(StrBuilder.java:614)

	at
org.apache.commons.lang.text.StrBuilderTest.testAppendWithSeparators_Iterator(StrBuilderTest.java:727)

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


diff attached.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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