github-actions[bot] commented on code in PR #16290:
URL: https://github.com/apache/doris/pull/16290#discussion_r1093106292


##########
be/test/agent/cgroups_mgr_test.cpp:
##########
@@ -21,13 +21,8 @@
 #include <filesystem>
 #include <fstream>
 
-#include "gmock/gmock.h"
 #include "gtest/gtest.h"
 
-#ifndef BE_TEST
-#define BE_TEST
-#endif
-
 using ::testing::_;

Review Comment:
   warning: no member named '_' in namespace 'testing' [clang-diagnostic-error]
   ```cpp
   using ::testing::_;
                    ^
   ```
   



##########
be/test/agent/cgroups_mgr_test.cpp:
##########
@@ -21,13 +21,8 @@
 #include <filesystem>
 #include <fstream>
 
-#include "gmock/gmock.h"
 #include "gtest/gtest.h"
 
-#ifndef BE_TEST
-#define BE_TEST
-#endif
-
 using ::testing::_;
 using ::testing::Return;
 using ::testing::SetArgPointee;

Review Comment:
   warning: no member named 'SetArgPointee' in namespace 'testing' 
[clang-diagnostic-error]
   ```cpp
   using ::testing::SetArgPointee;
                    ^
   ```
   



##########
be/test/agent/cgroups_mgr_test.cpp:
##########
@@ -21,13 +21,8 @@
 #include <filesystem>
 #include <fstream>
 
-#include "gmock/gmock.h"
 #include "gtest/gtest.h"
 
-#ifndef BE_TEST
-#define BE_TEST
-#endif
-
 using ::testing::_;
 using ::testing::Return;

Review Comment:
   warning: no member named 'Return' in namespace 'testing' 
[clang-diagnostic-error]
   ```cpp
   using ::testing::Return;
                    ^
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to