Skip to content

Commit

Permalink
ARROW-8326: [C++] Use TYPED_TEST_SUITE instead of deprecated TYPED_TE…
Browse files Browse the repository at this point in the history
…ST_CASE

Closes #6823 from kou/cpp-test-use-typed-test-suite

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Krisztián Szűcs <szucs.krisztian@gmail.com>
  • Loading branch information
kou authored and kszucs committed Apr 3, 2020
1 parent 442a548 commit 1e0faac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/compute/kernels/match_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ using PrimitiveDictionaries =
Int64Type, UInt64Type, FloatType, DoubleType, Date32Type,
Date64Type>;

TYPED_TEST_CASE(TestMatchKernelPrimitive, PrimitiveDictionaries);
TYPED_TEST_SUITE(TestMatchKernelPrimitive, PrimitiveDictionaries);

TYPED_TEST(TestMatchKernelPrimitive, Match) {
auto type = TypeTraits<TypeParam>::type_singleton();
Expand Down Expand Up @@ -223,7 +223,7 @@ template <typename Type>
class TestMatchKernelBinary : public TestMatchKernel {};

using BinaryTypes = ::testing::Types<BinaryType, StringType>;
TYPED_TEST_CASE(TestMatchKernelBinary, BinaryTypes);
TYPED_TEST_SUITE(TestMatchKernelBinary, BinaryTypes);

TYPED_TEST(TestMatchKernelBinary, MatchBinary) {
auto type = TypeTraits<TypeParam>::type_singleton();
Expand Down

0 comments on commit 1e0faac

Please sign in to comment.