You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by bb...@apache.org on 2006/07/12 19:54:16 UTC

svn commit: r421393 - /incubator/xap/trunk/testsrc/XapUnitTestSuite.html

Author: bbuffone
Date: Wed Jul 12 12:54:15 2006
New Revision: 421393

URL: http://svn.apache.org/viewvc?rev=421393&view=rev
Log:
Checking in the first version of the xModify against the HTML DOM.

Also added and fixed xModify jsunit tests for both 
xmodify against reagular dom and HTML dom

Sample application to test and demo how to use xModify against the 
HTML dom

Modified:
    incubator/xap/trunk/testsrc/XapUnitTestSuite.html

Modified: incubator/xap/trunk/testsrc/XapUnitTestSuite.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/XapUnitTestSuite.html?rev=421393&r1=421392&r2=421393&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/XapUnitTestSuite.html (original)
+++ incubator/xap/trunk/testsrc/XapUnitTestSuite.html Wed Jul 12 12:54:15 2006
@@ -53,6 +53,17 @@
             return result;
         }
         
+        function xModifySuite( webappContext ) {
+        	var result = new top.jsUnitTestSuite();
+            result.addTestPage( webappContext + "/testsrc/xap/xmodify/_TestxModify.html" );
+            return result;
+        }
+
+        function xModifyHTMLSuite( webappContext ) {
+        	var result = new top.jsUnitTestSuite();
+            result.addTestPage( webappContext + "/testsrc/xap/xmodify/_TestxModifyHTML.html" );
+            return result;
+        }
         
         
         function suite() {
@@ -60,14 +71,19 @@
             var	webappContext = "/jsunit";
 
             suite.addTestSuite( taghandlingSuite( webappContext ) );
-           suite.addTestSuite( utilSuite( webappContext ) );
-           suite.addTestSuite( xmlSuite( webappContext ) );
+            suite.addTestSuite( utilSuite( webappContext ) );
+            suite.addTestSuite( xmlSuite( webappContext ) );
             suite.addTestSuite( mcoSuite( webappContext ) );
             suite.addTestSuite( zimbraSuite( webappContext ) );
             suite.addTestSuite( sessionSuite( webappContext ) );
+
+            suite.addTestSuite( xModifySuite( webappContext ) );
+            suite.addTestSuite( xModifyHTMLSuite( webappContext ) );
             
             return suite;
         }
+        
+        
     </script>
 </head>