diff options
Diffstat (limited to 'test/w3c/txml/test319.txml')
-rw-r--r-- | test/w3c/txml/test319.txml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/w3c/txml/test319.txml b/test/w3c/txml/test319.txml new file mode 100644 index 0000000..50e4a97 --- /dev/null +++ b/test/w3c/txml/test319.txml @@ -0,0 +1,25 @@ +<?xml version="1.0"?> + +<!-- test that _event is not bound before any event has been raised --> + +<scxml initial="s0" conf:datamodel="" version="1.0" xmlns="http://www.w3.org/2005/07/scxml" + name="machineName" xmlns:conf="http://www.w3.org/2005/scxml-conformance"> + + <state id="s0"> + <onentry> + <if conf:systemVarIsBound="_event"> + <raise event="bound"/> + <else/> + <raise event="unbound"/> + </if> + </onentry> + <transition event="unbound" conf:targetpass=""/> + <transition event="bound" conf:targetfail=""/> + + </state> + + + <conf:pass/> + <conf:fail/> + +</scxml>
\ No newline at end of file |