libcamera/test
Laurent Pinchart b6d93f9772 test: signal: Add additional disconnection tests for Object
Add two tests that exercise the Signal::disconnect(Object *) and
Signal::disconnect() methods, to verify that they correctly remove the
signal from the connected object's list of signals. This triggers an
issue that was detected through manual code inspection, and is expected
to crash or at least generate valgrind warnings.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
2020-01-22 17:26:20 +02:00
..
camera test: buffer_import: Propagate status code from buffer allocation 2020-01-20 13:35:55 +02:00
controls test: controls: control_list: Add status check 2019-11-25 09:54:41 +01:00
ipa libcamera: Switch from utils::make_unique to std::make_unique 2020-01-14 19:06:40 +02:00
ipc test: Get event dispatcher from current thread 2019-08-19 19:06:37 +03:00
libtest test: Extract CameraTest class out of camera tests to libtest 2019-11-20 21:47:20 +02:00
log test: Get event dispatcher from current thread 2019-08-19 19:06:37 +03:00
media_device libcamera: Remove space between empty curly brackets 2019-11-18 02:27:48 +02:00
pipeline rkisp1: add pipeline test for rkisp1 2020-01-13 22:45:46 +00:00
process test: process: Extend timeout duration 2019-09-13 09:21:40 +01:00
serialization test: Add control serialization test 2019-11-20 21:47:54 +02:00
stream test: Allow self-contained tests to run in parallel 2019-07-04 16:42:08 +02:00
v4l2_subdevice libcamera: Remove unneeded semicolons 2019-11-08 20:37:47 +02:00
v4l2_videodevice libcamera: v4l2_videodevice: Remove Buffer interface 2020-01-12 16:10:38 +01:00
byte-stream-buffer.cpp test: Add ByteStreamBuffer test 2019-11-20 21:47:50 +02:00
camera-sensor.cpp libcamera: utils: Add hex stream output helper 2019-10-15 16:49:55 +03:00
event-dispatcher.cpp libcamera: Switch to the std::chrono API 2019-09-14 15:05:45 +03:00
event-thread.cpp test: event-thread: Fix compilation on Chromium OS 2019-08-19 19:06:37 +03:00
event.cpp test: Get event dispatcher from current thread 2019-08-19 19:06:37 +03:00
file-descriptor.cpp test: file_descriptor: Add test 2020-01-12 16:10:37 +01:00
geometry.cpp test: geometry: Add tests for Size class comparison operators 2019-04-18 18:13:10 +03:00
list-cameras.cpp libcamera: camera_manager: Construct CameraManager instances manually 2019-08-19 19:07:45 +03:00
meson.build test: file_descriptor: Add test 2020-01-12 16:10:37 +01:00
message.cpp libcamera: Switch from utils::make_unique to std::make_unique 2020-01-14 19:06:40 +02:00
object-invoke.cpp libcamera: bound_method: Avoid deadlock with ConnectionTypeBlocking 2020-01-20 19:12:14 +02:00
object.cpp test: object: Extend object test to verify parent-child relationships 2019-08-17 18:47:17 +03:00
signal-threads.cpp test: Add test case for signal delivery across threads 2019-07-11 11:57:37 +03:00
signal.cpp test: signal: Add additional disconnection tests for Object 2020-01-22 17:26:20 +02:00
threads.cpp test: Add Thread test cases 2019-07-11 11:57:37 +03:00
timer-thread.cpp test: timer-thread: Test starting a timer from another thread 2019-10-07 06:02:24 +03:00
timer.cpp test: timer: Test start() with absolute deadline 2019-10-07 06:20:16 +03:00
utils.cpp libcamera: utils: Add hex stream output helper 2019-10-15 16:49:55 +03:00