face: Implementing new "isOnDemand" flag
This flags replaces isPermanent flag in datagram faces, but with the
reversed logic (isPermanent = !isOnDemand)
Change-Id: I37ba604e5f105ca95a79a08b8cfc3d640df8b412
Refs: #1376
diff --git a/tests/mgmt/face-manager.cpp b/tests/mgmt/face-manager.cpp
index cca3671..45a609f 100644
--- a/tests/mgmt/face-manager.cpp
+++ b/tests/mgmt/face-manager.cpp
@@ -1039,7 +1039,8 @@
ndn::nfd::FaceEventNotification expectedFaceEvent(ndn::nfd::FACE_EVENT_CREATED,
1,
- dummy->getUri().toString());
+ dummy->getUri().toString(),
+ 0);
Block encodedResultOptions(resultOptions.wireEncode());
@@ -1099,7 +1100,7 @@
ndn::nfd::FaceEventNotification expectedFaceEvent(ndn::nfd::FACE_EVENT_DESTROYED,
dummy->getId(),
- dummy->getUri().toString());
+ dummy->getUri().toString(), 0);
getFace()->onReceiveData +=
bind(&FaceFixture::callbackDispatch, this, _1,