test: camera: Use the CameraManager from the CameraTest base class

Make the camera manager a protected field of the CameraTest class, and
use it instead of CameraManager::instance() in the camera tests. This
prepares for the removal of CameraManager::instance().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
Laurent Pinchart
2019-08-19 19:06:50 +03:00
parent fd0087b5d8
commit 5ce4bb62e7
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -375,7 +375,7 @@ protected:
return TestFail;
}
EventDispatcher *dispatcher = CameraManager::instance()->eventDispatcher();
EventDispatcher *dispatcher = cm_->eventDispatcher();
Timer timer;
timer.start(5000);