interest: drop Selectors from matching functions
matchesData and matchesInterest only consider Name, CanBePrefix,
and MustBeFresh. matchesName is deprecated.
refs #4913
Change-Id: I6f29a98f09f1b6f97e379f4c7d74d9b18da75d0e
diff --git a/tests/unit/mgmt/nfd/status-dataset.t.cpp b/tests/unit/mgmt/nfd/status-dataset.t.cpp
index 1af98e9..aac874b 100644
--- a/tests/unit/mgmt/nfd/status-dataset.t.cpp
+++ b/tests/unit/mgmt/nfd/status-dataset.t.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2013-2018 Regents of the University of California.
+ * Copyright (c) 2013-2019 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -99,6 +99,7 @@
}
auto data = make_shared<Data>(name);
+ data->setFreshnessPeriod(1_s);
data->setFinalBlock(name[-1]);
return data;
}
@@ -132,7 +133,9 @@
datasetFailCallback);
this->advanceClocks(500_ms);
- face.receive(*makeData("/localhost/nfd/faces/list/%FD%00"));
+ auto data = makeData("/localhost/nfd/faces/list/%FD%00");
+ data->setFreshnessPeriod(1_s);
+ face.receive(*data);
this->advanceClocks(500_ms);
BOOST_REQUIRE_EQUAL(failCodes.size(), 1);