#include <TestCaseFromFsmEvent_1.h>
Inheritance diagram for TestCaseFromFsmEvent_1:
DC_FromFsmEvent
class.
One FSM instance is created and configured with 4 dummy FsmStates (states 0 to 3). One FromFsmEvents
is then instantiated and the following specific tests are then performed:
FromFsmEvents
reports "object not configured". FromFsmEvents
is configured with a target FSM, a starting and target state and it is verified that the configuration operation on the class-specific part of the object (the definition of the starting state) is correctly executed. FromFsmEvents
reports "object configured". FromFsmEvents
, the latter is fired and it is verified that the state of the FSM has not changed. FromFsmEvents
, the latter is fired and it is verified that the FSM performs a transition to the target state of the FromFsmEvents
.
Definition at line 45 of file TestCaseFromFsmEvent_1.h.
Public Member Functions | |
TestCaseFromFsmEvent_1 (void) | |
Set the identifier and the name of the test case to, respectively, ID_FROMFSMSTATE*10+1 and "TestCaseFromFsmEvent_1". | |
virtual void | runTestCase (void) |
Execute the test case. |
|
Execute the test case. See class comment for details. Reimplemented from TestCaseGenericSetUp. Definition at line 24 of file TestCaseFromFsmEvent_1.cpp. |