diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-30 16:08:37 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-30 16:08:37 (GMT) |
commit | 28014abf13ca64031b8b84dcf585ec4569881ab0 (patch) | |
tree | 9680223cdbd3adde5bd80d18f1b29ea3a0990e4f /test/src/test-predicates.cpp | |
parent | 2317f2bf8beb03c60463a9482dbef23540f5c1e0 (diff) | |
download | uscxml-28014abf13ca64031b8b84dcf585ec4569881ab0.zip uscxml-28014abf13ca64031b8b84dcf585ec4569881ab0.tar.gz uscxml-28014abf13ca64031b8b84dcf585ec4569881ab0.tar.bz2 |
Various bug fixes
- Removed scxml-test-framework related file
- Array operator with V8NodeList
- _event.data as DOM if content is XML
Diffstat (limited to 'test/src/test-predicates.cpp')
-rw-r--r-- | test/src/test-predicates.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/test-predicates.cpp b/test/src/test-predicates.cpp index 0149d93..08aa3e1 100644 --- a/test/src/test-predicates.cpp +++ b/test/src/test-predicates.cpp @@ -30,8 +30,8 @@ int main(int argc, char** argv) { assert(Interpreter::isParallel(parallelState)); assert(!Interpreter::isCompound(parallelState)); // parallel states are not compound! - Node<std::string> initialState = interpreter->getInitialState(); - assert(initialState == atomicState); + NodeSet<std::string> initialState = interpreter->getInitialStates(); + assert(initialState[0] == atomicState); NodeSet<std::string> childs = interpreter->getChildStates(compoundState); Node<std::string> compundChild1 = interpreter->getState("compundChild1"); |