rad 6.2.0
|
Unit tests for the Executor class. More...
#include <scxml4cpp/Context.h>
#include <scxml4cpp/Executor.h>
#include <scxml4cpp/Helper.h>
#include <scxml4cpp/StateMachine.h>
#include <scxml4cpp/State.h>
#include <scxml4cpp/Activity.h>
#include <scxml4cpp/Action.h>
#include <scxml4cpp/Event.h>
#include <scxml4cpp/Transition.h>
#include <scxml4cpp/StatusListener.h>
#include <gtest/gtest.h>
#include <set>
#include <list>
Classes | |
class | TestExecutorAction |
class | TestExecutorStatusListener |
class | TestExecutor |
Functions | |
TEST_F (TestExecutor, twoStates) | |
TEST_F (TestExecutor, entryExitActions) | |
TEST_F (TestExecutor, notifyStatus) | |
TEST_F (TestExecutor, stateOrder) | |
TEST_F (TestExecutor, parallelInitialStates) | |
TEST_F (TestExecutor, parallelInitialStates2) | |
Unit tests for the Executor class.
TEST_F | ( | TestExecutor | , |
entryExitActions | ) |
This test verifies that, for hierarchical SM with atomic and compound states, after each transition:
TEST_F | ( | TestExecutor | , |
notifyStatus | ) |
This test verifies the traces of the entered states for an hierarchical SM with atomic and compound states.
Note that through the traces it is possible to verify whether the SCXML document order (the order in which states and substates are defined in the model which correspond to the order of "adding" states and substates) is respected.
TEST_F | ( | TestExecutor | , |
parallelInitialStates | ) |
TEST_F | ( | TestExecutor | , |
parallelInitialStates2 | ) |
TEST_F | ( | TestExecutor | , |
stateOrder | ) |
TEST_F | ( | TestExecutor | , |
twoStates | ) |
This test verifies that, for a simple 2 states SM, after each transition: