52 #include "unity_fixture.h"
63 TEST_GROUP_RUNNER(transition)
65 RUN_TEST_CASE(transition, firstStateAfterInit);
66 RUN_TEST_CASE(transition, simpleToSimpleAtEqualLevel);
67 RUN_TEST_CASE(transition, simpleToSimpleFromHighToLowLevel);
68 RUN_TEST_CASE(transition, simpleToSimpleFromLowToHighLevel);
69 RUN_TEST_CASE(transition, simpleToCompositeAtEqualLevel);
70 RUN_TEST_CASE(transition, simpleToCompositeFromHighToLowLevel);
71 RUN_TEST_CASE(transition, simpleToCompositeFromLowToHighLevel);
72 RUN_TEST_CASE(transition, compositeToSimpleAtEqualLevel);
73 RUN_TEST_CASE(transition, compositeToSimpleFromHighToLowLevel);
74 RUN_TEST_CASE(transition, compositeToSimpleFromLowToHighLevel);
75 RUN_TEST_CASE(transition, compositeToCompositeAtEqualLevel);
76 RUN_TEST_CASE(transition, compositeToCompositeFromHighToLowLevel);
77 RUN_TEST_CASE(transition, compositeToCompositeFromLowToHighLevel);
78 RUN_TEST_CASE(transition, loopSimpleStateOnTop);
79 RUN_TEST_CASE(transition, loopNestedSimpleState);
80 RUN_TEST_CASE(transition, loopCompositeStateOnTop);
81 RUN_TEST_CASE(transition, loopNestedCompositeState);
82 RUN_TEST_CASE(transition, internalInSimpleState);
83 RUN_TEST_CASE(transition, internalInCompositeState);
84 RUN_TEST_CASE(transition, fails_EventNotFound);
85 RUN_TEST_CASE(transition, fails_GuardFalse);
86 RUN_TEST_CASE(transition, fails_ExceededHierarchicalLevel);
87 RUN_TEST_CASE(transition, multipleEnabledTrn_FiringFirstTrueGuard);
88 RUN_TEST_CASE(transition, multipleEnabledTrn_FiringFirstEmptyGuard);
89 RUN_TEST_CASE(transition, defaultTrnWithAssociatedEffect);
90 RUN_TEST_CASE(transition, generatedCompletionEventBySimpleState);
91 RUN_TEST_CASE(transition, generatedCompletionEventByFinalState);
92 RUN_TEST_CASE(transition, syncDispatchingToStateMachine);