Area.java
David Gilbert
david.gilbert@object-refinery.com
Tue Aug 31 12:31:00 GMT 2004
It's great to see that Sven has checked in Area.java. To help identify
any remaining bugs in the code, I've attached some Mauve test cases.
Using JamVM 1.1.4 and the latest CVS version of Classpath, I get the
following failures:
dgilbert@linux42:~/workspace/mauve> jamvm -cp .
gnu.testlet.SimpleTestHarness -file CurrentTests.txt -debug
FAIL: gnu.testlet.java.awt.geom.Area.constructors (number 4)
FAIL: gnu.testlet.java.awt.geom.Area.contains (number 2)
FAIL: gnu.testlet.java.awt.geom.Area.contains (number 5)
FAIL: gnu.testlet.java.awt.geom.Area.equals: uncaught exception at
number 4
java.lang.NullPointerException
at java.awt.geom.Area.equals (Area.java:703)
at gnu.testlet.java.awt.geom.Area.equals.test (equals.java:54)
at gnu.testlet.SimpleTestHarness.runtest (SimpleTestHarness.java:266)
at gnu.testlet.SimpleTestHarness.main (SimpleTestHarness.java:394)
FAIL: gnu.testlet.java.awt.geom.Area.exclusiveOr (number 1)
FAIL: gnu.testlet.java.awt.geom.Area.exclusiveOr (number 2)
FAIL: gnu.testlet.java.awt.geom.Area.exclusiveOr (number 5)
FAIL: gnu.testlet.java.awt.geom.Area.exclusiveOr (number 6)
FAIL: gnu.testlet.java.awt.geom.Area.exclusiveOr (number 12)
FAIL: gnu.testlet.java.awt.geom.Area.exclusiveOr (number 13)
FAIL: gnu.testlet.java.awt.geom.Area.exclusiveOr (number 16)
FAIL: gnu.testlet.java.awt.geom.Area.exclusiveOr (number 17)
FAIL: gnu.testlet.java.awt.geom.Area.intersect (number 6)
FAIL: gnu.testlet.java.awt.geom.Area.intersect (number 12)
FAIL: gnu.testlet.java.awt.geom.Area.intersects (number 10)
FAIL: gnu.testlet.java.awt.geom.Area.isRectangular (number 1)
FAIL: gnu.testlet.java.awt.geom.Area.isRectangular (number 2)
FAIL: gnu.testlet.java.awt.geom.Area.subtract (number 1)
FAIL: gnu.testlet.java.awt.geom.Area.subtract (number 2)
FAIL: gnu.testlet.java.awt.geom.Area.subtract (number 5)
FAIL: gnu.testlet.java.awt.geom.Area.subtract (number 6)
FAIL: gnu.testlet.java.awt.geom.Area.subtract (number 8)
FAIL: gnu.testlet.java.awt.geom.Area.subtract (number 11)
23 of 131 tests failed
With Sun's JDK 1.4 (on SuSE Linux 9.1) I get no failures:
dgilbert@linux42:~/workspace/mauve> java14 -cp .
gnu.testlet.SimpleTestHarness -file CurrentTests.txt -debug
0 of 131 tests failed
Regards,
Dave Gilbert
www.jfree.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add.java
Type: text/x-java
Size: 1533 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clone.java
Type: text/x-java
Size: 1614 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: constructors.java
Type: text/x-java
Size: 1929 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: contains.java
Type: text/x-java
Size: 2042 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: createTransformedArea.java
Type: text/x-java
Size: 2433 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: equals.java
Type: text/x-java
Size: 1805 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exclusiveOr.java
Type: text/x-java
Size: 2622 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getBounds2D.java
Type: text/x-java
Size: 1575 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getBounds.java
Type: text/x-java
Size: 1574 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intersect.java
Type: text/x-java
Size: 2634 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intersects.java
Type: text/x-java
Size: 2303 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: isEmpty.java
Type: text/x-java
Size: 1547 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: isPolygonal.java
Type: text/x-java
Size: 1769 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: isRectangular.java
Type: text/x-java
Size: 1837 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0013.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: isSingular.java
Type: text/x-java
Size: 1539 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0014.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reset.java
Type: text/x-java
Size: 1434 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0015.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: subtract.java
Type: text/x-java
Size: 2591 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0016.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transform.java
Type: text/x-java
Size: 1800 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20040831/b8687c6f/attachment-0017.bin>
More information about the Mauve-patches
mailing list