This is the mail archive of the
mailing list for the Mauve project.
Re: Patch: New Lightweight tests
- From: Lillian Angel <langel at redhat dot com>
- To: mauve-patches <mauve-patches at sources dot redhat dot com>
- Date: Tue, 21 Feb 2006 18:55:20 -0500
- Subject: Re: Patch: New Lightweight tests
- References: <firstname.lastname@example.org>
On Tue, 2006-02-21 at 18:52 -0500, Lillian Angel wrote:
> I added new tests for Lightweight Containers.
I forgot to mention, I added some new methods to TestHarness. These
methods are helpful for testing locations on the screen when using
Lightweight/Heavyweight widgets. It made sense to add these to
TestHarness, since they are used in Frame and Container.
> 2006-02-21 Lillian Angel <email@example.com>
> * gnu/testlet/TestHarness.java
> (checkColor): New method used to compare colors.
> (checkRectangleOuterColors): New method used to compare the
> colors of a rectangle's corners to the colors of the pixels
> surrounding the corners.
> (checkRectangleCornerColors): New method used to compare
> the colors of the pixels at the corners of a rectangle, to
> a given color.
> * gnu/testlet/java/awt/Container/LightweightContainer.java:
> New Test.
> * gnu/testlet/java/awt/Frame/size1.java
> (checkColor): Removed.
> (test): Changed to use new methods in TestHarness.