diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2012-10-05 15:31:26 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2012-10-05 15:31:26 (GMT) |
commit | 0ae6c27d9322208053033d9b19c0ffffed3d99eb (patch) | |
tree | 0794b4df38568e03fb01e7fa91e6d4a625db859e /test/src/test-completion.cpp | |
parent | 64cc2ce105cf57fcba637b309664b4bc74ae7d82 (diff) | |
download | uscxml-0ae6c27d9322208053033d9b19c0ffffed3d99eb.zip uscxml-0ae6c27d9322208053033d9b19c0ffffed3d99eb.tar.gz uscxml-0ae6c27d9322208053033d9b19c0ffffed3d99eb.tar.bz2 |
Implemented DOM
Diffstat (limited to 'test/src/test-completion.cpp')
-rw-r--r-- | test/src/test-completion.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/src/test-completion.cpp b/test/src/test-completion.cpp index 33056f3..619bdef 100644 --- a/test/src/test-completion.cpp +++ b/test/src/test-completion.cpp @@ -1,4 +1,5 @@ #include "uscxml/Interpreter.h" +#include "uscxml/debug/SCXMLDotWriter.h" #include <DOM/io/Stream.hpp> int main(int argc, char** argv) { @@ -10,7 +11,10 @@ int main(int argc, char** argv) { using namespace uscxml; Interpreter* interpreter = Interpreter::fromURI(argv[1]); + SCXMLDotWriter::toDot("output.dot", interpreter); + interpreter->interpret(); + return EXIT_SUCCESS; }
\ No newline at end of file |