test(libSceVideoOut): cover sceVideoOutSetFlipMaster and sceVideoOutClearFlipMaster #8784
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8784"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by al3w0f205 on 2026-10-21T00:28:30Z.
What
Adds test coverage in
GuestVideoOutCursor.cppfor unimplemented flip master functions:sceVideoOutSetFlipMasterreports that it is not implemented (std::runtime_error).sceVideoOutClearFlipMasterreports that it is not implemented (std::runtime_error).Tested
python tools/check_conventions.py --base origin/maincleanly (0 errors).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-21T00:37:47Z.
Review: APPROVED
Reviewed exact head
4e9d5c99465a291953a258aabcab30d48155d792. The test adds declarations and checks for the two existingNotImplemented_nid_no_patchstubs; it changes no production behavior or test registration. I compiled the exact changed test source with Linux GCC C++20,-Wall -Wextra -Wpedantic -Werror, and the repository include path successfully.python3 tools/check_conventions.py --base upstream/main --head upstream/pr-8784passes. Hosted eligibility, conventions, intake and labels pass; full Linux/Windows build jobs are skipped by path policy, so this is a compile-only local check, not a runtime test.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T06:50:28Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/tests/GuestVideoOutCursor.cppImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-21T19:09:13Z.
@al3w0f205 thanks for this one.
I'm keeping tests to real behaviour and argument validation, not asserting that a not-yet-implemented call throws, since that kind of test breaks the moment someone implements the function (same as we settled in #6058).
In
core/libs/tests/GuestVideoOutCursor.cpp(main), please drop:passed = ReportsNotImplemented("sceVideoOutSetFlipMaster", ...)passed = ReportsNotImplemented("sceVideoOutClearFlipMaster", ...)and their two declarations. Both functions are still stubs.
Every assertion this PR adds is of that kind, so once they're dropped nothing is left. You could swap in tests for real behaviour or argument checks in this module instead, or close it if you'd rather.
Pull request closed