commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbe...@apache.org
Subject svn commit: r954349 - in /commons/sandbox/gsoc/2010/scxml-js/trunk/test: SCXMLCompiler.js testBrowserTransform.html
Date Mon, 14 Jun 2010 02:19:43 GMT
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();
 			}
 		);
 



Mime
View raw message