You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by jb...@apache.org on 2010/06/14 04:19:43 UTC

svn commit: r954349 - in /commons/sandbox/gsoc/2010/scxml-js/trunk/test: SCXMLCompiler.js testBrowserTransform.html

Author: jbeard
Date: Mon Jun 14 02:19:43 2010
New Revision: 954349

URL: http://svn.apache.org/viewvc?rev=954349&view=rev
Log:
Hooked up in-browser unit tests again. Passes.

Modified:
    commons/sandbox/gsoc/2010/scxml-js/trunk/test/SCXMLCompiler.js
    commons/sandbox/gsoc/2010/scxml-js/trunk/test/testBrowserTransform.html

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/test/SCXMLCompiler.js
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/test/SCXMLCompiler.js?rev=954349&r1=954348&r2=954349&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/test/SCXMLCompiler.js (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/test/SCXMLCompiler.js Mon Jun 14 02:19:43 2010
@@ -1,7 +1,7 @@
 require.def(
 	"test/SCXMLCompiler",
 	[
-		"xml!test/kitchen_sink/KitchenSink.xml",
+		"xml!test/kitchen_sink/KitchenSink_executableContent.xml",
 		"src/javascript/scxml/cgf/backends/js/StatePatternStatechartGenerator",
 		"/lib/js/beautify.js"],
 	function(
@@ -64,14 +64,6 @@ require.def(
 				}
 
 				return transformedJs;
-
-				/*
-				//eval
-				eval(resultText);
-				window.StatechartExecutionContext = StatechartExecutionContext;
-				dojo.require("doh.runner"); 
-				doh.run();
-				*/
 			}
 		}
 

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/test/testBrowserTransform.html
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/test/testBrowserTransform.html?rev=954349&r1=954348&r2=954349&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/test/testBrowserTransform.html (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/test/testBrowserTransform.html Mon Jun 14 02:19:43 2010
@@ -39,6 +39,12 @@
 				});
 
 				console.log(transformedJs);
+
+				//eval
+				eval(transformedJs);
+				window.StatechartExecutionContext = StatechartExecutionContext;
+				dojo.require("doh.runner"); 
+				doh.run();
 			}
 		);