BugFix: Correct return type for recently modified functions
authorRahul Singhal <rasinghal@nvidia.com>
Fri, 4 May 2012 05:23:48 +0000 (10:53 +0530)
committerMichael Schuldt <michael.schuldt@bmw.de>
Wed, 23 May 2012 08:58:33 +0000 (10:58 +0200)
This is needed to compile unit tests.

LayerManagerPlugins/Communicators/DBUSCommunicator/test/mock_Layerlist.h

index 90a8059..b1e8193 100644 (file)
@@ -28,8 +28,8 @@ class MockLayerList : public Scene {
   MOCK_METHOD1(createSurface, Surface*(unsigned int));
   MOCK_METHOD1(createLayerGroup, LayerGroup*(unsigned int));
   MOCK_METHOD1(createSurfaceGroup, SurfaceGroup*(unsigned int));
-  MOCK_METHOD1(removeLayer, void(Layer*));
-  MOCK_METHOD1(removeSurface, void(Surface*));
+  MOCK_METHOD1(removeLayer, bool(Layer*));
+  MOCK_METHOD1(removeSurface, bool(Surface*));
   MOCK_CONST_METHOD1(getLayer, Layer*(unsigned int));
   MOCK_CONST_METHOD1(getSurface, Surface*(unsigned int));
   MOCK_CONST_METHOD1(getSurfaceGroup, SurfaceGroup*(unsigned int));