Skip to content

Commit 88aaf24

Browse files
committed
apacheGH-45279: [C++][Compute] Move all Grouper tests to grouper_test.cc
1 parent e434536 commit 88aaf24

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1185
-1177
lines changed

cpp/src/arrow/acero/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ endforeach()
109109
if(ARROW_TESTING)
110110
# test_nodes.cc isn't used by all tests but link to it for simple
111111
# CMakeLists.txt.
112-
add_library(arrow_acero_testing OBJECT test_nodes.cc test_util_internal.cc)
112+
add_library(arrow_acero_testing OBJECT test_nodes.cc test_util_internal.cc
113+
../compute/test_util_internal.cc)
113114
# Even though this is still just an object library we still need to "link" our
114115
# dependencies so that include paths are configured correctly
115116
target_link_libraries(arrow_acero_testing PRIVATE ${ARROW_ACERO_TEST_LINK_LIBS})

cpp/src/arrow/acero/aggregate_node.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
#include "arrow/acero/visibility.h"
2626
#include "arrow/compute/api_aggregate.h"
27+
#include "arrow/compute/test_util_internal.h"
2728
#include "arrow/compute/type_fwd.h"
2829
#include "arrow/result.h"
2930
#include "arrow/type_fwd.h"

cpp/src/arrow/acero/aggregate_node_test.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
#include "arrow/acero/test_util_internal.h"
2626
#include "arrow/compute/api_aggregate.h"
27+
#include "arrow/compute/test_util_internal.h"
2728
#include "arrow/result.h"
2829
#include "arrow/table.h"
2930
#include "arrow/testing/gtest_util.h"

cpp/src/arrow/acero/asof_join_node_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@
4141
#include "arrow/acero/util.h"
4242
#include "arrow/api.h"
4343
#include "arrow/compute/api_scalar.h"
44-
#include "arrow/compute/kernels/test_util.h"
44+
#include "arrow/compute/cast.h"
4545
#include "arrow/compute/row/row_encoder_internal.h"
46+
#include "arrow/compute/test_util_internal.h"
4647
#include "arrow/testing/gtest_util.h"
4748
#include "arrow/testing/matchers.h"
4849
#include "arrow/testing/random.h"

0 commit comments

Comments
 (0)