11 Dec
2007
11 Dec
'07
3:56 p.m.
Hi All, I have statechart implementation that I have spread over multiple translation units - I would like to unit test the control logic by inserting mock transition actions. The library is explicitly designed not to be dynamic - Can anyone suggest a way I could accomplish this - Its also likely that I could reuse the statechart control logic with different implementations of transition actions so if it is possible to inject this dependency I can reuse the code. Thanks Sean