summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus.fritzsch@xse.de>2014-07-28 09:56:19 +0200
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>2014-08-12 22:15:12 +0900
commit245733a685ec7c96af5d6106b468ec6c4fc5e1c4 (patch)
tree7b71a2f927ba43eeb12a09abf8ab1d87c2d1a74f
parent8265021aebe5e694b79e8dcd6fe55c0f911cb5ed (diff)
downloadwayland-ivi-extension-245733a685ec7c96af5d6106b468ec6c4fc5e1c4.tar.gz
notifyTests: expect the correct number of calls
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
-rw-r--r--ivi-layermanagement-api/test/ilm_control_notification_test.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ivi-layermanagement-api/test/ilm_control_notification_test.cpp b/ivi-layermanagement-api/test/ilm_control_notification_test.cpp
index 3ea4764..1aa36a3 100644
--- a/ivi-layermanagement-api/test/ilm_control_notification_test.cpp
+++ b/ivi-layermanagement-api/test/ilm_control_notification_test.cpp
@@ -441,7 +441,7 @@ TEST_F(NotificationTest, NotifyOnLayerMultipleValues1)
ilm_commitChanges();
// expect callback to have been called
- assertCallbackcalled();
+ assertCallbackcalled(2);
EXPECT_EQ(layer,callbackLayerId);
EXPECT_EQ(33u,LayerProperties.sourceX);
@@ -465,7 +465,7 @@ TEST_F(NotificationTest, NotifyOnLayerMultipleValues2)
ilm_commitChanges();
// expect callback to have been called
- assertCallbackcalled();
+ assertCallbackcalled(3);
EXPECT_EQ(layer,callbackLayerId);
EXPECT_TRUE(LayerProperties.visibility);
@@ -492,7 +492,7 @@ TEST_F(NotificationTest, NotifyOnLayerAllValues)
ilm_commitChanges();
// expect callback to have been called
- assertCallbackcalled();
+ assertCallbackcalled(5);
EXPECT_EQ(layer,callbackLayerId);
EXPECT_EQ(33u,LayerProperties.sourceX);
@@ -729,7 +729,7 @@ TEST_F(NotificationTest, NotifyOnSurfaceMultipleValues1)
ilm_commitChanges();
// expect callback to have been called
- assertCallbackcalled();
+ assertCallbackcalled(2);
EXPECT_EQ(surface,callbackSurfaceId);
EXPECT_EQ(33u,SurfaceProperties.sourceX);
@@ -753,7 +753,7 @@ TEST_F(NotificationTest, NotifyOnSurfaceMultipleValues2)
ilm_commitChanges();
// expect callback to have been called
- assertCallbackcalled();
+ assertCallbackcalled(3);
EXPECT_EQ(surface,callbackSurfaceId);
EXPECT_TRUE(SurfaceProperties.visibility);
@@ -780,7 +780,7 @@ TEST_F(NotificationTest, NotifyOnSurfaceAllValues)
ilm_commitChanges();
// expect callback to have been called
- assertCallbackcalled();
+ assertCallbackcalled(5);
EXPECT_EQ(surface,callbackSurfaceId);
EXPECT_EQ(33u,SurfaceProperties.sourceX);