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

Unified Diff: Source/platform/PurgeableVectorTest.cpp

Issue 1182703002: Fix unit test style in Source/platform/, part 1. (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/PurgeableVectorTest.cpp
diff --git a/Source/platform/PurgeableVectorTest.cpp b/Source/platform/PurgeableVectorTest.cpp
index 35fd6f32742c67f9291a3e50de8881855335968d..fe55865e44d694b0ff279d6b6cf64c977689553e 100644
--- a/Source/platform/PurgeableVectorTest.cpp
+++ b/Source/platform/PurgeableVectorTest.cpp
@@ -34,15 +34,11 @@
#include "platform/TestingPlatformSupport.h"
#include "public/platform/WebDiscardableMemory.h"
#include "wtf/Vector.h"
-
#include <algorithm>
#include <cstdlib>
-
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
const size_t kTestSize = 32 * 1024;
@@ -333,5 +329,4 @@ TEST_P(PurgeableVectorTestWithPlatformSupport, lockingUsesACounter)
INSTANTIATE_TEST_CASE_P(testsWithPlatformSetUp, PurgeableVectorTestWithPlatformSupport,
::testing::Values(DontSupportDiscardableMemory, SupportDiscardableMemory));
-} // namespace
-
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698