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

test: Replace _TEST_CASE_ with _TEST_SUITE_ in /services.

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 googletest 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

TBR=blundell

Bug: 925652
Change-Id: Ibf01039345188ea7458a6773b4eea52d2104cd52
Reviewed-on: https://chromium-review.googlesource.com/c/1471379Reviewed-by: default avatarVictor Costan <pwnall@chromium.org>
Commit-Queue: Victor Costan <pwnall@chromium.org>
Auto-Submit: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#632032}
parent e42c8b32
......@@ -376,7 +376,7 @@ TEST_P(CertVerifyProcChromeOSOrderingTest, DISABLED_TrustThenVerify) {
}
}
INSTANTIATE_TEST_CASE_P(
INSTANTIATE_TEST_SUITE_P(
Variations,
CertVerifyProcChromeOSOrderingTest,
::testing::Combine(
......
......@@ -515,7 +515,7 @@ TEST(P2PSocketTcpWithPseudoTlsTest, Basic) {
class P2PSocketTcpWithTlsTest
: public testing::TestWithParam<std::tuple<net::IoMode, P2PSocketType>> {};
INSTANTIATE_TEST_CASE_P(
INSTANTIATE_TEST_SUITE_P(
/* no prefix */,
P2PSocketTcpWithTlsTest,
::testing::Combine(::testing::Values(net::SYNCHRONOUS, net::ASYNC),
......
......@@ -689,9 +689,9 @@ TEST_P(IncognitoPrefServiceFactoryTest, MultipleClients) {
EXPECT_EQ(kUpdatedValue, pref_service2->GetInteger(kKey));
}
INSTANTIATE_TEST_CASE_P(UnderlayOrOverlayPref,
IncognitoPrefServiceFactoryTest,
testing::Bool());
INSTANTIATE_TEST_SUITE_P(UnderlayOrOverlayPref,
IncognitoPrefServiceFactoryTest,
testing::Bool());
} // namespace
} // namespace prefs
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