test(libSceGameLiveStreaming): assert runtime error on unimplemented streaming stubs #9126
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9126"
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-21T12:42:08Z.
What
Adds test coverage for unimplemented \libSceGameLiveStreaming\ stubs in \core/libs/tests/GuestGameLiveStreaming.cpp:
Tested
Checklist
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T12:52:55Z.
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/GuestGameLiveStreaming.cppcore/libs/tests/GuestGameLiveStreaming.cppImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-21T19:09:27Z.
@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/GuestGameLiveStreaming.cpp(main), please drop the newfor (auto call : {...})loop withRequire(threw);over ScreenInitialize, ScreenTerminate, PermitLiveStreaming, SetMaxBitrate and EnableLiveStreaming, plus those declarations and the<initializer_list>include. All five 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