core: add a facility to execute functions on the RIB io_service
refs #4279
Change-Id: I29222053348e5d1737d47c85a59d29280b4b791b
diff --git a/tests/test-common.hpp b/tests/test-common.hpp
index 110a1e2..1a4a0d5 100644
--- a/tests/test-common.hpp
+++ b/tests/test-common.hpp
@@ -58,6 +58,7 @@
protected:
BaseFixture();
+ virtual
~BaseFixture();
protected:
@@ -73,6 +74,7 @@
protected:
UnitTestTimeFixture();
+ virtual
~UnitTestTimeFixture();
/** \brief advance steady and system clocks
@@ -83,8 +85,8 @@
* Exceptions thrown during I/O events are propagated to the caller.
* Clock advancing would stop in case of an exception.
*/
- void
- advanceClocks(const time::nanoseconds& tick, size_t nTicks = 1);
+ virtual void
+ advanceClocks(time::nanoseconds tick, size_t nTicks = 1);
/** \brief advance steady and system clocks
*
@@ -95,8 +97,8 @@
* Exceptions thrown during I/O events are propagated to the caller.
* Clock advancing would stop in case of an exception.
*/
- void
- advanceClocks(const time::nanoseconds& tick, const time::nanoseconds& total);
+ virtual void
+ advanceClocks(time::nanoseconds tick, time::nanoseconds total);
protected:
shared_ptr<time::UnitTestSteadyClock> steadyClock;