|
@@ -218,7 +218,7 @@ public:
|
|
|
|
|
|
/// @brief Manually construct the event and state dictionaries.
|
|
|
/// This allows testing without running startModel.
|
|
|
- void initDictionaires() {
|
|
|
+ void initDictionaries() {
|
|
|
ASSERT_NO_THROW(defineEvents());
|
|
|
ASSERT_NO_THROW(verifyEvents());
|
|
|
ASSERT_NO_THROW(defineStates());
|
|
@@ -483,7 +483,7 @@ TEST_F(StateModelTest, runBeforeStart) {
|
|
|
/// a normal conclusion.
|
|
|
TEST_F(StateModelTest, transitionWithEnd) {
|
|
|
// Init dictionaries manually, normally done by startModel.
|
|
|
- initDictionaires();
|
|
|
+ initDictionaries();
|
|
|
|
|
|
// call transition to move from NEW_ST to DUMMY_ST with START_EVT
|
|
|
EXPECT_NO_THROW(transition(DUMMY_ST, START_EVT));
|
|
@@ -508,7 +508,7 @@ TEST_F(StateModelTest, transitionWithEnd) {
|
|
|
/// failed conclusion.
|
|
|
TEST_F(StateModelTest, transitionWithAbort) {
|
|
|
// Init dictionaries manually, normally done by startModel.
|
|
|
- initDictionaires();
|
|
|
+ initDictionaries();
|
|
|
|
|
|
// call transition to move from NEW_ST to DUMMY_ST with START_EVT
|
|
|
EXPECT_NO_THROW(transition(DUMMY_ST, START_EVT));
|
|
@@ -533,7 +533,7 @@ TEST_F(StateModelTest, transitionWithAbort) {
|
|
|
/// work properly.
|
|
|
TEST_F(StateModelTest, doFlags) {
|
|
|
// Init dictionaries manually, normally done by startModel.
|
|
|
- initDictionaires();
|
|
|
+ initDictionaries();
|
|
|
|
|
|
// Verify that "do" flags are false.
|
|
|
EXPECT_FALSE(doOnEntry());
|
|
@@ -564,7 +564,7 @@ TEST_F(StateModelTest, doFlags) {
|
|
|
/// the model is running but not after.
|
|
|
TEST_F(StateModelTest, statusMethods) {
|
|
|
// Init dictionaries manually, normally done by startModel.
|
|
|
- initDictionaires();
|
|
|
+ initDictionaries();
|
|
|
|
|
|
// After construction, state model is "new", all others should be false.
|
|
|
EXPECT_TRUE(isModelNew());
|