Commit 30cce853 authored by Victor Costan's avatar Victor Costan Committed by Commit Bot

test: Replace _TEST_CASE_ with _TEST_SUITE_ in /ios/chrome/browser/metrics.

Googletest is (at last) converging with industry-standard terminology
[1]. We previously called test suites "test cases", which was rather
confusing for folks coming from any other testing framework.

Chrome now has a googltest version that supports _TEST_SUITE_ macros
instead of _TEST_CASE_, so this CL cleans up some of the outdated usage.

[1] https://github.com/google/googletest/blob/master/googletest/docs/primer.md#beware-of-the-nomenclature

This CL was uploaded by git cl split.

R=olivierrobin@chromium.org

Bug: 925652
Change-Id: I0dbcf574eaa0c466dfcd3db3c083fac7ef9ab53c
Reviewed-on: https://chromium-review.googlesource.com/c/1438366
Commit-Queue: Olivier Robin <olivierrobin@chromium.org>
Reviewed-by: default avatarOlivier Robin <olivierrobin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#626480}
parent 5c89826f
...@@ -175,6 +175,6 @@ TEST_P(MobileSessionShutdownMetricsProviderTest, ProvideStabilityMetrics) { ...@@ -175,6 +175,6 @@ TEST_P(MobileSessionShutdownMetricsProviderTest, ProvideStabilityMetrics) {
expected_buckets[GetParam()], 1); expected_buckets[GetParam()], 1);
} }
INSTANTIATE_TEST_CASE_P(/* No InstantiationName */, INSTANTIATE_TEST_SUITE_P(/* No InstantiationName */,
MobileSessionShutdownMetricsProviderTest, MobileSessionShutdownMetricsProviderTest,
testing::Range(0, 32)); testing::Range(0, 32));
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment