harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r479493 - /harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/BasicSwingTestCase.java
Date Mon, 27 Nov 2006 01:49:08 GMT
Author: ndbeyer
Date: Sun Nov 26 17:49:07 2006
New Revision: 479493

URL: http://svn.apache.org/viewvc?view=rev&rev=479493
Log:
Correct operator for interrupt check

Modified:
    harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/BasicSwingTestCase.java

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/BasicSwingTestCase.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/BasicSwingTestCase.java?view=diff&rev=479493&r1=479492&r2=479493
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/BasicSwingTestCase.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/BasicSwingTestCase.java
Sun Nov 26 17:49:07 2006
@@ -143,7 +143,7 @@
         int interruptAttempts = 0;
         while (thread.isAlive()){
             thread.interrupt();
-            if (interruptAttempts++ < 5) {
+            if (interruptAttempts++ > 5) {
                 fail("Test interrupted due timeout");
             }
         }



Mime
View raw message