From ac04511846304c71eb5f41de202268475f1d32a1 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Sun, 15 Oct 2023 18:43:41 +0200 Subject: [PATCH] Replace gtest macro TYPED_TEST_CASE (deprecated) by TYPED_TEST_SUITE --- test/compression.cpp | 2 +- test/decoderstreamreader.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/compression.cpp b/test/compression.cpp index a87d540d1..ff8183e19 100644 --- a/test/compression.cpp +++ b/test/compression.cpp @@ -39,7 +39,7 @@ using CompressionAlgo = ::testing::Types< ZSTD_INFO >; -TYPED_TEST_CASE(CompressionTest, CompressionAlgo); +TYPED_TEST_SUITE(CompressionTest, CompressionAlgo); TYPED_TEST(CompressionTest, compress) { std::string data; diff --git a/test/decoderstreamreader.cpp b/test/decoderstreamreader.cpp index aa740b4fe..a310fb617 100644 --- a/test/decoderstreamreader.cpp +++ b/test/decoderstreamreader.cpp @@ -60,7 +60,7 @@ using CompressionTypes = ::testing::Types< ZSTD_INFO >; -TYPED_TEST_CASE(DecoderStreamReaderTest, CompressionTypes); +TYPED_TEST_SUITE(DecoderStreamReaderTest, CompressionTypes); TYPED_TEST(DecoderStreamReaderTest, justCompressedData) { typedef typename TestFixture::CompressionInfo CompressionInfo;