Author: rahul Date: Tue Jan 6 15:39:20 2009 New Revision: 732174 URL: http://svn.apache.org/viewvc?rev=732174&view=rev Log: Changes to test case that should have been part of r728828 (Add support for the SCXML Script Module).
The m2 build is not running the javascript package tests (though the pom does include org/apache/commons/scxml/env/javascript/EnvJavaScriptTestSuite.java in the surefire configuration). It'd be great if someone else can try to spot the hang up. Modified: commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/JSBindingsTest.java Modified: commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/JSBindingsTest.java URL: http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/JSBindingsTest.java?rev=732174&r1=732173&r2=732174&view=diff ============================================================================== --- commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/JSBindingsTest.java (original) +++ commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/JSBindingsTest.java Tue Jan 6 15:39:20 2009 @@ -508,9 +508,10 @@ assertNull("Invalid JSbindings", jsx.get ("bear")); jsx.put ("bear","koala"); - assertNull ("Invalid SCXML context", context.get ("bear")); - assertNotNull ("Invalid Javascript bindings", bindings.get("bear")); - assertEquals ("Invalid Javascript","koala", bindings.get("bear")); + assertNotNull ("Invalid SCXML context", context.get ("bear")); + assertEquals ("Invalid SCXML context","koala",context.get("bear")); + assertNotNull ("Invalid JSbindings", jsx.get ("bear")); + assertNull ("Invalid Javascript bindings", bindings.get("bear")); } /**