terminal/src/cascadia/LocalTests_TerminalApp
Dustin L. Howett f6f5598c9c
Rely more on profile objects and less on GUIDs (#10982)
Right now, we store GUIDs in panes and most of the functions for interacting
with profiles on the settings model take GUIDs and look up profiles.

This pull request changes how we store and look up profiles to prefer profile
objects. Panes store strong references to their originating profiles, which
simplifies settings lookup for CloseOnExit and the bell settings. In fact,
deleting a pane's profile no longer causes it to forget which CloseOnExit
setting applies to it. Duplicating a pane that is hosting a deleted profile
(#5047) now duplicates the profile, even though it is otherwise unreachable.

This makes the world more consistent and allows us to _eventually_ support panes
hosting profiles that do not have GUIDs that can be looked up in the profile
list. This is a gateway to #6776 and #10669, and consolidating the profile
lookup logic will help with #10952.

PR #10588 introduced TerminalSettings::CreateWithProfile and made
...CreateWithProfileByID a thin wrapper over top it, which looked up the profile
by GUID before proceeding. It has also been removed, as its last caller is gone.

Closes #5047
2021-08-23 12:11:53 -05:00
..
TestHostApp Upgrade to Microsoft.UI.Xaml 2.6.2 (or equivalent) (#10996) 2021-08-20 20:41:03 +00:00
CommandlineTest.cpp Move Pane to Tab (GH7075) (#10780) 2021-08-12 16:41:17 +00:00
CppWinrtTailored.h Fix a bunch of spelling errors across the project (#4295) 2020-02-10 20:40:01 +00:00
FilteredCommandTests.cpp Rename Microsoft.Terminal.TerminalControl to .Control; Split into dll & lib (#9472) 2021-03-17 20:47:24 +00:00
LocalTests_TerminalApp.def Fix the TabTests! (#3833) 2019-12-06 20:45:08 +00:00
pch.cpp Fix the TabTests! (#3833) 2019-12-06 20:45:08 +00:00
pch.h Add support for renaming windows (#9662) 2021-04-02 16:00:04 +00:00
SettingsTests.cpp Introduce ActionMap to Terminal Settings Model (#9621) 2021-05-04 21:50:13 -07:00
TabTests.cpp Rely more on profile objects and less on GUIDs (#10982) 2021-08-23 12:11:53 -05:00
TerminalApp.LocalTests.AppxManifest.prototype.xml Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
TerminalApp.LocalTests.manifest Restore embedded manifests to say 18362 (#10370) 2021-06-09 16:23:26 +00:00
TerminalApp.LocalTests.vcxproj Upgrade to Microsoft.UI.Xaml 2.6.2 (or equivalent) (#10996) 2021-08-20 20:41:03 +00:00