Skip to content

CFRunLoop: add tests for observer, timer and source accessors - #139

Open
DTW-Thalion wants to merge 2 commits into
gnustep:masterfrom
DTW-Thalion:tests/cfrunloop-accessors
Open

CFRunLoop: add tests for observer, timer and source accessors#139
DTW-Thalion wants to merge 2 commits into
gnustep:masterfrom
DTW-Thalion:tests/cfrunloop-accessors

Conversation

@DTW-Thalion

Copy link
Copy Markdown
Contributor

Adds tests for the deterministic CFRunLoop object accessors, which had no coverage for observers and only creation/invalidation for timers and sources.

Tests/CFRunLoop/observer.m covers CFRunLoopObserverCreate and the activities, repeat, order and context accessors.

Tests/CFRunLoop/timer_accessors.m covers the fire date, interval, order, repeat flag, context and validity of a timer.

Tests/CFRunLoop/source_accessors.m covers the order, context and validity of a source.

All assertions were verified against Apple CoreFoundation.

Cover the run-loop observer, timer and source object accessors: the
activities, repeat flag, order, interval, fire date, context and validity.
@DTW-Thalion
DTW-Thalion force-pushed the tests/cfrunloop-accessors branch from 5d55312 to 47b7078 Compare July 24, 2026 15:22
@DTW-Thalion DTW-Thalion reopened this Jul 24, 2026
@DTW-Thalion DTW-Thalion reopened this Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant