mgmt+core: Moving SegmentPublisher to core/ and removing KeyChain from nfd::AppFace
This change ensures interface uniformity between nfd::AppFace and
ndn::Face and allow now templated version of SegmentPublisher to be used
with either.
Change-Id: I82e29528b13b37bd2ae27ef47db30e8c87c15a38
Refs: #1749
diff --git a/tests/daemon/mgmt/channel-status-publisher.cpp b/tests/daemon/mgmt/channel-status-publisher.cpp
index 04625af..6d33f4d 100644
--- a/tests/daemon/mgmt/channel-status-publisher.cpp
+++ b/tests/daemon/mgmt/channel-status-publisher.cpp
@@ -39,7 +39,7 @@
public:
ChannelStatusPublisherFixture()
: m_face(make_shared<InternalFace>())
- , m_publisher(m_factories, m_face, "/localhost/nfd/faces/channels")
+ , m_publisher(m_factories, *m_face, "/localhost/nfd/faces/channels", m_keyChain)
, m_finished(false)
{
}
@@ -120,6 +120,8 @@
std::set<std::string> m_matchedEntries;
bool m_finished;
+
+ ndn::KeyChain m_keyChain;
};
BOOST_FIXTURE_TEST_SUITE(MgmtChannelStatusPublisher, ChannelStatusPublisherFixture)