ilmNotifyTests: reset callback IDs on SetUp()
authorMarcus Fritzsch <marcus.fritzsch@xse.de>
Thu, 3 Jul 2014 11:53:24 +0000 (13:53 +0200)
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Tue, 12 Aug 2014 13:15:09 +0000 (22:15 +0900)
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
ivi-layermanagement-api/test/ilm_control_notification_test.cpp

index c4a8fb5..a00153a 100644 (file)
@@ -92,6 +92,9 @@ public:
         ilm_surfaceCreate((t_ilm_nativehandle)wlSurfaces[0],10,10,ILM_PIXELFORMAT_RGBA_8888,&surface);
         ilm_commitChanges();
         timesCalled=0;
+
+        callbackLayerId = INVALID_ID;
+        callbackSurfaceId = INVALID_ID;
     }
 
     void TearDown()