« Previous | Next » 

Revision 69b139f6

ID69b139f6dfe72414c296df69ddeee80f453932d9
Parent cb0269fb
Child 87ed6b79

Added by Klaus Aehlig over 6 years ago

Add a mock for the wconfd module

As our so-called unit tests for the logical units are more
like integration tests, calling the actual LU through an almost
live mcpu, we need a quite involved "mock" for the wconfd module,
called indirectly through mcpu. The difficulties arise from the
fact that both, the mcpu and the LUs verify lock ownership at
various places.

To keep things simple, we only keep track of the mocked state
of affairs where the result is actually checked. With more
consistency checks in the LUs, this module has to be implemented
further.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences