52c83b860b
DependencyFactory: remove the ability to restart a service explicitly
...
We don't need this ability and it pushes us into using a
central registry. This solution turned out to be problematic
when loading dynamic libraries (plug-ins).
2013-10-21 02:06:01 +02:00
bfba22f41a
move test mock support into separate header. Write comments ( closes #934 )
2013-10-20 03:48:23 +02:00
b225120d09
reworkted Singleton / DependencyFactory unit test pass
2013-10-20 00:34:21 +02:00
739a473f7e
implemented the standard code path of DependencyFactory
...
still mising: a mechanism to inject mock objects temporarily
2013-10-19 03:32:49 +02:00
78c7036678
reshape the management interface
...
now using static functions; which simplifies building
a scoped object to install a mock automatically within
unit tests.
2013-10-18 20:15:29 +02:00
7000a40602
WIP: stubbed factory functions
2013-10-18 02:49:37 +02:00
319da4bff6
WIP: improve the API
2013-10-18 01:10:03 +02:00
f93c7f8930
WIP: draft internal structure of dependency factory
2013-10-16 04:46:20 +02:00
567ab3819b
WIP: draft an improved version of the Singleton factory
...
...this would both improve our general design and circumvent
the problems with Clang and static variables
2013-10-14 01:18:56 +02:00