summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qscxmlc/data/nestedScxml.scxml7
-rw-r--r--tests/auto/qscxmlc/tst_qscxmlc.qrc1
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qscxmlc/data/nestedScxml.scxml b/tests/auto/qscxmlc/data/nestedScxml.scxml
new file mode 100644
index 0000000..2f96347
--- /dev/null
+++ b/tests/auto/qscxmlc/data/nestedScxml.scxml
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0"
+ datamodel="ecmascript" name="StateMachine">
+ <scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0"
+ datamodel="ecmascript" name="NestedStateMachine">
+ </scxml>
+</scxml>
diff --git a/tests/auto/qscxmlc/tst_qscxmlc.qrc b/tests/auto/qscxmlc/tst_qscxmlc.qrc
index e6f9e37..d6b8a6a 100644
--- a/tests/auto/qscxmlc/tst_qscxmlc.qrc
+++ b/tests/auto/qscxmlc/tst_qscxmlc.qrc
@@ -37,5 +37,6 @@
<file>data/noContentInInvoke4.scxml</file>
<file>data/prematureEndOfDocument2.scxml</file>
<file>data/wrongRoot.scxml</file>
+ <file>data/nestedScxml.scxml</file>
</qresource>
</RCC>