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.
6 #include "core/layout/LayoutInline.h"
8 #include "core/layout/LayoutTestHelper.h"
9 #include <gtest/gtest.h>
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());