********* Start testing of tst_QWindowCaptureBackend *********
Config: Using QtTest library 6.13.0, Qt 6.13.0 (arm64-little_endian-lp64 shared (dynamic) debug build; by Apple LLVM 16.0.0 (clang-1600.0.26.3)), macos 14.8.5
QINFO  : tst_QWindowCaptureBackend::initTestCase() qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version 7.1.3 LGPL version 2.1 or later
PASS   : tst_QWindowCaptureBackend::initTestCase()
PASS   : tst_QWindowCaptureBackend::isActive_returnsFalse_whenNotStarted()
PASS   : tst_QWindowCaptureBackend::window_isInvalid_whenNotSet()
PASS   : tst_QWindowCaptureBackend::error_isNoError_whenNotStarted()
PASS   : tst_QWindowCaptureBackend::windowCapture_returnsSession_whenAddedToSession()
PASS   : tst_QWindowCaptureBackend::capturableWindows_returnsOnlyValidWindows()
SKIP   : tst_QWindowCaptureBackend::capturableWindows_containsVisibleWindow() On macOS, windows without a bundle identifier are filtered out of capturableWindows(), so our test window never appears in the list
   Loc: [/Users/qt/work/qt/qtmultimedia/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp(173)]
PASS   : tst_QWindowCaptureBackend::capturableWindow_constructedFromWindow_canBeCaptured()
PASS   : tst_QWindowCaptureBackend::setActive_failsAndEmitsErrors_whenNoWindowSelected()
PASS   : tst_QWindowCaptureBackend::setActive_isNoOp_whenStoppingCaptureThatNeverStarted()
PASS   : tst_QWindowCaptureBackend::setActive_isNoOp_whenAlreadyActive()
PASS   : tst_QWindowCaptureBackend::setActive_startsWindowCapture_whenCalledWithTrue()
PASS   : tst_QWindowCaptureBackend::setActive_stopsWindowCapture_whenCalledWithFalse()
PASS   : tst_QWindowCaptureBackend::setActive_restartsWindowCapture_whenStartedAgainAfterStop()
PASS   : tst_QWindowCaptureBackend::setWindow_switchesSource_whileActive()
QWARN  : tst_QWindowCaptureBackend::setWindow_stopsCapture_whenSwitchedToInvalidWindow() Stopping grabber
PASS   : tst_QWindowCaptureBackend::setWindow_stopsCapture_whenSwitchedToInvalidWindow()
PASS   : tst_QWindowCaptureBackend::setWindow_updatesPropertyAndEmitsSignal_whenNotActive()
PASS   : tst_QWindowCaptureBackend::setFrameRate_updatesPropertyAndEmitsSignal()
PASS   : tst_QWindowCaptureBackend::setFrameRate_emitsFramesAtCorrectRate()
PASS   : tst_QWindowCaptureBackend::capturedImage_equals_imageFromGrab(small-window)
PASS   : tst_QWindowCaptureBackend::capturedImage_equals_imageFromGrab(big-window)
QWARN  : tst_QWindowCaptureBackend::capturedFrame_hasExpectedSize(small-window) qt.multimedia.screencapture.macscreencapturekit: Failed to start screen capture stream: "SCContentFilter contentRect reported as zero size"
QWARN  : tst_QWindowCaptureBackend::capturedFrame_hasExpectedSize(small-window) Stopping grabber
FAIL!  : tst_QWindowCaptureBackend::capturedFrame_hasExpectedSize(small-window) 'fixture.m_capture.isActive()' returned FALSE. ()
   Loc: [/Users/qt/work/qt/qtmultimedia/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp(554)]
PASS   : tst_QWindowCaptureBackend::capturedFrame_hasExpectedSize(big-window)
PASS   : tst_QWindowCaptureBackend::capturedFrame_hasNewSize_whenWindowResizedOnce()
FAIL!  : tst_QWindowCaptureBackend::capturedFrame_hasNewSize_whenWindowResized(shrink by 1) 'matched' returned FALSE. (Resized window to 197x147 (step 2): expected captured frame 197x147, but after 4 frame(s) the last one was 394x294)
   Loc: [/Users/qt/work/qt/qtmultimedia/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp(85)]
