mirror of
https://github.com/boostorg/asio.git
synced 2026-01-24 05:32:13 +00:00
50 lines
1.0 KiB
C++
50 lines
1.0 KiB
C++
//
|
|
// unit_test.hpp
|
|
// ~~~~~~~~~~~~~
|
|
//
|
|
// Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
|
//
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
//
|
|
|
|
#ifndef UNIT_TEST_HPP
|
|
#define UNIT_TEST_HPP
|
|
|
|
#include <boost/config.hpp>
|
|
|
|
#if defined(__sun)
|
|
# include <stdlib.h> // Needed for lrand48.
|
|
#endif // defined(__sun)
|
|
|
|
#if defined(__BORLANDC__)
|
|
|
|
// Prevent use of intrinsic for strcmp.
|
|
# include <cstring>
|
|
# undef strcmp
|
|
|
|
// Suppress error about condition always being true.
|
|
# pragma option -w-ccc
|
|
|
|
#endif // defined(__BORLANDC__)
|
|
|
|
#if defined(BOOST_MSVC)
|
|
# pragma warning (push)
|
|
# pragma warning (disable:4244)
|
|
# pragma warning (disable:4702)
|
|
#endif // defined(BOOST_MSVC)
|
|
|
|
#include <boost/test/unit_test.hpp>
|
|
#include <boost/test/included/unit_test_framework.hpp>
|
|
using boost::unit_test::test_suite;
|
|
|
|
#if defined(BOOST_MSVC)
|
|
# pragma warning (pop)
|
|
#endif // defined(BOOST_MSVC)
|
|
|
|
inline void null_test()
|
|
{
|
|
}
|
|
|
|
#endif // UNIT_TEST_HPP
|