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/dispatcher.t.cpp b/tests/unit-tests/dispatcher.t.cpp
index 572db31..5270102 100644
--- a/tests/unit-tests/dispatcher.t.cpp
+++ b/tests/unit-tests/dispatcher.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.
*
@@ -32,11 +32,10 @@
using namespace boost;
namespace fs = boost::filesystem;
-INIT_LOGGER("Test.Dispatcher");
+_LOG_INIT(Test.Dispatcher);
BOOST_AUTO_TEST_SUITE(TestDispatcher)
-
void
cleanDir(fs::path dir)
{
@@ -53,8 +52,6 @@
BOOST_AUTO_TEST_CASE(DispatcherTest)
{
- INIT_LOGGERS();
-
fs::path dir1("./TestDispatcher/test-white-house");
fs::path dir2("./TestDispatcher/test-black-house");