diff options
Diffstat (limited to 'test/src/test-initial-config.cpp')
-rw-r--r-- | test/src/test-initial-config.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/test/src/test-initial-config.cpp b/test/src/test-initial-config.cpp deleted file mode 100644 index dcba84d..0000000 --- a/test/src/test-initial-config.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include "uscxml/Message.h" -#include "uscxml/Interpreter.h" -#include <assert.h> -#include <boost/algorithm/string.hpp> -#include <iostream> - -using namespace uscxml; -using namespace boost; - - -int main(int argc, char** argv) { -#ifdef _WIN32 - WSADATA wsaData; - WSAStartup(MAKEWORD(2, 2), &wsaData); -#endif - - if (argc != 2) { - std::cerr << "Expected path to test-initial-config.scxml" << std::endl; - exit(EXIT_FAILURE); - } - - std::string test = argv[1]; - - { - Interpreter interpreter = Interpreter::fromURI(test); - std::vector<std::string> states; - states.push_back("finish_shortcut"); - states.push_back("ADMINISTRATIVE_NON-HR-MANAGEMENT"); - states.push_back("HR-MANAGER_MANAGE-HR"); - states.push_back("SYSTEM_1.1_BEGIN"); - states.push_back("COORDINATOR_1"); - interpreter.setConfiguration(states); - interpreter.interpret(); - } - -}
\ No newline at end of file |