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

Unified Diff: Source/web/tests/KeyboardTest.cpp

Issue 1174283002: Fix unit test style in Source/web/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove static 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/web/tests/ImeOnFocusTest.cpp ('k') | Source/web/tests/LayoutGeometryMapTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/KeyboardTest.cpp
diff --git a/Source/web/tests/KeyboardTest.cpp b/Source/web/tests/KeyboardTest.cpp
index f33d651d499fb456e6072b8420f8e2b3548251b7..f1ec242dcb5af8401cf78c09fbbde504bb6096de 100644
--- a/Source/web/tests/KeyboardTest.cpp
+++ b/Source/web/tests/KeyboardTest.cpp
@@ -30,8 +30,6 @@
#include "config.h"
-#include <gtest/gtest.h>
-
#include "core/editing/EditingBehavior.h"
#include "core/editing/Editor.h"
#include "core/events/EventTarget.h"
@@ -40,10 +38,9 @@
#include "platform/KeyboardCodes.h"
#include "public/web/WebInputEvent.h"
#include "web/WebInputEventConversion.h"
+#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
class KeyboardTest : public testing::Test {
public:
@@ -212,4 +209,4 @@ TEST_F(KeyboardTest, TestInsertNewline4)
EXPECT_STREQ("InsertNewline", result);
}
-} // empty namespace
+} // namespace blink
« no previous file with comments | « Source/web/tests/ImeOnFocusTest.cpp ('k') | Source/web/tests/LayoutGeometryMapTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698