mirror of
https://github.com/boostorg/asio.git
synced 2026-01-19 16:12:09 +00:00
Chrono support.
[SVN r76380]
This commit is contained in:
26
test/basic_waitable_timer.cpp
Normal file
26
test/basic_waitable_timer.cpp
Normal file
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// basic_waitable_timer.cpp
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
//
|
||||
// Copyright (c) 2003-2011 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)
|
||||
//
|
||||
|
||||
// Disable autolinking for unit tests.
|
||||
#if !defined(BOOST_ALL_NO_LIB)
|
||||
#define BOOST_ALL_NO_LIB 1
|
||||
#endif // !defined(BOOST_ALL_NO_LIB)
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/asio/basic_waitable_timer.hpp>
|
||||
|
||||
#include "unit_test.hpp"
|
||||
|
||||
test_suite* init_unit_test_suite(int, char*[])
|
||||
{
|
||||
test_suite* test = BOOST_TEST_SUITE("basic_waitable_timer");
|
||||
test->add(BOOST_TEST_CASE(&null_test));
|
||||
return test;
|
||||
}
|
||||
Reference in New Issue
Block a user