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

Side by Side Diff: third_party/WebKit/Source/core/style/SVGComputedStyleTest.cpp

Issue 1538363002: Remove config.h inclusion from third_party/WebKit/Source/core/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "config.h"
6 #include "core/style/SVGComputedStyle.h" 5 #include "core/style/SVGComputedStyle.h"
7 6
8 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
9 8
10 namespace blink { 9 namespace blink {
11 10
12 // Ensures RefPtr values are compared by their values, not by pointers. 11 // Ensures RefPtr values are compared by their values, not by pointers.
13 #define TEST_STYLE_REFPTR_VALUE_NO_DIFF(type, fieldName) \ 12 #define TEST_STYLE_REFPTR_VALUE_NO_DIFF(type, fieldName) \
14 { \ 13 { \
15 RefPtr<SVGComputedStyle> svg1 = SVGComputedStyle::create(); \ 14 RefPtr<SVGComputedStyle> svg1 = SVGComputedStyle::create(); \
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 58
60 TEST(SVGComputedStyleTest, MiscStyleShouldCompareValue) 59 TEST(SVGComputedStyleTest, MiscStyleShouldCompareValue)
61 { 60 {
62 TEST_STYLE_VALUE_NO_DIFF(Color, FloodColor); 61 TEST_STYLE_VALUE_NO_DIFF(Color, FloodColor);
63 TEST_STYLE_VALUE_NO_DIFF(float, FloodOpacity); 62 TEST_STYLE_VALUE_NO_DIFF(float, FloodOpacity);
64 TEST_STYLE_VALUE_NO_DIFF(Color, LightingColor); 63 TEST_STYLE_VALUE_NO_DIFF(Color, LightingColor);
65 TEST_STYLE_VALUE_NO_DIFF(Length, BaselineShiftValue); 64 TEST_STYLE_VALUE_NO_DIFF(Length, BaselineShiftValue);
66 } 65 }
67 66
68 } // namespace blink 67 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp ('k') | third_party/WebKit/Source/core/style/ShadowData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698