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>
commitf7868c3e2ef5ddef94c2569db3a173dbe6448618
parentcca96547c93cae26434a97985a88ee6fbf67af63
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeWed, 26 Aug 2026 06:27:04 +0000