This is the mail archive of the mauve-patches@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: java.awt.Polygon/contains()


Hi,

On Mon, 2004-08-16 at 15:06, David Gilbert wrote:
> Attached is a test for the contains() method in the java.awt.Polygon
> class.  I get the following failures using JamVM 1.1.4 and a recent CVS
> version of Classpath:
> 
> dgilbert@linux42:~/workspace/mauve> jamvm gnu.testlet.SimpleTestHarness
> -file CurrentTests.txt -debug
> FAIL: gnu.testlet.java.awt.Polygon.contains: Polygon 1 (number 2)
> FAIL: gnu.testlet.java.awt.Polygon.contains: Polygon 1 (number 3)
> FAIL: gnu.testlet.java.awt.Polygon.contains: Polygon 2 (number 8)
> FAIL: gnu.testlet.java.awt.Polygon.contains: Polygon 2 (number 10)
> FAIL: gnu.testlet.java.awt.Polygon.contains: Polygon 2 (number 12)
> 5 of 29 tests failed

I get the exact same failures with kaffe or gij.
Didn't investigate really. The tests seem correct though. So out
Polygon.contains() implementation is most probably borked.

Checked in as follows:

2004-08-27  David Gilbert  <david.gilbert@object-refinery.com>

        * gnu/testlet/java/awt/Polygon/contains.java: New test.

Thanks,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]