Commit acf130cf authored by Victor Costan's avatar Victor Costan Committed by Commit Bot

test: Replace _TEST_CASE_ with _TEST_SUITE_ in /components/arc.

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

Bug: 925652
Change-Id: I0f9f03c8e34187cf5d84d5076726fd469e8605e0
Reviewed-on: https://chromium-review.googlesource.com/c/1438367
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: default avatarHidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#626463}
parent 4a1544c8
...@@ -632,9 +632,9 @@ TEST_P(ArcSessionImplPackagesCacheModeTest, PackagesCacheModes) { ...@@ -632,9 +632,9 @@ TEST_P(ArcSessionImplPackagesCacheModeTest, PackagesCacheModes) {
.packages_cache_mode()); .packages_cache_mode());
} }
INSTANTIATE_TEST_CASE_P(, INSTANTIATE_TEST_SUITE_P(,
ArcSessionImplPackagesCacheModeTest, ArcSessionImplPackagesCacheModeTest,
::testing::ValuesIn(kPackagesCacheModeStates)); ::testing::ValuesIn(kPackagesCacheModeStates));
TEST_F(ArcSessionImplTest, DemoSession) { TEST_F(ArcSessionImplTest, DemoSession) {
auto arc_session = CreateArcSession(); auto arc_session = CreateArcSession();
......
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