GAIA 0.1.0
util
http
http_testing.h
1
// Copyright 2018, Beeri 15. All rights reserved.
2
// Author: Roman Gershman (romange@gmail.com)
3
//
4
#include "base/gtest.h"
5
6
#include "util/asio/accept_server.h"
7
#include "util/asio/io_context_pool.h"
8
#include "util/http/http_conn_handler.h"
9
10
namespace
util {
11
12
class
HttpBaseTest
:
public
testing::Test {
13
protected
:
14
void
SetUp()
override
;
15
16
void
TearDown()
override
;
17
18
std::unique_ptr<AcceptServer> server_;
19
std::unique_ptr<IoContextPool> pool_;
20
http::Listener<>
listener_;
21
uint16_t port_ = 0;
22
};
23
24
}
// namespace util
25
util::http::Listener
Definition:
http_conn_handler.h:91
util::HttpBaseTest
Definition:
http_testing.h:12
Generated by
1.8.15