refactor
This commit is contained in:
parent
e3630007ba
commit
8d4b034f91
@ -1,21 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#include <gmock/gmock.h>
|
||||
|
||||
#include <uniqry.h>
|
||||
|
||||
#include <tdxdbmock/MockIField.hpp>
|
||||
#include <tdxdbmock/MockIParam.hpp>
|
||||
#include <tdxdbmock/MockIQuery.hpp>
|
||||
#include <tdxdbmock/MockTDXDB.hpp>
|
||||
|
||||
#define TDXDBMAIN() \
|
||||
int main(int argc, char ** argv) { \
|
||||
ReportMsgSetBackend([](auto) { return 0; }); \
|
||||
TDXPP::SetVerboseMode(slError); \
|
||||
TDXPP::SetSingleSQLTime(0); \
|
||||
TDXPP::SetProfilerTime(0); \
|
||||
TDXPP::SetFastStrHeapActive(false); \
|
||||
testing::InitGoogleMock(&argc, argv); \
|
||||
return RUN_ALL_TESTS(); \
|
||||
}\
|
||||
// na razie nic tu nie ma, później może pojawi się implementacja mocka na dla serwisów
|
||||
|
||||
0
lib/tdxdbmock/include/tdxdbmock/TDXDBMockMain.hpp
Normal file
0
lib/tdxdbmock/include/tdxdbmock/TDXDBMockMain.hpp
Normal file
Loading…
Reference in New Issue
Block a user