commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r681832 - in /commons/proper/scxml/trunk/src: main/java/org/apache/commons/scxml/io/SCXMLSerializer.java test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java
Date Fri, 01 Aug 2008 21:22:26 GMT
Author: rahul
Date: Fri Aug  1 14:22:26 2008
New Revision: 681832

URL: http://svn.apache.org/viewvc?rev=681832&view=rev
Log:
Correct typo in <send> serialization and minor changes to corresponding test.
SCXML-83

Modified:
    commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/io/SCXMLSerializer.java
    commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java

Modified: commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/io/SCXMLSerializer.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/io/SCXMLSerializer.java?rev=681832&r1=681831&r2=681832&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/io/SCXMLSerializer.java
(original)
+++ commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/io/SCXMLSerializer.java
Fri Aug  1 14:22:26 2008
@@ -502,7 +502,7 @@
             .append(send.getTarget()).append("\" targetType=\"")
             .append(send.getTargettype()).append("\" namelist=\"")
             .append(send.getNamelist()).append("\" delay=\"")
-            .append(send.getDelay()).append("\" events=\"")
+            .append(send.getDelay()).append("\" event=\"")
             .append(send.getEvent()).append("\" hints=\"")
             .append(send.getHints()).append("\">\n")
             .append(getBodyContent(send))

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java?rev=681832&r1=681831&r2=681832&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java
Fri Aug  1 14:22:26 2008
@@ -74,7 +74,7 @@
         send.setTarget("newTarget");
         send.setTargettype("newTargetType");
         send.setNamelist("names");
-        send.setDelay("4 secs");
+        send.setDelay("4s");
         send.setEvent("turnoff");
         send.setHints("guess");
         
@@ -82,8 +82,8 @@
                 "target=\"newTarget\" " +
                 "targetType=\"newTargetType\" " +
                 "namelist=\"names\" " +
-                "delay=\"4 secs\" " +
-                "events=\"turnoff\" " +
+                "delay=\"4s\" " +
+                "event=\"turnoff\" " +
                 "hints=\"guess\">\n </send>\n";
         
         StringBuffer returnValue = new StringBuffer(); 



Mime
View raw message