src: decouple classes from Nlsr object
refs: #1952, #2803, #3960, #4288
Change-Id: Ibe3ac3820f11e8107ee4b13e510d53c27467a6cb
diff --git a/tests/test-conf-parameter.cpp b/tests/test-conf-parameter.cpp
index 0fdf631..a42d596 100644
--- a/tests/test-conf-parameter.cpp
+++ b/tests/test-conf-parameter.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2014-2018, The University of Memphis,
+ * Copyright (c) 2014-2019, The University of Memphis,
* Regents of the University of California
*
* This file is part of NLSR (Named-data Link State Routing).
@@ -21,6 +21,9 @@
*
**/
#include "conf-parameter.hpp"
+
+#include <ndn-cxx/util/dummy-client-face.hpp>
+
#include <boost/test/unit_test.hpp>
namespace nlsr {
@@ -33,7 +36,8 @@
BOOST_AUTO_TEST_CASE(ConfParameterSettersAndGetters)
{
- ConfParameter cp1;
+ ndn::util::DummyClientFace face;
+ ConfParameter cp1(face);
const string NAME = "router1";
const string SITE = "memphis";