summaryrefslogtreecommitdiffstats
path: root/test/src/test-url.cpp
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-17 20:43:59 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-17 20:43:59 (GMT)
commitbd394cdb9f78715cf92ddaaef026b6b00d3d2bd9 (patch)
tree2ecf830f7e343af4d8f0439f43ae0cbdafd7b3ba /test/src/test-url.cpp
parent1c10bc4bf19c5ce73e3e10380e613da8bf93a1b0 (diff)
downloaduscxml-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.cpp15
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);