Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1222)

Unified Diff: Source/platform/scheduler/CancellableTaskFactoryTest.cpp

Issue 1184673003: Fix unit test style in Source/platform/, part 2. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/scheduler/CancellableTaskFactoryTest.cpp
diff --git a/Source/platform/scheduler/CancellableTaskFactoryTest.cpp b/Source/platform/scheduler/CancellableTaskFactoryTest.cpp
index 80ab07c0546cc74f56c27a07ffeca79457e3e9e1..dbb1e9a182f69afd8476c6a2bd6ddb0252986f94 100644
--- a/Source/platform/scheduler/CancellableTaskFactoryTest.cpp
+++ b/Source/platform/scheduler/CancellableTaskFactoryTest.cpp
@@ -7,12 +7,9 @@
#include <gtest/gtest.h>
-using blink::CancellableTaskFactory;
-using blink::WebThread;
+namespace blink {
-namespace {
-
-typedef testing::Test CancellableTaskFactoryTest;
+using CancellableTaskFactoryTest = testing::Test;
TEST_F(CancellableTaskFactoryTest, IsPending_TaskNotCreated)
{
@@ -168,4 +165,4 @@ TEST_F(CancellableTaskFactoryTest, CreatingANewTaskCancelsPreviousOnes)
EXPECT_EQ(1, executionCount);
}
-} // namespace
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698