[PR #9209] [MERGED] Fix FilteredCommand tests to run on UI thread #27474

Open
opened 2026-01-31 09:22:11 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/9209
Author: @Don-Vito
Created: 2/18/2021
Status: Merged
Merged: 2/19/2021
Merged by: @undefined

Base: mainHead: fix-filtered-command-tests-uithread


📝 Commits (1)

  • 59c4414 Fix FilteredCommand tests to run on UI thread

📊 Changes

1 file changed (+187 additions, -170 deletions)

View changed files

📝 src/cascadia/LocalTests_TerminalApp/FilteredCommandTests.cpp (+187 -170)

📄 Description

Fixes exception in FilteredCommandTests, caused due to
an attempt to instantiate PropertyChangedEventArgs on non-UI thread.

Though the diff might look scary it is just wrapping with RunOnUIThread


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/9209 **Author:** [@Don-Vito](https://github.com/Don-Vito) **Created:** 2/18/2021 **Status:** ✅ Merged **Merged:** 2/19/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `fix-filtered-command-tests-uithread` --- ### 📝 Commits (1) - [`59c4414`](https://github.com/microsoft/terminal/commit/59c44140cb3e5e96e70978ee92a6fd99a6a88a37) Fix FilteredCommand tests to run on UI thread ### 📊 Changes **1 file changed** (+187 additions, -170 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/LocalTests_TerminalApp/FilteredCommandTests.cpp` (+187 -170) </details> ### 📄 Description Fixes exception in FilteredCommandTests, caused due to an attempt to instantiate PropertyChangedEventArgs on non-UI thread. Though the diff might look scary it is just wrapping with `RunOnUIThread` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:22:11 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27474