diff options
Diffstat (limited to 'test/src/test-execution.cpp.old')
-rw-r--r-- | test/src/test-execution.cpp.old | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/src/test-execution.cpp.old b/test/src/test-execution.cpp.old new file mode 100644 index 0000000..272ce41 --- /dev/null +++ b/test/src/test-execution.cpp.old @@ -0,0 +1,16 @@ +#include "uscxml/Interpreter.h" + +int main(int argc, char** argv) { + if (argc != 2) { + std::cerr << "Expected path to test-execution.scxml" << std::endl; + exit(EXIT_FAILURE); + } + + using namespace uscxml; + using namespace Arabica::DOM; + using namespace Arabica::XPath; + + Interpreter* interpreter = Interpreter::fromURI(argv[1]); + interpreter->dump(); + interpreter->interpret(); +}
\ No newline at end of file |