Commit 1e1fbb6c authored by Victor Costan's avatar Victor Costan Committed by Commit Bot

test: Replace _TEST_CASE_ with _TEST_SUITE_ in /ui/compositor.

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

Bug: 925652
Change-Id: Ibd9e6d542f0b76ce4c868600c655a41c106262b6
Reviewed-on: https://chromium-review.googlesource.com/c/1438268
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: default avatarStephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#626396}
parent c62897b1
...@@ -115,7 +115,7 @@ TEST_P(CanvasPainterTest, PaintPixelCanvasEnabled) { ...@@ -115,7 +115,7 @@ TEST_P(CanvasPainterTest, PaintPixelCanvasEnabled) {
CheckPaintedShape(bitmap, shape_bounds, shape_color, device_scale_factor()); CheckPaintedShape(bitmap, shape_bounds, shape_color, device_scale_factor());
} }
INSTANTIATE_TEST_CASE_P(, INSTANTIATE_TEST_SUITE_P(,
CanvasPainterTest, CanvasPainterTest,
::testing::Values(1.f, 1.25f, 1.5f, 1.6f, 2.f, 2.25f)); ::testing::Values(1.f, 1.25f, 1.5f, 1.6f, 2.f, 2.25f));
} // namespace ui } // namespace ui
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