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