diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-08-11 14:12:28 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-08-11 14:12:28 (GMT) |
commit | c30b602cdb5ede809b960e35fc7e702b7f1f76e2 (patch) | |
tree | a7935d13b35abde551d7b06836b4bc617fc5274e /test/w3c/txml | |
parent | b95a9c2d23c4bfba84dfac8683c47153d598e09f (diff) | |
download | uscxml-c30b602cdb5ede809b960e35fc7e702b7f1f76e2.zip uscxml-c30b602cdb5ede809b960e35fc7e702b7f1f76e2.tar.gz uscxml-c30b602cdb5ede809b960e35fc7e702b7f1f76e2.tar.bz2 |
Reformatted w3c tests with xmllint
Diffstat (limited to 'test/w3c/txml')
-rw-r--r-- | test/w3c/txml/test252.txml | 4 | ||||
-rw-r--r-- | test/w3c/txml/test288.txml | 24 |
2 files changed, 26 insertions, 2 deletions
diff --git a/test/w3c/txml/test252.txml b/test/w3c/txml/test252.txml index 40c36cb..ba43543 100644 --- a/test/w3c/txml/test252.txml +++ b/test/w3c/txml/test252.txml @@ -9,7 +9,7 @@ timeout indicates success. --> <state id="s0" initial="s01"> <onentry> - <send event="timeout" delay="2s"/> + <send event="timeout" conf:delay="1"/> </onentry> <transition event="timeout" conf:targetpass=""/> @@ -26,7 +26,7 @@ timeout indicates success. --> <scxml initial="sub0" version="1.0" conf:datamodel="" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance"> <state id="sub0"> <onentry> - <send event="timeout" delay="2s"/> + <send event="timeout" conf:delay=".5"/> </onentry> <transition event="timeout" target="subFinal"/> <onexit> diff --git a/test/w3c/txml/test288.txml b/test/w3c/txml/test288.txml new file mode 100644 index 0000000..8d6a53f --- /dev/null +++ b/test/w3c/txml/test288.txml @@ -0,0 +1,24 @@ +<?xml version="1.0"?> +<!-- a simple test that a legal value may be assigned to a valid data model location +using child content --> + +<scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" + conf:datamodel="" version="1.0" initial="s0"> + +<datamodel> + <data conf:id="1" conf:expr="0"/> + </datamodel> + + <state id="s0"> + <onentry> + <assign conf:location="1"><conf:someInlineVal/></assign> + </onentry> + + <transition conf:idSomeVal="1" conf:targetpass=""/> + <transition conf:targetfail=""/> + </state> + +<conf:pass/> +<conf:fail/> + +</scxml>
\ No newline at end of file |