fw: add processing for afterNewNextHop signal
Refs: #4931
Change-Id: I08bddc0ae3ceca0ddb777392ea656876ad6fe701
diff --git a/tests/daemon/fw/dummy-strategy.hpp b/tests/daemon/fw/dummy-strategy.hpp
index 9a2445b..04a5d9d 100644
--- a/tests/daemon/fw/dummy-strategy.hpp
+++ b/tests/daemon/fw/dummy-strategy.hpp
@@ -82,6 +82,9 @@
afterReceiveNack(const FaceEndpoint& ingress, const lp::Nack& nack,
const shared_ptr<pit::Entry>& pitEntry) override;
+ void
+ afterNewNextHop(const fib::NextHop& nextHop, const shared_ptr<pit::Entry>& pitEntry) override;
+
protected:
/** \brief register an alias
* \tparam S subclass of DummyStrategy
@@ -102,6 +105,9 @@
int afterReceiveData_count;
int afterReceiveNack_count;
+ // a collection of names of PIT entries that afterNewNextHop() was called on
+ std::vector<Name> afterNewNextHopCalls;
+
shared_ptr<Face> interestOutFace;
};