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

Unified Diff: Source/platform/geometry/FloatPointTest.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/FloatPointTest.cpp
diff --git a/Source/platform/geometry/FloatPointTest.cpp b/Source/platform/geometry/FloatPointTest.cpp
index e7ff706ea52a4bf81ee4a9fa2830926adc767394..001c7a6ec7dcf732c244f6315522aa64be160d7a 100644
--- a/Source/platform/geometry/FloatPointTest.cpp
+++ b/Source/platform/geometry/FloatPointTest.cpp
@@ -6,12 +6,9 @@
#include "platform/geometry/FloatPoint.h"
#include "platform/geometry/GeometryTestHelpers.h"
-
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
TEST(FloatPointTest, LengthTest)
{
@@ -31,4 +28,4 @@ TEST(FloatPointTest, LengthTest)
EXPECT_PRED_FORMAT2(GeometryTest::AssertAlmostEqual, p4.length(), .707106781186548e20f);
}
-}
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698