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

Side by Side Diff: third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMapTest.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/css/cssom/FilteredComputedStylePropertyMap.h" 5 #include "core/css/cssom/FilteredComputedStylePropertyMap.h"
6 6
7 #include <memory>
7 #include "core/css/CSSComputedStyleDeclaration.h" 8 #include "core/css/CSSComputedStyleDeclaration.h"
8 #include "core/dom/Element.h" 9 #include "core/dom/Element.h"
9 #include "core/testing/DummyPageHolder.h" 10 #include "core/testing/DummyPageHolder.h"
10 #include "platform/heap/Handle.h" 11 #include "platform/heap/Handle.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 #include <memory>
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class FilteredComputedStylePropertyMapTest : public ::testing::Test { 16 class FilteredComputedStylePropertyMapTest : public ::testing::Test {
17 public: 17 public:
18 FilteredComputedStylePropertyMapTest() : m_page(DummyPageHolder::create()) { 18 FilteredComputedStylePropertyMapTest() : m_page(DummyPageHolder::create()) {
19 m_declaration = CSSComputedStyleDeclaration::create( 19 m_declaration = CSSComputedStyleDeclaration::create(
20 m_page->document().documentElement()); 20 m_page->document().documentElement());
21 } 21 }
22 22
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 map->has("--quix", exceptionState); 113 map->has("--quix", exceptionState);
114 EXPECT_TRUE(exceptionState.hadException()); 114 EXPECT_TRUE(exceptionState.hadException());
115 exceptionState.clearException(); 115 exceptionState.clearException();
116 116
117 map->getAll("--quix", exceptionState); 117 map->getAll("--quix", exceptionState);
118 EXPECT_TRUE(exceptionState.hadException()); 118 EXPECT_TRUE(exceptionState.hadException());
119 exceptionState.clearException(); 119 exceptionState.clearException();
120 } 120 }
121 121
122 } // namespace blink 122 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698