You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2013/03/09 15:29:12 UTC

[jira] [Updated] (COLLECTIONS-445) Several unit test failures with IBM JDK 6

     [ https://issues.apache.org/jira/browse/COLLECTIONS-445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Neidhart updated COLLECTIONS-445:
----------------------------------------

    Attachment: TreeMapTest.java

Attached a set of TreeMap tests that fail with IBM JDK 6.
                
> Several unit test failures with IBM JDK 6
> -----------------------------------------
>
>                 Key: COLLECTIONS-445
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-445
>             Project: Commons Collections
>          Issue Type: Bug
>            Reporter: Thomas Neidhart
>            Priority: Blocker
>         Attachments: TreeMapTest.java
>
>
> Failed tests: 
>   AbstractSortedMapTest$TestTailMap>AbstractMapTest.testMapPut:808->AbstractSortedMapTest$TestViewMap.verify:141->AbstractMapTest.verify:1946->AbstractMapTest.verifyValues:2010 values should be same size as HashMap's
> Test: []
> Real: [value] expected:<1> but was:<0>
>   AbstractSortedMapTest$TestTailMap>AbstractMapTest.testMapPutAll:952->AbstractSortedMapTest$TestViewMap.verify:141->AbstractMapTest.verify:1946->AbstractMapTest.verifyValues:2010 values should be same size as HashMap's
> Test: []
> Real: [value, value, seev, tmpv, we'llv, youv] expected:<6> but was:<0>
>   AbstractMapTest$TestMapValues>AbstractCollectionTest.testCollectionClear:638->verify:1888->AbstractCollectionTest.verify:294 Collection should not contain a value that the confirmed collection does not have: againv
> Test: []
> Real: []
>   AbstractMapTest$TestMapValues>AbstractCollectionTest.testCollectionRemoveAll:930->verify:1888->AbstractCollectionTest.verify:294 Collection should not contain a value that the confirmed collection does not have: againv
> Test: []
> Real: []
>   AbstractMapTest$TestMapValues>AbstractCollectionTest.testCollectionRetainAll:973->verify:1888->AbstractCollectionTest.verify:294 Collection should not contain a value that the confirmed collection does not have: againv
> Test: []
> Real: []
>   AbstractMapTest$TestMapEntrySet>AbstractCollectionTest.testCollectionIteratorRemove:838 Collection should shrink by one after iterator.remove expected:<-1> but was:<0>
>   AbstractMapTest$TestMapKeySet>AbstractCollectionTest.testCollectionRemove:881 Collection should remove extant element: key
>   AbstractMapTest$TestMapValues>AbstractCollectionTest.testCollectionIteratorRemove:838 Collection should shrink by one after iterator.remove expected:<-1> but was:<0>
>   AbstractIterableMapTest$InnerTestMapIterator>AbstractMapIteratorTest.testMapIteratorSet:214 Value must be changed after setValue expected same:<newnonnullvalue> was not:<againv>
>   AbstractIterableMapTest$InnerTestMapIterator>AbstractMapIteratorTest.testMapIteratorSet:214 Value must be changed after setValue expected same:<newnonnullvalue> was not:<again>
>   AbstractBidiMapTest$TestBidiMapIterator>AbstractMapIteratorTest.testMapIteratorSet:214 Value must be changed after setValue expected same:<newnonnullvalue> was not:<again>
>   AbstractBidiMapTest$TestInverseBidiMap>AbstractBidiMapTest.testBidiMapIteratorSet:560 expected same:<For> was not:<again>
>   AbstractBidiMapTest$TestBidiMapIterator>AbstractMapIteratorTest.testMapIteratorSet:214 Value must be changed after setValue expected same:<newnonnullvalue> was not:<againv>
>   DualTreeBidiMapTest>AbstractBidiMapTest.testBidiMapIteratorSet:560 expected same:<For> was not:<againv>
>   AbstractOrderedBidiMapTest$TestBidiOrderedMapIterator>AbstractMapIteratorTest.testMapIteratorSet:214 Value must be changed after setValue expected same:<newnonnullvalue> was not:<againv>
>   AbstractSortedMapTest$TestTailMap>AbstractMapTest.testMapPut:808->AbstractSortedMapTest$TestViewMap.verify:141->AbstractMapTest.verify:1946->AbstractMapTest.verifyValues:2010 values should be same size as HashMap's
> Test: []
> Real: [value] expected:<1> but was:<0>
>   AbstractSortedMapTest$TestTailMap>AbstractMapTest.testMapPutAll:952->AbstractSortedMapTest$TestViewMap.verify:141->AbstractMapTest.verify:1946->AbstractMapTest.verifyValues:2010 values should be same size as HashMap's
> Test: []
> Real: [value, value2, seev, tmpv, we'llv, youv] expected:<6> but was:<0>
>   AbstractMapTest$TestMapValues>AbstractCollectionTest.testCollectionClear:638->verify:1888->AbstractCollectionTest.verify:294 Collection should not contain a value that the confirmed collection does not have: againv
> Test: []
> Real: []
>   AbstractMapTest$TestMapValues>AbstractCollectionTest.testCollectionRemoveAll:930->verify:1888->AbstractCollectionTest.verify:294 Collection should not contain a value that the confirmed collection does not have: againv
> Test: []
> Real: []
>   AbstractMapTest$TestMapValues>AbstractCollectionTest.testCollectionRetainAll:973->verify:1888->AbstractCollectionTest.verify:294 Collection should not contain a value that the confirmed collection does not have: againv
> Test: []
> Real: []
>   AbstractMapTest$TestMapEntrySet>AbstractCollectionTest.testCollectionIteratorRemove:838 Collection should shrink by one after iterator.remove expected:<-1> but was:<0>
>   AbstractMapTest$TestMapValues>AbstractCollectionTest.testCollectionIteratorRemove:838 Collection should shrink by one after iterator.remove expected:<-1> but was:<0>
>   AbstractIterableMapTest$InnerTestMapIterator>AbstractMapIteratorTest.testMapIteratorSet:214 Value must be changed after setValue expected same:<newnonnullvalue> was not:<youv>
>   AbstractIterableMapTest$InnerTestMapIterator>AbstractMapIteratorTest.testMapIteratorSet:214 Value must be changed after setValue expected same:<newnonnullvalue> was not:<you>
>   AbstractBidiMapTest$TestBidiMapIterator>AbstractMapIteratorTest.testMapIteratorSet:214 Value must be changed after setValue expected same:<newnonnullvalue> was not:<you>
>   AbstractBidiMapTest$TestInverseBidiMap>AbstractBidiMapTest.testBidiMapIteratorSet:560 expected same:<For> was not:<you>
>   AbstractBidiMapTest$TestBidiMapIterator>AbstractMapIteratorTest.testMapIteratorSet:214 Value must be changed after setValue expected same:<newnonnullvalue> was not:<youv>
>   DualTreeBidiMap2Test>AbstractBidiMapTest.testBidiMapIteratorSet:560 expected same:<For> was not:<youv>
>   AbstractOrderedBidiMapTest$TestBidiOrderedMapIterator>AbstractMapIteratorTest.testMapIteratorSet:214 Value must be changed after setValue expected same:<newnonnullvalue> was not:<youv>
>   AbstractSortedMapTest$TestTailMap>AbstractMapTest.testMapPut:808->AbstractSortedMapTest$TestViewMap.verify:141->AbstractMapTest.verify:1946->AbstractMapTest.verifyValues:2010 values should be same size as HashMap's
> Test: []
> Real: [foov] expected:<1> but was:<0>
>   AbstractSortedMapTest$TestTailMap>AbstractMapTest.testMapPutAll:952->AbstractSortedMapTest$TestViewMap.verify:141->AbstractMapTest.verify:1946->AbstractMapTest.verifyValues:2010 values should be same size as HashMap's
> Test: []
> Real: [againv, allv, barv, bazv, blahv, foov] expected:<6> but was:<0>
>   AbstractMapTest$TestMapValues>AbstractCollectionTest.testCollectionClear:638->verify:1888->AbstractCollectionTest.verify:294 Collection should not contain a value that the confirmed collection does not have: youv
> Test: []
> Real: []
>   AbstractMapTest$TestMapValues>AbstractCollectionTest.testCollectionRemoveAll:930->verify:1888->AbstractCollectionTest.verify:294 Collection should not contain a value that the confirmed collection does not have: youv
> Test: []
> Real: []
>   AbstractMapTest$TestMapValues>AbstractCollectionTest.testCollectionRetainAll:973->verify:1888->AbstractCollectionTest.verify:294 Collection should not contain a value that the confirmed collection does not have: youv
> Test: []
> Real: []
>   AbstractMapTest$TestMapEntrySet>AbstractCollectionTest.testCollectionIteratorRemove:838 Collection should shrink by one after iterator.remove expected:<-1> but was:<0>
>   AbstractMapTest$TestMapValues>AbstractCollectionTest.testCollectionIteratorRemove:838 Collection should shrink by one after iterator.remove expected:<-1> but was:<0>
> Tests in error: 
>   AbstractSortedMapTest$TestHeadMap>AbstractMapTest.testMapPut:808->AbstractSortedMapTest$TestViewMap.verify:141->AbstractMapTest.verify:1946->AbstractMapTest.verifyValues:2006 » NullPointer
>   AbstractSortedMapTest$TestHeadMap>AbstractMapTest.testMapPutAll:952->AbstractSortedMapTest$TestViewMap.verify:141->AbstractMapTest.verify:1946->AbstractMapTest.verifyValues:2006 » NullPointer
>   AbstractSortedMapTest$TestHeadMap>AbstractMapTest.testMapPut:808->AbstractSortedMapTest$TestViewMap.verify:141->AbstractMapTest.verify:1946->AbstractMapTest.verifyValues:2006 » NullPointer
>   AbstractSortedMapTest$TestHeadMap>AbstractMapTest.testMapPutAll:952->AbstractSortedMapTest$TestViewMap.verify:141->AbstractMapTest.verify:1946->AbstractMapTest.verifyValues:2006 » NullPointer
>   AbstractSortedMapTest$TestHeadMap>AbstractMapTest.testMapPut:808->AbstractSortedMapTest$TestViewMap.verify:141->AbstractMapTest.verify:1946->AbstractMapTest.verifyValues:2006 » NullPointer
>   AbstractSortedMapTest$TestHeadMap>AbstractMapTest.testMapPutAll:952->AbstractSortedMapTest$TestViewMap.verify:141->AbstractMapTest.verify:1946->AbstractMapTest.verifyValues:2006 » NullPointer

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira