commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1659117 - /commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/invoke/InvokeParamNameTest.java
Date Thu, 12 Feb 2015 01:13:42 GMT
Author: ate
Date: Thu Feb 12 01:13:42 2015
New Revision: 1659117

URL: http://svn.apache.org/r1659117
Log:
SCXML-226: Support of special send targets #_parent and #_invokeid
- support for #_invokeid, based upon a patch contributed by Michael Goerlich

Modified:
    commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/invoke/InvokeParamNameTest.java

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/invoke/InvokeParamNameTest.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/invoke/InvokeParamNameTest.java?rev=1659117&r1=1659116&r2=1659117&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/invoke/InvokeParamNameTest.java
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/invoke/InvokeParamNameTest.java
Thu Feb 12 01:13:42 2015
@@ -19,6 +19,7 @@ package org.apache.commons.scxml2.invoke
 import java.util.Map;
 
 import org.apache.commons.scxml2.SCXMLExecutor;
+import org.apache.commons.scxml2.SCXMLIOProcessor;
 import org.apache.commons.scxml2.SCXMLTestHelper;
 import org.apache.commons.scxml2.TriggerEvent;
 import org.apache.commons.scxml2.model.ModelException;
@@ -82,6 +83,7 @@ public class InvokeParamNameTest {
 
         private String invokeId;
 
+        @Override
         public void invoke(String source, Map<String, Object> params)
         throws InvokerException {
             lastSource = source;
@@ -96,25 +98,36 @@ public class InvokeParamNameTest {
             return lastParams;
         }
 
+        @Override
         public void cancel() throws InvokerException {
             // Not needed
         }
 
+        @Override
         public void parentEvent(TriggerEvent evt) throws InvokerException {
             // Not needed
         }
 
+        @Override
         public String getInvokeId() {
             return invokeId;
         }
 
+        @Override
         public void setInvokeId(String invokeId) {
             this.invokeId = invokeId;
         }
 
+        @Override
         public void setParentSCXMLExecutor(SCXMLExecutor parentSCXMLExecutor) {
             // Not needed
         }
+
+        @Override
+        public SCXMLIOProcessor getChildIOProcessor() {
+            // not used
+            return null;
+        }
     }
 
 }



Mime
View raw message