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

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 TEST (RedirectTests, TemporaryDefaultRedirectTest)
 TEST (RedirectTests, NoTemporaryRedirectTest)
 TEST (RedirectTests, PermanentDefaultRedirectTest)
 TEST (RedirectTests, NoPermanentRedirectTest)
 TEST (MaxRedirectsTests, ZeroMaxRedirectsSuccessTest)
 TEST (MaxRedirectsTests, ZeroMaxRedirectsFailureTest)
 TEST (MaxRedirectsTests, OneMaxRedirectsSuccessTest)
 TEST (MaxRedirectsTests, OneMaxRedirectsFailureTest)
 TEST (MaxRedirectsTests, TwoMaxRedirectsSuccessTest)
 TEST (MultipleGetTests, BasicMultipleGetTest)
 TEST (MultipleGetTests, UrlChangeMultipleGetTest)
 TEST (MultipleGetTests, HeaderMultipleGetTest)
 TEST (MultipleGetTests, HeaderChangeMultipleGetTest)
 TEST (MultipleGetTests, ParameterMultipleGetTest)
 TEST (MultipleGetTests, ParameterChangeMultipleGetTest)
 TEST (MultipleGetTests, BasicAuthenticationMultipleGetTest)
 TEST (MultipleGetTests, BasicAuthenticationChangeMultipleGetTest)
 TEST (ParameterTests, ParameterSingleTest)
 TEST (ParameterTests, ParameterMultipleTest)
 TEST (TimeoutTests, SetTimeoutTest)
 TEST (TimeoutTests, SetTimeoutLongTest)
 TEST (TimeoutTests, SetChronoTimeoutTest)
 TEST (TimeoutTests, SetChronoTimeoutLongTest)
 TEST (LowSpeedTests, SetLowSpeedTest)
 TEST (PayloadTests, SetPayloadTest)
 TEST (PayloadTests, SetPayloadLValueTest)
 TEST (MultipartTests, SetMultipartTest)
 TEST (MultipartTests, SetMultipartValueTest)
 TEST (BodyTests, SetBodyTest)
 TEST (BodyTests, SetBodyValueTest)
 TEST (DigestTests, SetDigestTest)
 TEST (CookiesTests, BasicCookiesTest)
 TEST (CookiesTests, CookiesConstructorTest)
 TEST (DifferentMethodTests, GetPostTest)
 TEST (DifferentMethodTests, PostGetTest)
 TEST (DifferentMethodTests, GetPostGetTest)
 TEST (DifferentMethodTests, PostGetPostTest)
 TEST (DifferentMethodTests, MultipleGetPostTest)

Variables

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

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 772 of file session_tests.cpp.

TEST ( RedirectTests  ,
TemporaryDefaultRedirectTest   
)

Definition at line 15 of file session_tests.cpp.

TEST ( RedirectTests  ,
NoTemporaryRedirectTest   
)

Definition at line 28 of file session_tests.cpp.

TEST ( RedirectTests  ,
PermanentDefaultRedirectTest   
)

Definition at line 42 of file session_tests.cpp.

TEST ( RedirectTests  ,
NoPermanentRedirectTest   
)

Definition at line 55 of file session_tests.cpp.

TEST ( MaxRedirectsTests  ,
ZeroMaxRedirectsSuccessTest   
)

Definition at line 69 of file session_tests.cpp.

TEST ( MaxRedirectsTests  ,
ZeroMaxRedirectsFailureTest   
)

Definition at line 83 of file session_tests.cpp.

TEST ( MaxRedirectsTests  ,
OneMaxRedirectsSuccessTest   
)

Definition at line 96 of file session_tests.cpp.

TEST ( MaxRedirectsTests  ,
OneMaxRedirectsFailureTest   
)

Definition at line 110 of file session_tests.cpp.

TEST ( MaxRedirectsTests  ,
TwoMaxRedirectsSuccessTest   
)

Definition at line 123 of file session_tests.cpp.

