OLD | NEW |
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/OutlineValue.h" | 5 #include "core/style/OutlineValue.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 TEST(OutlineValueTest, VisuallyEqualStyle) | 11 TEST(OutlineValueTest, VisuallyEqualStyle) |
13 { | 12 { |
14 OutlineValue outline1; | 13 OutlineValue outline1; |
15 OutlineValue outline2; | 14 OutlineValue outline2; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 EXPECT_TRUE(outline1.visuallyEqual(outline2)); | 49 EXPECT_TRUE(outline1.visuallyEqual(outline2)); |
51 | 50 |
52 outline1.setIsAuto(AUTO_ON); | 51 outline1.setIsAuto(AUTO_ON); |
53 EXPECT_FALSE(outline1.visuallyEqual(outline2)); | 52 EXPECT_FALSE(outline1.visuallyEqual(outline2)); |
54 | 53 |
55 outline2.setIsAuto(AUTO_ON); | 54 outline2.setIsAuto(AUTO_ON); |
56 EXPECT_TRUE(outline1.visuallyEqual(outline2)); | 55 EXPECT_TRUE(outline1.visuallyEqual(outline2)); |
57 } | 56 } |
58 | 57 |
59 } // namespace blink | 58 } // namespace blink |
OLD | NEW |