diff options
author | David Neto <dneto@google.com> | 2019-07-16 10:29:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-16 10:29:14 -0400 |
commit | 9b4b590dba33b6c261d2c8fac7265c7062b07a26 (patch) | |
tree | 169b408878a24748c43157cbd8e3aa93999186e9 /src/datum_type_test.cc | |
parent | bbe15eabade03277cb6f614697133b0dcf1f68e3 (diff) | |
download | amber-9b4b590dba33b6c261d2c8fac7265c7062b07a26.tar.gz |
Update DEPS: update googletest (#581)
Pulls in googletest with INSTANTIATE_TEST_SUITE_P
Diffstat (limited to 'src/datum_type_test.cc')
-rw-r--r-- | src/datum_type_test.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/datum_type_test.cc b/src/datum_type_test.cc index bf1924e..03d411c 100644 --- a/src/datum_type_test.cc +++ b/src/datum_type_test.cc @@ -36,8 +36,8 @@ TEST_P(DatumTypeTestFormat, ToFormat) { auto fmt = dt.AsFormat(); EXPECT_EQ(test_data.format_type, fmt->GetFormatType()); } -INSTANTIATE_TEST_CASE_P( - DatumTypeTestFormat, +INSTANTIATE_TEST_SUITE_P( + DatumTypeTestFormatSamples, DatumTypeTestFormat, testing::Values( Data{DataType::kInt8, 1, FormatType::kR8_SINT}, @@ -82,8 +82,7 @@ INSTANTIATE_TEST_CASE_P( Data{DataType::kDouble, 1, FormatType::kR64_SFLOAT}, Data{DataType::kDouble, 2, FormatType::kR64G64_SFLOAT}, Data{DataType::kDouble, 3, FormatType::kR64G64B64_SFLOAT}, - Data{ - DataType::kDouble, 4, - FormatType::kR64G64B64A64_SFLOAT}), ); // NOLINT(whitespace/parens) + Data{DataType::kDouble, 4, + FormatType::kR64G64B64A64_SFLOAT})); // NOLINT(whitespace/parens) } // namespace amber |