diff options
Diffstat (limited to 'test/src/test-state-pass.cpp')
-rw-r--r-- | test/src/test-state-pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/test-state-pass.cpp b/test/src/test-state-pass.cpp index ac52a0b..afda506 100644 --- a/test/src/test-state-pass.cpp +++ b/test/src/test-state-pass.cpp @@ -73,11 +73,11 @@ int main(int argc, char** argv) { // interpreter.setActionLanguage(al); StateTransitionMonitor mon; - interpreter.setMonitor(&mon); + interpreter.addMonitor(&mon); InterpreterState state = InterpreterState::USCXML_UNDEF; while(state != USCXML_FINISHED) { - state = interpreter.step(true); + state = interpreter.step(); } assert(interpreter.isInState("pass")); } catch (Event e) { |