Functions | Variables
get_tests.cpp File Reference
#include <gtest/gtest.h>
#include <string>
#include <cpr/cpr.h>
#include "server.h"
Include dependency graph for get_tests.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 TEST (BasicTests, HelloWorldTest)
 TEST (BasicTests, TimeoutTest)
 TEST (BasicTests, BasicJsonTest)
 TEST (BasicTests, ResourceNotFoundTest)
 TEST (BasicTests, BadHostTest)
 TEST (CookiesTests, SingleCookieTest)
 TEST (CookiesTests, CheckBasicCookieTest)
 TEST (CookiesTests, V1CookieTest)
 TEST (CookiesTests, CheckV1CookieTest)
 TEST (ParameterTests, SingleParameterTest)
 TEST (ParameterTests, SingleParameterOnlyKeyTest)
 TEST (ParameterTests, MultipleParametersTest)
 TEST (ParameterTests, MultipleDynamicParametersTest)
 TEST (BasicAuthenticationTests, BasicAuthenticationSuccessTest)
 TEST (BasicAuthenticationTests, BasicDigestSuccessTest)
 TEST (BasicAthenticationParameterTests, BasicAuthenticationSuccessSingleParameterTest)
 TEST (BasicAuthenticationParameterTests, BasicAuthenticationSuccessMultipleParametersTest)
 TEST (BasicAuthenticationParameterTests, BasicAuthenticationSuccessSingleParameterReverseTest)
 TEST (BasicAuthenticationParameterTests, BasicAuthenticationSuccessMultipleParametersReverseTest)
 TEST (BasicAuthenticationHeaderTests, BasicAuthenticationSuccessSingleHeaderTest)
 TEST (BasicAuthenticationHeaderTests, BasicAuthenticationSuccessMultipleHeadersTest)
 TEST (BasicAuthenticationHeaderTests, BasicAuthenticationSuccessSingleHeaderReverseTest)
 TEST (BasicAuthenticationHeaderTests, BasicAuthenticationSuccessMultipleHeadersReverseTest)
 TEST (BasicAuthenticationTests, BasicAuthenticationNullFailureTest)
 TEST (BasicAuthenticationTests, BasicAuthenticationFailureTest)
 TEST (BasicAuthenticationParameterTests, BasicAuthenticationFailureSingleParameterTest)
 TEST (BasicAuthenticationParameterTests, BasicAuthenticationFailureMultipleParametersTest)
 TEST (HeaderTests, HeaderJsonTest)
 TEST (HeaderTests, HeaderReflectNoneTest)
 TEST (HeaderTests, HeaderReflectEmptyTest)
 TEST (HeaderTests, HeaderReflectSingleTest)
 TEST (HeaderTests, HeaderReflectMultipleTest)
 TEST (HeaderTests, HeaderReflectCaseInsensitiveTest)
 TEST (HeaderTests, SetEmptyHeaderTest)
 TEST (ParameterHeaderTests, HeaderReflectNoneParametersTest)
 TEST (ParameterHeaderTests, HeaderReflectEmptyParametersTest)
 TEST (ParameterHeaderTests, HeaderReflectSingleParametersTest)
 TEST (ParameterHeaderTests, HeaderReflectMultipleParametersTest)
 TEST (ParameterHeaderTests, HeaderReflectCaseInsensitiveParametersTest)
 TEST (ParameterHeaderTests, HeaderReflectEmptyParametersReverseTest)
 TEST (ParameterHeaderTests, HeaderReflectSingleParametersReverseTest)
 TEST (ParameterHeaderTests, HeaderReflectMultipleParametersReverseTest)
 TEST (ParameterHeaderTests, HeaderReflectCaseInsensitiveParametersReverseTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderAATest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderABTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderACTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderADTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderAETest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderAFTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderAGTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderAHTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderBATest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderBBTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderBCTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderBDTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderBETest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderBFTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderBGTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderBHTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderCATest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderCBTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderCCTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderCDTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderCETest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderCFTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderCGTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderCHTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderDATest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderDBTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderDCTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderDDTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderDETest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderDFTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderDGTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderDHTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderEATest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderEBTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderECTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderEDTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderEETest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderEFTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderEGTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderEHTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderFATest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderFBTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderFCTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderFDTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderFETest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderFFTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderFGTest)
 TEST (BasicAuthenticationParameterHeaderTests, BasicAuthenticationParameterHeaderFHTest)
 TEST (GetRedirectTests, RedirectTest)
 TEST (GetRedirectTests, ZeroMaxRedirectsTest)

Variables

auto base = server->GetBaseUrl()
static Serverserver = new Server()

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 1162 of file get_tests.cpp.

TEST ( BasicTests  ,
HelloWorldTest   
)

Definition at line 14 of file get_tests.cpp.

TEST ( BasicTests  ,
TimeoutTest   
)

Definition at line 25 of file get_tests.cpp.

TEST ( BasicTests  ,
BasicJsonTest   
)

Definition at line 36 of file get_tests.cpp.

TEST ( BasicTests  ,
ResourceNotFoundTest   
)

Definition at line 52 of file get_tests.cpp.

TEST ( BasicTests  ,
BadHostTest   
)

Definition at line 63 of file get_tests.cpp.

TEST ( CookiesTests  ,
SingleCookieTest   
)

Definition at line 72 of file get_tests.cpp.

TEST ( CookiesTests  ,
CheckBasicCookieTest   
)

Definition at line 88 of file get_tests.cpp.

TEST ( CookiesTests  ,
V1CookieTest   
)

Definition at line 101 of file get_tests.cpp.

TEST ( CookiesTests  ,
CheckV1CookieTest   
)

Definition at line 114 of file get_tests.cpp.

TEST ( ParameterTests  ,
SingleParameterTest   
)

Definition at line 127 of file get_tests.cpp.

TEST ( ParameterTests  ,
SingleParameterOnlyKeyTest   
)

Definition at line 139 of file get_tests.cpp.

TEST ( ParameterTests  ,
MultipleParametersTest   
)

Definition at line 150 of file get_tests.cpp.

TEST ( ParameterTests  ,
MultipleDynamicParametersTest   
)

Definition at line 163 of file get_tests.cpp.

TEST ( BasicAuthenticationTests  ,
BasicAuthenticationSuccessTest   
)

Definition at line 177 of file get_tests.cpp.

TEST ( BasicAuthenticationTests  ,
BasicDigestSuccessTest   
)

Definition at line 188 of file get_tests.cpp.

TEST ( BasicAthenticationParameterTests  ,
BasicAuthenticationSuccessSingleParameterTest   
)

Definition at line 199 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterTests  ,
BasicAuthenticationSuccessMultipleParametersTest   
)

Definition at line 211 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterTests  ,
BasicAuthenticationSuccessSingleParameterReverseTest   
)

Definition at line 223 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterTests  ,
BasicAuthenticationSuccessMultipleParametersReverseTest   
)

Definition at line 235 of file get_tests.cpp.

TEST ( BasicAuthenticationHeaderTests  ,
BasicAuthenticationSuccessSingleHeaderTest   
)

Definition at line 250 of file get_tests.cpp.

TEST ( BasicAuthenticationHeaderTests  ,
BasicAuthenticationSuccessMultipleHeadersTest   
)

Definition at line 263 of file get_tests.cpp.

TEST ( BasicAuthenticationHeaderTests  ,
BasicAuthenticationSuccessSingleHeaderReverseTest   
)

Definition at line 278 of file get_tests.cpp.

TEST ( BasicAuthenticationHeaderTests  ,
BasicAuthenticationSuccessMultipleHeadersReverseTest   
)

Definition at line 291 of file get_tests.cpp.

TEST ( BasicAuthenticationTests  ,
BasicAuthenticationNullFailureTest   
)

Definition at line 306 of file get_tests.cpp.

TEST ( BasicAuthenticationTests  ,
BasicAuthenticationFailureTest   
)

Definition at line 316 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterTests  ,
BasicAuthenticationFailureSingleParameterTest   
)

Definition at line 326 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterTests  ,
BasicAuthenticationFailureMultipleParametersTest   
)

Definition at line 337 of file get_tests.cpp.

TEST ( HeaderTests  ,
HeaderJsonTest   
)

Definition at line 348 of file get_tests.cpp.

TEST ( HeaderTests  ,
HeaderReflectNoneTest   
)

Definition at line 364 of file get_tests.cpp.

TEST ( HeaderTests  ,
HeaderReflectEmptyTest   
)

Definition at line 376 of file get_tests.cpp.

TEST ( HeaderTests  ,
HeaderReflectSingleTest   
)

Definition at line 388 of file get_tests.cpp.

TEST ( HeaderTests  ,
HeaderReflectMultipleTest   
)

Definition at line 400 of file get_tests.cpp.

TEST ( HeaderTests  ,
HeaderReflectCaseInsensitiveTest   
)

Definition at line 414 of file get_tests.cpp.

TEST ( HeaderTests  ,
SetEmptyHeaderTest   
)

Definition at line 428 of file get_tests.cpp.

TEST ( ParameterHeaderTests  ,
HeaderReflectNoneParametersTest   
)

Definition at line 440 of file get_tests.cpp.

TEST ( ParameterHeaderTests  ,
HeaderReflectEmptyParametersTest   
)

Definition at line 452 of file get_tests.cpp.

TEST ( ParameterHeaderTests  ,
HeaderReflectSingleParametersTest   
)

Definition at line 465 of file get_tests.cpp.

TEST ( ParameterHeaderTests  ,
HeaderReflectMultipleParametersTest   
)

Definition at line 478 of file get_tests.cpp.

TEST ( ParameterHeaderTests  ,
HeaderReflectCaseInsensitiveParametersTest   
)

Definition at line 493 of file get_tests.cpp.

TEST ( ParameterHeaderTests  ,
HeaderReflectEmptyParametersReverseTest   
)

Definition at line 508 of file get_tests.cpp.

TEST ( ParameterHeaderTests  ,
HeaderReflectSingleParametersReverseTest   
)

Definition at line 521 of file get_tests.cpp.

TEST ( ParameterHeaderTests  ,
HeaderReflectMultipleParametersReverseTest   
)

Definition at line 534 of file get_tests.cpp.

TEST ( ParameterHeaderTests  ,
HeaderReflectCaseInsensitiveParametersReverseTest   
)

Definition at line 549 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderAATest   
)

Definition at line 564 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderABTest   
)

Definition at line 576 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderACTest   
)

Definition at line 587 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderADTest   
)

Definition at line 600 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderAETest   
)

Definition at line 612 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderAFTest   
)

Definition at line 625 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderAGTest   
)

Definition at line 637 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderAHTest   
)

Definition at line 650 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderBATest   
)

Definition at line 662 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderBBTest   
)

Definition at line 674 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderBCTest   
)

Definition at line 685 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderBDTest   
)

Definition at line 698 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderBETest   
)

Definition at line 710 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderBFTest   
)

Definition at line 723 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderBGTest   
)

Definition at line 735 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderBHTest   
)

Definition at line 748 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderCATest   
)

Definition at line 760 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderCBTest   
)

Definition at line 772 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderCCTest   
)

Definition at line 783 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderCDTest   
)

Definition at line 796 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderCETest   
)

Definition at line 808 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderCFTest   
)

Definition at line 821 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderCGTest   
)

Definition at line 833 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderCHTest   
)

Definition at line 846 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderDATest   
)

Definition at line 858 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderDBTest   
)

Definition at line 870 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderDCTest   
)

Definition at line 881 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderDDTest   
)

Definition at line 894 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderDETest   
)

Definition at line 906 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderDFTest   
)

Definition at line 919 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderDGTest   
)

Definition at line 931 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderDHTest   
)

Definition at line 944 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderEATest   
)

Definition at line 956 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderEBTest   
)

Definition at line 968 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderECTest   
)

Definition at line 979 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderEDTest   
)

Definition at line 991 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderEETest   
)

Definition at line 1002 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderEFTest   
)

Definition at line 1014 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderEGTest   
)

Definition at line 1025 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderEHTest   
)

Definition at line 1037 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderFATest   
)

Definition at line 1048 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderFBTest   
)

Definition at line 1060 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderFCTest   
)

Definition at line 1071 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderFDTest   
)

Definition at line 1083 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderFETest   
)

Definition at line 1094 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderFFTest   
)

Definition at line 1106 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderFGTest   
)

Definition at line 1117 of file get_tests.cpp.

TEST ( BasicAuthenticationParameterHeaderTests  ,
BasicAuthenticationParameterHeaderFHTest   
)

Definition at line 1129 of file get_tests.cpp.

TEST ( GetRedirectTests  ,
RedirectTest   
)

Definition at line 1140 of file get_tests.cpp.

TEST ( GetRedirectTests  ,
ZeroMaxRedirectsTest   
)

Definition at line 1151 of file get_tests.cpp.


Variable Documentation

auto base = server->GetBaseUrl()

Definition at line 12 of file get_tests.cpp.

Server* server = new Server() [static]

Definition at line 11 of file get_tests.cpp.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:08