@@ -354,7 +354,7 @@ TEST(BufferStreamTest, read) {
354354  EXPECT_EQ (0 , strm.read (buf, 1 ));
355355}
356356
357- TEST (ChunkedEncodingTest, FromHTTPWatch ) {
357+ TEST (ChunkedEncodingTest, FromHTTPWatch_Online ) {
358358  auto  host = " www.httpwatch.com" 
359359
360360#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
@@ -377,7 +377,7 @@ TEST(ChunkedEncodingTest, FromHTTPWatch) {
377377  EXPECT_EQ (out, res->body );
378378}
379379
380- TEST (ChunkedEncodingTest, WithContentReceiver ) {
380+ TEST (ChunkedEncodingTest, WithContentReceiver_Online ) {
381381  auto  host = " www.httpwatch.com" 
382382
383383#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
@@ -405,7 +405,7 @@ TEST(ChunkedEncodingTest, WithContentReceiver) {
405405  EXPECT_EQ (out, body);
406406}
407407
408- TEST (ChunkedEncodingTest, WithResponseHandlerAndContentReceiver ) {
408+ TEST (ChunkedEncodingTest, WithResponseHandlerAndContentReceiver_Online ) {
409409  auto  host = " www.httpwatch.com" 
410410
411411#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
@@ -437,7 +437,7 @@ TEST(ChunkedEncodingTest, WithResponseHandlerAndContentReceiver) {
437437  EXPECT_EQ (out, body);
438438}
439439
440- TEST (RangeTest, FromHTTPBin ) {
440+ TEST (RangeTest, FromHTTPBin_Online ) {
441441  auto  host = " httpbin.org" 
442442
443443#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
@@ -578,7 +578,7 @@ TEST(ConnectionErrorTest, Timeout) {
578578  EXPECT_TRUE (res.error () == Error::Connection);
579579}
580580
581- TEST (CancelTest, NoCancel ) {
581+ TEST (CancelTest, NoCancel_Online ) {
582582  auto  host = " httpbin.org" 
583583
584584#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
@@ -596,7 +596,7 @@ TEST(CancelTest, NoCancel) {
596596  EXPECT_EQ (200 , res->status );
597597}
598598
599- TEST (CancelTest, WithCancelSmallPayload ) {
599+ TEST (CancelTest, WithCancelSmallPayload_Online ) {
600600  auto  host = " httpbin.org" 
601601
602602#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
@@ -613,7 +613,7 @@ TEST(CancelTest, WithCancelSmallPayload) {
613613  EXPECT_EQ (Error::Canceled, res.error ());
614614}
615615
616- TEST (CancelTest, WithCancelLargePayload ) {
616+ TEST (CancelTest, WithCancelLargePayload_Online ) {
617617  auto  host = " httpbin.org" 
618618
619619#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
@@ -632,7 +632,7 @@ TEST(CancelTest, WithCancelLargePayload) {
632632  EXPECT_EQ (Error::Canceled, res.error ());
633633}
634634
635- TEST (BaseAuthTest, FromHTTPWatch ) {
635+ TEST (BaseAuthTest, FromHTTPWatch_Online ) {
636636  auto  host = " httpbin.org" 
637637
638638#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
@@ -683,7 +683,7 @@ TEST(BaseAuthTest, FromHTTPWatch) {
683683}
684684
685685#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
686- TEST (DigestAuthTest, FromHTTPWatch ) {
686+ TEST (DigestAuthTest, FromHTTPWatch_Online ) {
687687  auto  host = " httpbin.org" 
688688  auto  port = 443 ;
689689  SSLClient cli (host, port);
@@ -730,7 +730,7 @@ TEST(DigestAuthTest, FromHTTPWatch) {
730730}
731731#endif 
732732
733- TEST (AbsoluteRedirectTest, Redirect ) {
733+ TEST (AbsoluteRedirectTest, Redirect_Online ) {
734734  auto  host = " nghttp2.org" 
735735
736736#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
@@ -745,7 +745,7 @@ TEST(AbsoluteRedirectTest, Redirect) {
745745  EXPECT_EQ (200 , res->status );
746746}
747747
748- TEST (RedirectTest, Redirect ) {
748+ TEST (RedirectTest, Redirect_Online ) {
749749  auto  host = " nghttp2.org" 
750750
751751#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
@@ -760,7 +760,7 @@ TEST(RedirectTest, Redirect) {
760760  EXPECT_EQ (200 , res->status );
761761}
762762
763- TEST (RelativeRedirectTest, Redirect ) {
763+ TEST (RelativeRedirectTest, Redirect_Online ) {
764764  auto  host = " nghttp2.org" 
765765
766766#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
@@ -775,7 +775,7 @@ TEST(RelativeRedirectTest, Redirect) {
775775  EXPECT_EQ (200 , res->status );
776776}
777777
778- TEST (TooManyRedirectTest, Redirect ) {
778+ TEST (TooManyRedirectTest, Redirect_Online ) {
779779  auto  host = " nghttp2.org" 
780780
781781#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
@@ -791,7 +791,7 @@ TEST(TooManyRedirectTest, Redirect) {
791791}
792792
793793#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
794- TEST (YahooRedirectTest, Redirect ) {
794+ TEST (YahooRedirectTest, Redirect_Online ) {
795795  Client cli (" yahoo.com" 
796796
797797  auto  res = cli.Get (" /" 
@@ -805,7 +805,7 @@ TEST(YahooRedirectTest, Redirect) {
805805  EXPECT_EQ (" https://yahoo.com/" location );
806806}
807807
808- TEST (HttpsToHttpRedirectTest, Redirect ) {
808+ TEST (HttpsToHttpRedirectTest, Redirect_Online ) {
809809  SSLClient cli (" nghttp2.org" 
810810  cli.set_follow_location (true );
811811  auto  res = cli.Get (
@@ -814,7 +814,7 @@ TEST(HttpsToHttpRedirectTest, Redirect) {
814814  EXPECT_EQ (200 , res->status );
815815}
816816
817- TEST (HttpsToHttpRedirectTest2, Redirect ) {
817+ TEST (HttpsToHttpRedirectTest2, Redirect_Online ) {
818818  SSLClient cli (" nghttp2.org" 
819819  cli.set_follow_location (true );
820820
@@ -827,7 +827,7 @@ TEST(HttpsToHttpRedirectTest2, Redirect) {
827827  EXPECT_EQ (200 , res->status );
828828}
829829
830- TEST (HttpsToHttpRedirectTest3, Redirect ) {
830+ TEST (HttpsToHttpRedirectTest3, Redirect_Online ) {
831831  SSLClient cli (" nghttp2.org" 
832832  cli.set_follow_location (true );
833833
@@ -839,7 +839,7 @@ TEST(HttpsToHttpRedirectTest3, Redirect) {
839839  EXPECT_EQ (200 , res->status );
840840}
841841
842- TEST (UrlWithSpace, Redirect ) {
842+ TEST (UrlWithSpace, Redirect_Online ) {
843843  SSLClient cli (" edge.forgecdn.net" 
844844  cli.set_follow_location (true );
845845
@@ -3859,7 +3859,7 @@ TEST(GetWithParametersTest, GetWithParameters2) {
38593859  ASSERT_FALSE (svr.is_running ());
38603860}
38613861
3862- TEST (ClientDefaultHeadersTest, DefaultHeaders ) {
3862+ TEST (ClientDefaultHeadersTest, DefaultHeaders_Online ) {
38633863  Client cli (" httpbin.org" 
38643864  cli.set_default_headers ({make_range_header ({{1 , 10 }})});
38653865  cli.set_connection_timeout (5 );
@@ -4096,21 +4096,21 @@ TEST(SSLClientTest, UpdateCAStore) {
40964096  httplib_client.set_ca_cert_store (ca_store_2);
40974097}
40984098
4099- TEST (SSLClientTest, ServerNameIndication ) {
4099+ TEST (SSLClientTest, ServerNameIndication_Online ) {
41004100  SSLClient cli (" httpbin.org" 443 );
41014101  auto  res = cli.Get (" /get" 
41024102  ASSERT_TRUE (res);
41034103  ASSERT_EQ (200 , res->status );
41044104}
41054105
4106- TEST (SSLClientTest, ServerCertificateVerification1 ) {
4106+ TEST (SSLClientTest, ServerCertificateVerification1_Online ) {
41074107  SSLClient cli (" google.com" 
41084108  auto  res = cli.Get (" /" 
41094109  ASSERT_TRUE (res);
41104110  ASSERT_EQ (301 , res->status );
41114111}
41124112
4113- TEST (SSLClientTest, ServerCertificateVerification2 ) {
4113+ TEST (SSLClientTest, ServerCertificateVerification2_Online ) {
41144114  SSLClient cli (" google.com" 
41154115  cli.enable_server_certificate_verification (true );
41164116  cli.set_ca_cert_path (" hello" 
@@ -4119,7 +4119,7 @@ TEST(SSLClientTest, ServerCertificateVerification2) {
41194119  EXPECT_EQ (Error::SSLLoadingCerts, res.error ());
41204120}
41214121
4122- TEST (SSLClientTest, ServerCertificateVerification3 ) {
4122+ TEST (SSLClientTest, ServerCertificateVerification3_Online ) {
41234123  SSLClient cli (" google.com" 
41244124  cli.set_ca_cert_path (CA_CERT_FILE);
41254125  auto  res = cli.Get (" /" 
@@ -4152,7 +4152,7 @@ TEST(SSLClientTest, ServerCertificateVerification4) {
41524152  t.join ();
41534153}
41544154
4155- TEST (SSLClientTest, WildcardHostNameMatch ) {
4155+ TEST (SSLClientTest, WildcardHostNameMatch_Online ) {
41564156  SSLClient cli (" www.youtube.com" 
41574157
41584158  cli.set_ca_cert_path (CA_CERT_FILE);
@@ -4397,7 +4397,7 @@ TEST(NoScheme, SimpleInterface) {
43974397  ASSERT_TRUE (cli.is_valid ());
43984398}
43994399
4400- TEST (SendAPI, SimpleInterface ) {
4400+ TEST (SendAPI, SimpleInterface_Online ) {
44014401  Client cli (" http://yahoo.com" 
44024402
44034403  Request req;
@@ -4410,7 +4410,7 @@ TEST(SendAPI, SimpleInterface) {
44104410}
44114411
44124412#ifdef  CPPHTTPLIB_OPENSSL_SUPPORT
4413- TEST (YahooRedirectTest2, SimpleInterface ) {
4413+ TEST (YahooRedirectTest2, SimpleInterface_Online ) {
44144414  Client cli (" http://yahoo.com" 
44154415
44164416  auto  res = cli.Get (" /" 
@@ -4424,7 +4424,7 @@ TEST(YahooRedirectTest2, SimpleInterface) {
44244424  EXPECT_EQ (" https://yahoo.com/" location );
44254425}
44264426
4427- TEST (YahooRedirectTest3, SimpleInterface ) {
4427+ TEST (YahooRedirectTest3, SimpleInterface_Online ) {
44284428  Client cli (" https://yahoo.com" 
44294429
44304430  auto  res = cli.Get (" /" 
@@ -4438,7 +4438,7 @@ TEST(YahooRedirectTest3, SimpleInterface) {
44384438  EXPECT_EQ (" https://www.yahoo.com/" location );
44394439}
44404440
4441- TEST (YahooRedirectTest3, NewResultInterface ) {
4441+ TEST (YahooRedirectTest3, NewResultInterface_Online ) {
44424442  Client cli (" https://yahoo.com" 
44434443
44444444  auto  res = cli.Get (" /" 
@@ -4463,7 +4463,7 @@ TEST(YahooRedirectTest3, NewResultInterface) {
44634463}
44644464
44654465#ifdef  CPPHTTPLIB_BROTLI_SUPPORT
4466- TEST (DecodeWithChunkedEncoding, BrotliEncoding ) {
4466+ TEST (DecodeWithChunkedEncoding, BrotliEncoding_Online ) {
44674467  Client cli (" https://cdnjs.cloudflare.com" 
44684468  auto  res =
44694469      cli.Get (" /ajax/libs/jquery/3.5.1/jquery.js" " Accept-Encoding" " br" 
@@ -4476,7 +4476,7 @@ TEST(DecodeWithChunkedEncoding, BrotliEncoding) {
44764476}
44774477#endif 
44784478
4479- TEST (HttpsToHttpRedirectTest, SimpleInterface ) {
4479+ TEST (HttpsToHttpRedirectTest, SimpleInterface_Online ) {
44804480  Client cli (" https://nghttp2.org" 
44814481  cli.set_follow_location (true );
44824482  auto  res =
@@ -4487,7 +4487,7 @@ TEST(HttpsToHttpRedirectTest, SimpleInterface) {
44874487  EXPECT_EQ (200 , res->status );
44884488}
44894489
4490- TEST (HttpsToHttpRedirectTest2, SimpleInterface ) {
4490+ TEST (HttpsToHttpRedirectTest2, SimpleInterface_Online ) {
44914491  Client cli (" https://nghttp2.org" 
44924492  cli.set_follow_location (true );
44934493
@@ -4500,7 +4500,7 @@ TEST(HttpsToHttpRedirectTest2, SimpleInterface) {
45004500  EXPECT_EQ (200 , res->status );
45014501}
45024502
4503- TEST (HttpsToHttpRedirectTest3, SimpleInterface ) {
4503+ TEST (HttpsToHttpRedirectTest3, SimpleInterface_Online ) {
45044504  Client cli (" https://nghttp2.org" 
45054505  cli.set_follow_location (true );
45064506
0 commit comments