testing: avoid setting the source in the TestingSyncSource constructor
authorPatrick Ohly <patrick.ohly@intel.com>
Thu, 10 Nov 2011 13:54:06 +0000 (14:54 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Thu, 10 Nov 2011 13:54:06 +0000 (14:54 +0100)
commit4a3f9583c17a2d2fadd74c0a52971b97329c5f62
treed161aea1c12b1c1d30e1e69ce7691774d0a2d923
parent08752e9468275e3a80fbc3375afb9789fab57bfa
testing: avoid setting the source in the TestingSyncSource constructor

Calling createSource() should always be wrapped in CT_ macros. This
cannot be done when done as part of constructing a TestingSyncSource
on the stack, because then the constructed instance would be inside
the macro.

So let's remove the dead (and duplicated!) code. Revealed that the
code was still unintentionally used, fixed.
test/ClientTest.cpp