TestLib: Move FrameGrabber from tst_qwindowcapturebackend
This patch moves FrameGrabber and VideoFrameInfo out of the window
capture test and into the shared test library, so that the screen
capture test can use them too.
The grabber waits using the window test's global timeout, so that is
moved along with it, and renamed to surfaceCaptureTestTimeout() to
reflect that it is specific to surface capture tests.
No functional change.
Pick-to: 6.12
Change-Id: I39da35617a7e5627c7a115bb1759021022847626
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
| commit | 30040d1827f6a585093ded7e996c67f62b350774 |
| parent | e21a3d530a803f9ad5a7f5477465c4baf9d645e6 |
| author | Nils Petter Skålerud <nils.petter.skalerud@qt.io> |
| committer | Nils Petter Skålerud <nils.petter.skalerud@qt.io> |
| commit time | Fri, 9 Oct 2026 07:33:13 +0000 |
- M src/multimediatestlib/CMakeLists.txt
- R088 tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend_grabber.cpp
- R080 tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend_grabber.h
- M tests/auto/integration/qwindowcapturebackend/CMakeLists.txt
- M tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp
- M tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend_fixture.cpp
- M tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend_fixture.h
- M tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend_widget.cpp