click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r735981 - /incubator/click/trunk/click/framework/test/org/apache/click/ClickServletTest.java
Date Tue, 20 Jan 2009 10:09:22 GMT
Author: sabob
Date: Tue Jan 20 02:09:22 2009
New Revision: 735981

URL: http://svn.apache.org/viewvc?rev=735981&view=rev
Log:
update test

Modified:
    incubator/click/trunk/click/framework/test/org/apache/click/ClickServletTest.java

Modified: incubator/click/trunk/click/framework/test/org/apache/click/ClickServletTest.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/test/org/apache/click/ClickServletTest.java?rev=735981&r1=735980&r2=735981&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/test/org/apache/click/ClickServletTest.java (original)
+++ incubator/click/trunk/click/framework/test/org/apache/click/ClickServletTest.java Tue
Jan 20 02:09:22 2009
@@ -20,6 +20,7 @@
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
+import org.apache.click.control.Form;
 import org.apache.click.pages.ListenerPage;
 
 /**
@@ -38,7 +39,7 @@
     public void testRegisterListener() {
         MockContainer container = new MockContainer("web");
         container.start();
-        container.setParameter("form_name", "form"); // Simulate form submitted
+        container.setParameter(Form.FORM_NAME, "form"); // Simulate form submitted
         container.setParameter("submit", "submit"); // Simulate Submit button clicked
         container.setParameter("field", "one"); // Simulate TextField value set
 



Mime
View raw message