terminal/src/cascadia/LocalTests_TerminalApp
Schuyler Rosefield 43297315ba
Add the ability to interact with subtrees of panes (#11153)
This commit adds the ability to interact with subtrees of panes. 

Have you ever thought that you don't have enough regression testing to
do? Boy do I have the PR for you! This breaks all kinds of assumptions
about what is or is not focused, largely complicated by the fact that a
pane is not a proper control. I did my best to cover as many cases as I
could, but I wouldn't be surprised if there are some things broken that
I am unaware of.

Done:
- Add `parent` and `child` movement directions to move up and down the
  tree respectively
- When a parent pane is selected it will have borders all around it in
  addition to any borders the children have.
- Fix focus, swap, split, zoom, toggle orientation, resize, and move to
  all handle interacting with more than one pane.
- Similarly the actions for font size changing, closing, read-only, clearing
   buffer, and changing color scheme will distribute to all children.
- This technically leaves control focus on the original control in the
  focused subtree because panes aren't proper controls themselves. This
  is also used to make sure we go back down the same path with the
  `child` movement.
- You can zoom a parent pane, and click between different zoomed
  sub-panes and it won't unzoom you until you use moveFocus or another
  action. This wasn't explicitly programmed behavior so it is probably
  buggy (I've quashed a couple at least). It is a natural consequence of
  showing multiple terminals and allowing you to focus a terminal and a
  parent separately, since changing the active pane directly does not
  unzoom. This also means there can be a disconnect between what pane is
  zoomed and what pane is active.

## Validation Steps Performed
Tested focus movement, swapping, moving panes, and zooming.

Closes #10733
2021-09-28 19:16:05 +00:00
..
TestHostApp Update to MUX 2.7 (#11240) 2021-09-20 22:08:55 +00:00
CommandlineTest.cpp Add the ability to split a pane and put the new pane first. (#11145) 2021-09-15 20:14:57 +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 Reduce usage of Json::Value throughout Terminal.Settings.Model (#11184) 2021-09-22 16:27:31 +00:00
TabTests.cpp Add the ability to interact with subtrees of panes (#11153) 2021-09-28 19:16:05 +00: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 Update to MUX 2.7 (#11240) 2021-09-20 22:08:55 +00:00