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

Unified Diff: Source/platform/geometry/FloatSizeTest.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/geometry/FloatSizeTest.cpp
diff --git a/Source/platform/geometry/FloatSizeTest.cpp b/Source/platform/geometry/FloatSizeTest.cpp
index 0490f53c723fb5f6fc8de0ca5e2f9605d253614b..56e2deb3c23146bf00b20661bfc1d7b7d6a5d128 100644
--- a/Source/platform/geometry/FloatSizeTest.cpp
+++ b/Source/platform/geometry/FloatSizeTest.cpp
@@ -6,12 +6,9 @@
#include "platform/geometry/FloatSize.h"
#include "platform/geometry/GeometryTestHelpers.h"
-
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
TEST(FloatSizeTest, DiagonalLengthTest)
{
@@ -30,4 +27,4 @@ TEST(FloatSizeTest, DiagonalLengthTest)
EXPECT_PRED_FORMAT2(GeometryTest::AssertAlmostEqual, s4.diagonalLength(), .707106781186548e20f);
}
-}
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698