diff options
Diffstat (limited to 'test/src/test-ecmascript-v8.cpp.old')
-rw-r--r-- | test/src/test-ecmascript-v8.cpp.old | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/test/src/test-ecmascript-v8.cpp.old b/test/src/test-ecmascript-v8.cpp.old deleted file mode 100644 index 9ce39d9..0000000 --- a/test/src/test-ecmascript-v8.cpp.old +++ /dev/null @@ -1,24 +0,0 @@ -#include "uscxml/Interpreter.h" -#include "uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h" - -int main(int argc, char** argv) { - if (argc != 2) { - std::cerr << "Expected path to test-ecmascript.scxml" << std::endl; - exit(EXIT_FAILURE); - } - - using namespace uscxml; - using namespace Arabica::DOM; - using namespace Arabica::XPath; - - Interpreter* scxml = Interpreter::fromURI(argv[1]); - scxml->start(); - scxml->waitForStabilization(); - - Event event1; - event1.name = "event1"; - scxml->receive(event1); - scxml->join(); - tthread::this_thread::sleep_for(tthread::chrono::milliseconds(500)); - -}
\ No newline at end of file |