java.util.Collections

David Gilbert david.gilbert@object-refinery.com
Sun Sep 19 21:38:00 GMT 2004


Attached are some new tests for some of the methods in the
java.util.Collections class.  I get one failure with a fairly recent CVS
version of Classpath and JamVM 1.2.0, and zero failures with JDK 1.4.

dgilbert@linux42:~/workspace/mauve> jamvm -classpath .
gnu.testlet.SimpleTestHarness -file CurrentTests.txt -debug
FAIL: gnu.testlet.java.util.Collections.rotate: uncaught exception at 
number 2
java.lang.ArithmeticException: division by zero
   at java.util.Collections.rotate (Collections.java:1113)
   at gnu.testlet.java.util.Collections.rotate.test (rotate.java:45)
   at gnu.testlet.SimpleTestHarness.runtest (SimpleTestHarness.java:266)
   at gnu.testlet.SimpleTestHarness.main (SimpleTestHarness.java:394)
1 of 47 tests failed
dgilbert@linux42:~/workspace/mauve> java -classpath .
gnu.testlet.SimpleTestHarness -file CurrentTests.txt -debug
0 of 49 tests failed

Regards,

Dave Gilbert
www.jfree.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: copy.java
Type: text/x-java
Size: 2697 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040919/03f8c879/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fill.java
Type: text/x-java
Size: 2266 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040919/03f8c879/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: max.java
Type: text/x-java
Size: 2048 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040919/03f8c879/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: min.java
Type: text/x-java
Size: 2056 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040919/03f8c879/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nCopies.java
Type: text/x-java
Size: 2903 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040919/03f8c879/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reverse.java
Type: text/x-java
Size: 2066 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040919/03f8c879/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reverseOrder.java
Type: text/x-java
Size: 1287 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040919/03f8c879/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rotate.java
Type: text/x-java
Size: 2083 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040919/03f8c879/attachment-0007.bin>


More information about the Mauve-patches mailing list