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

Unified Diff: Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp

Issue 1171323003: Fix unit test style in core/{dom,editing,html}/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: whitespace fix 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/html/TimeRangesTest.cpp ('k') | Source/core/html/canvas/CanvasRenderingContext2DTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp
diff --git a/Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp b/Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp
index e92dba07cec61155fbe91b18b2534edf73df322f..926ab4e710d3dd1b6c1e1a428e7955fd5d4c41a8 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp
+++ b/Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "config.h"
-
#include "core/html/canvas/CanvasRenderingContext2D.h"
#include "core/frame/FrameView.h"
@@ -18,15 +17,14 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>
-using namespace blink;
using ::testing::Mock;
-namespace {
+namespace blink {
class CanvasRenderingContext2DAPITest : public ::testing::Test {
protected:
CanvasRenderingContext2DAPITest();
- virtual void SetUp() override;
+ void SetUp() override;
DummyPageHolder& page() const { return *m_dummyPageHolder; }
HTMLDocument& document() const { return *m_document; }
@@ -219,4 +217,4 @@ TEST_F(CanvasRenderingContext2DAPITest, CreateImageData)
EXPECT_EQ((unsigned)800, imgdata4->data()->length());
}
-} // unnamed namespace
+} // namespace blink
« no previous file with comments | « Source/core/html/TimeRangesTest.cpp ('k') | Source/core/html/canvas/CanvasRenderingContext2DTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698