Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / core / layout / LayoutInlineTest.cpp
blobe8c898c8abacc834d4ebbb4cb0d17bba86e08af3
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
3 // found in the LICENSE file.
5 #include "config.h"
6 #include "core/layout/LayoutInline.h"
8 #include "core/layout/LayoutTestHelper.h"
9 #include <gtest/gtest.h>
11 namespace blink {
13 class LayoutInlineTest : public RenderingTest {
16 TEST_F(LayoutInlineTest, LayoutNameCalledWithNullStyle)
18 LayoutObject* obj = LayoutInline::createAnonymous(&document());
19 EXPECT_FALSE(obj->style());
20 EXPECT_STREQ("LayoutInline (anonymous)", obj->decoratedName().ascii().data());
21 obj->destroy();