From: Sean Kelly (sean.kelly_at_[hidden])
Date: 2007-12-11 10:56:40


 

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