summaryrefslogtreecommitdiffstats
path: root/test/src/test-url.cpp
diff options
context:
space:
mode:
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);