blob: 793d0f7170f05bd6146ad99246994adfc3dd0906 [file] [log] [blame]
shockjianga5ae48c2014-07-27 23:21:41 -07001#ifndef NDNS_TESTS_BOOST_TEST_HPP
2#define NDNS_TESTS_BOOST_TEST_HPP
3
4// suppress warnings from Boost.Test
5#pragma GCC system_header
6#pragma clang system_header
7
8#include <boost/test/test_tools.hpp>
9#include <boost/test/unit_test.hpp>
10#include <boost/concept_check.hpp>
11#include <boost/test/output_test_stream.hpp>
12
13#include <ndn-cxx/name.hpp>
14#include <ndn-cxx/data.hpp>
15#include <ndn-cxx/interest.hpp>
16
17namespace ndn {
18namespace ndns {
19namespace tests {
20
21 void inline
22 printbegin(std::string label)
23 {
24 std::cout<<std::endl<<"-->>>>>>>>>>>>>>"<<label<<" begins:"<<std::endl;
25 }
26
27 void inline
28 printend(std::string label)
29 {
30 std::cout<<"<<<<<<<<<<<<<<--"<<label<<" ends."<<std::endl;
31 }
32}//tests
33}//ndns
34}//ndn
35#endif // NDN_TESTS_BOOST_TEST_HPP