summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/src/test-url.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/src/test-url.cpp b/test/src/test-url.cpp
index bbe4dbc..7b72250 100644
--- a/test/src/test-url.cpp
+++ b/test/src/test-url.cpp
@@ -1,5 +1,6 @@
#include "uscxml/URL.h"
#include "uscxml/Message.h"
+#include "uscxml/Interpreter.h"
#include "uscxml/server/HTTPServer.h"
#include <assert.h>
@@ -24,6 +25,12 @@ public:
int main(int argc, char** argv) {
{
+ Interpreter* interpreter = Interpreter::fromURI("https://raw.github.com/tklab-tud/uscxml/master/test/samples/uscxml/test-execution.scxml");
+ interpreter->interpret();
+ delete interpreter;
+ }
+
+ {
TestServlet* testServlet1 = new TestServlet(false);
TestServlet* testServlet2 = new TestServlet(false);
@@ -94,7 +101,7 @@ int main(int argc, char** argv) {
std::stringstream content;
content << url;
}
-
+
{
URL url("file:Document/Text.foo");
std::cout << url.asString() << std::endl;