Skip to content

Commit

Permalink
Backported #946
Browse files Browse the repository at this point in the history
  • Loading branch information
COM8 committed Aug 19, 2023
1 parent ce1ab49 commit 21131c5
Show file tree
Hide file tree
Showing 20 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion test/alternating_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <string>

#include <cpr/cpr.h>
#include "cpr/cpr.h"

#include "httpServer.hpp"

Expand Down
2 changes: 1 addition & 1 deletion test/async_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <string>
#include <vector>

#include <cpr/cpr.h>
#include "cpr/cpr.h"

#include "httpServer.hpp"

Expand Down
2 changes: 1 addition & 1 deletion test/callback_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <thread>
#include <vector>

#include <cpr/cpr.h>
#include "cpr/cpr.h"

#include "cpr/cprtypes.h"
#include "httpServer.hpp"
Expand Down
2 changes: 1 addition & 1 deletion test/delete_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <string>

#include <cpr/cpr.h>
#include "cpr/cpr.h"

#include "httpServer.hpp"

Expand Down
2 changes: 1 addition & 1 deletion test/download_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <string>

#include <cpr/cpr.h>
#include "cpr/cpr.h"

#include "cpr/api.h"
#include "cpr/callback.h"
Expand Down
2 changes: 1 addition & 1 deletion test/encoded_auth_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <string>

#include <cpr/cpr.h>
#include "cpr/cpr.h"

using namespace cpr;

Expand Down
2 changes: 1 addition & 1 deletion test/error_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <chrono>
#include <string>

#include <cpr/cpr.h>
#include "cpr/cpr.h"
#include <curl/curl.h>

#include "httpServer.hpp"
Expand Down
2 changes: 1 addition & 1 deletion test/head_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <string>

#include <cpr/cpr.h>
#include "cpr/cpr.h"

#include "httpServer.hpp"

Expand Down
2 changes: 1 addition & 1 deletion test/options_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <string>

#include <cpr/cpr.h>
#include "cpr/cpr.h"

#include "httpServer.hpp"

Expand Down
2 changes: 1 addition & 1 deletion test/patch_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <string>

#include <cpr/cpr.h>
#include "cpr/cpr.h"

#include "httpServer.hpp"

Expand Down
4 changes: 2 additions & 2 deletions test/post_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include <fstream>
#include <string>

#include <cpr/cpr.h>
#include <cpr/multipart.h>
#include "cpr/cpr.h"
#include "cpr/multipart.h"

#include "httpServer.hpp"

Expand Down
2 changes: 1 addition & 1 deletion test/prepare_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <string>
#include <vector>

#include <cpr/cpr.h>
#include "cpr/cpr.h"

#include "httpServer.hpp"

Expand Down
2 changes: 1 addition & 1 deletion test/proxy_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <string>

#include <cpr/cpr.h>
#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
Expand Down
2 changes: 1 addition & 1 deletion test/put_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <string>

#include <cpr/cpr.h>
#include "cpr/cpr.h"

#include "httpServer.hpp"

Expand Down
4 changes: 2 additions & 2 deletions test/raw_body_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include <fstream>
#include <string>

#include <cpr/cpr.h>
#include <cpr/multipart.h>
#include "cpr/cpr.h"
#include "cpr/multipart.h"

#include "httpServer.hpp"

Expand Down
2 changes: 1 addition & 1 deletion test/session_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <chrono>
#include <string>

#include <cpr/cpr.h>
#include "cpr/cpr.h"
#include <curl/curl.h>

#include "httpServer.hpp"
Expand Down
4 changes: 2 additions & 2 deletions test/ssl_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include <thread>
#include <vector>

#include <cpr/cprtypes.h>
#include <cpr/ssl_options.h>
#include "cpr/cprtypes.h"
#include "cpr/ssl_options.h"

#include "httpsServer.hpp"

Expand Down
4 changes: 2 additions & 2 deletions test/structures_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#include <string>

#include <cpr/parameters.h>
#include <cpr/payload.h>
#include "cpr/parameters.h"
#include "cpr/payload.h"

using namespace cpr;

Expand Down
4 changes: 2 additions & 2 deletions test/util_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

#include <string>

#include <cpr/cprtypes.h>
#include <cpr/util.h>
#include "cpr/cprtypes.h"
#include "cpr/util.h"

using namespace cpr;

Expand Down
2 changes: 1 addition & 1 deletion test/version_tests.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "cpr/cpr.h"
#include <cctype>
#include <cpr/cpr.h>
#include <cstddef>
#include <gtest/gtest.h>
#include <string>
Expand Down

0 comments on commit 21131c5

Please sign in to comment.