harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r982650 - /harmony/enhanced/java/trunk/classlib/modules/swing/src/test/api/java.injected/javax/swing/text/html/FormViewTest.java
Date Thu, 05 Aug 2010 14:58:29 GMT
Author: hindessm
Date: Thu Aug  5 14:58:29 2010
New Revision: 982650

URL: http://svn.apache.org/viewvc?rev=982650&view=rev
Log:
Applying patches from "[#HARMONY-6574]
[classlib][swing]javax.swing.text.html.FormViewTest.testActionPerformed()
failed on RI on Windows and Linux platform".

Modified:
    harmony/enhanced/java/trunk/classlib/modules/swing/src/test/api/java.injected/javax/swing/text/html/FormViewTest.java

Modified: harmony/enhanced/java/trunk/classlib/modules/swing/src/test/api/java.injected/javax/swing/text/html/FormViewTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/swing/src/test/api/java.injected/javax/swing/text/html/FormViewTest.java?rev=982650&r1=982649&r2=982650&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/swing/src/test/api/java.injected/javax/swing/text/html/FormViewTest.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/swing/src/test/api/java.injected/javax/swing/text/html/FormViewTest.java
Thu Aug  5 14:58:29 2010
@@ -62,6 +62,8 @@ public class FormViewTest extends SwingT
     private Element elem;
 
     private FormView formView;
+    
+    private boolean dataSubmitted = false;
 
     protected void setUp() throws Exception {
         super.setUp();
@@ -695,7 +697,7 @@ public class FormViewTest extends SwingT
             }
 
             protected void submitData(String data) {
-                super.submitData(data);
+                dataSubmitted = true;
             }
         };
         component = formView.createComponent();
@@ -706,7 +708,8 @@ public class FormViewTest extends SwingT
         };
         panel.add(component);
         ((JButton) component).doClick();
-        
+        assertTrue(dataSubmitted);
+        dataSubmitted = false;
         throw new UnsupportedOperationException("Not implemented");
     }
 



Mime
View raw message