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

Unified Diff: Source/core/editing/InputMethodControllerTest.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/editing/GranularityStrategyTest.cpp ('k') | Source/core/editing/StyledMarkupSerializerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/InputMethodControllerTest.cpp
diff --git a/Source/core/editing/InputMethodControllerTest.cpp b/Source/core/editing/InputMethodControllerTest.cpp
index a54fcd39f517c6adefbfa599c2875a5995cab20f..b6e8b62f03bd729535eb7468e0f67963b8e161ea 100644
--- a/Source/core/editing/InputMethodControllerTest.cpp
+++ b/Source/core/editing/InputMethodControllerTest.cpp
@@ -13,9 +13,7 @@
#include "core/testing/DummyPageHolder.h"
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
class InputMethodControllerTest : public ::testing::Test {
protected:
@@ -25,7 +23,7 @@ protected:
Element* insertHTMLElement(const char* elementCode, const char* elementId);
private:
- virtual void SetUp() override;
+ void SetUp() override;
OwnPtr<DummyPageHolder> m_dummyPageHolder;
HTMLDocument* m_document;
@@ -139,4 +137,4 @@ TEST_F(InputMethodControllerTest, SetCompositionFromExistingTextWithInvalidOffse
EXPECT_FALSE(controller().compositionRange());
}
-} // namespace
+} // namespace blink
« no previous file with comments | « Source/core/editing/GranularityStrategyTest.cpp ('k') | Source/core/editing/StyledMarkupSerializerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698