diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-17 20:43:59 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-17 20:43:59 (GMT) |
commit | bd394cdb9f78715cf92ddaaef026b6b00d3d2bd9 (patch) | |
tree | 2ecf830f7e343af4d8f0439f43ae0cbdafd7b3ba /test/src/test-url.cpp | |
parent | 1c10bc4bf19c5ce73e3e10380e613da8bf93a1b0 (diff) | |
download | uscxml-bd394cdb9f78715cf92ddaaef026b6b00d3d2bd9.zip uscxml-bd394cdb9f78715cf92ddaaef026b6b00d3d2bd9.tar.gz uscxml-bd394cdb9f78715cf92ddaaef026b6b00d3d2bd9.tar.bz2 |
Fixed setConfiguration and started MMI arch
Diffstat (limited to 'test/src/test-url.cpp')
-rw-r--r-- | test/src/test-url.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/test/src/test-url.cpp b/test/src/test-url.cpp index c889f86..cd11ac5 100644 --- a/test/src/test-url.cpp +++ b/test/src/test-url.cpp @@ -46,6 +46,15 @@ int main(int argc, char** argv) { exeName = exeName.substr(exeName.find_last_of("\\/") + 1); { + Interpreter interpreter = Interpreter::fromURI("/Users/sradomski/Desktop/application_small.scxml"); + assert(interpreter); + std::vector<std::string> states; + states.push_back("b"); + interpreter.setConfiguration(states); + interpreter.interpret(); + } + + { URL url(argv[0]); assert(canResolve(argv[0])); assert(canResolve(url.asString())); @@ -55,12 +64,6 @@ int main(int argc, char** argv) { exeUrl.toAbsolute(baseUrl); assert(canResolve(exeUrl.asString())); } - - { -// Interpreter interpreter = Interpreter::fromURI("https://raw.github.com/tklab-tud/uscxml/master/test/samples/uscxml/test-execution.scxml"); -// assert(interpreter); -// interpreter.interpret(); - } { TestServlet* testServlet1 = new TestServlet(false); |