#include <gtest/gtest.h>
#include <cstdio>
#include <fstream>
#include <string>
#include <cpr/cpr.h>
#include <cpr/multipart.h>
#include "server.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
TEST (BodyPostTests, DefaultUrlEncodedPostTest) | |
TEST (BodyPostTests, TextUrlEncodedPostTest) | |
TEST (BodyPostTests, TextUrlEncodedNoCopyPostTest) | |
TEST (BodyPostTests, UrlEncodedManyPostTest) | |
TEST (BodyPostTests, CustomHeaderNumberPostTest) | |
TEST (BodyPostTests, CustomHeaderTextPostTest) | |
TEST (BodyPostTests, CustomWrongHeaderPostTest) | |
TEST (BodyPostTests, UrlPostBadHostTest) | |
TEST (BodyPostTests, StringMoveBodyTest) | |
Variables | |
auto | base = server->GetBaseUrl() |
static Server * | server = new Server() |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 130 of file raw_body_tests.cpp.
TEST | ( | BodyPostTests | , |
DefaultUrlEncodedPostTest | |||
) |
Definition at line 17 of file raw_body_tests.cpp.
TEST | ( | BodyPostTests | , |
TextUrlEncodedPostTest | |||
) |
Definition at line 30 of file raw_body_tests.cpp.
TEST | ( | BodyPostTests | , |
TextUrlEncodedNoCopyPostTest | |||
) |
Definition at line 43 of file raw_body_tests.cpp.
TEST | ( | BodyPostTests | , |
UrlEncodedManyPostTest | |||
) |
Definition at line 58 of file raw_body_tests.cpp.
TEST | ( | BodyPostTests | , |
CustomHeaderNumberPostTest | |||
) |
Definition at line 73 of file raw_body_tests.cpp.
TEST | ( | BodyPostTests | , |
CustomHeaderTextPostTest | |||
) |
Definition at line 84 of file raw_body_tests.cpp.
TEST | ( | BodyPostTests | , |
CustomWrongHeaderPostTest | |||
) |
Definition at line 96 of file raw_body_tests.cpp.
TEST | ( | BodyPostTests | , |
UrlPostBadHostTest | |||
) |
Definition at line 107 of file raw_body_tests.cpp.
TEST | ( | BodyPostTests | , |
StringMoveBodyTest | |||
) |
Definition at line 117 of file raw_body_tests.cpp.
auto base = server->GetBaseUrl() |
Definition at line 15 of file raw_body_tests.cpp.
Definition at line 14 of file raw_body_tests.cpp.