Skip to content

Commit

Permalink
apacheGH-45279: [C++][Compute] Move all Grouper tests to grouper_test.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Jan 16, 2025
1 parent e434536 commit 88aaf24
Show file tree
Hide file tree
Showing 42 changed files with 1,185 additions and 1,177 deletions.
3 changes: 2 additions & 1 deletion cpp/src/arrow/acero/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ endforeach()
if(ARROW_TESTING)
# test_nodes.cc isn't used by all tests but link to it for simple
# CMakeLists.txt.
add_library(arrow_acero_testing OBJECT test_nodes.cc test_util_internal.cc)
add_library(arrow_acero_testing OBJECT test_nodes.cc test_util_internal.cc
../compute/test_util_internal.cc)
# Even though this is still just an object library we still need to "link" our
# dependencies so that include paths are configured correctly
target_link_libraries(arrow_acero_testing PRIVATE ${ARROW_ACERO_TEST_LINK_LIBS})
Expand Down
1 change: 1 addition & 0 deletions cpp/src/arrow/acero/aggregate_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#include "arrow/acero/visibility.h"
#include "arrow/compute/api_aggregate.h"
#include "arrow/compute/test_util_internal.h"
#include "arrow/compute/type_fwd.h"
#include "arrow/result.h"
#include "arrow/type_fwd.h"
Expand Down
1 change: 1 addition & 0 deletions cpp/src/arrow/acero/aggregate_node_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#include "arrow/acero/test_util_internal.h"
#include "arrow/compute/api_aggregate.h"
#include "arrow/compute/test_util_internal.h"
#include "arrow/result.h"
#include "arrow/table.h"
#include "arrow/testing/gtest_util.h"
Expand Down
3 changes: 2 additions & 1 deletion cpp/src/arrow/acero/asof_join_node_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@
#include "arrow/acero/util.h"
#include "arrow/api.h"
#include "arrow/compute/api_scalar.h"
#include "arrow/compute/kernels/test_util.h"
#include "arrow/compute/cast.h"
#include "arrow/compute/row/row_encoder_internal.h"
#include "arrow/compute/test_util_internal.h"
#include "arrow/testing/gtest_util.h"
#include "arrow/testing/matchers.h"
#include "arrow/testing/random.h"
Expand Down
Loading

0 comments on commit 88aaf24

Please sign in to comment.