Skip to content

test: cover TokenizingTextBox multi-item collection changes - #877

Open
osmanilcektu wants to merge 2 commits into
CommunityToolkit:mainfrom
osmanilcektu:tests/tokenizing-range-collection-changes
Open

test: cover TokenizingTextBox multi-item collection changes#877
osmanilcektu wants to merge 2 commits into
CommunityToolkit:mainfrom
osmanilcektu:tests/tokenizing-range-collection-changes

Conversation

@osmanilcektu

Copy link
Copy Markdown

Addresses part of #298.

This adds regression coverage for TokenizingTextBox when its ItemsSource raises multi-item NotifyCollectionChanged events.

Covered scenarios:

  • adding multiple items in a single Add notification
  • removing multiple items in a single Remove notification
  • preserving the projected TokenizingTextBox item ordering around its interspersed editor item

The production implementation is unchanged; this PR only adds focused test coverage for the existing InterspersedObservableCollection behavior.

@osmanilcektu

Copy link
Copy Markdown
Author

@dotnet-policy-service agree

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant