47 references to SourceTrustWarning
aspire (1)
Utils\ConsoleHelpers.cs (1)
136interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, $"[yellow]{SharedCommandStrings.SourceTrustWarning.EscapeMarkup()}[/]", allowMarkup: true, consoleOverride: ConsoleOutput.Error);
Aspire.Cli.Tests (46)
Commands\AddCommandTests.cs (4)
224Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", message.Message); 3389message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"); 3437message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"); 3620message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]");
Commands\AgentInitCommandTests.cs (2)
296Assert.Equal([AgentCommandStrings.InitCommand_SkillSourcesExplanation, $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"], 300Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", warning.Message);
Commands\ConfigSourceCommandTests.cs (2)
387$"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", 1207message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]");
Commands\NewCommandLocalTemplateTests.ConfiguredGitSourceObjects.cs (5)
119Assert.Equal([NewCommandStrings.TemplateSourceExplanation, $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"], 200Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", warning.Message); 248Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", warning.Message); 298Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", warning.Message); 396Assert.Equal([NewCommandStrings.TemplateSourceExplanation, $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"],
Commands\NewCommandLocalTemplateTests.ConfiguredGitSources.cs (5)
100[NewCommandStrings.TemplateSourceExplanation, $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", 153message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]").ToArray(); 354Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", warning.Message); 414Assert.Equal([NewCommandStrings.TemplateSourceExplanation, $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"], 649Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", messages[1].Message);
Commands\NewCommandLocalTemplateTests.ConfiguredSources.cs (5)
35Assert.Equal([NewCommandStrings.TemplateSourceExplanation, $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"], 252Assert.Equal([NewCommandStrings.TemplateSourceExplanation, $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"], 272Assert.Equal([NewCommandStrings.TemplateSourceExplanation, $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"], 300message => Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", message.Message), 411Assert.Equal([NewCommandStrings.TemplateSourceExplanation, $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"],
Commands\NewCommandLocalTemplateTests.SourceListGit.cs (2)
231message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"); 271message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]");
Commands\NewCommandLocalTemplateTests.SourceManagement.cs (3)
40message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]")); 71Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", warning.Message); 113Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", warning.Message);
Commands\NewCommandTests.cs (2)
1414message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"); 1432message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]");
Configuration\ConfigSourceServiceTests.cs (9)
48message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"); 50Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", warning.Message); 76message => Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", message.Message), 1019message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"); 1028message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"); 1043$"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]" 1061message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"); 1763message => Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", message.Message), 2115Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", message.Message);
Interaction\ConsoleInteractionServiceTests.cs (4)
1588? $"\u001b[91m\U0001F6A8\u001b[0m \u001b[93m{SharedCommandStrings.SourceTrustWarning}\u001b[0m" 1589: $"\U0001F6A8 {SharedCommandStrings.SourceTrustWarning}"; 1607[$"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", 1622Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", warning.Message);
Interaction\ExtensionInteractionServiceTests.cs (1)
98Assert.Equal([SharedCommandStrings.SourceTrustWarning], messages);
Templating\TemplateEngineFactoryGitTests.cs (2)
34Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", warning.Message); 55Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", warning.Message);