| Index: trunk/Source/web/tests/GraphicsLayerTest.cpp
|
| ===================================================================
|
| --- trunk/Source/web/tests/GraphicsLayerTest.cpp (revision 168316)
|
| +++ trunk/Source/web/tests/GraphicsLayerTest.cpp (working copy)
|
| @@ -165,4 +165,16 @@
|
| EXPECT_EQ(scrollPosition, WebPoint(scrollableArea.scrollPosition()));
|
| }
|
|
|
| +TEST_F(GraphicsLayerTest, DISABLED_setContentsToSolidColor)
|
| +{
|
| + m_graphicsLayer->setContentsToSolidColor(Color::transparent);
|
| + EXPECT_FALSE(m_graphicsLayer->contentsLayer());
|
| +
|
| + m_graphicsLayer->setContentsToSolidColor(Color::white);
|
| + EXPECT_TRUE(m_graphicsLayer->contentsLayer());
|
| +
|
| + m_graphicsLayer->setContentsToSolidColor(Color());
|
| + EXPECT_FALSE(m_graphicsLayer->contentsLayer());
|
| +}
|
| +
|
| } // namespace
|
|
|