| Index: Source/core/layout/style/ComputedStyleTest.cpp
|
| diff --git a/Source/core/layout/style/ComputedStyleTest.cpp b/Source/core/layout/style/ComputedStyleTest.cpp
|
| deleted file mode 100644
|
| index 616788f32475185a2950ce6e38ff498286585c52..0000000000000000000000000000000000000000
|
| --- a/Source/core/layout/style/ComputedStyleTest.cpp
|
| +++ /dev/null
|
| @@ -1,53 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "config.h"
|
| -#include "core/layout/style/ComputedStyle.h"
|
| -
|
| -#include "core/layout/ClipPathOperation.h"
|
| -#include "core/layout/style/ShapeValue.h"
|
| -
|
| -#include <gtest/gtest.h>
|
| -
|
| -using namespace blink;
|
| -
|
| -namespace {
|
| -
|
| -TEST(ComputedStyleTest, ShapeOutsideBoxEqual)
|
| -{
|
| - RefPtr<ShapeValue> shape1 = ShapeValue::createBoxShapeValue(ContentBox);
|
| - RefPtr<ShapeValue> shape2 = ShapeValue::createBoxShapeValue(ContentBox);
|
| - RefPtr<ComputedStyle> style1 = ComputedStyle::create();
|
| - RefPtr<ComputedStyle> style2 = ComputedStyle::create();
|
| - style1->setShapeOutside(shape1);
|
| - style2->setShapeOutside(shape2);
|
| - ASSERT_EQ(*style1, *style2);
|
| -}
|
| -
|
| -TEST(ComputedStyleTest, ShapeOutsideCircleEqual)
|
| -{
|
| - RefPtr<BasicShapeCircle> circle1 = BasicShapeCircle::create();
|
| - RefPtr<BasicShapeCircle> circle2 = BasicShapeCircle::create();
|
| - RefPtr<ShapeValue> shape1 = ShapeValue::createShapeValue(circle1, ContentBox);
|
| - RefPtr<ShapeValue> shape2 = ShapeValue::createShapeValue(circle2, ContentBox);
|
| - RefPtr<ComputedStyle> style1 = ComputedStyle::create();
|
| - RefPtr<ComputedStyle> style2 = ComputedStyle::create();
|
| - style1->setShapeOutside(shape1);
|
| - style2->setShapeOutside(shape2);
|
| - ASSERT_EQ(*style1, *style2);
|
| -}
|
| -
|
| -TEST(ComputedStyleTest, ClipPathEqual)
|
| -{
|
| - RefPtr<BasicShapeCircle> shape = BasicShapeCircle::create();
|
| - RefPtr<ShapeClipPathOperation> path1 = ShapeClipPathOperation::create(shape);
|
| - RefPtr<ShapeClipPathOperation> path2 = ShapeClipPathOperation::create(shape);
|
| - RefPtr<ComputedStyle> style1 = ComputedStyle::create();
|
| - RefPtr<ComputedStyle> style2 = ComputedStyle::create();
|
| - style1->setClipPath(path1);
|
| - style2->setClipPath(path2);
|
| - ASSERT_EQ(*style1, *style2);
|
| -}
|
| -
|
| -}
|
|
|