#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 131 of file raw_body_tests.cpp.
| TEST | ( | BodyPostTests | , |
| DefaultUrlEncodedPostTest | |||
| ) |
Definition at line 18 of file raw_body_tests.cpp.
| TEST | ( | BodyPostTests | , |
| TextUrlEncodedPostTest | |||
| ) |
Definition at line 31 of file raw_body_tests.cpp.
| TEST | ( | BodyPostTests | , |
| TextUrlEncodedNoCopyPostTest | |||
| ) |
Definition at line 44 of file raw_body_tests.cpp.
| TEST | ( | BodyPostTests | , |
| UrlEncodedManyPostTest | |||
| ) |
Definition at line 59 of file raw_body_tests.cpp.
| TEST | ( | BodyPostTests | , |
| CustomHeaderNumberPostTest | |||
| ) |
Definition at line 74 of file raw_body_tests.cpp.
| TEST | ( | BodyPostTests | , |
| CustomHeaderTextPostTest | |||
| ) |
Definition at line 85 of file raw_body_tests.cpp.
| TEST | ( | BodyPostTests | , |
| CustomWrongHeaderPostTest | |||
| ) |
Definition at line 97 of file raw_body_tests.cpp.
| TEST | ( | BodyPostTests | , |
| UrlPostBadHostTest | |||
| ) |
Definition at line 108 of file raw_body_tests.cpp.
| TEST | ( | BodyPostTests | , |
| StringMoveBodyTest | |||
| ) |
Definition at line 118 of file raw_body_tests.cpp.
Definition at line 15 of file raw_body_tests.cpp.
Definition at line 14 of file raw_body_tests.cpp.