fw: add override specifier to Strategy triggers
refs #2281
Change-Id: I5357ac6a93260492900d24c8955fdd7397ef2d27
diff --git a/tests/daemon/table/measurements-accessor.cpp b/tests/daemon/table/measurements-accessor.cpp
index 8d09ca4..8668368 100644
--- a/tests/daemon/table/measurements-accessor.cpp
+++ b/tests/daemon/table/measurements-accessor.cpp
@@ -27,35 +27,26 @@
#include "fw/strategy.hpp"
#include "tests/test-common.hpp"
+#include "../fw/dummy-strategy.hpp"
namespace nfd {
namespace tests {
BOOST_FIXTURE_TEST_SUITE(TableMeasurementsAccessor, BaseFixture)
-class MeasurementsAccessorTestStrategy : public fw::Strategy
+class MeasurementsAccessorTestStrategy : public DummyStrategy
{
public:
MeasurementsAccessorTestStrategy(Forwarder& forwarder, const Name& name)
- : Strategy(forwarder, name)
+ : DummyStrategy(forwarder, name)
{
}
virtual
~MeasurementsAccessorTestStrategy()
-
{
}
- virtual void
- afterReceiveInterest(const Face& inFace,
- const Interest& interest,
- shared_ptr<fib::Entry> fibEntry,
- shared_ptr<pit::Entry> pitEntry)
- {
- BOOST_ASSERT(false);
- }
-
public: // accessors
MeasurementsAccessor&
getMeasurements_accessor()