1#ifndef TENDUKE_TEST_UTILS_HTTPUTILS_H
2#define TENDUKE_TEST_UTILS_HTTPUTILS_H
4#include "http/HTTPRequestBuilder.h"
5#include "../mocks/HTTPCallMock.h"
6#include "../mocks/HTTPClientMock.h"
7#include "../mocks/URLEncoderMock.h"
9#include "gmock/gmock.h"
14namespace tenduke {
namespace test {
namespace utils {
17 std::shared_ptr<::tenduke::test::mocks::HTTPClientMock> httpClient,
18 std::initializer_list<std::shared_ptr<::tenduke::http::HTTPResponse>> responses
21std::shared_ptr<::tenduke::http::HTTPResponse> mkJsonResponse(
int statusCode,
const std::string &payload);
22std::shared_ptr<::tenduke::http::HTTPResponse> mkHTTPResponse(
int statusCode,
const std::string &payload,
const std::string &contentType =
"");
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7