| /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
| * Copyright (C) 2014 Named Data Networking Project |
| * See COPYING for copyright and distribution information. |
| #ifndef NFD_TEST_COMMON_HPP |
| #define NFD_TEST_COMMON_HPP |
| #include <boost/test/unit_test.hpp> |
| #include "core/global-io.hpp" |
| /** \brief base test fixture |
| * Every test case should be based on this fixture, |
| * to have per test case io_service initialization. |
| : g_io(getGlobalIoService()) |
| /// reference to global io_service |
| boost::asio::io_service& g_io; |
| #endif // NFD_TEST_COMMON_HPP |