diff options
author | zeshuai007 <51382517@qq.com> | 2020-05-27 12:08:01 +0800 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2020-09-12 19:07:28 +0200 |
commit | 6b1cb30f48713f11c0b485d08f494d8cf607a05e (patch) | |
tree | 12c5fbe9cc7707d4f13dc12f7b8f76509cc19e86 | |
parent | 03715899d280c834f8cccbb0435fdedcc456c0e1 (diff) | |
download | thrift-6b1cb30f48713f11c0b485d08f494d8cf607a05e.tar.gz |
THRIFT-5217 Deprecated boost header
Client: cpp
Patch: Zezeng Wang
This closes #2158
-rw-r--r-- | lib/cpp/test/Base64Test.cpp | 2 | ||||
-rw-r--r-- | lib/cpp/test/OneWayHTTPTest.cpp | 2 | ||||
-rw-r--r-- | lib/cpp/test/TBufferBaseTest.cpp | 2 | ||||
-rw-r--r-- | lib/cpp/test/TMemoryBufferTest.cpp | 2 | ||||
-rw-r--r-- | lib/cpp/test/TSSLSocketInterruptTest.cpp | 2 | ||||
-rw-r--r-- | lib/cpp/test/TServerIntegrationTest.cpp | 2 | ||||
-rw-r--r-- | lib/cpp/test/TServerSocketTest.cpp | 2 | ||||
-rw-r--r-- | lib/cpp/test/TServerTransportTest.cpp | 2 | ||||
-rw-r--r-- | lib/cpp/test/TSocketInterruptTest.cpp | 2 | ||||
-rw-r--r-- | lib/cpp/test/ToStringTest.cpp | 2 | ||||
-rw-r--r-- | lib/cpp/test/UnitTestMain.cpp | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/lib/cpp/test/Base64Test.cpp b/lib/cpp/test/Base64Test.cpp index 7686e4e7b..843b236ef 100644 --- a/lib/cpp/test/Base64Test.cpp +++ b/lib/cpp/test/Base64Test.cpp @@ -17,7 +17,7 @@ * under the License. */ -#include <boost/test/auto_unit_test.hpp> +#include <boost/test/unit_test.hpp> #include <thrift/protocol/TBase64Utils.h> using apache::thrift::protocol::base64_encode; diff --git a/lib/cpp/test/OneWayHTTPTest.cpp b/lib/cpp/test/OneWayHTTPTest.cpp index 55d919bba..7823482f1 100644 --- a/lib/cpp/test/OneWayHTTPTest.cpp +++ b/lib/cpp/test/OneWayHTTPTest.cpp @@ -17,7 +17,7 @@ * under the License. */ -#include <boost/test/auto_unit_test.hpp> +#include <boost/test/unit_test.hpp> #include <boost/thread.hpp> #include <iostream> #include <climits> diff --git a/lib/cpp/test/TBufferBaseTest.cpp b/lib/cpp/test/TBufferBaseTest.cpp index 7203f829b..3aa845bc5 100644 --- a/lib/cpp/test/TBufferBaseTest.cpp +++ b/lib/cpp/test/TBufferBaseTest.cpp @@ -18,7 +18,7 @@ */ #include <algorithm> -#include <boost/test/auto_unit_test.hpp> +#include <boost/test/unit_test.hpp> #include <thrift/transport/TBufferTransports.h> #include <thrift/transport/TShortReadTransport.h> #include <memory> diff --git a/lib/cpp/test/TMemoryBufferTest.cpp b/lib/cpp/test/TMemoryBufferTest.cpp index 42f97112b..759aa0c9b 100644 --- a/lib/cpp/test/TMemoryBufferTest.cpp +++ b/lib/cpp/test/TMemoryBufferTest.cpp @@ -17,7 +17,7 @@ * under the License. */ -#include <boost/test/auto_unit_test.hpp> +#include <boost/test/unit_test.hpp> #include <iostream> #include <climits> #include <vector> diff --git a/lib/cpp/test/TSSLSocketInterruptTest.cpp b/lib/cpp/test/TSSLSocketInterruptTest.cpp index 33f686cef..83fb993d4 100644 --- a/lib/cpp/test/TSSLSocketInterruptTest.cpp +++ b/lib/cpp/test/TSSLSocketInterruptTest.cpp @@ -17,7 +17,7 @@ * under the License. */ -#include <boost/test/auto_unit_test.hpp> +#include <boost/test/unit_test.hpp> #include <boost/test/unit_test_suite.hpp> #include <boost/chrono/duration.hpp> #include <boost/date_time/posix_time/posix_time_duration.hpp> diff --git a/lib/cpp/test/TServerIntegrationTest.cpp b/lib/cpp/test/TServerIntegrationTest.cpp index b88c35bf4..ab235d5a4 100644 --- a/lib/cpp/test/TServerIntegrationTest.cpp +++ b/lib/cpp/test/TServerIntegrationTest.cpp @@ -19,7 +19,7 @@ #define BOOST_TEST_MODULE TServerIntegrationTest #include <atomic> -#include <boost/test/auto_unit_test.hpp> +#include <boost/test/unit_test.hpp> #include <boost/date_time/posix_time/ptime.hpp> #include <boost/foreach.hpp> #include <boost/format.hpp> diff --git a/lib/cpp/test/TServerSocketTest.cpp b/lib/cpp/test/TServerSocketTest.cpp index c96700f8b..929defa0a 100644 --- a/lib/cpp/test/TServerSocketTest.cpp +++ b/lib/cpp/test/TServerSocketTest.cpp @@ -17,7 +17,7 @@ * under the License. */ -#include <boost/test/auto_unit_test.hpp> +#include <boost/test/unit_test.hpp> #include <thrift/transport/TSocket.h> #include <thrift/transport/TServerSocket.h> #include <memory> diff --git a/lib/cpp/test/TServerTransportTest.cpp b/lib/cpp/test/TServerTransportTest.cpp index 18a393ee0..8944737d5 100644 --- a/lib/cpp/test/TServerTransportTest.cpp +++ b/lib/cpp/test/TServerTransportTest.cpp @@ -17,7 +17,7 @@ * under the License. */ -#include <boost/test/auto_unit_test.hpp> +#include <boost/test/unit_test.hpp> #include <thrift/transport/TSocket.h> #include <thrift/transport/TServerTransport.h> #include <memory> diff --git a/lib/cpp/test/TSocketInterruptTest.cpp b/lib/cpp/test/TSocketInterruptTest.cpp index a546c23a1..1e3e59c5c 100644 --- a/lib/cpp/test/TSocketInterruptTest.cpp +++ b/lib/cpp/test/TSocketInterruptTest.cpp @@ -18,7 +18,7 @@ */ #define BOOST_TEST_MODULE TSocketInterruptTest -#include <boost/test/auto_unit_test.hpp> +#include <boost/test/unit_test.hpp> #include <boost/chrono/duration.hpp> #include <boost/date_time/posix_time/posix_time_duration.hpp> diff --git a/lib/cpp/test/ToStringTest.cpp b/lib/cpp/test/ToStringTest.cpp index d204cb346..5a05ed70a 100644 --- a/lib/cpp/test/ToStringTest.cpp +++ b/lib/cpp/test/ToStringTest.cpp @@ -20,7 +20,7 @@ #include <vector> #include <map> -#include <boost/test/auto_unit_test.hpp> +#include <boost/test/unit_test.hpp> #include <thrift/TToString.h> diff --git a/lib/cpp/test/UnitTestMain.cpp b/lib/cpp/test/UnitTestMain.cpp index f0ef1e4a6..04b37ff27 100644 --- a/lib/cpp/test/UnitTestMain.cpp +++ b/lib/cpp/test/UnitTestMain.cpp @@ -18,4 +18,4 @@ */ #define BOOST_TEST_MODULE thrift -#include <boost/test/auto_unit_test.hpp> +#include <boost/test/unit_test.hpp> |