public inbox for mauve-patches@sourceware.org
 help / color / mirror / Atom feed
From: Lillian Angel <langel@redhat.com>
To: Michael Koch <konqueror@gmx.de>
Cc: David Gilbert <david.gilbert@object-refinery.com>,
	        mauve-patches <mauve-patches@sources.redhat.com>
Subject: Re: FYI: New Lightweight tests
Date: Wed, 22 Feb 2006 15:55:00 -0000	[thread overview]
Message-ID: <1140623737.22215.81.camel@tow.toronto.redhat.com> (raw)
In-Reply-To: <1140621161.22215.71.camel@tow.toronto.redhat.com>

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

Documentation is fixed.

2006-02-21  Lillian Angel  <langel@redhat.com>

        * gnu/testlet/TestHarness.java
        (checkColor): Fixed API documentation.
        (checkRectangleOuterColors): Likewise.
        * gnu/testlet/java/awt/Container/LightweightContainer.java
        (testWindow): Added documentation.
        (testLoc): Likewise.
        * gnu/testlet/java/awt/Frame/size1.java
        (test): Added documentation.



[-- Attachment #2: patch2.diff --]
[-- Type: text/x-patch, Size: 3651 bytes --]

Index: gnu/testlet/TestHarness.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/TestHarness.java,v
retrieving revision 1.21
diff -u -r1.21 TestHarness.java
--- gnu/testlet/TestHarness.java	21 Feb 2006 23:51:48 -0000	1.21
+++ gnu/testlet/TestHarness.java	22 Feb 2006 15:51:31 -0000
@@ -194,11 +194,11 @@
    * Compares two colors.
    * 
    * @param a -
-   *          Color to compare
+   *          Color to compare.
    * @param b -
-   *          Color to compare
+   *          Color to compare.
    * @param match -
-   *          True if colors should be equivalent.
+   *          true if colors should be equivalent.
    */
   public void checkColor(Color a, Color b, boolean match)
   {
@@ -215,13 +215,13 @@
    * match (or don't match) a given color.
    * 
    * @param r -
-   *          The Robot to use to get the pixel color at a location
+   *          the Robot to use to get the pixel color at a location.
    * @param rect -
-   *          The Rectangle to check
+   *          the Rectangle to check
    * @param comp -
-   *          The Color to compare the pixel colors to
+   *          the Color to compare the pixel colors to.
    * @param match -
-   *          True if the pixel outside the rectangle corner should be
+   *          true if the pixel outside the rectangle corner should be
    *          equivalent to comp.
    */
   public void checkRectangleOuterColors(Robot r, Rectangle rect, Color comp,
@@ -263,16 +263,16 @@
   }
 
   /**
-   * This method checks the pixel colors of a Rectangle's corners
+   * This method checks the pixel colors of a Rectangle's corners.
    * 
    * @param r -
-   *          The Robot to use to get the pixel colors.
+   *          the Robot to use to get the pixel colors.
    * @param rect -
-   *          The Rectangle to check.
+   *          the Rectangle to check.
    * @param comp -
-   *          The Color to compare
+   *          the Color to compare.
    * @param match -
-   *          True if the corner pixel color of the rectangle should be
+   *          true if the corner pixel color of the rectangle should be
    *          equivalent to comp.
    */
   public void checkRectangleCornerColors(Robot r, Rectangle rect, Color comp,
Index: gnu/testlet/java/awt/Container/LightweightContainer.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/awt/Container/LightweightContainer.java,v
retrieving revision 1.2
diff -u -r1.2 LightweightContainer.java
--- gnu/testlet/java/awt/Container/LightweightContainer.java	22 Feb 2006 00:13:48 -0000	1.2
+++ gnu/testlet/java/awt/Container/LightweightContainer.java	22 Feb 2006 15:51:31 -0000
@@ -49,6 +49,7 @@
     f.add(tc);
     f.show();
 
+    // There is a delay to avoid any race conditions.    
     r.waitForIdle();
     r.delay(300);
     
@@ -103,7 +104,8 @@
     bgHW.add(fgLW);
     fgLW.add(fgHW);
     f.show();
-    
+
+    // There is a delay to avoid any race conditions.
     r.waitForIdle();
     r.delay(300);    
     Insets i = f.getInsets();
Index: gnu/testlet/java/awt/Frame/size1.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/awt/Frame/size1.java,v
retrieving revision 1.2
diff -u -r1.2 size1.java
--- gnu/testlet/java/awt/Frame/size1.java	21 Feb 2006 23:51:48 -0000	1.2
+++ gnu/testlet/java/awt/Frame/size1.java	22 Feb 2006 15:51:31 -0000
@@ -83,6 +83,7 @@
     bg.show ();
     fg.show ();
 
+    // There is a delay to avoid any race conditions.
     r.waitForIdle ();
     r.delay (100);
 

  reply	other threads:[~2006-02-22 15:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-21 23:52 Patch: " Lillian Angel
2006-02-21 23:55 ` Lillian Angel
2006-02-22 10:04   ` David Gilbert
2006-02-22 14:48     ` Lillian Angel
2006-02-22 17:12     ` Thomas Fitzsimmons
2006-02-22  8:12 ` Roman Kennke
2006-02-22 14:49   ` Lillian Angel
2006-02-22 10:28 ` David Gilbert
2006-02-22 14:51   ` Lillian Angel
2006-02-22 15:09     ` Michael Koch
2006-02-22 15:12       ` Lillian Angel
2006-02-22 15:55         ` Lillian Angel [this message]
2006-02-22 17:25   ` Thomas Fitzsimmons
2006-02-22 17:47     ` FYI: " Lillian Angel
2006-02-22 18:18       ` Lillian Angel
2006-02-24  2:02         ` Thomas Fitzsimmons
2006-02-24 14:49           ` Lillian Angel
2006-02-24 15:17             ` Lillian Angel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1140623737.22215.81.camel@tow.toronto.redhat.com \
    --to=langel@redhat.com \
    --cc=david.gilbert@object-refinery.com \
    --cc=konqueror@gmx.de \
    --cc=mauve-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).