Use the new TEST_SUITE GoogleTest API (regression).
WebRTC has been migrated to the new API [1].
A presubmit check will avoid further regressions [2].
[1] - https://webrtc-review.googlesource.com/c/118701
[2] - https://webrtc-review.googlesource.com/c/120924
Bug: None
Change-Id: I77faa5e8a4a8432375dc2781886a3c501bd5a797
Reviewed-on: https://webrtc-review.googlesource.com/c/121565
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26561}
diff --git a/video/receive_statistics_proxy_unittest.cc b/video/receive_statistics_proxy_unittest.cc
index 3d870b4..41a279d 100644
--- a/video/receive_statistics_proxy_unittest.cc
+++ b/video/receive_statistics_proxy_unittest.cc
@@ -1052,12 +1052,12 @@
const auto kFreezeDetectionCond2Freeze = std::make_tuple(30, 185, 1);
const auto kFreezeDetectionCond2NotFreeze = std::make_tuple(30, 184, 0);
-INSTANTIATE_TEST_CASE_P(_,
- ReceiveStatisticsProxyTestWithFreezeDuration,
- ::testing::Values(kFreezeDetectionCond1Freeze,
- kFreezeDetectionCond1NotFreeze,
- kFreezeDetectionCond2Freeze,
- kFreezeDetectionCond2NotFreeze));
+INSTANTIATE_TEST_SUITE_P(_,
+ ReceiveStatisticsProxyTestWithFreezeDuration,
+ ::testing::Values(kFreezeDetectionCond1Freeze,
+ kFreezeDetectionCond1NotFreeze,
+ kFreezeDetectionCond2Freeze,
+ kFreezeDetectionCond2NotFreeze));
TEST_P(ReceiveStatisticsProxyTestWithFreezeDuration, FreezeDetection) {
VideoReceiveStream::Stats stats = statistics_proxy_->GetStats();
@@ -1090,10 +1090,10 @@
const webrtc::VideoContentType content_type_{GetParam()};
};
-INSTANTIATE_TEST_CASE_P(ContentTypes,
- ReceiveStatisticsProxyTestWithContent,
- ::testing::Values(VideoContentType::UNSPECIFIED,
- VideoContentType::SCREENSHARE));
+INSTANTIATE_TEST_SUITE_P(ContentTypes,
+ ReceiveStatisticsProxyTestWithContent,
+ ::testing::Values(VideoContentType::UNSPECIFIED,
+ VideoContentType::SCREENSHARE));
TEST_P(ReceiveStatisticsProxyTestWithContent, InterFrameDelaysAreReported) {
const int kInterFrameDelayMs = 33;