diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-12-05 16:20:11 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-12-05 16:20:11 (GMT) |
commit | 93f8cb376e6e496f0194d1e0657081354434da96 (patch) | |
tree | 551d4b37708cb983b73432029f370b605d76da29 /test/src/test-datamodel.cpp | |
parent | a5a139f46438148901ea6627b73d1bf6ae39b346 (diff) | |
download | uscxml-93f8cb376e6e496f0194d1e0657081354434da96.zip uscxml-93f8cb376e6e496f0194d1e0657081354434da96.tar.gz uscxml-93f8cb376e6e496f0194d1e0657081354434da96.tar.bz2 |
Support for xinclude
Diffstat (limited to 'test/src/test-datamodel.cpp')
-rw-r--r-- | test/src/test-datamodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/test-datamodel.cpp b/test/src/test-datamodel.cpp index f0b7536..4b93b4d 100644 --- a/test/src/test-datamodel.cpp +++ b/test/src/test-datamodel.cpp @@ -52,7 +52,7 @@ int main(int argc, char** argv) { } - Interpreter interpreter = Interpreter::fromXML("<scxml></scxml>"); + Interpreter interpreter = Interpreter::fromXML("<scxml></scxml>", ""); DataModel dm(Factory::getInstance()->createDataModel("ecmascript", interpreter.getImpl().get())); dm.evalAsString("var foo = 12"); @@ -513,7 +513,7 @@ int main(int argc, char** argv) { "</scxml>"; TestDataModelExtension ext; - Interpreter interpreter = Interpreter::fromXML(xml); + Interpreter interpreter = Interpreter::fromXML(xml, ""); interpreter.addDataModelExtension(&ext); InterpreterState state; |