fw: add processing for afterNewNextHop signal
Refs: #4931
Change-Id: I08bddc0ae3ceca0ddb777392ea656876ad6fe701
diff --git a/tests/daemon/fw/dummy-strategy.cpp b/tests/daemon/fw/dummy-strategy.cpp
index 4497ede..84038c7 100644
--- a/tests/daemon/fw/dummy-strategy.cpp
+++ b/tests/daemon/fw/dummy-strategy.cpp
@@ -72,6 +72,8 @@
const FaceEndpoint& ingress, const Data& data)
{
++beforeSatisfyInterest_count;
+
+ Strategy::beforeSatisfyInterest(pitEntry, ingress, data);
}
void
@@ -97,6 +99,16 @@
const shared_ptr<pit::Entry>& pitEntry)
{
++afterReceiveNack_count;
+
+ Strategy::afterReceiveNack(ingress, nack, pitEntry);
+}
+
+void
+DummyStrategy::afterNewNextHop(const fib::NextHop& nextHop, const shared_ptr<pit::Entry>& pitEntry)
+{
+ afterNewNextHopCalls.push_back(pitEntry->getName());
+
+ Strategy::afterNewNextHop(nextHop, pitEntry);
}
} // namespace tests