util: make DummyClientFace public API
refs #2164
Change-Id: I4a21b70faab1fc1f5cde8430ef602f2425150df9
diff --git a/tests/unit-tests/face.cpp b/tests/unit-tests/face.cpp
index dcbff0b..1d45910 100644
--- a/tests/unit-tests/face.cpp
+++ b/tests/unit-tests/face.cpp
@@ -21,13 +21,16 @@
#include "face.hpp"
#include "security/key-chain.hpp"
-#include "dummy-client-face.hpp"
#include "boost-test.hpp"
+#include "util/dummy-client-face.hpp"
namespace ndn {
namespace tests {
+using ndn::util::DummyClientFace;
+using ndn::util::makeDummyClientFace;
+
BOOST_AUTO_TEST_SUITE(TestsFace)
class Fixture
@@ -65,8 +68,8 @@
bind(&Fixture::onTimeout, this));
face->processEvents(time::milliseconds(100));
- BOOST_CHECK_EQUAL(face->m_sentInterests.size(), 1);
- BOOST_CHECK_EQUAL(face->m_sentDatas.size(), 0);
+ BOOST_CHECK_EQUAL(face->sentInterests.size(), 1);
+ BOOST_CHECK_EQUAL(face->sentDatas.size(), 0);
}
BOOST_FIXTURE_TEST_CASE(RemovePendingInterest, Fixture)