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

Unified Diff: Source/core/css/AffectedByFocusTest.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
Index: Source/core/css/AffectedByFocusTest.cpp
diff --git a/Source/core/css/AffectedByFocusTest.cpp b/Source/core/css/AffectedByFocusTest.cpp
index c2efe97d62443272627faf0dec59ec140813f9b2..ee2532cc4237ca73772c350536e5ae9d4f176fbc 100644
--- a/Source/core/css/AffectedByFocusTest.cpp
+++ b/Source/core/css/AffectedByFocusTest.cpp
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "config.h"
+
#include "core/HTMLNames.h"
#include "core/dom/Element.h"
#include "core/dom/ElementTraversal.h"
@@ -14,22 +15,19 @@
#include "core/testing/DummyPageHolder.h"
#include <gtest/gtest.h>
-using namespace blink;
-using namespace HTMLNames;
+namespace blink {
-namespace {
+using namespace HTMLNames;
class AffectedByFocusTest : public ::testing::Test {
-
protected:
-
struct ElementResult {
const blink::HTMLQualifiedName tag;
bool affectedBy;
bool childrenOrSiblingsAffectedBy;
};
- virtual void SetUp() override;
+ void SetUp() override;
HTMLDocument& document() const { return *m_document; }
@@ -314,4 +312,4 @@ TEST_F(AffectedByFocusTest, NoInvalidationSetFocusUpdate)
ASSERT_EQ(1U, accessCount);
}
-} // namespace
+} // namespace blink
« no previous file with comments | « Source/core/animation/animatable/AnimatableValueTestHelperTest.cpp ('k') | Source/core/css/CSSCalculationValueTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698