summaryrefslogtreecommitdiffstats
path: root/test/src/test-lifecycle.cpp
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-12-05 16:20:11 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-12-05 16:20:11 (GMT)
commit93f8cb376e6e496f0194d1e0657081354434da96 (patch)
tree551d4b37708cb983b73432029f370b605d76da29 /test/src/test-lifecycle.cpp
parenta5a139f46438148901ea6627b73d1bf6ae39b346 (diff)
downloaduscxml-93f8cb376e6e496f0194d1e0657081354434da96.zip
uscxml-93f8cb376e6e496f0194d1e0657081354434da96.tar.gz
uscxml-93f8cb376e6e496f0194d1e0657081354434da96.tar.bz2
Support for xinclude
Diffstat (limited to 'test/src/test-lifecycle.cpp')
-rw-r--r--test/src/test-lifecycle.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/src/test-lifecycle.cpp b/test/src/test-lifecycle.cpp
index 8ecad37..ff2fafd 100644
--- a/test/src/test-lifecycle.cpp
+++ b/test/src/test-lifecycle.cpp
@@ -217,7 +217,7 @@ int main(int argc, char** argv) {
// syntactic xml parse error
try {
const char* xml = "<invalid";
- Interpreter interpreter = Interpreter::fromXML(xml);
+ Interpreter interpreter = Interpreter::fromXML(xml, "");
assert(false);
} catch (Event& e) {
std::cout << e;
@@ -228,7 +228,7 @@ int main(int argc, char** argv) {
// semantic xml parse error
try {
const char* xml = "<invalid />";
- Interpreter interpreter = Interpreter::fromXML(xml);
+ Interpreter interpreter = Interpreter::fromXML(xml, "");
interpreter.addMonitor(mon);
assert(interpreter.getState() == USCXML_INSTANTIATED);
interpreter.step();
@@ -248,7 +248,7 @@ int main(int argc, char** argv) {
" </state>"
" <final id=\"done\" />"
"</scxml>";
- Interpreter interpreter = Interpreter::fromXML(xml);
+ Interpreter interpreter = Interpreter::fromXML(xml, "");
interpreter.addMonitor(mon);
assert(interpreter.getState() == USCXML_INSTANTIATED);
interpreter.step();
@@ -271,7 +271,7 @@ int main(int argc, char** argv) {
" <final id=\"done\" />"
"</scxml>";
- Interpreter interpreter = Interpreter::fromXML(xml);
+ Interpreter interpreter = Interpreter::fromXML(xml, "");
interpreter.addMonitor(mon);
callBackSeq.push_back(USCXML_BEFOREENTERINGSTATE);
@@ -315,7 +315,7 @@ int main(int argc, char** argv) {
" <final id=\"done\" />"
"</scxml>";
- Interpreter interpreter = Interpreter::fromXML(xml);
+ Interpreter interpreter = Interpreter::fromXML(xml, "");
interpreter.addMonitor(mon);
callBackSeq.push_back(USCXML_BEFOREENTERINGSTATE);
@@ -374,7 +374,7 @@ int main(int argc, char** argv) {
" <final id=\"done\" />"
"</scxml>";
- Interpreter interpreter = Interpreter::fromXML(xml);
+ Interpreter interpreter = Interpreter::fromXML(xml, "");
interpreter.addMonitor(mon);
callBackSeq.push_back(USCXML_BEFOREENTERINGSTATE);