/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
* Copyright (c) 2016 Regents of the University of California.
*
* This file is part of the nTorrent codebase.
*
* nTorrent is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later version.
*
* nTorrent is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
*
* You should have received copies of the GNU General Public License and GNU Lesser
* General Public License along with nTorrent, e.g., in COPYING.md file. If not, see
* <http://www.gnu.org/licenses/>.
*
* See AUTHORS for complete list of nTorrent authors and contributors.
*/

#ifndef NTORRENT_TESTS_BOOST_TEST_HPP
#define NTORRENT_TESTS_BOOST_TEST_HPP

// suppress warnings from Boost.Test
#pragma GCC system_header
#pragma clang system_header

#include "util/logging.hpp"

#include <boost/concept_check.hpp>
#include <boost/log/utility/setup/common_attributes.hpp>
#include <boost/test/output_test_stream.hpp>
#include <boost/test/unit_test.hpp>


struct NtorrentGlobalConfig {
  NtorrentGlobalConfig() {
    ndn::ntorrent::LoggingUtil::init();
    boost::log::add_common_attributes();
  }

  ~NtorrentGlobalConfig() {
  }
};

BOOST_GLOBAL_FIXTURE(NtorrentGlobalConfig);

#endif // NTORRENT_TESTS_BOOST_TEST_HPP
