commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25811] New: - [collections] test failures for subclasses of AbstractBidiMapDecorator and friends
Date Mon, 29 Dec 2003 21:59:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25811>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25811

[collections] test failures for subclasses of AbstractBidiMapDecorator and friends

           Summary: [collections] test failures for subclasses of
                    AbstractBidiMapDecorator and friends
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Collections
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: heuermh@acm.org


The attached test case fails for a class that extends
AbstractOrderedBidiMapDecorator:

Testcase: testFirstKey took 0.04 sec
	FAILED
expected:<foo> but was:<again>
junit.framework.AssertionFailedError: expected:<foo> but was:<again>
	at
org.apache.commons.collections.bidimap.AbstractTestOrderedBidiMap.testFirstKey(AbstractTestOrderedBidiMap.java:102)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Testcase: testFirstKeyTestcase: testLastKey took 0 sec
	FAILED
expected:<all> but was:<you>
junit.framework.AssertionFailedError: expected:<all> but was:<you>
	at
org.apache.commons.collections.bidimap.AbstractTestOrderedBidiMap.testLastKey(AbstractTestOrderedBidiMap.java:119)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Testcase: testLastKeyTestcase: testNextKey took 0.05 sec
	FAILED
expected:<we'll> but was:<gee>
junit.framework.AssertionFailedError: expected:<we'll> but was:<gee>
	at
org.apache.commons.collections.bidimap.AbstractTestOrderedBidiMap.testNextKey(AbstractTestOrderedBidiMap.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Testcase: testNextKeyTestcase: testPreviousKey took 0 sec
	FAILED
expected:<gosh> but was:<again>
junit.framework.AssertionFailedError: expected:<gosh> but was:<again>
	at
org.apache.commons.collections.bidimap.AbstractTestOrderedBidiMap.testPreviousKey(AbstractTestOrderedBidiMap.java:176)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Testcase: testPreviousKeyTestcase: testBidiPut took 0 sec
Testcase: testBidiGetKey took 0 sec
Testcase: testBidiGetKeyInverse took 0 sec
Testcase: testBidiInverse took 0 sec
	FAILED
Inverse of inverse is not equal to original. expected same:<{key1=value1,
key2=value2, key3=value3}> was not:<{key1=value1, key2=value2, key3=value3}>
junit.framework.AssertionFailedError: Inverse of inverse is not equal to
original. expected same:<{key1=value1, key2=value2, key3=value3}> was
not:<{key1=value1, key2=value2, key3=value3}>
	at
org.apache.commons.collections.bidimap.AbstractTestBidiMap.testBidiInverse(AbstractTestBidiMap.java:232)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

The testBidiInverse test also fails for classes that extend
AbstractBidiMapDecorator and AbstractSortedBidiMapDecorator (not attached).

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


Mime
View raw message