~ubuntu-branches/debian/sid/boost1.49/sid

« back to all changes in this revision

Viewing changes to libs/asio/test/basic_datagram_socket.cpp

  • Committer: Package Import Robot
  • Author(s): Steve M. Robbins
  • Date: 2012-02-26 00:31:44 UTC
  • Revision ID: package-import@ubuntu.com-20120226003144-eaytp12cbf6ubpms
Tags: upstream-1.49.0
ImportĀ upstreamĀ versionĀ 1.49.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// basic_datagram_socket.cpp
 
3
// ~~~~~~~~~~~~~~~~~~~~~~~~~
 
4
//
 
5
// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com)
 
6
//
 
7
// Distributed under the Boost Software License, Version 1.0. (See accompanying
 
8
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
9
//
 
10
 
 
11
// Disable autolinking for unit tests.
 
12
#if !defined(BOOST_ALL_NO_LIB)
 
13
#define BOOST_ALL_NO_LIB 1
 
14
#endif // !defined(BOOST_ALL_NO_LIB)
 
15
 
 
16
// Test that header file is self-contained.
 
17
#include <boost/asio/basic_datagram_socket.hpp>
 
18
 
 
19
#include "unit_test.hpp"
 
20
 
 
21
test_suite* init_unit_test_suite(int, char*[])
 
22
{
 
23
  test_suite* test = BOOST_TEST_SUITE("basic_datagram_socket");
 
24
  test->add(BOOST_TEST_CASE(&null_test));
 
25
  return test;
 
26
}