2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-23 17:32:07 +00:00
Files
asio/test/windows/random_access_handle_service.cpp
Christopher Kohlhoff fa82af9e16 Add random-access handles for use on Windows.
[SVN r46319]
2008-06-11 11:17:53 +00:00

28 lines
802 B
C++

//
// random_access_handle_service.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// 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)
//
// 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/windows/random_access_handle_service.hpp>
#include <boost/asio.hpp>
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("windows/random_access_handle_service");
test->add(BOOST_TEST_CASE(&null_test));
return test;
}