Skip to content

Conversation

@lhecker
Copy link
Member

@lhecker lhecker commented Oct 1, 2021

This commit fixes various failing TestHostApp unit tests.
Most of these broke as part of 168d28b (#11184).

PR Checklist

@ghost ghost added Area-Settings Issues related to settings and customizability, for console or terminal Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Meta The product is the management of the products. labels Oct 1, 2021
@lhecker lhecker force-pushed the dev/lhecker/fix-unit-tests branch from 2f9b381 to d64ba9e Compare October 1, 2021 22:09
Comment on lines +1052 to +1054
VERIFY_IS_NOT_NULL(actionAndArgs.Args());
const auto myArgs = actionAndArgs.Args().as<PrevTabArgs>();
VERIFY_ARE_EQUAL(TabSwitcherMode::Disabled, myArgs.SwitcherMode().Value());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well at least 2 out of 14 failing tests weren't broken by me. That's something. 😄

Comment on lines +19 to +42
static constexpr std::wstring_view inboxSettings{ LR"({
"schemes": [{
"name": "Campbell",
"foreground": "#CCCCCC",
"background": "#0C0C0C",
"cursorColor": "#FFFFFF",
"black": "#0C0C0C",
"red": "#C50F1F",
"green": "#13A10E",
"yellow": "#C19C00",
"blue": "#0037DA",
"purple": "#881798",
"cyan": "#3A96DD",
"white": "#CCCCCC",
"brightBlack": "#767676",
"brightRed": "#E74856",
"brightGreen": "#16C60C",
"brightYellow": "#F9F1A5",
"brightBlue": "#3B78FF",
"brightPurple": "#B4009E",
"brightCyan": "#61D6D6",
"brightWhite": "#F2F2F2"
}]
})" };
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nowadays CascadiaSettings enforces strict ColorScheme tests as part of its constructor.


"useAcrylic": false,
"acrylicOpacity": 0.5,
"opacity": 50,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

welp that on me

@zadjii-msft zadjii-msft added the Needs-Second It's a PR that needs another sign-off label Oct 4, 2021
@DHowett DHowett added the AutoMerge Marked for automatic merge by the bot when requirements are met label Oct 5, 2021
@ghost
Copy link

ghost commented Oct 5, 2021

Hello @DHowett!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 0b552e1 into main Oct 5, 2021
@ghost ghost deleted the dev/lhecker/fix-unit-tests branch October 5, 2021 18:21
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Settings Issues related to settings and customizability, for console or terminal AutoMerge Marked for automatic merge by the bot when requirements are met Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Second It's a PR that needs another sign-off Product-Meta The product is the management of the products.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple failing unit tests

5 participants