libosmocore/tests/fsm
Vadim Yanitskiy 477d99f7c9 tests/fsm: also test .onenter and .onleave callbacks
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
2023-12-27 05:10:11 +07:00
..
fsm_dealloc_test.c Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
fsm_dealloc_test.err fsm: refuse state chg and events after term 2019-10-29 17:28:30 +01:00
fsm_test.c tests/fsm: also test .onenter and .onleave callbacks 2023-12-27 05:10:11 +07:00
fsm_test.err tests/fsm: also test .onenter and .onleave callbacks 2023-12-27 05:10:11 +07:00
fsm_test.ok osmo_fsm_inst_state_chg(): set T also for zero timeout 2019-01-29 10:25:26 +00:00