tests: use DummyClientFace from ndn-cxx
refs #2186
Change-Id: Ie6f959b846202f201514d757d12d96921fc19bd6
diff --git a/tests/rib/rib-status-publisher.cpp b/tests/rib/rib-status-publisher.cpp
index 5253bba..b1414cc 100644
--- a/tests/rib/rib-status-publisher.cpp
+++ b/tests/rib/rib-status-publisher.cpp
@@ -24,9 +24,10 @@
*/
#include "rib/rib-status-publisher.hpp"
-
#include "rib-status-publisher-common.hpp"
-#include "tests/dummy-client-face.hpp"
+
+#include "tests/test-common.hpp"
+#include <ndn-cxx/util/dummy-client-face.hpp>
namespace nfd {
namespace rib {
@@ -47,14 +48,14 @@
rib.insert(name, entry);
ndn::KeyChain keyChain;
- shared_ptr<nfd::tests::DummyClientFace> face = nfd::tests::makeDummyClientFace();
+ shared_ptr<ndn::util::DummyClientFace> face = ndn::util::makeDummyClientFace();
RibStatusPublisher publisher(rib, *face, "/localhost/nfd/rib/list", keyChain);
publisher.publish();
face->processEvents(time::milliseconds(1));
- BOOST_REQUIRE_EQUAL(face->m_sentDatas.size(), 1);
- decodeRibEntryBlock(face->m_sentDatas[0], name, entry);
+ BOOST_REQUIRE_EQUAL(face->sentDatas.size(), 1);
+ decodeRibEntryBlock(face->sentDatas[0], name, entry);
}