generated from Sithas/conan_template
Подготовка фикстуры
This commit is contained in:
@@ -1,8 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <boost/beast.hpp>
|
||||
#include <memory>
|
||||
|
||||
#include <mysqlx/xdevapi.h>
|
||||
#include "./../../src/endpoints_handlers/AuthRegistrationExecutor.h"
|
||||
#include "./../../src/DAO/MySQLUserDAO.h"
|
||||
|
||||
namespace uad
|
||||
{
|
||||
class F {
|
||||
using RouteAuthRegistrationExecutor = AuthRegistrationExecutor<boost::beast::http::string_body,
|
||||
std::allocator<char>,
|
||||
boost::beast::http::string_body>;
|
||||
using Request = boost::beast::http::request<boost::beast::http::string_body,
|
||||
boost::beast::http::basic_fields<std::allocator<char>>>;
|
||||
char** argv;
|
||||
|
||||
const std::string mysql_credentials;
|
||||
|
||||
mysqlx::Session* mysql_session;
|
||||
|
||||
std::shared_ptr<MySQLUserDAO> user_dao;
|
||||
RouteAuthRegistrationExecutor executor;
|
||||
|
||||
Request req;
|
||||
|
||||
F();
|
||||
~F();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user