10Duke Scale C++ Client
Loading...
Searching...
No Matches
URLMock.h
1
#ifndef TENDUKE_TEST_MOCKS_URLMOCK_H
2
#define TENDUKE_TEST_MOCKS_URLMOCK_H
3
4
#include "net/URL.h"
5
6
#include "gmock/gmock.h"
7
8
namespace
tenduke
{
namespace
test {
namespace
mocks {
9
10
class
URLMock
:
public
tenduke::net::URL
11
{
12
public
:
13
MOCK_METHOD((std::multimap<std::string, std::string>),
getQueryParametersAsMap
, (), (
const
,
override
));
14
//MOCK_METHOD(std::string, toString, (), (const, override));
15
};
16
17
}}}
18
19
#endif
//TENDUKE_TEST_MOCKS_URLMOCK_H
tenduke::net::URL
Represents URL.
Definition
URL.h:21
tenduke::net::URL::getQueryParametersAsMap
virtual std::multimap< std::string, std::string > getQueryParametersAsMap() const
Returns query parameters as a multimap.
Definition
URL.cpp:5
tenduke::test::mocks::URLMock
Definition
URLMock.h:11
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
AbstractClientFactory.h:16
core
core
test_utils
src
mocks
URLMock.h
Generated by
1.13.2