********* 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 8.1.2 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(120)]
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()
QWARN  : tst_QWindowCaptureBackend::setWindow_switchesSource_whileActive() qt.multimedia.screencapture.macscreencapturekit: Failed to start screen capture stream: "SCContentFilter contentRect reported as zero size"
QWARN  : tst_QWindowCaptureBackend::setWindow_switchesSource_whileActive() Stopping grabber
FAIL!  : tst_QWindowCaptureBackend::setWindow_switchesSource_whileActive() 'fixture.waitForFrame().isValid()' returned FALSE. ()
   Loc: [/Users/qt/work/qt/qtmultimedia/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp(294)]
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)
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(524)]
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-RPQQoN/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-OFEjJk/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-KSdbJu/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-omHjpb/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(610)]
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(633)]
PASS   : tst_QWindowCaptureBackend::cleanupTestCase()
Totals: 25 passed, 1 failed, 4 skipped, 0 blacklisted, 24621ms
********* Finished testing of tst_QWindowCaptureBackend *********
