diff options
Diffstat (limited to 'test/samples/uscxml')
-rw-r--r-- | test/samples/uscxml/test-ecmascript.scxml | 8 | ||||
-rw-r--r-- | test/samples/uscxml/test-prolog.scxml | 15 |
2 files changed, 16 insertions, 7 deletions
diff --git a/test/samples/uscxml/test-ecmascript.scxml b/test/samples/uscxml/test-ecmascript.scxml index aa88f17..7dfd94c 100644 --- a/test/samples/uscxml/test-ecmascript.scxml +++ b/test/samples/uscxml/test-ecmascript.scxml @@ -77,13 +77,7 @@ </foreach> </foreach> </onentry> - <transition target="externalEvents" /> - </state> - <state id="externalEvents"> - <onentry> - <log expr="'-- External Events'" /> - </onentry> - <transition target="datamodels" event="event1" cond="_event.name == 'event1'" /> + <transition target="datamodels" /> </state> <state id="datamodels"> <datamodel> diff --git a/test/samples/uscxml/test-prolog.scxml b/test/samples/uscxml/test-prolog.scxml new file mode 100644 index 0000000..75a1c64 --- /dev/null +++ b/test/samples/uscxml/test-prolog.scxml @@ -0,0 +1,15 @@ +<scxml datamodel="prolog" initial="start" binding="late"> + <datamodel> + <data id="facts"> + cat(tom). + animal(X):- cat(X). + </data> + </datamodel> + <script> + cat(tom). + cat(X). + animal(X). + </script> + <state id="start"> + </state> +</scxml>
\ No newline at end of file |