Make use of logger provided by ndn-cxx
This commit also introduces a basic implmentation of DummyForwarder to
remove dependency on (and uncertainty of) the running instance of NFD.
Change-Id: Iba9fcbf3d3ebb1a5ae47018ad3be5d7d2b9c7462
diff --git a/tests/unit-tests/object-manager.t.cpp b/tests/unit-tests/object-manager.t.cpp
index c19cd75..7b721c1 100644
--- a/tests/unit-tests/object-manager.t.cpp
+++ b/tests/unit-tests/object-manager.t.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2013-2016, Regents of the University of California.
+ * Copyright (c) 2013-2017, Regents of the University of California.
*
* This file is part of ChronoShare, a decentralized file sharing application over NDN.
*
@@ -30,7 +30,7 @@
#include <iterator>
#include <unistd.h>
-INIT_LOGGER("Test.ObjectManager");
+_LOG_INIT(Test.ObjectManager);
using namespace Ndnx;
using namespace std;
@@ -41,8 +41,6 @@
BOOST_AUTO_TEST_CASE(ObjectManagerTest)
{
- INIT_LOGGERS();
-
fs::path tmpdir = fs::unique_path(fs::temp_directory_path() / "%%%%-%%%%-%%%%-%%%%");
_LOG_DEBUG("tmpdir: " << tmpdir);
Name deviceName("/device");