harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r576770 - /harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/EventDispatchThreadRTest.java
Date Tue, 18 Sep 2007 08:20:00 GMT
Author: tellison
Date: Tue Sep 18 01:20:00 2007
New Revision: 576770

URL: http://svn.apache.org/viewvc?rev=576770&view=rev
Log:
Disable AWT test testHarmony2116 deemed to be invalid.

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/EventDispatchThreadRTest.java

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/EventDispatchThreadRTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/EventDispatchThreadRTest.java?rev=576770&r1=576769&r2=576770&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/EventDispatchThreadRTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/EventDispatchThreadRTest.java
Tue Sep 18 01:20:00 2007
@@ -41,23 +41,24 @@
             }
         );
     }
-    
-    public void testHarmony2116() throws InterruptedException {
-        final ByteArrayOutputStream out = new ByteArrayOutputStream();
-        final PrintStream err = System.err;
-        final Toolkit tk;
-
-        System.setErr(new PrintStream(out));
-        tk = new ToolkitImpl() {
-            protected EventQueue getSystemEventQueueImpl() {
-                return null;
-            }
-        };
-
-        Thread.sleep(100);
-        tk.dispatchThread.shutdown();
-        tk.dispatchThread.join(3000);
-        System.setErr(err);
-        assertEquals(0, out.size());
-    }
+  
+// FIXME: Test deemed to be invalid  
+//    public void testHarmony2116() throws InterruptedException {
+//        final ByteArrayOutputStream out = new ByteArrayOutputStream();
+//        final PrintStream err = System.err;
+//        final Toolkit tk;
+//
+//        System.setErr(new PrintStream(out));
+//        tk = new ToolkitImpl() {
+//            protected EventQueue getSystemEventQueueImpl() {
+//                return null;
+//            }
+//        };
+//
+//        Thread.sleep(100);
+//        tk.dispatchThread.shutdown();
+//        tk.dispatchThread.join(3000);
+//        System.setErr(err);
+//        assertEquals(0, out.size());
+//    }
 }



Mime
View raw message