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:
parent
fd0087b5d8
commit
5ce4bb62e7
3 changed files with 3 additions and 5 deletions
|
@ -120,7 +120,7 @@ protected:
|
|||
}
|
||||
}
|
||||
|
||||
EventDispatcher *dispatcher = CameraManager::instance()->eventDispatcher();
|
||||
EventDispatcher *dispatcher = cm_->eventDispatcher();
|
||||
|
||||
Timer timer;
|
||||
timer.start(1000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue