Skip to content

test: characterize the obs-service lifecycle and references (#1920) - #1921

Merged
zackees merged 1 commit into
masterfrom
test/1920-service-lifecycle
Oct 23, 2026
Merged

zackees merged 1 commit into
masterfrom
test/1920-service-lifecycle

Conversation

@zackees

@zackees zackees commented Oct 23, 2026

Copy link
Copy Markdown
Member

Refs #1920 (#1846 unit 8, slice 3). Tier 2 characterization before the port, like #1901 and #1914.

test/cmocka/test_service_lifecycle.c pins, through the public API: create (public, listed by name) and create_private (not listed), unknown ids, a plugin create() that returns NULL (service still returned, destroy not called; characterized, not endorsed), settings kept, strong refs (get_ref, last release destroys), weak refs (references_service, outliving the service, NULL afterwards), obs_service_get_module / obs_service_load_state for a type registered outside any module, and every NULL case. The internal activate/deactivate/initialize calls have no public entry and are left to the port's Rust tests.

Same xvfb-run group setup as the other service tests. Characterization of existing behaviour, so no RED/GREEN pair. Not user-visible, no features.md line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant