github-actions[bot] commented on code in PR #17769:
URL: https://github.com/apache/doris/pull/17769#discussion_r1147225283
##########
be/test/vec/function/function_json_test.cpp:
##########
@@ -49,6 +49,19 @@
check_function<DataTypeInt32, true>(func_name, input_types, data_set);
}
+TEST(FunctionJsonTEST, GetJsonIntTest) {
Review Comment:
warning: redefinition of 'TestBody' [clang-diagnostic-error]
```cpp
TEST(FunctionJsonTEST, GetJsonIntTest) {
^
```
**thirdparty/installed/include/gtest/gtest.h:2352:** expanded from macro
'TEST'
```cpp
#define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name,
test_name)
^
```
**thirdparty/installed/include/gtest/gtest.h:2346:** expanded from macro
'GTEST_TEST'
```cpp
GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
^
```
**thirdparty/installed/include/gtest/internal/gtest-internal.h:1557:**
expanded from macro 'GTEST_TEST_'
```cpp
void GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::TestBody()
^
```
**be/test/vec/function/function_json_test.cpp:39:** previous definition is
here
```cpp
TEST(FunctionJsonTEST, GetJsonIntTest) {
^
```
**thirdparty/installed/include/gtest/gtest.h:2352:** expanded from macro
'TEST'
```cpp
#define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name,
test_name)
^
```
**thirdparty/installed/include/gtest/gtest.h:2346:** expanded from macro
'GTEST_TEST'
```cpp
GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
^
```
**thirdparty/installed/include/gtest/internal/gtest-internal.h:1557:**
expanded from macro 'GTEST_TEST_'
```cpp
void GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::TestBody()
^
```
##########
be/test/vec/function/function_json_test.cpp:
##########
@@ -49,6 +49,19 @@ TEST(FunctionJsonTEST, GetJsonIntTest) {
check_function<DataTypeInt32, true>(func_name, input_types, data_set);
}
+TEST(FunctionJsonTEST, GetJsonIntTest) {
Review Comment:
warning: redefinition of 'FunctionJsonTEST_GetJsonIntTest_Test'
[clang-diagnostic-error]
```cpp
TEST(FunctionJsonTEST, GetJsonIntTest) {
^
```
expanded from here
##########
be/test/vec/function/function_json_test.cpp:
##########
@@ -49,6 +49,19 @@
check_function<DataTypeInt32, true>(func_name, input_types, data_set);
}
+TEST(FunctionJsonTEST, GetJsonIntTest) {
Review Comment:
warning: redefinition of 'test_info_' [clang-diagnostic-error]
```cpp
TEST(FunctionJsonTEST, GetJsonIntTest) {
^
```
**thirdparty/installed/include/gtest/gtest.h:2352:** expanded from macro
'TEST'
```cpp
#define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name,
test_name)
^
```
**thirdparty/installed/include/gtest/gtest.h:2346:** expanded from macro
'GTEST_TEST'
```cpp
GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
^
```
**thirdparty/installed/include/gtest/internal/gtest-internal.h:1547:**
expanded from macro 'GTEST_TEST_'
```cpp
test_name)::test_info_ =
\
^
```
**be/test/vec/function/function_json_test.cpp:39:** previous definition is
here
```cpp
TEST(FunctionJsonTEST, GetJsonIntTest) {
^
```
**thirdparty/installed/include/gtest/gtest.h:2352:** expanded from macro
'TEST'
```cpp
#define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name,
test_name)
^
```
**thirdparty/installed/include/gtest/gtest.h:2346:** expanded from macro
'GTEST_TEST'
```cpp
GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
^
```
**thirdparty/installed/include/gtest/internal/gtest-internal.h:1547:**
expanded from macro 'GTEST_TEST_'
```cpp
test_name)::test_info_ =
\
^
```
--
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]