From 1453feb7ca59167c219afb21dfba4ed3ea68d176 Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Sun, 14 May 2017 13:35:34 +0200 Subject: Renamed macro and updated W3C Lua tests --- src/uscxml/interpreter/BasicContentExecutor.cpp | 30 ++++++++-------- src/uscxml/messages/Event.h | 12 +++---- test/w3c/convert-tests.sh | 11 ++++++ test/w3c/lua/test156.scxml | 2 +- test/w3c/lua/test191.scxml | 2 +- test/w3c/lua/test192.scxml | 4 +-- test/w3c/lua/test193.scxml | 2 +- test/w3c/lua/test215.scxml | 2 +- test/w3c/lua/test216.scxml | 2 +- test/w3c/lua/test220.scxml | 2 +- test/w3c/lua/test223.scxml | 2 +- test/w3c/lua/test224.scxml | 2 +- test/w3c/lua/test225.scxml | 2 +- test/w3c/lua/test226.scxml | 2 +- test/w3c/lua/test228.scxml | 2 +- test/w3c/lua/test229.scxml | 4 +-- test/w3c/lua/test230.scxml | 4 +-- test/w3c/lua/test232.scxml | 2 +- test/w3c/lua/test233.scxml | 2 +- test/w3c/lua/test234.scxml | 4 +-- test/w3c/lua/test235.scxml | 2 +- test/w3c/lua/test239.scxml | 2 +- test/w3c/lua/test240.scxml | 2 +- test/w3c/lua/test241.scxml | 2 +- test/w3c/lua/test242.scxml | 6 ++-- test/w3c/lua/test243.scxml | 2 +- test/w3c/lua/test244.scxml | 2 +- test/w3c/lua/test245.scxml | 2 +- test/w3c/lua/test247.scxml | 2 +- test/w3c/lua/test250.scxml | 2 +- test/w3c/lua/test253.scxml | 2 +- test/w3c/lua/test277.scxml | 2 +- test/w3c/lua/test298.scxml | 2 +- test/w3c/lua/test311.scxml | 2 +- test/w3c/lua/test312.scxml | 2 +- test/w3c/lua/test313.scxml | 2 +- test/w3c/lua/test314.scxml | 2 +- test/w3c/lua/test338.scxml | 2 +- test/w3c/lua/test347.scxml | 2 +- test/w3c/lua/test350.scxml | 2 +- test/w3c/lua/test351.scxml | 4 +-- test/w3c/lua/test352.scxml | 2 +- test/w3c/lua/test354.scxml | 4 +-- test/w3c/lua/test364.scxml | 2 +- test/w3c/lua/test372.scxml | 2 +- test/w3c/lua/test387.scxml | 2 +- test/w3c/lua/test388.scxml | 2 +- test/w3c/lua/test399.scxml | 2 +- test/w3c/lua/test402.scxml | 2 +- test/w3c/lua/test403a.scxml | 2 +- test/w3c/lua/test403c.scxml | 2 +- test/w3c/lua/test405.scxml | 2 +- test/w3c/lua/test406.scxml | 2 +- test/w3c/lua/test411.scxml | 2 +- test/w3c/lua/test412.scxml | 2 +- test/w3c/lua/test416.scxml | 2 +- test/w3c/lua/test417.scxml | 2 +- test/w3c/lua/test487.scxml | 2 +- test/w3c/lua/test501.scxml | 2 +- test/w3c/lua/test509.scxml | 2 +- test/w3c/lua/test510.scxml | 2 +- test/w3c/lua/test518.scxml | 2 +- test/w3c/lua/test519.scxml | 2 +- test/w3c/lua/test520.scxml | 2 +- test/w3c/lua/test520.scxml.orig | 21 +++++++++++ test/w3c/lua/test522.scxml | 2 +- test/w3c/lua/test528.scxml | 2 +- test/w3c/lua/test530.scxml | 2 +- test/w3c/lua/test531.scxml | 2 +- test/w3c/lua/test532.scxml | 2 +- test/w3c/lua/test534.scxml | 2 +- test/w3c/lua/test562.scxml | 48 +++++++++++++------------ test/w3c/lua/test567.scxml | 2 +- test/w3c/lua/test567.scxml.old | 37 ------------------- test/w3c/lua/test570.scxml | 2 +- test/w3c/lua/test576.scxml | 2 +- test/w3c/lua/test580.scxml | 2 +- 77 files changed, 157 insertions(+), 160 deletions(-) create mode 100644 test/w3c/lua/test520.scxml.orig delete mode 100644 test/w3c/lua/test567.scxml.old diff --git a/src/uscxml/interpreter/BasicContentExecutor.cpp b/src/uscxml/interpreter/BasicContentExecutor.cpp index 61277bd..5defce3 100644 --- a/src/uscxml/interpreter/BasicContentExecutor.cpp +++ b/src/uscxml/interpreter/BasicContentExecutor.cpp @@ -67,7 +67,7 @@ void BasicContentExecutor::processSend(XERCESC_NS::DOMElement* element) { sendEvent.name = ATTR(element, kXMLCharEvent); } } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in send element eventexpr", element); + ERROR_EXECUTION_RETHROW(e, "Syntax error in send element eventexpr", element); } try { @@ -78,7 +78,7 @@ void BasicContentExecutor::processSend(XERCESC_NS::DOMElement* element) { target = ATTR(element, kXMLCharTarget); } } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in send element targetexpr", element); + ERROR_EXECUTION_RETHROW(e,"Syntax error in send element targetexpr", element); } try { @@ -89,7 +89,7 @@ void BasicContentExecutor::processSend(XERCESC_NS::DOMElement* element) { type = ATTR(element, kXMLCharType); } } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in send element typeexpr", element); + ERROR_EXECUTION_RETHROW(e, "Syntax error in send element typeexpr", element); } try { @@ -124,7 +124,7 @@ void BasicContentExecutor::processSend(XERCESC_NS::DOMElement* element) { } } } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in send element idlocation", element); + ERROR_EXECUTION_RETHROW(e, "Syntax error in send element idlocation", element); } try { @@ -148,14 +148,14 @@ void BasicContentExecutor::processSend(XERCESC_NS::DOMElement* element) { } } } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in send element delayexpr", element); + ERROR_EXECUTION_RETHROW(e, "Syntax error in send element delayexpr", element); } try { // namelist processNameLists(sendEvent.namelist, element); } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in send element namelist", element); + ERROR_EXECUTION_RETHROW(e, "Syntax error in send element namelist", element); } @@ -163,7 +163,7 @@ void BasicContentExecutor::processSend(XERCESC_NS::DOMElement* element) { // params processParams(sendEvent.params, element); } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in send element param expr", element); + ERROR_EXECUTION_RETHROW(e, "Syntax error in send element param expr", element); } try { @@ -173,7 +173,7 @@ void BasicContentExecutor::processSend(XERCESC_NS::DOMElement* element) { sendEvent.data = elementAsData(contents.front()); } } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in send element content", element); + ERROR_EXECUTION_RETHROW(e, "Syntax error in send element content", element); } // if (sendReq->dom) { @@ -431,14 +431,14 @@ void BasicContentExecutor::invoke(XERCESC_NS::DOMElement* element) { element->setUserData(kXMLCharInvokeId, (void*)invokeId, NULL); } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in invoke element idlocation", element); + ERROR_EXECUTION_RETHROW(e, "Syntax error in invoke element idlocation", element); } try { // namelist processNameLists(invokeEvent.namelist, element); } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in send element namelist", element); + ERROR_EXECUTION_RETHROW(e, "Syntax error in send element namelist", element); } @@ -446,7 +446,7 @@ void BasicContentExecutor::invoke(XERCESC_NS::DOMElement* element) { // params processParams(invokeEvent.params, element); } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in send element param expr", element); + ERROR_EXECUTION_RETHROW(e, "Syntax error in send element param expr", element); } try { @@ -467,7 +467,7 @@ void BasicContentExecutor::invoke(XERCESC_NS::DOMElement* element) { #endif } } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in invoke element content", element); + ERROR_EXECUTION_RETHROW(e, "Syntax error in invoke element content", element); } // autoforward @@ -513,7 +513,7 @@ void BasicContentExecutor::raiseDoneEvent(XERCESC_NS::DOMElement* state, XERCESC // namelist processNameLists(doneEvent.namelist, doneData); } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in donedata element namelist", doneData); + ERROR_EXECUTION_RETHROW(e, "Syntax error in donedata element namelist", doneData); } @@ -521,7 +521,7 @@ void BasicContentExecutor::raiseDoneEvent(XERCESC_NS::DOMElement* state, XERCESC // params processParams(doneEvent.params, doneData); } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in donedata element param expr", doneData); + ERROR_EXECUTION_RETHROW(e, "Syntax error in donedata element param expr", doneData); } try { @@ -531,7 +531,7 @@ void BasicContentExecutor::raiseDoneEvent(XERCESC_NS::DOMElement* state, XERCESC doneEvent.data = elementAsData(contents.front()); } } catch (Event e) { - ERROR_EXECUTION_THROW3(e,"Syntax error in donedata element content", doneData); + ERROR_EXECUTION_RETHROW(e, "Syntax error in donedata element content", doneData); } } catch (ErrorEvent exc) { diff --git a/src/uscxml/messages/Event.h b/src/uscxml/messages/Event.h index fd9dd42..f40a672 100644 --- a/src/uscxml/messages/Event.h +++ b/src/uscxml/messages/Event.h @@ -23,13 +23,14 @@ #include "uscxml/messages/Data.h" #include "uscxml/util/UUID.h" -#define ERROR_PLATFORM_THROW(msg) \ +#define ERROR_PLATFORM_THROW(cause) \ uscxml::ErrorEvent e; \ e.name = "error.platform"; \ - e.data.compound["cause"] = uscxml::Data(msg, uscxml::Data::VERBATIM); \ + e.data.compound["cause"] = uscxml::Data(cause, uscxml::Data::VERBATIM); \ e.data.compound["file"] = uscxml::Data(uscxml::toStr(__FILE__), uscxml::Data::VERBATIM); \ e.data.compound["line"] = uscxml::Data(uscxml::toStr(__LINE__), uscxml::Data::INTERPRETED); \ - throw e; \ + e.eventType = uscxml::Event::PLATFORM; \ + throw e; #define ERROR_EXECUTION(identifier, cause) \ uscxml::ErrorEvent identifier; \ @@ -77,10 +78,9 @@ throw exc;\ } -#define ERROR_EXECUTION_THROW3(evt,caption,node) \ +#define ERROR_EXECUTION_RETHROW(exc, caption, node) \ {\ - auto it = evt.data.compound.find("cause"); \ - ERROR_EXECUTION2(exc,it!=evt.data.compound.end() ? it->second.atom : "",node); \ + exc.data.compound["xpath"] = uscxml::Data(DOMUtils::xPathForNode(node), uscxml::Data::VERBATIM); \ exc.data.compound["caption"] = uscxml::Data(caption, uscxml::Data::VERBATIM); \ throw exc;\ } diff --git a/test/w3c/convert-tests.sh b/test/w3c/convert-tests.sh index 9e23efd..bdac001 100755 --- a/test/w3c/convert-tests.sh +++ b/test/w3c/convert-tests.sh @@ -8,6 +8,13 @@ ME=`basename $0` DIR="$( cd "$( dirname "$0" )" && pwd )" cd $DIR +if [ "$#" -lt 1 ]; then + echo "At least one datamodel needs to be specified:" + echo " $0 ecma c89 lua jexl namespace xpath promela prolog" + exit 1 +fi + + while [ "$1" != "" ]; do case $1 in ecma ) @@ -83,6 +90,10 @@ if [ "$LUA" != "" ]; then # x-www-form-urlencode will not preserve the type and we default to string sed -i.orig 's/Var1==2/tonumber(Var1)==2/g' ./lua/test567.scxml + + # we can pass test562 even though it it ecmascript specific + sed -i.orig 's/datamodel=\"ecmascript\"/datamodel=\"lua\"/g' ./lua/test562.scxml + fi if [ "$NAMESPACE" != "" ]; then diff --git a/test/w3c/lua/test156.scxml b/test/w3c/lua/test156.scxml index 7581b42..8f1e14c 100644 --- a/test/w3c/lua/test156.scxml +++ b/test/w3c/lua/test156.scxml @@ -14,7 +14,7 @@ should cause an error, so var1 should be incremented only once --> - + diff --git a/test/w3c/lua/test191.scxml b/test/w3c/lua/test191.scxml index a30b6c2..a245b44 100644 --- a/test/w3c/lua/test191.scxml +++ b/test/w3c/lua/test191.scxml @@ -5,7 +5,7 @@ pass, otherwise we fail. The timer insures that some event is generated and tha - + diff --git a/test/w3c/lua/test192.scxml b/test/w3c/lua/test192.scxml index a504b48..873c583 100644 --- a/test/w3c/lua/test192.scxml +++ b/test/w3c/lua/test192.scxml @@ -7,7 +7,7 @@ We also set a timeout in this process to make sure the test doesn't hang --> - + @@ -17,7 +17,7 @@ We also set a timeout in this process to make sure the test doesn't hang --> - + diff --git a/test/w3c/lua/test193.scxml b/test/w3c/lua/test193.scxml index e8ab624..568f127 100644 --- a/test/w3c/lua/test193.scxml +++ b/test/w3c/lua/test193.scxml @@ -7,7 +7,7 @@ SCXML event i/o processor puts the event on the external queue. --> - + diff --git a/test/w3c/lua/test215.scxml b/test/w3c/lua/test215.scxml index db875be..4c63336 100644 --- a/test/w3c/lua/test215.scxml +++ b/test/w3c/lua/test215.scxml @@ -8,7 +8,7 @@ the runtime value is used, the invocation will succeed --> - + diff --git a/test/w3c/lua/test216.scxml b/test/w3c/lua/test216.scxml index db285ab..12d77db 100644 --- a/test/w3c/lua/test216.scxml +++ b/test/w3c/lua/test216.scxml @@ -8,7 +8,7 @@ the runtime value is used, the invocation will succeed --> - + diff --git a/test/w3c/lua/test220.scxml b/test/w3c/lua/test220.scxml index e60d070..262215e 100644 --- a/test/w3c/lua/test220.scxml +++ b/test/w3c/lua/test220.scxml @@ -3,7 +3,7 @@ - + diff --git a/test/w3c/lua/test223.scxml b/test/w3c/lua/test223.scxml index 8993a17..e80dd28 100644 --- a/test/w3c/lua/test223.scxml +++ b/test/w3c/lua/test223.scxml @@ -6,7 +6,7 @@ - + diff --git a/test/w3c/lua/test224.scxml b/test/w3c/lua/test224.scxml index 089d749..4ab2450 100644 --- a/test/w3c/lua/test224.scxml +++ b/test/w3c/lua/test224.scxml @@ -7,7 +7,7 @@ - + diff --git a/test/w3c/lua/test225.scxml b/test/w3c/lua/test225.scxml index 3b264c1..5dd004a 100644 --- a/test/w3c/lua/test225.scxml +++ b/test/w3c/lua/test225.scxml @@ -7,7 +7,7 @@ - + diff --git a/test/w3c/lua/test226.scxml b/test/w3c/lua/test226.scxml index 7b0c084..9e3a88b 100644 --- a/test/w3c/lua/test226.scxml +++ b/test/w3c/lua/test226.scxml @@ -5,7 +5,7 @@ success. otherwise it will hang and the timeout in this doc signifies failure. - + diff --git a/test/w3c/lua/test228.scxml b/test/w3c/lua/test228.scxml index ed46aa6..6ce3ade 100644 --- a/test/w3c/lua/test228.scxml +++ b/test/w3c/lua/test228.scxml @@ -6,7 +6,7 @@ - + diff --git a/test/w3c/lua/test229.scxml b/test/w3c/lua/test229.scxml index 6b043da..4b4192c 100644 --- a/test/w3c/lua/test229.scxml +++ b/test/w3c/lua/test229.scxml @@ -6,7 +6,7 @@ it eventually times out and the done.invoke signals failure --> - + @@ -18,7 +18,7 @@ it eventually times out and the done.invoke signals failure --> - + diff --git a/test/w3c/lua/test230.scxml b/test/w3c/lua/test230.scxml index ee1b53a..93dc23b 100644 --- a/test/w3c/lua/test230.scxml +++ b/test/w3c/lua/test230.scxml @@ -6,7 +6,7 @@ must check if they are the same and report his result. --> - + @@ -16,7 +16,7 @@ must check if they are the same and report his result. --> - + diff --git a/test/w3c/lua/test232.scxml b/test/w3c/lua/test232.scxml index 3ce904e..fb8ac9c 100644 --- a/test/w3c/lua/test232.scxml +++ b/test/w3c/lua/test232.scxml @@ -3,7 +3,7 @@ - + diff --git a/test/w3c/lua/test233.scxml b/test/w3c/lua/test233.scxml index 656abee..6514cca 100644 --- a/test/w3c/lua/test233.scxml +++ b/test/w3c/lua/test233.scxml @@ -8,7 +8,7 @@ the transtitions. --> - + diff --git a/test/w3c/lua/test234.scxml b/test/w3c/lua/test234.scxml index 7deec7f..81aed55 100644 --- a/test/w3c/lua/test234.scxml +++ b/test/w3c/lua/test234.scxml @@ -10,7 +10,7 @@ var2 should still be set to 1 --> - + @@ -39,7 +39,7 @@ var2 should still be set to 1 --> - + diff --git a/test/w3c/lua/test235.scxml b/test/w3c/lua/test235.scxml index d12daef..f07107a 100644 --- a/test/w3c/lua/test235.scxml +++ b/test/w3c/lua/test235.scxml @@ -4,7 +4,7 @@ and should generate done.invoke.foo --> - + diff --git a/test/w3c/lua/test239.scxml b/test/w3c/lua/test239.scxml index fa97a62..877fd56 100644 --- a/test/w3c/lua/test239.scxml +++ b/test/w3c/lua/test239.scxml @@ -3,7 +3,7 @@ - + diff --git a/test/w3c/lua/test240.scxml b/test/w3c/lua/test240.scxml index ec5ca38..a71cc37 100644 --- a/test/w3c/lua/test240.scxml +++ b/test/w3c/lua/test240.scxml @@ -9,7 +9,7 @@ should run correctly. --> - + diff --git a/test/w3c/lua/test241.scxml b/test/w3c/lua/test241.scxml index ebe5afe..53da8d1 100644 --- a/test/w3c/lua/test241.scxml +++ b/test/w3c/lua/test241.scxml @@ -9,7 +9,7 @@ Var1, but should run correctly. --> - + diff --git a/test/w3c/lua/test242.scxml b/test/w3c/lua/test242.scxml index 47a9ed6..4e0132b 100644 --- a/test/w3c/lua/test242.scxml +++ b/test/w3c/lua/test242.scxml @@ -4,7 +4,7 @@ either we get done.invoke in both cases or in neither case (in which case we tim - + @@ -13,7 +13,7 @@ either we get done.invoke in both cases or in neither case (in which case we tim - + @@ -29,7 +29,7 @@ either we get done.invoke in both cases or in neither case (in which case we tim - + diff --git a/test/w3c/lua/test243.scxml b/test/w3c/lua/test243.scxml index 03943f8..98d3de8 100644 --- a/test/w3c/lua/test243.scxml +++ b/test/w3c/lua/test243.scxml @@ -4,7 +4,7 @@ test240sub1 will return success ifits Var1 is set to 1, failure otherwise. --> - + diff --git a/test/w3c/lua/test244.scxml b/test/w3c/lua/test244.scxml index 292ebe1..be58b08 100644 --- a/test/w3c/lua/test244.scxml +++ b/test/w3c/lua/test244.scxml @@ -9,7 +9,7 @@ but should run correctly. --> - + diff --git a/test/w3c/lua/test245.scxml b/test/w3c/lua/test245.scxml index 59da5e7..94e973f 100644 --- a/test/w3c/lua/test245.scxml +++ b/test/w3c/lua/test245.scxml @@ -7,7 +7,7 @@ invoked child's datamodel. It will will return success if its Var2 remains unbo - + diff --git a/test/w3c/lua/test247.scxml b/test/w3c/lua/test247.scxml index eb79081..6912e46 100644 --- a/test/w3c/lua/test247.scxml +++ b/test/w3c/lua/test247.scxml @@ -3,7 +3,7 @@ - + diff --git a/test/w3c/lua/test250.scxml b/test/w3c/lua/test250.scxml index 0d4a094..557ab79 100644 --- a/test/w3c/lua/test250.scxml +++ b/test/w3c/lua/test250.scxml @@ -12,7 +12,7 @@ Tester must examine log output from child process to determine success --> - + diff --git a/test/w3c/lua/test253.scxml b/test/w3c/lua/test253.scxml index 18f9bc8..af6cea3 100644 --- a/test/w3c/lua/test253.scxml +++ b/test/w3c/lua/test253.scxml @@ -9,7 +9,7 @@ this process uses the scxml processor to send the message to it, otherwise failu - + diff --git a/test/w3c/lua/test277.scxml b/test/w3c/lua/test277.scxml index bf8ecbc..00a06b4 100644 --- a/test/w3c/lua/test277.scxml +++ b/test/w3c/lua/test277.scxml @@ -3,7 +3,7 @@ we can assign to it later in state s1. --> - + diff --git a/test/w3c/lua/test298.scxml b/test/w3c/lua/test298.scxml index 843af8c..ceb6f7d 100644 --- a/test/w3c/lua/test298.scxml +++ b/test/w3c/lua/test298.scxml @@ -6,7 +6,7 @@ - + diff --git a/test/w3c/lua/test311.scxml b/test/w3c/lua/test311.scxml index ce7ebe6..1a72b59 100644 --- a/test/w3c/lua/test311.scxml +++ b/test/w3c/lua/test311.scxml @@ -3,7 +3,7 @@ - + diff --git a/test/w3c/lua/test312.scxml b/test/w3c/lua/test312.scxml index 1e20665..6dbf0e8 100644 --- a/test/w3c/lua/test312.scxml +++ b/test/w3c/lua/test312.scxml @@ -6,7 +6,7 @@ - + diff --git a/test/w3c/lua/test313.scxml b/test/w3c/lua/test313.scxml index bdedda3..ee62b7e 100644 --- a/test/w3c/lua/test313.scxml +++ b/test/w3c/lua/test313.scxml @@ -7,7 +7,7 @@ expression, it must raise an error --> - + diff --git a/test/w3c/lua/test314.scxml b/test/w3c/lua/test314.scxml index ca2c283..9bf5936 100644 --- a/test/w3c/lua/test314.scxml +++ b/test/w3c/lua/test314.scxml @@ -15,7 +15,7 @@ it should not raise an error until it gets to s03 and evaluates the illegal expr - + diff --git a/test/w3c/lua/test338.scxml b/test/w3c/lua/test338.scxml index 0031bf3..4447048 100644 --- a/test/w3c/lua/test338.scxml +++ b/test/w3c/lua/test338.scxml @@ -8,7 +8,7 @@ case where the invoke doesn't work correctly --> - + diff --git a/test/w3c/lua/test347.scxml b/test/w3c/lua/test347.scxml index 4184032..e11e6d4 100644 --- a/test/w3c/lua/test347.scxml +++ b/test/w3c/lua/test347.scxml @@ -17,7 +17,7 @@ and its parent process --> - + diff --git a/test/w3c/lua/test350.scxml b/test/w3c/lua/test350.scxml index 615347c..41eb856 100644 --- a/test/w3c/lua/test350.scxml +++ b/test/w3c/lua/test350.scxml @@ -9,7 +9,7 @@ able to send an event to itself using its own session ID as the target --> - + diff --git a/test/w3c/lua/test351.scxml b/test/w3c/lua/test351.scxml index 783d551..15c3032 100644 --- a/test/w3c/lua/test351.scxml +++ b/test/w3c/lua/test351.scxml @@ -7,7 +7,7 @@ - + @@ -22,7 +22,7 @@ - + diff --git a/test/w3c/lua/test352.scxml b/test/w3c/lua/test352.scxml index c503e4a..63132d2 100644 --- a/test/w3c/lua/test352.scxml +++ b/test/w3c/lua/test352.scxml @@ -6,7 +6,7 @@ - + diff --git a/test/w3c/lua/test354.scxml b/test/w3c/lua/test354.scxml index bfbdcea..a7285f4 100644 --- a/test/w3c/lua/test354.scxml +++ b/test/w3c/lua/test354.scxml @@ -9,7 +9,7 @@ and that correct values are used --> - + @@ -31,7 +31,7 @@ and that correct values are used --> - + 123 diff --git a/test/w3c/lua/test364.scxml b/test/w3c/lua/test364.scxml index 4cfd36f..dfa8d88 100644 --- a/test/w3c/lua/test364.scxml +++ b/test/w3c/lua/test364.scxml @@ -5,7 +5,7 @@ If we get to s01111 we succeed, if any other state, failure. --> - + diff --git a/test/w3c/lua/test372.scxml b/test/w3c/lua/test372.scxml index 06228b0..b01620c 100644 --- a/test/w3c/lua/test372.scxml +++ b/test/w3c/lua/test372.scxml @@ -7,7 +7,7 @@ Var1 should be set to 2 (but not 3) by the time the event is raised --> - + diff --git a/test/w3c/lua/test387.scxml b/test/w3c/lua/test387.scxml index 29ac764..04117df 100644 --- a/test/w3c/lua/test387.scxml +++ b/test/w3c/lua/test387.scxml @@ -73,7 +73,7 @@ transition to s1's default deep history state. We should end up in s122, generat - + diff --git a/test/w3c/lua/test388.scxml b/test/w3c/lua/test388.scxml index 253cbe2..1c4c944 100644 --- a/test/w3c/lua/test388.scxml +++ b/test/w3c/lua/test388.scxml @@ -14,7 +14,7 @@ state is s011, so we should get entering.s011, otherwise failure.--> - + diff --git a/test/w3c/lua/test399.scxml b/test/w3c/lua/test399.scxml index 29114d3..54e536a 100644 --- a/test/w3c/lua/test399.scxml +++ b/test/w3c/lua/test399.scxml @@ -4,7 +4,7 @@ that the event attribute of transition may contain multiple event designators. - + diff --git a/test/w3c/lua/test402.scxml b/test/w3c/lua/test402.scxml index 47ea7c5..65fe3f4 100644 --- a/test/w3c/lua/test402.scxml +++ b/test/w3c/lua/test402.scxml @@ -5,7 +5,7 @@ are pulled off the internal queue in order, and that prefix matching works on th - + diff --git a/test/w3c/lua/test403a.scxml b/test/w3c/lua/test403a.scxml index 1653c35..bdb1a9a 100644 --- a/test/w3c/lua/test403a.scxml +++ b/test/w3c/lua/test403a.scxml @@ -10,7 +10,7 @@ matching transition in the child. --> - + diff --git a/test/w3c/lua/test403c.scxml b/test/w3c/lua/test403c.scxml index bb06c2e..9f84aa6 100644 --- a/test/w3c/lua/test403c.scxml +++ b/test/w3c/lua/test403c.scxml @@ -7,7 +7,7 @@ - + diff --git a/test/w3c/lua/test405.scxml b/test/w3c/lua/test405.scxml index 6b79e52..1c7d651 100644 --- a/test/w3c/lua/test405.scxml +++ b/test/w3c/lua/test405.scxml @@ -5,7 +5,7 @@ state machine is entered --> - + diff --git a/test/w3c/lua/test406.scxml b/test/w3c/lua/test406.scxml index c7e6b00..54ac73b 100644 --- a/test/w3c/lua/test406.scxml +++ b/test/w3c/lua/test406.scxml @@ -5,7 +5,7 @@ order when the transition in s01 is taken --> - + diff --git a/test/w3c/lua/test411.scxml b/test/w3c/lua/test411.scxml index 0ce82e6..37d0d9a 100644 --- a/test/w3c/lua/test411.scxml +++ b/test/w3c/lua/test411.scxml @@ -6,7 +6,7 @@ timeout also indicates failure --> - + diff --git a/test/w3c/lua/test412.scxml b/test/w3c/lua/test412.scxml index 69879e8..816c844 100644 --- a/test/w3c/lua/test412.scxml +++ b/test/w3c/lua/test412.scxml @@ -4,7 +4,7 @@ and before the onentry handler of the child states. Event1, event2, and event3 - + diff --git a/test/w3c/lua/test416.scxml b/test/w3c/lua/test416.scxml index a8a6ec3..18c7bf5 100644 --- a/test/w3c/lua/test416.scxml +++ b/test/w3c/lua/test416.scxml @@ -3,7 +3,7 @@ - + diff --git a/test/w3c/lua/test417.scxml b/test/w3c/lua/test417.scxml index 37019b0..0c0ce26 100644 --- a/test/w3c/lua/test417.scxml +++ b/test/w3c/lua/test417.scxml @@ -4,7 +4,7 @@ parallel elements children enter final states. --> - + diff --git a/test/w3c/lua/test487.scxml b/test/w3c/lua/test487.scxml index 9360331..f532de9 100644 --- a/test/w3c/lua/test487.scxml +++ b/test/w3c/lua/test487.scxml @@ -6,7 +6,7 @@ - + diff --git a/test/w3c/lua/test501.scxml b/test/w3c/lua/test501.scxml index 9b579ed..4bc5094 100644 --- a/test/w3c/lua/test501.scxml +++ b/test/w3c/lua/test501.scxml @@ -7,7 +7,7 @@ - + diff --git a/test/w3c/lua/test509.scxml b/test/w3c/lua/test509.scxml index 8a328f9..f7862d2 100644 --- a/test/w3c/lua/test509.scxml +++ b/test/w3c/lua/test509.scxml @@ -4,7 +4,7 @@ at the accessURI --> - + diff --git a/test/w3c/lua/test510.scxml b/test/w3c/lua/test510.scxml index 61468e2..a9c98e5 100644 --- a/test/w3c/lua/test510.scxml +++ b/test/w3c/lua/test510.scxml @@ -3,7 +3,7 @@ - + diff --git a/test/w3c/lua/test518.scxml b/test/w3c/lua/test518.scxml index 455015e..ce1929c 100644 --- a/test/w3c/lua/test518.scxml +++ b/test/w3c/lua/test518.scxml @@ -6,7 +6,7 @@ - + diff --git a/test/w3c/lua/test519.scxml b/test/w3c/lua/test519.scxml index 71f53db..81225c3 100644 --- a/test/w3c/lua/test519.scxml +++ b/test/w3c/lua/test519.scxml @@ -3,7 +3,7 @@ - + diff --git a/test/w3c/lua/test520.scxml b/test/w3c/lua/test520.scxml index 8b41a4f..d9cd6cb 100644 --- a/test/w3c/lua/test520.scxml +++ b/test/w3c/lua/test520.scxml @@ -3,7 +3,7 @@ - + this is some content diff --git a/test/w3c/lua/test520.scxml.orig b/test/w3c/lua/test520.scxml.orig new file mode 100644 index 0000000..9c91eda --- /dev/null +++ b/test/w3c/lua/test520.scxml.orig @@ -0,0 +1,21 @@ + + + + + + + + this is some content + + + + + + + + + + + + \ No newline at end of file diff --git a/test/w3c/lua/test522.scxml b/test/w3c/lua/test522.scxml index 67cf475..c02ff76 100644 --- a/test/w3c/lua/test522.scxml +++ b/test/w3c/lua/test522.scxml @@ -4,7 +4,7 @@ to send a message to the processor --> - + - + diff --git a/test/w3c/lua/test532.scxml b/test/w3c/lua/test532.scxml index 6c3275f..4efe309 100644 --- a/test/w3c/lua/test532.scxml +++ b/test/w3c/lua/test532.scxml @@ -4,7 +4,7 @@ as the name of the resulting event. --> - + some content diff --git a/test/w3c/lua/test534.scxml b/test/w3c/lua/test534.scxml index 1826196..c517471 100644 --- a/test/w3c/lua/test534.scxml +++ b/test/w3c/lua/test534.scxml @@ -3,7 +3,7 @@ - + diff --git a/test/w3c/lua/test562.scxml b/test/w3c/lua/test562.scxml index fc73973..dc0450b 100644 --- a/test/w3c/lua/test562.scxml +++ b/test/w3c/lua/test562.scxml @@ -1,25 +1,27 @@ - - - - - - + + + + + + + this is a string - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + diff --git a/test/w3c/lua/test567.scxml b/test/w3c/lua/test567.scxml index 39ec814..aa27c9c 100644 --- a/test/w3c/lua/test567.scxml +++ b/test/w3c/lua/test567.scxml @@ -7,7 +7,7 @@ _event.data. --> - + diff --git a/test/w3c/lua/test567.scxml.old b/test/w3c/lua/test567.scxml.old deleted file mode 100644 index 14c0102..0000000 --- a/test/w3c/lua/test567.scxml.old +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/test/w3c/lua/test570.scxml b/test/w3c/lua/test570.scxml index 4afa649..963b0e5 100644 --- a/test/w3c/lua/test570.scxml +++ b/test/w3c/lua/test570.scxml @@ -6,7 +6,7 @@ - + diff --git a/test/w3c/lua/test576.scxml b/test/w3c/lua/test576.scxml index b0c0494..d65a386 100644 --- a/test/w3c/lua/test576.scxml +++ b/test/w3c/lua/test576.scxml @@ -7,7 +7,7 @@ test that both are entered. --> - + diff --git a/test/w3c/lua/test580.scxml b/test/w3c/lua/test580.scxml index 229e3cf..9a025a0 100644 --- a/test/w3c/lua/test580.scxml +++ b/test/w3c/lua/test580.scxml @@ -6,7 +6,7 @@ - + -- cgit v0.12