test: Add tests for the Flags class

Add tests that exercise the whole API of the Flags class.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
Laurent Pinchart 2020-07-13 01:53:24 +03:00
parent 87c18aab8c
commit f7c6b1228b
2 changed files with 194 additions and 0 deletions

View file

@ -40,6 +40,7 @@ internal_tests = [
['event-thread', 'event-thread.cpp'],
['file', 'file.cpp'],
['file-descriptor', 'file-descriptor.cpp'],
['flags', 'flags.cpp'],
['hotplug-cameras', 'hotplug-cameras.cpp'],
['mapped-buffer', 'mapped-buffer.cpp'],
['message', 'message.cpp'],