mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2025-01-03 05:22:26 +08:00
19 lines
380 B
C++
19 lines
380 B
C++
#include <cassert>
|
|
#include <iostream>
|
|
#include <vector>
|
|
#include "util/tc_common.h"
|
|
#include "util/tc_logger.h"
|
|
#include "gtest/gtest.h"
|
|
|
|
using namespace std;
|
|
using namespace tars;
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
#if TARGET_PLATFORM_LINUX || TARGET_PLATFORM_IOS
|
|
tars::TC_Common::ignorePipe();
|
|
#endif
|
|
|
|
testing::InitGoogleTest(&argc, argv);
|
|
return RUN_ALL_TESTS();
|
|
} |