libcamera/test/controls
Mattijs Korpershoek 683c6da83f test: controls: control_info_map: Test default constructor
ControlInfoMap can be default-constructed. In that case, some of its
members (like idmap_) can be a nullptr, and ControlInfoMap.find() will segfault.

Add a test with a default constructed ControlInfoMap to cover this.

Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2023-04-20 10:54:12 +01:00
..
control_info.cpp test: controls: control_info: Test default def() values 2022-12-16 19:39:13 +02:00
control_info_map.cpp test: controls: control_info_map: Test default constructor 2023-04-20 10:54:12 +01:00
control_list.cpp test: control_list: Use get() to test for control presence 2022-07-20 13:25:02 +03:00
control_value.cpp test: controls: control_value: Test string control type 2020-03-20 16:47:45 +02:00
meson.build test: meson: Use dictionaries instead of arrays to store test information 2022-10-07 17:05:42 +03:00