Files
external_libcamera/test/yaml-parser.cpp
Laurent Pinchart 90906ba7fb test: yaml-parser: Test YamlObject::get(const T &defaultValue)
When the YamlObject::get() function override that returns a
std::optional got introduced, all tests were moved to it, leaving no
tests for the override that takes a default value. Reintroduce those
tests.

Reported-by: Florian Sylvestre <fsylvestre@baylibre.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2022-08-01 19:39:12 +03:00

13 KiB