Added comments to EventTest.testDoubleClickEvent() to explain why IE behavior is expected to be different.

Patch by: jlabanca
Review: jgw (TBR)
Issue: 3392



git-svn-id: https://google-web-toolkit.googlecode.com/svn/releases/1.6@4911 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/test/com/google/gwt/user/client/EventTest.java b/user/test/com/google/gwt/user/client/EventTest.java
index a8d6474..f2e6490 100644
--- a/user/test/com/google/gwt/user/client/EventTest.java
+++ b/user/test/com/google/gwt/user/client/EventTest.java
@@ -150,8 +150,8 @@
   }
 
   /**
-   * Test that a double click results in exactly two click events, one real and
-   * one simulated. See issue 3392 for more info.
+   * Test that a double click results in exactly one simulated click event in
+   * IE. See issue 3392 for more info.
    */
   public void testDoubleClickEvent() {
     TestLabel label = new TestLabel();
@@ -181,8 +181,10 @@
 
     // Verify the results
     if (isInternetExplorer()) {
+      // IE is expected to simulate exactly 1 click event
       assertEquals(2, clickInfo.fireCount);
     } else {
+      // Other browsers should not simulate any events
       assertEquals(1, clickInfo.fireCount);
     }
     assertEquals(1, dblclickInfo.fireCount);