summaryrefslogtreecommitdiffstats
path: root/test/src/test-communication.cpp
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-02-20 21:13:02 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-02-20 21:13:02 (GMT)
commita56f28b0db56ff3e39f0b50e4c55c52b7aeec696 (patch)
tree41cf67ea5cee9593e86272ab55367653fbd1c2f3 /test/src/test-communication.cpp
parent7c779099b3acd1fa969dde718299484ebe0d2775 (diff)
downloaduscxml-a56f28b0db56ff3e39f0b50e4c55c52b7aeec696.zip
uscxml-a56f28b0db56ff3e39f0b50e4c55c52b7aeec696.tar.gz
uscxml-a56f28b0db56ff3e39f0b50e4c55c52b7aeec696.tar.bz2
See detailled log
- Builds on windows again - All HTTP requests are no passed into interpreter - New response element to reply with data - Moved basichttp URL - New HTTP servlet invoker to register additional URLs - More bugfixes than I care to mention
Diffstat (limited to 'test/src/test-communication.cpp')
-rw-r--r--test/src/test-communication.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/test/src/test-communication.cpp b/test/src/test-communication.cpp
deleted file mode 100644
index a0cdbbd..0000000
--- a/test/src/test-communication.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-#include "uscxml/Interpreter.h"
-#include <DOM/io/Stream.hpp>
-
-int main(int argc, char** argv) {
- if (argc != 2) {
- std::cerr << "Expected path to test-communication.scxml" << std::endl;
- exit(EXIT_FAILURE);
- }
-
-
- using namespace uscxml;
- std::list<Interpreter*> _interpreters;
-
-// Event e;
-// e.compound["foo"] = Data("bar", Data::VERBATIM);
-// e.compound["foo2"] = Data("bar2", Data::VERBATIM);
-// std::cout << e.toDocument() << std::endl;
-
- int nrInterpreters = 1;
- for (int i = 0; i < nrInterpreters; i++) {
- _interpreters.push_back(Interpreter::fromURI(argv[1]));
- _interpreters.back()->start();
- }
-
- std::list<Interpreter*>::iterator interIter = _interpreters.begin();
- while(interIter != _interpreters.end()) {
- (*interIter)->join();
- interIter++;
- }
-
-} \ No newline at end of file