From: SooChan Lim Date: Mon, 7 Sep 2020 08:47:02 +0000 (+0900) Subject: tests: enhance the coverage for DSWaylandSurface X-Git-Tag: accepted/tizen/unified/20200908.003021~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d479b3deb077668c35944991d2e23f43c331e762;p=platform%2Fcore%2Fuifw%2Flibds.git tests: enhance the coverage for DSWaylandSurface Change-Id: I708a6fc597911c54d9bfe7711fc2563b82dfb8d9 --- diff --git a/tests/DSWaylandSurface-test.cpp b/tests/DSWaylandSurface-test.cpp index a83d794..d8db123 100644 --- a/tests/DSWaylandSurface-test.cpp +++ b/tests/DSWaylandSurface-test.cpp @@ -137,6 +137,10 @@ TEST_F(DSWaylandSurfaceTest, registerCallbackSurfaceCommitted) wl_surface_attach(testClient->surface, testClient->buffer, 0, 0); wl_surface_damage(testClient->surface, 0, 0, 100, 100); + wl_surface_set_buffer_transform(testClient->surface, 0); + wl_surface_set_buffer_scale(testClient->surface, 1); + wl_surface_damage_buffer(testClient->surface, 0, 0, 100, 100); + wl_surface_frame(testClient->surface); wl_surface_commit(testClient->surface); wl_display_roundtrip(testClient->display);