Author: rahul Date: Sun Jul 12 22:43:41 2009 New Revision: 793425 URL: http://svn.apache.org/viewvc?rev=793425&view=rev Log: Leave commented line that can be uncommented to switch all tests to use the older parser.
Modified: commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/SCXMLTestHelper.java Modified: commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/SCXMLTestHelper.java URL: http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/SCXMLTestHelper.java?rev=793425&r1=793424&r2=793425&view=diff ============================================================================== --- commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/SCXMLTestHelper.java (original) +++ commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/SCXMLTestHelper.java Sun Jul 12 22:43:41 2009 @@ -68,6 +68,8 @@ SCXML scxml = null; Configuration configuration = new Configuration(null, null, customActions); scxml = SCXMLReader.read(url, configuration); + //Uncomment line below to test the (now deprecated) SCXMLParser + //scxml = SCXMLParser.parse(url, new SimpleErrorHandler(), customActions); Assert.assertNotNull(scxml); SCXML roundtrip = testModelSerializability(scxml); return roundtrip;