#include <gtest/gtest.h>#include <array>#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 (UrlEncodedPostTests, UrlPostSingleTest) | |
| TEST (UrlEncodedPostTests, UrlPostAddPayloadPair) | |
| TEST (UrlEncodedPostTests, UrlPostPayloadIteratorTest) | |
| TEST (UrlEncodedPostTests, UrlPostEncodeTest) | |
| TEST (UrlEncodedPostTests, UrlPostEncodeNoCopyTest) | |
| TEST (UrlEncodedPostTests, UrlPostManyTest) | |
| TEST (UrlEncodedPostTests, UrlPostBadHostTest) | |
| TEST (UrlEncodedPostTests, FormPostSingleTest) | |
| TEST (UrlEncodedPostTests, FormPostFileTest) | |
| TEST (UrlEncodedPostTests, FormPostFileNoCopyTest) | |
| TEST (UrlEncodedPostTests, FormPostFileBufferTest) | |
| TEST (UrlEncodedPostTests, FormPostFileBufferNoCopyTest) | |
| TEST (UrlEncodedPostTests, FormPostFileBufferPointerTest) | |
| TEST (UrlEncodedPostTests, FormPostFileBufferArrayTest) | |
| TEST (UrlEncodedPostTests, FormPostFileBufferVectorTest) | |
| TEST (UrlEncodedPostTests, FormPostFileBufferStdArrayTest) | |
| TEST (UrlEncodedPostTests, FormPostManyTest) | |
| TEST (UrlEncodedPostTests, FormPostManyNoCopyTest) | |
| TEST (UrlEncodedPostTests, FormPostContentTypeTest) | |
| TEST (UrlEncodedPostTests, FormPostContentTypeLValueTest) | |
| TEST (UrlEncodedPostTests, UrlPostAsyncSingleTest) | |
| TEST (UrlEncodedPostTests, UrlReflectTest) | |
Variables | |
| auto | base = server->GetBaseUrl() |
| static Server * | server = new Server() |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 349 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| UrlPostSingleTest | |||
| ) |
Definition at line 19 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| UrlPostAddPayloadPair | |||
| ) |
Definition at line 32 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| UrlPostPayloadIteratorTest | |||
| ) |
Definition at line 48 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| UrlPostEncodeTest | |||
| ) |
Definition at line 65 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| UrlPostEncodeNoCopyTest | |||
| ) |
Definition at line 78 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| UrlPostManyTest | |||
| ) |
Definition at line 93 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| UrlPostBadHostTest | |||
| ) |
Definition at line 108 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| FormPostSingleTest | |||
| ) |
Definition at line 118 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| FormPostFileTest | |||
| ) |
Definition at line 131 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| FormPostFileNoCopyTest | |||
| ) |
Definition at line 151 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| FormPostFileBufferTest | |||
| ) |
Definition at line 172 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| FormPostFileBufferNoCopyTest | |||
| ) |
Definition at line 186 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| FormPostFileBufferPointerTest | |||
| ) |
Definition at line 201 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| FormPostFileBufferArrayTest | |||
| ) |
Definition at line 215 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| FormPostFileBufferVectorTest | |||
| ) |
Definition at line 231 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| FormPostFileBufferStdArrayTest | |||
| ) |
Definition at line 246 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| FormPostManyTest | |||
| ) |
Definition at line 261 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| FormPostManyNoCopyTest | |||
| ) |
Definition at line 276 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| FormPostContentTypeTest | |||
| ) |
Definition at line 292 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| FormPostContentTypeLValueTest | |||
| ) |
Definition at line 305 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| UrlPostAsyncSingleTest | |||
| ) |
Definition at line 319 of file post_tests.cpp.
| TEST | ( | UrlEncodedPostTests | , |
| UrlReflectTest | |||
| ) |
Definition at line 339 of file post_tests.cpp.
Definition at line 16 of file post_tests.cpp.
Definition at line 15 of file post_tests.cpp.