diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-19 04:39:01 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-22 17:26:20 +0200 |
commit | b6d93f977239d293bfe0eb7b8fca1c12ff9e18d2 (patch) | |
tree | 96177c2d5dfe789db98ecea268e3941e5fee3ea6 /test/v4l2_videodevice/formats.cpp | |
parent | 0228e9c927351d483fe696e5ca6eea9c2b2cbc87 (diff) |
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>
Diffstat (limited to 'test/v4l2_videodevice/formats.cpp')
0 files changed, 0 insertions, 0 deletions