TEST ( MultipleGetTests  ,
BasicMultipleGetTest   
)

Definition at line 137 of file session_tests.cpp.

TEST ( MultipleGetTests  ,
UrlChangeMultipleGetTest   
)

Definition at line 152 of file session_tests.cpp.

TEST ( MultipleGetTests  ,
HeaderMultipleGetTest   
)

Definition at line 183 of file session_tests.cpp.

TEST ( MultipleGetTests  ,
HeaderChangeMultipleGetTest   
)

Definition at line 200 of file session_tests.cpp.

TEST ( MultipleGetTests  ,
ParameterMultipleGetTest   
)

Definition at line 228 of file session_tests.cpp.

TEST ( MultipleGetTests  ,
ParameterChangeMultipleGetTest   
)

Definition at line 244 of file session_tests.cpp.

TEST ( MultipleGetTests  ,
BasicAuthenticationMultipleGetTest   
)

Definition at line 271 of file session_tests.cpp.

TEST ( MultipleGetTests  ,
BasicAuthenticationChangeMultipleGetTest   
)

Definition at line 287 of file session_tests.cpp.

TEST ( ParameterTests  ,
ParameterSingleTest   
)

Definition at line 321 of file session_tests.cpp.

TEST ( ParameterTests  ,
ParameterMultipleTest   
)

Definition at line 336 of file session_tests.cpp.

TEST ( TimeoutTests  ,
SetTimeoutTest   
)

Definition at line 351 of file session_tests.cpp.

TEST ( TimeoutTests  ,
SetTimeoutLongTest   
)

Definition at line 365 of file session_tests.cpp.

TEST ( TimeoutTests  ,
SetChronoTimeoutTest   
)

Definition at line 379 of file session_tests.cpp.

TEST ( TimeoutTests  ,
SetChronoTimeoutLongTest   
)

Definition at line 393 of file session_tests.cpp.

TEST ( LowSpeedTests  ,
SetLowSpeedTest   
)

Definition at line 407 of file session_tests.cpp.

TEST ( PayloadTests  ,
SetPayloadTest   
)

Definition at line 421 of file session_tests.cpp.

TEST ( PayloadTests  ,
SetPayloadLValueTest   
)

Definition at line 437 of file session_tests.cpp.

TEST ( MultipartTests  ,
SetMultipartTest   
)

Definition at line 454 of file session_tests.cpp.

TEST ( MultipartTests  ,
SetMultipartValueTest   
)

Definition at line 470 of file session_tests.cpp.

TEST ( BodyTests  ,
SetBodyTest   
)

Definition at line 487 of file session_tests.cpp.

TEST ( BodyTests  ,
SetBodyValueTest   
)

Definition at line 503 of file session_tests.cpp.

TEST ( DigestTests  ,
SetDigestTest   
)

Definition at line 520 of file session_tests.cpp.

TEST ( CookiesTests  ,
BasicCookiesTest   
)

Definition at line 534 of file session_tests.cpp.

TEST ( CookiesTests  ,
CookiesConstructorTest   
)

Definition at line 567 of file session_tests.cpp.

TEST ( DifferentMethodTests  ,
GetPostTest   
)

Definition at line 600 of file session_tests.cpp.

TEST ( DifferentMethodTests  ,
PostGetTest   
)

Definition at line 629 of file session_tests.cpp.

TEST ( DifferentMethodTests  ,
GetPostGetTest   
)

Definition at line 658 of file session_tests.cpp.

TEST ( DifferentMethodTests  ,
PostGetPostTest   
)

Definition at line 698 of file session_tests.cpp.

TEST ( DifferentMethodTests  ,
MultipleGetPostTest   
)

Definition at line 741 of file session_tests.cpp.


Variable Documentation

auto base = server->GetBaseUrl()

Definition at line 13 of file session_tests.cpp.

Server* server = new Server() [static]

Definition at line 12 of file session_tests.cpp.



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