mirror of https://gerrit.osmocom.org/libosmocore
Vadim Yanitskiy
477d99f7c9
Extend the existing testing coverage to check per-state enter/leave callbacks. An interesting behavior can be seen from the test output: when allocating an FSM instance, the .onenter callback is not being called for the initial FSM state (ST_NULL). Likewise, the .onleave callback is not being called when free()ing an FSM instance. Change-Id: I22edcf91375a09854f0dab1e2e02e034629310f7 |
||
---|---|---|
.. | ||
fsm_dealloc_test.c | ||
fsm_dealloc_test.err | ||
fsm_test.c | ||
fsm_test.err | ||
fsm_test.ok |