Skip to content

Commit

Permalink
Replace gtest macro TYPED_TEST_CASE (deprecated) by TYPED_TEST_SUITE
Browse files Browse the repository at this point in the history
  • Loading branch information
kelson42 committed Oct 15, 2023
1 parent 06c6f55 commit ac04511
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/compression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion test/decoderstreamreader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ac04511

Please sign in to comment.