Match-id-69948825c312d1fb74e2e9658afb547da4da2769

This commit is contained in:
BianTanggui
2020-05-28 20:19:42 +08:00
parent cf5e6ef2d1
commit a4f71f7b3d
2 changed files with 8 additions and 7 deletions

View File

@@ -696,9 +696,11 @@ int Process(int argc, char **argv)
} }
#ifdef gtest #ifdef gtest
int _main(int argc, char **argv) { int _main(int argc, char **argv)
{
#else #else
int main(int argc, char **argv) { int main(int argc, char **argv)
{
#endif #endif
int ret = Process(argc, argv); int ret = Process(argc, argv);
return ret; return ret;

View File

@@ -120,8 +120,7 @@ int Stub_SetupDriverCgroup_Fail(FILE *cgroupAllow)
return 0; return 0;
} }
class Test_Fhho : public Test class Test_Fhho : public Test {
{
protected: protected:
static void SetUpTestCase() static void SetUpTestCase()
{ {