diff options
author | Emre Ucan <eucan@de.adit-jv.com> | 2015-07-06 15:50:23 +0200 |
---|---|---|
committer | Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp> | 2015-07-08 08:56:14 +0900 |
commit | f15ae595973df478fbc4f3c61c3faad4d37ab798 (patch) | |
tree | b2d545b1e189d8291e0688f5331d8a977c3060ff /ivi-layermanagement-api/test | |
parent | 386e207692ed1fdf7ead7a88410578a7b16b6855 (diff) | |
download | wayland-ivi-extension-f15ae595973df478fbc4f3c61c3faad4d37ab798.tar.gz |
ilmControl,tests: remove ilm_layerSetPosition API
it is a unnecessary API. ilm_layerSetDestinationRectangle can be used instead.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Diffstat (limited to 'ivi-layermanagement-api/test')
-rw-r--r-- | ivi-layermanagement-api/test/ilm_control_notification_test.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ivi-layermanagement-api/test/ilm_control_notification_test.cpp b/ivi-layermanagement-api/test/ilm_control_notification_test.cpp index f501e61..f3ada3b 100644 --- a/ivi-layermanagement-api/test/ilm_control_notification_test.cpp +++ b/ivi-layermanagement-api/test/ilm_control_notification_test.cpp @@ -295,26 +295,6 @@ TEST_F(NotificationTest, ilm_surfaceAddNotificationWithoutCallback) ilm_commitChanges(); } -// ######### LAYERS -TEST_F(NotificationTest, NotifyOnLayerSetPosition) -{ - ASSERT_EQ(ILM_SUCCESS,ilm_layerAddNotification(layer,&LayerCallbackFunction)); - // change something - t_ilm_uint pos[] = { 7, 2 }; - ilm_layerSetPosition(layer,pos); - ilm_commitChanges(); - - // expect callback to have been called - assertCallbackcalled(); - - EXPECT_EQ(layer,callbackLayerId); - EXPECT_EQ(7u,LayerProperties.destX); - EXPECT_EQ(2u,LayerProperties.destY); - EXPECT_EQ(ILM_NOTIFICATION_DEST_RECT,mask); - - ASSERT_EQ(ILM_SUCCESS,ilm_layerRemoveNotification(layer)); -} - TEST_F(NotificationTest, NotifyOnLayerSetDestinationRectangle) { ASSERT_EQ(ILM_SUCCESS,ilm_layerAddNotification(layer,&LayerCallbackFunction)); |