GetProfileForArgsWithCommandline unit test is failing #16740

Open
opened 2026-01-31 05:21:21 +00:00 by claunia · 0 comments
Owner

Originally created by @j4james on GitHub (Feb 10, 2022).

Windows Terminal version

Commit 10c963a7db

Windows build number

10.0.19041.1415

Other Software

No response

Steps to reproduce

  1. Checkout the latest code.
  2. Build.
  3. Run the GetProfileForArgsWithCommandline unit test.

Expected Behavior

Test should pass.

Actual Behavior

Test fails with the following log:

StartGroup: SettingsModelLocalTests::TerminalSettingsTests::GetProfileForArgsWithCommandline
Verify: IsNotNull(profile)
Verify: AreEqual(expectedGUID, static_cast<const GUID&>(profile.Guid()))
Verify: IsNotNull(profile)
Error: Verify: AreEqual(expectedGUID, static_cast<const GUID&>(profile.Guid())) - Values ({6239A42C-1111-49A3-80BD-E8FDD045185C}, {6239A42C-0000-49A3-80BD-E8FDD045185C}) [File: C:\Users\James\CPP\terminal\src\cascadia\LocalTests_SettingsModel\TerminalSettingsTests.cpp, Function: SettingsModelLocalTests::TerminalSettingsTests::GetProfileForArgsWithCommandline, Line: 249]
EndGroup: SettingsModelLocalTests::TerminalSettingsTests::GetProfileForArgsWithCommandline [Failed]

I think this is a fairly recent break. I haven't done a bisect, but I'd guess it might have come from PR #12348, just based on the code involved.

Originally created by @j4james on GitHub (Feb 10, 2022). ### Windows Terminal version Commit 10c963a7dbdd0d9e71dd0596e96fa26ab88a76f5 ### Windows build number 10.0.19041.1415 ### Other Software _No response_ ### Steps to reproduce 1. Checkout the latest code. 2. Build. 3. Run the `GetProfileForArgsWithCommandline` unit test. ### Expected Behavior Test should pass. ### Actual Behavior Test fails with the following log: ``` StartGroup: SettingsModelLocalTests::TerminalSettingsTests::GetProfileForArgsWithCommandline Verify: IsNotNull(profile) Verify: AreEqual(expectedGUID, static_cast<const GUID&>(profile.Guid())) Verify: IsNotNull(profile) Error: Verify: AreEqual(expectedGUID, static_cast<const GUID&>(profile.Guid())) - Values ({6239A42C-1111-49A3-80BD-E8FDD045185C}, {6239A42C-0000-49A3-80BD-E8FDD045185C}) [File: C:\Users\James\CPP\terminal\src\cascadia\LocalTests_SettingsModel\TerminalSettingsTests.cpp, Function: SettingsModelLocalTests::TerminalSettingsTests::GetProfileForArgsWithCommandline, Line: 249] EndGroup: SettingsModelLocalTests::TerminalSettingsTests::GetProfileForArgsWithCommandline [Failed] ``` I think this is a fairly recent break. I haven't done a bisect, but I'd guess it might have come from PR #12348, just based on the code involved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16740