Commit 0dc5abde authored by Victor Costan's avatar Victor Costan Committed by Commit Bot

test: Replace _TEST_CASE_ with _TEST_SUITE_ in /third_party/blink/renderer/platform/scheduler.

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

Bug: 925652
Change-Id: I4aa39e130acd1831ebceded91180c15cd41ca15b
Reviewed-on: https://chromium-review.googlesource.com/c/1438374
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: default avatarRoss McIlroy <rmcilroy@chromium.org>
Reviewed-by: default avatarAlex Clarke <alexclarke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#626465}
parent 0a86a0b2
...@@ -174,9 +174,9 @@ class TaskQueueThrottlerWithAutoAdvancingTimeTest ...@@ -174,9 +174,9 @@ class TaskQueueThrottlerWithAutoAdvancingTimeTest
DISALLOW_COPY_AND_ASSIGN(TaskQueueThrottlerWithAutoAdvancingTimeTest); DISALLOW_COPY_AND_ASSIGN(TaskQueueThrottlerWithAutoAdvancingTimeTest);
}; };
INSTANTIATE_TEST_CASE_P(, INSTANTIATE_TEST_SUITE_P(,
TaskQueueThrottlerWithAutoAdvancingTimeTest, TaskQueueThrottlerWithAutoAdvancingTimeTest,
testing::Bool()); testing::Bool());
TEST_F(TaskQueueThrottlerTest, ThrottledTasksReportRealTime) { TEST_F(TaskQueueThrottlerTest, ThrottledTasksReportRealTime) {
EXPECT_EQ(timer_queue_->GetTimeDomain()->Now(), EXPECT_EQ(timer_queue_->GetTimeDomain()->Now(),
......
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