Commit 4fb82d83 authored by Victor Costan's avatar Victor Costan Committed by Commit Bot

test: Replace _TEST_CASE_ with _TEST_SUITE_ in /chrome/browser/content_settings.

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=msramek@chromium.org

Bug: 925652
Change-Id: I336d7d916dd8bd9a355bfa0ef0f720111b78d221
Reviewed-on: https://chromium-review.googlesource.com/c/1438361
Commit-Queue: Martin Šrámek <msramek@chromium.org>
Reviewed-by: default avatarMartin Šrámek <msramek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#626399}
parent 23067699
...@@ -326,7 +326,7 @@ IN_PROC_BROWSER_TEST_P(CookieSettingsTest, BlockCookiesUsingExceptions) { ...@@ -326,7 +326,7 @@ IN_PROC_BROWSER_TEST_P(CookieSettingsTest, BlockCookiesUsingExceptions) {
ASSERT_FALSE(GetCookies(browser()->profile(), unblocked_url).empty()); ASSERT_FALSE(GetCookies(browser()->profile(), unblocked_url).empty());
} }
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
/* no prefix */, /* no prefix */,
CookieSettingsTest, CookieSettingsTest,
::testing::Values(CookieMode::kJSReadJSWrite, ::testing::Values(CookieMode::kJSReadJSWrite,
......
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