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

Go to the source code of this file.

Functions

int main (int argc, char **argv)
int status_callback (int &status_code, Response r)
int status_callback_ref (int &status_code, const Response &r)
 TEST (CallbackGetTests, CallbackGetLambdaStatusTest)
 TEST (CallbackGetTests, CallbackGetLambdaTextTest)
 TEST (CallbackGetTests, CallbackGetLambdaStatusReferenceTest)
 TEST (CallbackGetTests, CallbackGetLambdaTextReferenceTest)
 TEST (CallbackGetTests, CallbackGetFunctionStatusTest)
 TEST (CallbackGetTests, CallbackGetFunctionTextTest)
 TEST (CallbackGetTests, CallbackGetFunctionStatusReferenceTest)
 TEST (CallbackGetTests, CallbackGetFunctionTextReferenceTest)
 TEST (CallbackDeleteTests, CallbackDeleteLambdaStatusTest)
 TEST (CallbackDeleteTests, CallbackDeleteLambdaTextTest)
 TEST (CallbackDeleteTests, CallbackDeleteLambdaStatusReferenceTest)
 TEST (CallbackDeleteTests, CallbackDeleteLambdaTextReferenceTest)
 TEST (CallbackDeleteTests, CallbackDeleteFunctionStatusTest)
 TEST (CallbackDeleteTests, CallbackDeleteFunctionTextTest)
 TEST (CallbackDeleteTests, CallbackDeleteFunctionStatusReferenceTest)
 TEST (CallbackDeleteTests, CallbackDeleteFunctionTextReferenceTest)
 TEST (CallbackHeadTests, CallbackHeadLambdaStatusTest)
 TEST (CallbackHeadTests, CallbackHeadLambdaTextTest)
 TEST (CallbackHeadTests, CallbackHeadLambdaStatusReferenceTest)
 TEST (CallbackHeadTests, CallbackHeadLambdaTextReferenceTest)
 TEST (CallbackHeadTests, CallbackHeadFunctionStatusTest)
 TEST (CallbackHeadTests, CallbackHeadFunctionTextTest)
 TEST (CallbackHeadTests, CallbackHeadFunctionStatusReferenceTest)
 TEST (CallbackHeadTests, CallbackHeadFunctionTextReferenceTest)
 TEST (CallbackPostTests, CallbackPostLambdaStatusTest)
 TEST (CallbackPostTests, CallbackPostLambdaTextTest)
 TEST (CallbackPostTests, CallbackPostLambdaStatusReferenceTest)
 TEST (CallbackPostTests, CallbackPostLambdaTextReferenceTest)
 TEST (CallbackPostTests, CallbackPostFunctionStatusTest)
 TEST (CallbackPostTests, CallbackPostFunctionTextTest)
 TEST (CallbackPostTests, CallbackPostFunctionStatusReferenceTest)
 TEST (CallbackPostTests, CallbackPostFunctionTextReferenceTest)
 TEST (CallbackPutTests, CallbackPutLambdaStatusTest)
 TEST (CallbackPutTests, CallbackPutLambdaTextTest)
 TEST (CallbackPutTests, CallbackPutLambdaStatusReferenceTest)
 TEST (CallbackPutTests, CallbackPutLambdaTextReferenceTest)
 TEST (CallbackPutTests, CallbackPutFunctionStatusTest)
 TEST (CallbackPutTests, CallbackPutFunctionTextTest)
 TEST (CallbackPutTests, CallbackPutFunctionStatusReferenceTest)
 TEST (CallbackPutTests, CallbackPutFunctionTextReferenceTest)
 TEST (CallbackOptionsTests, CallbackOptionsLambdaStatusTest)
 TEST (CallbackOptionsTests, CallbackOptionsLambdaTextTest)
 TEST (CallbackOptionsTests, CallbackOptionsLambdaStatusReferenceTest)
 TEST (CallbackOptionsTests, CallbackOptionsLambdaTextReferenceTest)
 TEST (CallbackOptionsTests, CallbackOptionsFunctionStatusTest)
 TEST (CallbackOptionsTests, CallbackOptionsFunctionTextTest)
 TEST (CallbackOptionsTests, CallbackOptionsFunctionStatusReferenceTest)
 TEST (CallbackOptionsTests, CallbackOptionsFunctionTextReferenceTest)
 TEST (CallbackPatchTests, CallbackPatchLambdaStatusTest)
 TEST (CallbackPatchTests, CallbackPatchLambdaTextTest)
 TEST (CallbackPatchTests, CallbackPatchLambdaStatusReferenceTest)
 TEST (CallbackPatchTests, CallbackPatchLambdaTextReferenceTest)
 TEST (CallbackPatchTests, CallbackPatchFunctionStatusTest)
 TEST (CallbackPatchTests, CallbackPatchFunctionTextTest)
 TEST (CallbackPatchTests, CallbackPatchFunctionStatusReferenceTest)
 TEST (CallbackPatchTests, CallbackPatchFunctionTextReferenceTest)
std::string text_callback (std::string &expected_text, Response r)
std::string text_callback_ref (std::string &expected_text, const Response &r)

Variables

auto base = server->GetBaseUrl()
static Serverserver = new Server()
auto sleep_time = std::chrono::milliseconds(50)
auto zero = std::chrono::seconds(0)

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 726 of file callback_tests.cpp.

int status_callback ( int &  status_code,
Response  r 
)

Definition at line 17 of file callback_tests.cpp.

int status_callback_ref ( int &  status_code,
const Response r 
)

Definition at line 22 of file callback_tests.cpp.

TEST ( CallbackGetTests  ,
CallbackGetLambdaStatusTest   
)

Definition at line 37 of file callback_tests.cpp.

TEST ( CallbackGetTests  ,
CallbackGetLambdaTextTest   
)

Definition at line 49 of file callback_tests.cpp.

TEST ( CallbackGetTests  ,
CallbackGetLambdaStatusReferenceTest   
)

Definition at line 61 of file callback_tests.cpp.

TEST ( CallbackGetTests  ,
CallbackGetLambdaTextReferenceTest   
)

Definition at line 73 of file callback_tests.cpp.

TEST ( CallbackGetTests  ,
CallbackGetFunctionStatusTest   
)

Definition at line 85 of file callback_tests.cpp.

TEST ( CallbackGetTests  ,
CallbackGetFunctionTextTest   
)

Definition at line 96 of file callback_tests.cpp.

TEST ( CallbackGetTests  ,
CallbackGetFunctionStatusReferenceTest   
)

Definition at line 108 of file callback_tests.cpp.

TEST ( CallbackGetTests  ,
CallbackGetFunctionTextReferenceTest   
)

Definition at line 120 of file callback_tests.cpp.

TEST ( CallbackDeleteTests  ,
CallbackDeleteLambdaStatusTest   
)

Definition at line 132 of file callback_tests.cpp.

TEST ( CallbackDeleteTests  ,
CallbackDeleteLambdaTextTest   
)

Definition at line 144 of file callback_tests.cpp.

TEST ( CallbackDeleteTests  ,
CallbackDeleteLambdaStatusReferenceTest   
)

Definition at line 156 of file callback_tests.cpp.

TEST ( CallbackDeleteTests  ,
CallbackDeleteLambdaTextReferenceTest   
)

Definition at line 168 of file callback_tests.cpp.

TEST ( CallbackDeleteTests  ,
CallbackDeleteFunctionStatusTest   
)

Definition at line 180 of file callback_tests.cpp.

TEST ( CallbackDeleteTests  ,
CallbackDeleteFunctionTextTest   
)

Definition at line 191 of file callback_tests.cpp.

TEST ( CallbackDeleteTests  ,
CallbackDeleteFunctionStatusReferenceTest   
)

Definition at line 203 of file callback_tests.cpp.

TEST ( CallbackDeleteTests  ,
CallbackDeleteFunctionTextReferenceTest   
)

Definition at line 215 of file callback_tests.cpp.

TEST ( CallbackHeadTests  ,
CallbackHeadLambdaStatusTest   
)

Definition at line 227 of file callback_tests.cpp.

TEST ( CallbackHeadTests  ,
CallbackHeadLambdaTextTest   
)

Definition at line 239 of file callback_tests.cpp.

TEST ( CallbackHeadTests  ,
CallbackHeadLambdaStatusReferenceTest   
)

Definition at line 251 of file callback_tests.cpp.

TEST ( CallbackHeadTests  ,
CallbackHeadLambdaTextReferenceTest   
)

Definition at line 263 of file callback_tests.cpp.

TEST ( CallbackHeadTests  ,
CallbackHeadFunctionStatusTest   
)

Definition at line 275 of file callback_tests.cpp.

TEST ( CallbackHeadTests  ,
CallbackHeadFunctionTextTest   
)

Definition at line 286 of file callback_tests.cpp.

TEST ( CallbackHeadTests  ,
CallbackHeadFunctionStatusReferenceTest   
)

Definition at line 298 of file callback_tests.cpp.

TEST ( CallbackHeadTests  ,
CallbackHeadFunctionTextReferenceTest   
)

Definition at line 310 of file callback_tests.cpp.

TEST ( CallbackPostTests  ,
CallbackPostLambdaStatusTest   
)

Definition at line 322 of file callback_tests.cpp.

TEST ( CallbackPostTests  ,
CallbackPostLambdaTextTest   
)

Definition at line 335 of file callback_tests.cpp.

TEST ( CallbackPostTests  ,
CallbackPostLambdaStatusReferenceTest   
)

Definition at line 348 of file callback_tests.cpp.

TEST ( CallbackPostTests  ,
CallbackPostLambdaTextReferenceTest   
)

Definition at line 361 of file callback_tests.cpp.

