generated from Sithas/conan_template
Подготовка интеграционного теста
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#ifdef WIN32
|
||||
#include <sdkddkver.h>
|
||||
#include <WinSock2.h>
|
||||
#endif
|
||||
|
||||
#define BOOST_TEST_MODULE AuthLoginExecutors
|
||||
|
||||
#include <boost/test/included/unit_test.hpp>
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "./../../src/endpoints_handlers/AuthRegistrationExecutor.h"
|
||||
#include "./../../src/DAO/MySQLUserDAO.h"
|
||||
#include "./../../src/db/mysql_connector.h"
|
||||
#include "./../../src/exceptions/session_exception.h"
|
||||
#include "./../../src/helpers/helpers.h"
|
||||
|
||||
const std::string kUUID = std::to_string(uad::Random());
|
||||
|
||||
using namespace std;
|
||||
using namespace uad;
|
||||
using namespace boost;
|
||||
using namespace beast;
|
||||
using namespace json;
|
||||
|
||||
using RouteAuthRegistrationExecutor = AuthRegistrationExecutor<beast::http::string_body,
|
||||
std::allocator<char>,
|
||||
beast::http::string_body>;
|
||||
using Request = boost::beast::http::request<beast::http::string_body,
|
||||
beast::http::basic_fields<std::allocator<char>>>;
|
||||
|
||||
BOOST_AUTO_TEST_CASE(AuthRegistrationExecutor_Invalid_Login_Data)
|
||||
{
|
||||
BOOST_CHECK(true == true);
|
||||
}
|
||||
Reference in New Issue
Block a user