fixy
This commit is contained in:
parent
8d4b034f91
commit
00f19332fc
@ -26,8 +26,4 @@ target_include_directories(tdxdbmock
|
|||||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties(tdxdbmock PROPERTIES OUTPUT_NAME "tdxpgs")
|
# set_target_properties(tdxdbmock PROPERTIES OUTPUT_NAME "tdxpgs")
|
||||||
|
|
||||||
# add_library(tdxppdbmock_main
|
|
||||||
# SHARED
|
|
||||||
# )
|
|
||||||
|
|||||||
@ -0,0 +1,15 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <gmock/gmock.h>
|
||||||
|
|
||||||
|
#include <uniqry.h>
|
||||||
|
|
||||||
|
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();
|
||||||
|
}
|
||||||
@ -1,10 +1,11 @@
|
|||||||
// #include </home/bartoszek/builds/ksi/sp/include/uniqry.h>
|
// #include </home/bartoszek/builds/ksi/sp/include/uniqry.h>
|
||||||
|
|
||||||
|
|
||||||
|
#include <tdxdbmock/MockTDXDB.hpp>
|
||||||
#include <tdxdbmock/MockTServiceImpl.hpp>
|
#include <tdxdbmock/MockTServiceImpl.hpp>
|
||||||
|
|
||||||
#include <tuximp.h>
|
#include <tuximp.h>
|
||||||
|
#include <cassert>
|
||||||
IQuery * query;
|
|
||||||
|
|
||||||
namespace TDXPP {
|
namespace TDXPP {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user