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 28, 2023
1 parent 30fe487 commit d0af22d
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 d0af22d

Please sign in to comment.