aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/cpr/test/encoded_auth_tests.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-27 12:03:02 +0100
committerGitHub Enterprise <[email protected]>2026-03-27 12:03:02 +0100
commitfa3b5090e94ee1386ca6ed6c4ddf886fa46dca54 (patch)
treec574405fc12dd2af9fcb02353df10adb29587f6c /thirdparty/cpr/test/encoded_auth_tests.cpp
parentidle deprovision in hub (#895) (diff)
downloadzen-fa3b5090e94ee1386ca6ed6c4ddf886fa46dca54.tar.xz
zen-fa3b5090e94ee1386ca6ed6c4ddf886fa46dca54.zip
remove CPR HTTP client backend (#894)
CPR is no longer needed now that HttpClient has fully transitioned to raw libcurl. This removes the CPR library, its build integration, implementation files, and all conditional compilation guards, leaving curl as the sole HTTP client backend.
Diffstat (limited to 'thirdparty/cpr/test/encoded_auth_tests.cpp')
-rw-r--r--thirdparty/cpr/test/encoded_auth_tests.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/thirdparty/cpr/test/encoded_auth_tests.cpp b/thirdparty/cpr/test/encoded_auth_tests.cpp
deleted file mode 100644
index c8b89ce0b..000000000
--- a/thirdparty/cpr/test/encoded_auth_tests.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <gtest/gtest.h>
-
-#include <string>
-
-#include <cpr/cpr.h>
-
-using namespace cpr;
-
-TEST(EncodedAuthenticationTests, UnicodeEncoderTest) {
- std::string user = "一二三";
- std::string pass = "Hello World!";
- EncodedAuthentication pa{user, pass};
- std::string expected = "%E4%B8%80%E4%BA%8C%E4%B8%89:Hello%20World%21";
- EXPECT_EQ(pa.GetAuthString(), expected);
-}
-
-int main(int argc, char** argv) {
- ::testing::InitGoogleTest(&argc, argv);
- return RUN_ALL_TESTS();
-}