TEST ( CallbackPostTests  ,
CallbackPostFunctionStatusTest   
)

Definition at line 374 of file callback_tests.cpp.

TEST ( CallbackPostTests  ,
CallbackPostFunctionTextTest   
)

Definition at line 386 of file callback_tests.cpp.

TEST ( CallbackPostTests  ,
CallbackPostFunctionStatusReferenceTest   
)

Definition at line 399 of file callback_tests.cpp.

TEST ( CallbackPostTests  ,
CallbackPostFunctionTextReferenceTest   
)

Definition at line 412 of file callback_tests.cpp.

TEST ( CallbackPutTests  ,
CallbackPutLambdaStatusTest   
)

Definition at line 425 of file callback_tests.cpp.

TEST ( CallbackPutTests  ,
CallbackPutLambdaTextTest   
)

Definition at line 438 of file callback_tests.cpp.

TEST ( CallbackPutTests  ,
CallbackPutLambdaStatusReferenceTest   
)

Definition at line 451 of file callback_tests.cpp.

TEST ( CallbackPutTests  ,
CallbackPutLambdaTextReferenceTest   
)

Definition at line 464 of file callback_tests.cpp.

TEST ( CallbackPutTests  ,
CallbackPutFunctionStatusTest   
)

Definition at line 477 of file callback_tests.cpp.

TEST ( CallbackPutTests  ,
CallbackPutFunctionTextTest   
)

Definition at line 489 of file callback_tests.cpp.

TEST ( CallbackPutTests  ,
CallbackPutFunctionStatusReferenceTest   
)

Definition at line 502 of file callback_tests.cpp.

TEST ( CallbackPutTests  ,
CallbackPutFunctionTextReferenceTest   
)

Definition at line 515 of file callback_tests.cpp.

TEST ( CallbackOptionsTests  ,
CallbackOptionsLambdaStatusTest   
)

Definition at line 528 of file callback_tests.cpp.

TEST ( CallbackOptionsTests  ,
CallbackOptionsLambdaTextTest   
)

Definition at line 540 of file callback_tests.cpp.

TEST ( CallbackOptionsTests  ,
CallbackOptionsLambdaStatusReferenceTest   
)

Definition at line 552 of file callback_tests.cpp.

TEST ( CallbackOptionsTests  ,
CallbackOptionsLambdaTextReferenceTest   
)

Definition at line 564 of file callback_tests.cpp.

TEST ( CallbackOptionsTests  ,
CallbackOptionsFunctionStatusTest   
)

Definition at line 576 of file callback_tests.cpp.

TEST ( CallbackOptionsTests  ,
CallbackOptionsFunctionTextTest   
)

Definition at line 587 of file callback_tests.cpp.

TEST ( CallbackOptionsTests  ,
CallbackOptionsFunctionStatusReferenceTest   
)

Definition at line 599 of file callback_tests.cpp.

TEST ( CallbackOptionsTests  ,
CallbackOptionsFunctionTextReferenceTest   
)

Definition at line 611 of file callback_tests.cpp.

TEST ( CallbackPatchTests  ,
CallbackPatchLambdaStatusTest   
)

Definition at line 623 of file callback_tests.cpp.

TEST ( CallbackPatchTests  ,
CallbackPatchLambdaTextTest   
)

Definition at line 636 of file callback_tests.cpp.

TEST ( CallbackPatchTests  ,
CallbackPatchLambdaStatusReferenceTest   
)

Definition at line 649 of file callback_tests.cpp.

TEST ( CallbackPatchTests  ,
CallbackPatchLambdaTextReferenceTest   
)

Definition at line 662 of file callback_tests.cpp.

TEST ( CallbackPatchTests  ,
CallbackPatchFunctionStatusTest   
)

Definition at line 675 of file callback_tests.cpp.

TEST ( CallbackPatchTests  ,
CallbackPatchFunctionTextTest   
)

Definition at line 687 of file callback_tests.cpp.

TEST ( CallbackPatchTests  ,
CallbackPatchFunctionStatusReferenceTest   
)

Definition at line 700 of file callback_tests.cpp.

TEST ( CallbackPatchTests  ,
CallbackPatchFunctionTextReferenceTest   
)

Definition at line 713 of file callback_tests.cpp.

std::string text_callback ( std::string &  expected_text,
Response  r 
)

Definition at line 27 of file callback_tests.cpp.

std::string text_callback_ref ( std::string &  expected_text,
const Response r 
)

Definition at line 32 of file callback_tests.cpp.


Variable Documentation

auto base = server->GetBaseUrl()

Definition at line 13 of file callback_tests.cpp.

Server* server = new Server() [static]

Definition at line 12 of file callback_tests.cpp.

auto sleep_time = std::chrono::milliseconds(50)

Definition at line 14 of file callback_tests.cpp.

auto zero = std::chrono::seconds(0)

Definition at line 15 of file callback_tests.cpp.



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