diff options
author | Nícolas F. R. A. Prado <nfraprado@collabora.com> | 2021-07-02 09:21:12 -0300 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-07-06 12:40:53 +0200 |
commit | e5c51e1fcf8cf5de6d5bce1da7a2b3d95019f06e (patch) | |
tree | 7cd8b1a54c7ee8462f888ab918472fba84aee2d1 /test/event-dispatcher.cpp | |
parent | 034e0e81a2884c456eb191753ffb023fb8107062 (diff) |
lc-compliance: Add Environment singleton
Add a singleton Environment class in order to make the camera available
inside all tests. This is needed for the Googletest refactor, otherwise
the tests, which are statically declared, won't be able to access the
camera.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/event-dispatcher.cpp')
0 files changed, 0 insertions, 0 deletions