Repository navigation
test: characterize obs-view before the Rust port (#1933) - #1934
Merged
Merged
Conversation
Member
Author
|
Coordinator: Tier 2 Linux fails in both the tests ON and tests OFF jobs, and it's the new test, not a flake:
|
…jected registration (#1933)
This was referenced Oct 23, 2026
This was referenced Oct 23, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #1933. Tier 2 characterization of
libobs/obs-view.c.hbefore the port.test/cmocka/test_view.cpins, through the public API: create/destroy (all channels empty), set/get (an aux view shows but does not activate; the view holds its own ref), replace and clear (the old source is hidden and released; the same source in two channels shows twice), the NULL cases, render dropping a removed source (characterized, not endorsed: it releases the ref without deactivating, so the source stays "showing"), and add/enum/remove with no video reset (no mix, no callbacks). Out-of-range channels are checked only in NDEBUG builds, since the C asserts first.No graphics device is created: the test never renders a live source or creates a mix. Source destruction runs on libobs's destruction thread, so each destroy count waits on
obs_wait_for_destroy_queue(). Same xvfb-run group setup as the service tests. Characterization of existing behaviour, so no RED/GREEN pair; not user-visible.