From 21131c580e5b29319c0d10e1cc2a37a7d6f5852f Mon Sep 17 00:00:00 2001 From: Fabian Sauter Date: Sat, 19 Aug 2023 17:36:23 +0200 Subject: [PATCH] Backported #946 --- test/alternating_tests.cpp | 2 +- test/async_tests.cpp | 2 +- test/callback_tests.cpp | 2 +- test/delete_tests.cpp | 2 +- test/download_tests.cpp | 2 +- test/encoded_auth_tests.cpp | 2 +- test/error_tests.cpp | 2 +- test/head_tests.cpp | 2 +- test/options_tests.cpp | 2 +- test/patch_tests.cpp | 2 +- test/post_tests.cpp | 4 ++-- test/prepare_tests.cpp | 2 +- test/proxy_tests.cpp | 2 +- test/put_tests.cpp | 2 +- test/raw_body_tests.cpp | 4 ++-- test/session_tests.cpp | 2 +- test/ssl_tests.cpp | 4 ++-- test/structures_tests.cpp | 4 ++-- test/util_tests.cpp | 4 ++-- test/version_tests.cpp | 2 +- 20 files changed, 25 insertions(+), 25 deletions(-) diff --git a/test/alternating_tests.cpp b/test/alternating_tests.cpp index d0466f67e..d6b54775b 100644 --- a/test/alternating_tests.cpp +++ b/test/alternating_tests.cpp @@ -2,7 +2,7 @@ #include -#include +#include "cpr/cpr.h" #include "httpServer.hpp" diff --git a/test/async_tests.cpp b/test/async_tests.cpp index 775d16b59..5935982e3 100644 --- a/test/async_tests.cpp +++ b/test/async_tests.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include "cpr/cpr.h" #include "httpServer.hpp" diff --git a/test/callback_tests.cpp b/test/callback_tests.cpp index fb2146faa..9eef52beb 100644 --- a/test/callback_tests.cpp +++ b/test/callback_tests.cpp @@ -6,7 +6,7 @@ #include #include -#include +#include "cpr/cpr.h" #include "cpr/cprtypes.h" #include "httpServer.hpp" diff --git a/test/delete_tests.cpp b/test/delete_tests.cpp index 50856dfa1..f067eff6f 100644 --- a/test/delete_tests.cpp +++ b/test/delete_tests.cpp @@ -2,7 +2,7 @@ #include -#include +#include "cpr/cpr.h" #include "httpServer.hpp" diff --git a/test/download_tests.cpp b/test/download_tests.cpp index 88439fd96..65a4c7582 100644 --- a/test/download_tests.cpp +++ b/test/download_tests.cpp @@ -3,7 +3,7 @@ #include -#include +#include "cpr/cpr.h" #include "cpr/api.h" #include "cpr/callback.h" diff --git a/test/encoded_auth_tests.cpp b/test/encoded_auth_tests.cpp index c8b89ce0b..14506d9cc 100644 --- a/test/encoded_auth_tests.cpp +++ b/test/encoded_auth_tests.cpp @@ -2,7 +2,7 @@ #include -#include +#include "cpr/cpr.h" using namespace cpr; diff --git a/test/error_tests.cpp b/test/error_tests.cpp index 53cd50d47..643fc94ed 100644 --- a/test/error_tests.cpp +++ b/test/error_tests.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include "cpr/cpr.h" #include #include "httpServer.hpp" diff --git a/test/head_tests.cpp b/test/head_tests.cpp index 3c4a2f42e..345cbbc0e 100644 --- a/test/head_tests.cpp +++ b/test/head_tests.cpp @@ -3,7 +3,7 @@ #include -#include +#include "cpr/cpr.h" #include "httpServer.hpp" diff --git a/test/options_tests.cpp b/test/options_tests.cpp index ee3176f7c..04312319a 100644 --- a/test/options_tests.cpp +++ b/test/options_tests.cpp @@ -2,7 +2,7 @@ #include -#include +#include "cpr/cpr.h" #include "httpServer.hpp" diff --git a/test/patch_tests.cpp b/test/patch_tests.cpp index 22d0b4f41..4c0c46cf4 100644 --- a/test/patch_tests.cpp +++ b/test/patch_tests.cpp @@ -2,7 +2,7 @@ #include -#include +#include "cpr/cpr.h" #include "httpServer.hpp" diff --git a/test/post_tests.cpp b/test/post_tests.cpp index a9dc29ca2..aad657433 100644 --- a/test/post_tests.cpp +++ b/test/post_tests.cpp @@ -5,8 +5,8 @@ #include #include -#include -#include +#include "cpr/cpr.h" +#include "cpr/multipart.h" #include "httpServer.hpp" diff --git a/test/prepare_tests.cpp b/test/prepare_tests.cpp index d7332c9b2..722b2815b 100644 --- a/test/prepare_tests.cpp +++ b/test/prepare_tests.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include "cpr/cpr.h" #include "httpServer.hpp" diff --git a/test/proxy_tests.cpp b/test/proxy_tests.cpp index e16bc3fe3..5c37453ff 100644 --- a/test/proxy_tests.cpp +++ b/test/proxy_tests.cpp @@ -2,7 +2,7 @@ #include -#include +#include "cpr/cpr.h" // TODO: This uses public servers for proxies and endpoints. This should be replaced with a source // code implementation inside server.cpp diff --git a/test/put_tests.cpp b/test/put_tests.cpp index 34e083ff0..b9e1e3abd 100644 --- a/test/put_tests.cpp +++ b/test/put_tests.cpp @@ -2,7 +2,7 @@ #include -#include +#include "cpr/cpr.h" #include "httpServer.hpp" diff --git a/test/raw_body_tests.cpp b/test/raw_body_tests.cpp index 2416e4eb9..8aea185e1 100644 --- a/test/raw_body_tests.cpp +++ b/test/raw_body_tests.cpp @@ -4,8 +4,8 @@ #include #include -#include -#include +#include "cpr/cpr.h" +#include "cpr/multipart.h" #include "httpServer.hpp" diff --git a/test/session_tests.cpp b/test/session_tests.cpp index d8556181c..87a05e23e 100644 --- a/test/session_tests.cpp +++ b/test/session_tests.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include "cpr/cpr.h" #include #include "httpServer.hpp" diff --git a/test/ssl_tests.cpp b/test/ssl_tests.cpp index 5131588bf..fbb2c1063 100644 --- a/test/ssl_tests.cpp +++ b/test/ssl_tests.cpp @@ -5,8 +5,8 @@ #include #include -#include -#include +#include "cpr/cprtypes.h" +#include "cpr/ssl_options.h" #include "httpsServer.hpp" diff --git a/test/structures_tests.cpp b/test/structures_tests.cpp index 026362e49..552fd1af1 100644 --- a/test/structures_tests.cpp +++ b/test/structures_tests.cpp @@ -3,8 +3,8 @@ #include -#include -#include +#include "cpr/parameters.h" +#include "cpr/payload.h" using namespace cpr; diff --git a/test/util_tests.cpp b/test/util_tests.cpp index 33977530f..24787fcb5 100644 --- a/test/util_tests.cpp +++ b/test/util_tests.cpp @@ -2,8 +2,8 @@ #include -#include -#include +#include "cpr/cprtypes.h" +#include "cpr/util.h" using namespace cpr; diff --git a/test/version_tests.cpp b/test/version_tests.cpp index 4c589d298..5bf7ed003 100644 --- a/test/version_tests.cpp +++ b/test/version_tests.cpp @@ -1,5 +1,5 @@ +#include "cpr/cpr.h" #include -#include #include #include #include