Skip to content

tests: add NSObjectController tests#512

Merged
fredkiefer merged 2 commits into
gnustep:masterfrom
DTW-Thalion:tests/nsobjectcontroller
Jul 14, 2026
Merged

tests: add NSObjectController tests#512
fredkiefer merged 2 commits into
gnustep:masterfrom
DTW-Thalion:tests/nsobjectcontroller

Conversation

@DTW-Thalion

Copy link
Copy Markdown
Contributor

Coverage for NSObjectController: the defaults (no content, NSMutableDictionary object class, editable, does not auto-prepare, empty selection), newObject, the content and selectedObjects round-trip, initWithContent:, add:/remove:, and how the editable flag gates canAdd and canRemove.

Checked against Cocoa on macOS; all match, so this is tests only. (The selection proxy object is not covered, since it differs by design.)

Cover the defaults, newObject, the content and selected objects round
trip, add: and remove:, and how the editable flag gates canAdd and
canRemove.
@DTW-Thalion DTW-Thalion requested a review from fredkiefer as a code owner July 13, 2026 01:18
@fredkiefer fredkiefer merged commit 2f1f1e8 into gnustep:master Jul 14, 2026
3 checks passed
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.

2 participants