Skip to content

tests: add NSSegmentedCell tests#496

Open
DTW-Thalion wants to merge 1 commit into
gnustep:masterfrom
DTW-Thalion:tests/nssegmentedcell-model
Open

tests: add NSSegmentedCell tests#496
DTW-Thalion wants to merge 1 commit into
gnustep:masterfrom
DTW-Thalion:tests/nssegmentedcell-model

Conversation

@DTW-Thalion

Copy link
Copy Markdown
Contributor

NSSegmentedCell had no tests. This covers the model: the defaults, the
segment count, the per-segment label, width, enabled, tag and tool tip
accessors, the single-selection tracking (selecting a segment moves the
selection and deselects the previous one), selection by tag, shrinking
the count, and the segment style. The asserted behaviours were checked
against a macOS runner. No source changes; all assertions pass.

@DTW-Thalion DTW-Thalion requested a review from fredkiefer as a code owner July 12, 2026 18:39
@DTW-Thalion DTW-Thalion force-pushed the tests/nssegmentedcell-model branch from ee5e279 to d6de218 Compare July 12, 2026 20:41
Cover the defaults, the segment count, the per-segment label, width,
enabled, tag and tool tip accessors, the single-selection tracking,
selection by tag, and the segment style.
@DTW-Thalion DTW-Thalion force-pushed the tests/nssegmentedcell-model branch from d6de218 to 38a6770 Compare July 12, 2026 20:49
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