Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / asio / test / local / connect_pair.cpp
index 0607dee..3c4636c 100644 (file)
@@ -2,7 +2,7 @@
 // connect_pair.cpp
 // ~~~~~~~~~~~~~~~~
 //
-// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2014 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)
@@ -70,9 +70,8 @@ void test()
 
 //------------------------------------------------------------------------------
 
-test_suite* init_unit_test_suite(int, char*[])
-{
-  test_suite* test = BOOST_TEST_SUITE("local/connect_pair");
-  test->add(BOOST_TEST_CASE(&local_connect_pair_compile::test));
-  return test;
-}
+BOOST_ASIO_TEST_SUITE
+(
+  "local/connect_pair",
+  BOOST_ASIO_TEST_CASE(local_connect_pair_compile::test)
+)