RKH
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
test_smTransition.c File Reference

Unit test for state machine module. More...

#include "unity_fixture.h"
#include "unitrazer.h"
#include "rkh.h"
#include "common.h"
#include "smTest.h"
#include "smTestAct.h"
#include "MocksmTestAct.h"

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.