blob: ac559665bfd5d185d5d2afbeb7939ec5fe736231 [file] [log] [blame]
Alexander Afanasyev4ffcff22014-09-02 15:39:20 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
3 * Copyright (c) 2014, Regents of the University of California.
4 *
5 * This file is part of NDNS (Named Data Networking Domain Name Service).
6 * See AUTHORS.md for complete list of NDNS authors and contributors.
7 *
8 * NDNS is free software: you can redistribute it and/or modify it under the terms
9 * of the GNU General Public License as published by the Free Software Foundation,
10 * either version 3 of the License, or (at your option) any later version.
11 *
12 * NDNS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
13 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * NDNS, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#define BOOST_TEST_MAIN 1
21#define BOOST_TEST_DYN_LINK 1
22
23#include <boost/test/unit_test.hpp>
Alexander Afanasyev59a42ec2014-09-02 18:21:16 -070024
25#include "logger.hpp"
Shock Jiang3016c982014-11-11 11:35:17 -080026#include "config.hpp"
Alexander Afanasyev59a42ec2014-09-02 18:21:16 -070027
28namespace ndn {
29namespace ndns {
30namespace tests {
31
Shock Jiang3016c982014-11-11 11:35:17 -080032class UnitTestsLogging : boost::noncopyable
Alexander Afanasyev59a42ec2014-09-02 18:21:16 -070033{
34public:
35 UnitTestsLogging()
36 {
37 log::init("unit-tests.log4cxx");
38 }
39};
40
41BOOST_GLOBAL_FIXTURE(UnitTestsLogging)
42
43} // namespace tests
44} // namespace ndns
45} // namespace ndn