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

Unified Diff: Source/core/layout/shapes/BoxShapeTest.cpp

Issue 1164413003: Fix unit test style in core/{animation,css,fetch,frame,layout,style,timing}/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: anonymous 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
« no previous file with comments | « Source/core/layout/OverflowModelTest.cpp ('k') | Source/core/style/ComputedStyleTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/shapes/BoxShapeTest.cpp
diff --git a/Source/core/layout/shapes/BoxShapeTest.cpp b/Source/core/layout/shapes/BoxShapeTest.cpp
index 029ee96daf771a3f609dc00ee67b0c4901622e37..adb8446c2488923d71bbb71ff701ab0c6cd85103 100644
--- a/Source/core/layout/shapes/BoxShapeTest.cpp
+++ b/Source/core/layout/shapes/BoxShapeTest.cpp
@@ -28,11 +28,9 @@
*/
#include "config.h"
-
#include "core/layout/shapes/BoxShape.h"
#include "platform/geometry/FloatRoundedRect.h"
-
#include <gtest/gtest.h>
namespace blink {
@@ -47,12 +45,8 @@ protected:
}
};
-} // namespace blink
-
namespace {
-using namespace blink;
-
#define TEST_EXCLUDED_INTERVAL(shapePtr, lineTop, lineHeight, expectedLeft, expectedRight) \
{ \
LineSegment segment = shapePtr->getExcludedInterval(lineTop, lineHeight); \
@@ -138,4 +132,6 @@ TEST_F(BoxShapeTest, getIntervals)
TEST_EXCLUDED_INTERVAL(shape, 85, 10, 0, 97.320511f);
}
-} // namespace
+} // anonymous namespace
+
+} // namespace blink
« no previous file with comments | « Source/core/layout/OverflowModelTest.cpp ('k') | Source/core/style/ComputedStyleTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698