FAIL!  : tst_QWindowCaptureBackend::capturedFrame_hasNewSize_whenWindowResized(shrink by 2) 'matched' returned FALSE. (Resized window to 196x146 (step 1): expected captured frame 196x146, but after 4 frame(s) the last one was 392x292)
   Loc: [/Users/qt/work/qt/qtmultimedia/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp(85)]
PASS   : tst_QWindowCaptureBackend::capturedFrame_hasNewSize_whenWindowResized(grow by 1)
PASS   : tst_QWindowCaptureBackend::capturedFrame_hasNewSize_whenWindowResized(grow by 2)
PASS   : tst_QWindowCaptureBackend::capturedImage_changes_whenWindowContentChanges()
SKIP   : tst_QWindowCaptureBackend::sequenceOfCapturedImages_compareEqual_whenWindowContentIsUnchanged() The macOS ScreenCaptureKit backend will often not emit new frames if content is unchanged
   Loc: [/Users/qt/work/qt/qtmultimedia/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp(705)]
QINFO  : tst_QWindowCaptureBackend::recorder_encodesFrames_toValidMediaFile(small-window) qt.multimedia.ffmpeg.encoder: Recording new media with muxer MP4 (MPEG-4 Part 14) to "/var/folders/2j/kn37v38x7vzggzf1hxn91pc80000gn/T/tst_qwindowcapturebackend-CfWQYX/test.mp4" with format: QMediaFormat::MPEG4, QMediaFormat::AudioCodec::AAC, QMediaFormat::VideoCodec::H265
PASS   : tst_QWindowCaptureBackend::recorder_encodesFrames_toValidMediaFile(small-window)
QINFO  : tst_QWindowCaptureBackend::recorder_encodesFrames_toValidMediaFile(big-window) qt.multimedia.ffmpeg.encoder: Recording new media with muxer MP4 (MPEG-4 Part 14) to "/var/folders/2j/kn37v38x7vzggzf1hxn91pc80000gn/T/tst_qwindowcapturebackend-gTJbTD/test.mp4" with format: QMediaFormat::MPEG4, QMediaFormat::AudioCodec::AAC, QMediaFormat::VideoCodec::H265
PASS   : tst_QWindowCaptureBackend::recorder_encodesFrames_toValidMediaFile(big-window)
QINFO  : tst_QWindowCaptureBackend::recorder_encodesFrames_toValidMediaFile_whenWindowResizes(shrink) qt.multimedia.ffmpeg.encoder: Recording new media with muxer MP4 (MPEG-4 Part 14) to "/var/folders/2j/kn37v38x7vzggzf1hxn91pc80000gn/T/tst_qwindowcapturebackend-XQKyPa/test.mp4" with format: QMediaFormat::MPEG4, QMediaFormat::AudioCodec::AAC, QMediaFormat::VideoCodec::H265
PASS   : tst_QWindowCaptureBackend::recorder_encodesFrames_toValidMediaFile_whenWindowResizes(shrink)
QINFO  : tst_QWindowCaptureBackend::recorder_encodesFrames_toValidMediaFile_whenWindowResizes(grow) qt.multimedia.ffmpeg.encoder: Recording new media with muxer MP4 (MPEG-4 Part 14) to "/var/folders/2j/kn37v38x7vzggzf1hxn91pc80000gn/T/tst_qwindowcapturebackend-VVcOyk/test.mp4" with format: QMediaFormat::MPEG4, QMediaFormat::AudioCodec::AAC, QMediaFormat::VideoCodec::H265
PASS   : tst_QWindowCaptureBackend::recorder_encodesFrames_toValidMediaFile_whenWindowResizes(grow)
SKIP   : tst_QWindowCaptureBackend::windowCapture_capturesWindowsInOtherProcesses() Separate process tests do not work on macOS because they are launched without bundle identifiers
   Loc: [/Users/qt/work/qt/qtmultimedia/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp(791)]
SKIP   : tst_QWindowCaptureBackend::windowCapture_stopsWithError_whenProcessCloses() Separate process tests do not work on macOS because they are launched without bundle identifiers
   Loc: [/Users/qt/work/qt/qtmultimedia/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp(814)]
PASS   : tst_QWindowCaptureBackend::cleanupTestCase()
Totals: 30 passed, 3 failed, 4 skipped, 0 blacklisted, 147297ms
********* Finished testing of tst_QWindowCaptureBackend *********
