click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r1037130 - /click/trunk/click/framework/test/org/apache/click/control/FormTest.java
Date Sat, 20 Nov 2010 07:14:08 GMT
Author: sabob
Date: Sat Nov 20 07:14:08 2010
New Revision: 1037130

URL: http://svn.apache.org/viewvc?rev=1037130&view=rev
Log:
use new contexts

Modified:
    click/trunk/click/framework/test/org/apache/click/control/FormTest.java

Modified: click/trunk/click/framework/test/org/apache/click/control/FormTest.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/test/org/apache/click/control/FormTest.java?rev=1037130&r1=1037129&r2=1037130&view=diff
==============================================================================
--- click/trunk/click/framework/test/org/apache/click/control/FormTest.java (original)
+++ click/trunk/click/framework/test/org/apache/click/control/FormTest.java Sat Nov 20 07:14:08
2010
@@ -859,6 +859,8 @@ public class FormTest extends TestCase {
      * CLK-715
      */
     public void testGetState() {
+        MockContext.initContext();
+
         // Setup Form and Fields
         Form form = new Form("form");
         Field nameField  = new TextField("name");
@@ -899,6 +901,8 @@ public class FormTest extends TestCase {
      * CLK-715
      */
     public void testSetState() {
+        MockContext.initContext();
+
         // Setup Form and Fields
         Form form = new Form("form");
         Field nameField  = new TextField("name");



Mime
View raw message