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

Unified Diff: Source/core/dom/AttrTest.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/dom/ActiveDOMObjectTest.cpp ('k') | Source/core/dom/DOMImplementationTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/AttrTest.cpp
diff --git a/Source/core/dom/AttrTest.cpp b/Source/core/dom/AttrTest.cpp
index 7ae6eabfe8cdbe1ca9a8cee5c76fcd232a97d452..85fce9aa8e9b074db2136ce6c855178ce8565ba1 100644
--- a/Source/core/dom/AttrTest.cpp
+++ b/Source/core/dom/AttrTest.cpp
@@ -9,13 +9,11 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
class AttrTest : public ::testing::Test {
protected:
- virtual void SetUp() override;
+ void SetUp() override;
PassRefPtrWillBeRawPtr<Attr> createAttribute();
const AtomicString& value() const { return m_value; }
@@ -82,4 +80,4 @@ TEST_F(AttrTest, LengthOfContents)
EXPECT_EQ(0u, attr->lengthOfContents());
}
-} // unnamed namespace
+} // namespace blink
« no previous file with comments | « Source/core/dom/ActiveDOMObjectTest.cpp ('k') | Source/core/dom/DOMImplementationTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698