commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r366857 - in /jakarta/commons/sandbox/scxml/trunk/src: main/java/org/apache/commons/scxml/env/jsp/Standalone.java test/java/org/apache/commons/scxml/SCXMLDigesterTest.java
Date Sat, 07 Jan 2006 17:23:13 GMT
Author: rahul
Date: Sat Jan  7 09:23:09 2006
New Revision: 366857

URL: http://svn.apache.org/viewcvs?rev=366857&view=rev
Log:
Update JUnit and command line testing classes to use SCXMLSerializer class.

Modified:
    jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/Standalone.java
    jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/SCXMLDigesterTest.java

Modified: jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/Standalone.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/Standalone.java?rev=366857&r1=366856&r2=366857&view=diff
==============================================================================
--- jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/Standalone.java
(original)
+++ jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/Standalone.java
Sat Jan  7 09:23:09 2006
@@ -30,6 +30,7 @@
 import org.apache.commons.scxml.SCXMLDigester;
 import org.apache.commons.scxml.SCXMLExecutor;
 import org.apache.commons.scxml.SCXMLHelper;
+import org.apache.commons.scxml.SCXMLSerializer;
 import org.apache.commons.scxml.TriggerEvent;
 import org.apache.commons.scxml.env.SimpleDispatcher;
 import org.apache.commons.scxml.env.Tracer;
@@ -80,7 +81,7 @@
                         + " can not be parsed!");
                 System.exit(-1);
             }
-            System.err.println(SCXMLDigester.serializeSCXML(doc));
+            System.out.println(SCXMLSerializer.serialize(doc));
             SCXMLExecutor exec = new SCXMLExecutor(engine, ed, trc);
             doc.addListener(trc);
             exec.setSuperStep(true);

Modified: jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/SCXMLDigesterTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/SCXMLDigesterTest.java?rev=366857&r1=366856&r2=366857&view=diff
==============================================================================
--- jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/SCXMLDigesterTest.java
(original)
+++ jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/SCXMLDigesterTest.java
Sat Jan  7 09:23:09 2006
@@ -116,7 +116,7 @@
     }
 
     private String serialize(final SCXML scxml) {
-        scxmlAsString = SCXMLDigester.serializeSCXML(scxml);
+        scxmlAsString = SCXMLSerializer.serialize(scxml);
         assertNotNull(scxmlAsString);
         return scxmlAsString;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message