Skip to content

Commit f454d1c

Browse files
authored
Address general test code review comments
* Address GH-46096 code review comments * Address GH-47708 code review comments
1 parent e46aedc commit f454d1c

25 files changed

+58
-95
lines changed

cpp/src/arrow/flight/sql/odbc/odbc_impl/accessors/binary_array_accessor_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
#include "arrow/flight/sql/odbc/odbc_impl/accessors/binary_array_accessor.h"
1919
#include "arrow/testing/builder.h"
2020
#include "arrow/testing/gtest_util.h"
21-
#include "gtest/gtest.h"
21+
22+
#include <gtest/gtest.h>
2223

2324
namespace arrow::flight::sql::odbc {
2425

cpp/src/arrow/flight/sql/odbc/odbc_impl/accessors/boolean_array_accessor_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717

1818
#include "arrow/flight/sql/odbc/odbc_impl/accessors/boolean_array_accessor.h"
1919
#include "arrow/testing/builder.h"
20-
#include "gtest/gtest.h"
20+
21+
#include <gtest/gtest.h>
2122

2223
namespace arrow::flight::sql::odbc {
2324

cpp/src/arrow/flight/sql/odbc/odbc_impl/accessors/date_array_accessor_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
#include "arrow/flight/sql/odbc/odbc_impl/accessors/boolean_array_accessor.h"
2121
#include "arrow/flight/sql/odbc/odbc_impl/calendar_utils.h"
2222
#include "arrow/testing/builder.h"
23-
#include "gtest/gtest.h"
23+
24+
#include <gtest/gtest.h>
2425

2526
namespace arrow::flight::sql::odbc {
2627

cpp/src/arrow/flight/sql/odbc/odbc_impl/accessors/decimal_array_accessor_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
#include "arrow/builder.h"
2020
#include "arrow/testing/builder.h"
2121
#include "arrow/util/decimal.h"
22-
#include "gtest/gtest.h"
22+
23+
#include <gtest/gtest.h>
2324

2425
namespace arrow::flight::sql::odbc {
2526
namespace {

cpp/src/arrow/flight/sql/odbc/odbc_impl/accessors/primitive_array_accessor_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919

2020
#include "arrow/flight/sql/odbc/odbc_impl/diagnostics.h"
2121
#include "arrow/testing/builder.h"
22-
#include "gtest/gtest.h"
22+
23+
#include <gtest/gtest.h>
2324

2425
namespace arrow::flight::sql::odbc {
2526

cpp/src/arrow/flight/sql/odbc/odbc_impl/accessors/string_array_accessor_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919

2020
#include "arrow/flight/sql/odbc/odbc_impl/encoding.h"
2121
#include "arrow/testing/builder.h"
22-
#include "gtest/gtest.h"
22+
23+
#include <gtest/gtest.h>
2324

2425
namespace arrow::flight::sql::odbc {
2526

cpp/src/arrow/flight/sql/odbc/odbc_impl/accessors/time_array_accessor_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
#include "arrow/flight/sql/odbc/odbc_impl/calendar_utils.h"
2121
#include "arrow/flight/sql/odbc/odbc_impl/util.h"
2222
#include "arrow/testing/builder.h"
23-
#include "gtest/gtest.h"
23+
24+
#include <gtest/gtest.h>
2425

2526
namespace arrow::flight::sql::odbc {
2627

cpp/src/arrow/flight/sql/odbc/odbc_impl/accessors/timestamp_array_accessor_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
#include "arrow/flight/sql/odbc/odbc_impl/calendar_utils.h"
2121
#include "arrow/flight/sql/odbc/odbc_impl/util.h"
2222
#include "arrow/testing/builder.h"
23-
#include "gtest/gtest.h"
23+
24+
#include <gtest/gtest.h>
2425

2526
namespace arrow::flight::sql::odbc {
2627

cpp/src/arrow/flight/sql/odbc/odbc_impl/flight_sql_connection_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919

2020
#include "arrow/flight/sql/odbc/odbc_impl/platform.h"
2121
#include "arrow/flight/types.h"
22-
#include "gtest/gtest.h"
22+
23+
#include <gtest/gtest.h>
2324

2425
#include <optional>
2526

cpp/src/arrow/flight/sql/odbc/odbc_impl/flight_sql_stream_chunk_buffer_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
#include "arrow/flight/sql/odbc/odbc_impl/json_converter.h"
2424
#include "arrow/flight/test_flight_server.h"
2525
#include "arrow/flight/test_util.h"
26-
#include "gtest/gtest.h"
26+
27+
#include <gtest/gtest.h>
2728

2829
namespace arrow::flight::sql::odbc {
2930

0 commit comments

Comments
 (0)