QML, CaptureSession: Add unit tests for assigning capture objects
This patch adds some of the initial unit tests for the CaptureSession
QML bindings. For now, they mostly focus on making sure we can assign
the relevant properties and raises the relevant signals. Additionally,
they include a few extra cases only for ScreenCapture and WindowCapture
for now, allowing us to experiment with refactoring the implementation
for these bindings.
Pick-to: 6.12
Change-Id: I2e13690dd78d241153672c93fad9fcdd1f221b2c
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>