#include <gtest/gtest.h>
#include <chrono>
#include <string>
#include <cpr/cpr.h>
#include <curl/curl.h>
#include "server.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
TEST (ErrorTests, BasicSSLFailure) | |
TEST (ErrorTests, UnsupportedProtocolFailure) | |
TEST (ErrorTests, InvalidURLFailure) | |
TEST (ErrorTests, TimeoutFailure) | |
TEST (ErrorTests, ChronoTimeoutFailure) | |
TEST (ErrorTests, LowSpeedTimeFailure) | |
TEST (ErrorTests, LowSpeedBytesFailure) | |
TEST (ErrorTests, ProxyFailure) | |
TEST (ErrorTests, BoolFalseTest) | |
TEST (ErrorTests, BoolTrueTest) | |
Variables | |
auto | base = server->GetBaseUrl() |
auto | baseSSL = server->GetBaseUrlSSL() |
static Server * | server = new Server() |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 92 of file error_tests.cpp.
TEST | ( | ErrorTests | , |
BasicSSLFailure | |||
) |
Definition at line 17 of file error_tests.cpp.
TEST | ( | ErrorTests | , |
UnsupportedProtocolFailure | |||
) |
Definition at line 31 of file error_tests.cpp.
TEST | ( | ErrorTests | , |
InvalidURLFailure | |||
) |
Definition at line 38 of file error_tests.cpp.
TEST | ( | ErrorTests | , |
TimeoutFailure | |||
) |
Definition at line 45 of file error_tests.cpp.
TEST | ( | ErrorTests | , |
ChronoTimeoutFailure | |||
) |
Definition at line 52 of file error_tests.cpp.
TEST | ( | ErrorTests | , |
LowSpeedTimeFailure | |||
) |
Definition at line 59 of file error_tests.cpp.
TEST | ( | ErrorTests | , |
LowSpeedBytesFailure | |||
) |
Definition at line 66 of file error_tests.cpp.
TEST | ( | ErrorTests | , |
ProxyFailure | |||
) |
Definition at line 73 of file error_tests.cpp.
TEST | ( | ErrorTests | , |
BoolFalseTest | |||
) |
Definition at line 81 of file error_tests.cpp.
TEST | ( | ErrorTests | , |
BoolTrueTest | |||
) |
Definition at line 86 of file error_tests.cpp.
Definition at line 14 of file error_tests.cpp.
Definition at line 15 of file error_tests.cpp.
Definition at line 13 of file error_tests.cpp.