diff options
Diffstat (limited to '3rdparty/asio/src/tests/unit/basic_serial_port.cpp')
-rw-r--r-- | 3rdparty/asio/src/tests/unit/basic_serial_port.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/3rdparty/asio/src/tests/unit/basic_serial_port.cpp b/3rdparty/asio/src/tests/unit/basic_serial_port.cpp new file mode 100644 index 00000000000..a6c4e67d54a --- /dev/null +++ b/3rdparty/asio/src/tests/unit/basic_serial_port.cpp @@ -0,0 +1,26 @@ +// +// basic_serial_port.cpp +// ~~~~~~~~~~~~~~~~~~~~~ +// +// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2008 Rep Invariant Systems, Inc. (info@repinvariant.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 "asio/basic_serial_port.hpp" + +#include "unit_test.hpp" + +ASIO_TEST_SUITE +( + "basic_serial_port", + ASIO_TEST_CASE(null_test) +) |