refactor
This commit is contained in:
parent
e3630007ba
commit
8d4b034f91
@ -1,21 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <gmock/gmock.h>
|
// na razie nic tu nie ma, później może pojawi się implementacja mocka na dla serwisów
|
||||||
|
|
||||||
#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(); \
|
|
||||||
}\
|
|
||||||
|
|||||||
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