Changeset 127678 in webkit
- Timestamp:
- Sep 5, 2012 7:07:41 PM (12 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r127675 r127678 1 2012-09-05 James Robinson <jamesr@chromium.org> 2 3 [chromium] Test WebSolidColorLayer in WebLayerTest.Client unit test 4 https://bugs.webkit.org/show_bug.cgi?id=95819 5 6 Reviewed by Adam Barth. 7 8 This unit test doesn't do all that much, but it does verify that WebSolidColorLayer doesn't completely explode 9 upon use and also makes sure that the WebSolidColorLayer::create() symbol is referenced and not dropped from 10 webkit.dll in the component build. 11 12 * tests/WebLayerTest.cpp: 13 1 14 2012-09-05 Victoria Kirst <vrk@chromium.org> 2 15 -
trunk/Source/WebKit/chromium/tests/WebLayerTest.cpp
r127605 r127678 40 40 #include <public/WebRect.h> 41 41 #include <public/WebSize.h> 42 #include <public/WebSolidColorLayer.h> 42 43 43 44 #include <gmock/gmock.h> … … 141 142 142 143 // Texture layer. 143 EXPECT_CALL(m_client, scheduleComposite()).Times(A nyNumber());144 EXPECT_CALL(m_client, scheduleComposite()).Times(AtLeast(1)); 144 145 OwnPtr<WebExternalTextureLayer> textureLayer = adoptPtr(WebExternalTextureLayer::create()); 145 146 m_rootLayer->addChild(textureLayer->layer()); … … 172 173 Mock::VerifyAndClearExpectations(&m_client); 173 174 EXPECT_FALSE(contentLayer->layer()->drawsContent()); 175 176 // Solid color layer. 177 EXPECT_CALL(m_client, scheduleComposite()).Times(AtLeast(1)); 178 OwnPtr<WebSolidColorLayer> solidColorLayer = adoptPtr(WebSolidColorLayer::create()); 179 m_rootLayer->addChild(solidColorLayer->layer()); 180 Mock::VerifyAndClearExpectations(&m_client); 181 174 182 } 175 183
Note: See TracChangeset
for help on using the changeset viewer.