summaryrefslogtreecommitdiffstats
path: root/test/samples/uscxml/test-communication.scxml
diff options
context:
space:
mode:
Diffstat (limited to 'test/samples/uscxml/test-communication.scxml')
-rw-r--r--test/samples/uscxml/test-communication.scxml8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/samples/uscxml/test-communication.scxml b/test/samples/uscxml/test-communication.scxml
index 4811a3f..2cba08e 100644
--- a/test/samples/uscxml/test-communication.scxml
+++ b/test/samples/uscxml/test-communication.scxml
@@ -1,6 +1,7 @@
<scxml datamodel="ecmascript" initial="start" binding="late" name="foo">
- <state id="start">
-
+ <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" />
+
+ <state id="start">
<!-- Setup datamodel, print environment and send ourself an event to transition to next state -->
<datamodel>
@@ -24,6 +25,9 @@ This is some content you got there dude!
</send>
</onentry>
<transition event="transitionToNext" target="step1" cond="_event.data.bar == 'this is the bar data'" />
+ <transition event="*" target="final">
+ <log label="FAIL!" expr="dump(_event)" />
+ </transition>
</state>
<state id="step1">
<onentry>