RKH
test_smTransition.c File Reference

Unit test for state machine module. More...

#include "unity_fixture.h"
#include "unitrazer.h"
#include "rkhfwk_dynevt.h"
#include "common.h"
#include "smTest.h"
#include "smTestAct.h"
#include "MocksmTestAct.h"
#include "Mockrkhassert.h"
Include dependency graph for test_smTransition.c:

Go to the source code of this file.

Functions

Test cases of transition group
 TEST (transition, firstStateAfterInit)
 
 TEST (transition, simpleToSimpleAtEqualLevel)
 
 TEST (transition, simpleToSimpleFromHighToLowLevel)
 
 TEST (transition, simpleToSimpleFromLowToHighLevel)
 
 TEST (transition, simpleToCompositeAtEqualLevel)
 
 TEST (transition, simpleToCompositeFromHighToLowLevel)
 
 TEST (transition, simpleToCompositeFromLowToHighLevel)
 
 TEST (transition, compositeToSimpleAtEqualLevel)
 
 TEST (transition, compositeToSimpleFromHighToLowLevel)
 
 TEST (transition, loopSimpleStateOnTop)
 
 TEST (transition, loopNestedSimpleState)
 
 TEST (transition, loopCompositeStateOnTop)
 
 TEST (transition, loopNestedCompositeState)
 
 TEST (transition, compositeToSimpleFromLowToHighLevel)
 
 TEST (transition, compositeToCompositeAtEqualLevel)
 
 TEST (transition, compositeToCompositeFromHighToLowLevel)
 
 TEST (transition, compositeToCompositeFromLowToHighLevel)
 
 TEST (transition, internalInSimpleState)
 
 TEST (transition, internalInCompositeState)
 
 TEST (transition, fails_EventNotFound)
 
 TEST (transition, fails_GuardFalse)
 
 TEST (transition, fails_ExceededHierarchicalLevel)
 
 TEST (transition, multipleEnabledTrn_FiringFirstTrueGuard)
 
 TEST (transition, multipleEnabledTrn_FiringFirstEmptyGuard)
 
 TEST (transition, defaultTrnWithAssociatedEffect)
 
 TEST (transition, generatedCompletionEventBySimpleState)
 
 TEST (transition, generatedCompletionEventByFinalState)
 
 TEST (transition, syncDispatchingToStateMachine)
 

Detailed Description

Unit test for state machine module.

Definition in file test_smTransition.c.