266 references to SharedCommandStrings
aspire (128)
Backchannel\AppHostConnectionResolver.cs (6)
199ErrorMessage = string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.AppHostNotRunningAtPath, displayPath) 239ErrorMessage = SharedCommandStrings.MultipleAppHostsNonInteractive, 246SharedCommandStrings.MultipleInScopeAppHosts, 269ErrorMessage = SharedCommandStrings.AppHostNotRunningInCurrentWorktree, 287SharedCommandStrings.NoInScopeAppHostsShowingAll, 375interactionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.UsingAppHost, selectedDisplay));
Commands\AddCommand.cs (3)
955(SharedCommandStrings.SourceName, GetSourceGroup(package).Label), 956(SharedCommandStrings.SourceFeed, PackageSourceRedactor.RedactForDisplay(package.Package.Source)) 960details.Add((SharedCommandStrings.SourcePatterns, string.Join(", ", patterns)));
Commands\AgentInitCommand.cs (8)
243SharedCommandStrings.PromptRunAgentInit, 421List<(string Label, string Value)> details = [(SharedCommandStrings.SourceName, sourceName)]; 424details.Add((SharedCommandStrings.SourceGitRepository, skillSource.GetRepositoryUrl())); 427details.Add((SharedCommandStrings.SourceRef, skillSource.Ref)); 431details.Add((SharedCommandStrings.SourceMarketplace, skillSource.Marketplace!)); 433details.Add((SharedCommandStrings.SourcePlugins, string.Join(", ", skillSource.GetPluginNames()))); 439details.Add((SharedCommandStrings.SourceOpenCodeV1Catalog, skillSource.OpenCodeV1Catalog)); 443details.Add((SharedCommandStrings.SourceOpenCodeV2Catalog, skillSource.OpenCodeV2Catalog));
Commands\AppHostLauncher.cs (5)
59internal static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription); 66Description = SharedCommandStrings.FormatOptionDescription 74Description = SharedCommandStrings.IsolatedOptionDescription 82Description = SharedCommandStrings.LaunchProfileOptionDescription 280return string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.LaunchProfileNotSupported, project.DisplayName);
Commands\BaseCommand.cs (1)
369result.AddError(string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.NonInteractiveRequiresYesFormat, command.Name));
Commands\DescribeCommand.cs (4)
87private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription); 166SharedCommandStrings.ScanningForRunningAppHosts, 167string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.SelectAppHost, DescribeCommandStrings.SelectAppHostAction), 168SharedCommandStrings.AppHostNotRunning,
Commands\DestroyCommand.cs (1)
33result.AddError(SharedCommandStrings.PipelineFormatRequiresListSteps);
Commands\ExportCommand.cs (1)
30private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\LogsCommand.cs (4)
89private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription); 163SharedCommandStrings.ScanningForRunningAppHosts, 164string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.SelectAppHost, LogsCommandStrings.SelectAppHostAction), 165SharedCommandStrings.AppHostNotRunning,
Commands\LsCommand.cs (10)
29Description = SharedCommandStrings.LsFormatOptionDescription 34Description = SharedCommandStrings.LsAllOptionDescription 39Description = SharedCommandStrings.LsStreamOptionDescription 49: base("ls", SharedCommandStrings.LsCommandDescription, services) 66result.AddError(SharedCommandStrings.LsStreamRequiresJson); 124InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.LsNoCandidateAppHostsFound); 254return string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.LsSearchingForAppHostsStatus, directoriesSearched, appHostsFound); 275table.AddBoldColumn(SharedCommandStrings.HeaderPath); 276table.AddBoldColumn(SharedCommandStrings.HeaderLanguage); 277table.AddBoldColumn(SharedCommandStrings.HeaderStatus);
Commands\McpCallCommand.cs (4)
37private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription); 61SharedCommandStrings.ScanningForRunningAppHosts, 62string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.SelectAppHost, "call MCP tool on"), 63SharedCommandStrings.AppHostNotRunning,
Commands\McpToolsCommand.cs (4)
23private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription); 47SharedCommandStrings.ScanningForRunningAppHosts, 48string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.SelectAppHost, "list MCP tools for"), 49SharedCommandStrings.AppHostNotRunning,
Commands\NewCommand.cs (1)
76Description = SharedCommandStrings.AgentInitOptionDescription,
Commands\ParseResultHelper.cs (1)
378return string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.UnrecognizedOptionDidYouMeanFormat, optionName, correctName);
Commands\PipelineCommandBase.cs (5)
62Description = SharedCommandStrings.PipelineLogLevelOptionDescription 67Description = SharedCommandStrings.PipelineIncludeExceptionDetailsOptionDescription 72Description = SharedCommandStrings.PipelineEnvironmentOptionDescription 82Description = SharedCommandStrings.PipelineListStepsOptionDescription 87Description = SharedCommandStrings.PipelineFormatOptionDescription,
Commands\PsCommand.cs (3)
169SharedCommandStrings.ScanningForRunningAppHosts, 181InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.AppHostNotRunning); 473table.AddBoldColumn(SharedCommandStrings.HeaderStatus);
Commands\ResourceCommand.cs (10)
44private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription); 47Description = SharedCommandStrings.IncludeHiddenOptionDescription 133SharedCommandStrings.ScanningForRunningAppHosts, 134string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.SelectAppHost, ResourceCommandStrings.SelectAppHostAction), 135SharedCommandStrings.AppHostNotRunning, 620SharedCommandStrings.ScanningForRunningAppHosts, 621string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.SelectAppHost, ResourceCommandStrings.SelectAppHostAction), 622SharedCommandStrings.AppHostNotRunning, 673SharedCommandStrings.ScanningForRunningAppHosts, 709SharedCommandStrings.ScanningForRunningAppHosts,
Commands\RestoreCommand.cs (1)
36private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\SecretCommand.cs (1)
15internal static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\StopCommand.cs (12)
186SharedCommandStrings.ScanningForRunningAppHosts, 300SharedCommandStrings.ScanningForRunningAppHosts, 307InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.AppHostNotRunning); 311InteractionService.DisplayError(SharedCommandStrings.AppHostNotRunning); 320InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.AppHostNotRunning); 359SharedCommandStrings.ScanningForRunningAppHosts, 360string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.SelectAppHost, StopCommandStrings.SelectAppHostAction), 361SharedCommandStrings.AppHostNotRunning, 376SharedCommandStrings.ScanningForRunningAppHosts, 405InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.AppHostNotRunningAtPath, displayPath)); 549SharedCommandStrings.ScanningForRunningAppHosts, 555InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.AppHostNotRunning);
Commands\TelemetryCommandHelpers.cs (4)
52internal static OptionWithLegacy<FileInfo?> CreateAppHostOption() => new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription); 270SharedCommandStrings.ScanningForRunningAppHosts, 271string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.SelectAppHost, TelemetryCommandStrings.SelectAppHostAction), 272SharedCommandStrings.AppHostNotRunning,
Commands\TemplateManagementCommand.cs (2)
78private readonly Option<OutputFormat> _format = new("--format") { Description = SharedCommandStrings.LsFormatOptionDescription }; 130.AddBoldColumn(SharedCommandStrings.SourceName)
Commands\TerminalAttachCommand.cs (4)
46new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription); 93SharedCommandStrings.ScanningForRunningAppHosts, 94string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.SelectAppHost, "attach a terminal"), 95SharedCommandStrings.AppHostNotRunning,
Commands\TerminalPsCommand.cs (4)
45new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription); 88SharedCommandStrings.ScanningForRunningAppHosts, 89string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.SelectAppHost, "list terminals"), 90SharedCommandStrings.AppHostNotRunning,
Commands\TerminalTapePlayCommand.cs (4)
41new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription); 109SharedCommandStrings.ScanningForRunningAppHosts, 110string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.SelectAppHost, TerminalCommandStrings.TapeSelectAppHostAction), 111SharedCommandStrings.AppHostNotRunning,
Commands\UpdateCommand.cs (1)
120result.AddError(string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.NonInteractiveRequiresYesFormat, Name));
Commands\WaitCommand.cs (4)
40private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription); 85SharedCommandStrings.ScanningForRunningAppHosts, 86string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.SelectAppHost, WaitCommandStrings.SelectAppHostAction), 87SharedCommandStrings.AppHostNotRunning,
Configuration\ConfigSourceService.cs (3)
227(SharedCommandStrings.SourceGitRepository, source.Repository) 235details.Add((SharedCommandStrings.SourceRef, source.Ref)); 618interaction.DisplayGitFetchNotice(SharedCommandStrings.GitFetchConfigurationSource,
Mcp\Tools\ListIntegrationsTool.cs (1)
122? string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.NuGetSearchLimitWarning, NuGetSearchLimits.MaxResults)
Resources\SharedCommandStrings.Designer.cs (1)
42global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Aspire.Cli.Resources.SharedCommandStrings", typeof(SharedCommandStrings).Assembly);
Utils\ConsoleActivityLogger.cs (2)
462var summaryTitle = SharedCommandStrings.PipelineStepsSummaryTitle; 463var timelineLabel = SharedCommandStrings.PipelineStepTimelineLabel;
Utils\ConsoleHelpers.cs (13)
51List<(string Label, string Value)> rows = [(SharedCommandStrings.SourceName, source.Name)]; 54rows.Add((SharedCommandStrings.SourceGitRepository, repository)); 57rows.Add((SharedCommandStrings.SourceGitPath, source.Source.Path)); 61rows.Add((SharedCommandStrings.SourceRef, source.Source.RepositoryRef)); 66rows.Add((SharedCommandStrings.SourcePath, source.Source.Path)); 87qualifiers.Add($"{SharedCommandStrings.SourceGitPath}: {path}"); 91qualifiers.Add($"{SharedCommandStrings.SourceRef}: {reference}"); 102SharedCommandStrings.GitFetchTemplates, source, mayPromptForAuthentication); 108? SharedCommandStrings.FetchingSourceWithAuthentication 109: SharedCommandStrings.FetchingSource; 136interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, $"[yellow]{SharedCommandStrings.SourceTrustWarning.EscapeMarkup()}[/]", allowMarkup: true, consoleOverride: ConsoleOutput.Error); 142var message = string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.NuGetSearchLimitWarning, 151var message = string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.NuGetSearchSourceFailedWarning, source);
Aspire.Cli.Tests (138)
Backchannel\AppHostConnectionResolverTests.cs (22)
52projectFile, "Scanning", "Select", SharedCommandStrings.AppHostNotRunning, TestContext.Current.CancellationToken); 94SharedCommandStrings.AppHostNotRunning, 101string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.AppHostNotRunningAtPath, Path.Combine("TestAppHost", "TestAppHost.csproj")), 128SharedCommandStrings.AppHostNotRunning, 133string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.AppHostNotRunningAtPath, Path.Combine("TestAppHost", "TestAppHost.csproj")), 162SharedCommandStrings.AppHostNotRunning, 212SharedCommandStrings.AppHostNotRunning, 250SharedCommandStrings.AppHostNotRunning, 285SharedCommandStrings.AppHostNotRunning, 316SharedCommandStrings.AppHostNotRunning, 321Assert.Equal(SharedCommandStrings.AppHostNotRunning, result.ErrorMessage); 348SharedCommandStrings.AppHostNotRunning, 353Assert.Equal(SharedCommandStrings.MultipleAppHostsNonInteractive, result.ErrorMessage); 400SharedCommandStrings.AppHostNotRunning, 452SharedCommandStrings.AppHostNotRunning, 492SharedCommandStrings.AppHostNotRunning, 498Assert.Equal(SharedCommandStrings.NoInScopeAppHostsShowingAll, Assert.Single(interactionService.DisplayedMessages).Message); 530SharedCommandStrings.AppHostNotRunning, 536Assert.Equal(SharedCommandStrings.AppHostNotRunningInCurrentWorktree, result.ErrorMessage); 567SharedCommandStrings.AppHostNotRunning, 604SharedCommandStrings.AppHostNotRunning, 609Assert.Equal(SharedCommandStrings.AppHostNotRunning, result.ErrorMessage);
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\BaseCommandTests.cs (4)
704var expectedError = string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.UnrecognizedOptionDidYouMeanFormat, badOption, correctOption); 762var expectedError = string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.UnrecognizedOptionDidYouMeanFormat, optionName, "--apphost"); 853var expectedError = string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.UnrecognizedOptionDidYouMeanFormat, "--AppHost", "--apphost"); 893var expectedError = string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.UnrecognizedOptionDidYouMeanFormat, "--AppHost", "--apphost");
Commands\ConfigSourceCommandTests.cs (4)
387$"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", 388$"[blue]{string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.FetchingSource, 389SharedCommandStrings.GitFetchConfigurationSource, source.Repository)}[/]", 1207message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]");
Commands\DestroyCommandTests.cs (2)
87Assert.Equal(SharedCommandStrings.PipelineFormatRequiresListSteps, error.Message); 216Assert.Equal(string.Format(System.Globalization.CultureInfo.CurrentCulture, SharedCommandStrings.NonInteractiveRequiresYesFormat, "destroy"), error.Message);
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 (11)
72var source = pinned ? $"{repository} ({SharedCommandStrings.SourceRef}: {TestGitCommandRunner.DefaultCommitSha})" : repository; 73return $"[blue]{string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.FetchingSourceWithAuthentication, 74SharedCommandStrings.GitFetchTemplates, source)}[/]"; 98var source = reference is null ? repository : $"{repository} ({SharedCommandStrings.SourceRef}: {reference})"; 100[NewCommandStrings.TemplateSourceExplanation, $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", 101$"[blue]{string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.FetchingSourceWithAuthentication, 102SharedCommandStrings.GitFetchTemplates, source)}[/]"], 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.cs (5)
1451var fetchSource = $"-repository ({SharedCommandStrings.SourceGitPath}: template, {SharedCommandStrings.SourceRef}: {source.RepositoryRef})"; 1452var fetchMessage = $"[blue]{string.Format(interactive ? SharedCommandStrings.FetchingSourceWithAuthentication : SharedCommandStrings.FetchingSource, 1453SharedCommandStrings.GitFetchTemplates, fetchSource)}[/]";
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 (3)
1414message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"); 1432message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"); 3461[SharedCommandStrings.PromptRunAgentInit],
Commands\ResourceCommandTests.cs (1)
505var scanningStatus = Assert.Single(consoleOutputPerStatus, s => s.Message == SharedCommandStrings.ScanningForRunningAppHosts);
Commands\RunCommandTests.cs (2)
152string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.LaunchProfileNotSupported, projectFactory.DisplayName), 196string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.LaunchProfileNotSupported, projectFactory.DisplayName),
Commands\StartCommandTests.cs (1)
195string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.LaunchProfileNotSupported, projectFactory.DisplayName),
Commands\StopCommandTests.cs (10)
377string.Format(SharedCommandStrings.AppHostNotRunningAtPath, Path.Combine("Resolved.AppHost", "Resolved.AppHost.csproj")), 569string.Format(SharedCommandStrings.AppHostNotRunningAtPath, Path.Combine("AppHost", "AppHost.csproj")), 608Assert.Equal([SharedCommandStrings.ScanningForRunningAppHosts], statusMessages); 612Assert.Equal(SharedCommandStrings.AppHostNotRunningInCurrentWorktree, Assert.Single(interactionService.DisplayedErrors)); 649message => Assert.Equal(SharedCommandStrings.NoInScopeAppHostsShowingAll, message), 730Assert.Equal(SharedCommandStrings.AppHostNotRunning, displayedMessage.Message); 766Assert.Contains(interactionService.DisplayedMessages, message => message.Message == string.Format(SharedCommandStrings.AppHostNotRunningAtPath, Path.Combine("AppHost", "AppHost.csproj"))); 918Assert.Contains(interactionService.DisplayedMessages, message => message.Message == SharedCommandStrings.AppHostNotRunning); 958Assert.Contains(interactionService.DisplayedMessages, message => message.Message == SharedCommandStrings.AppHostNotRunning); 1163string.Format(SharedCommandStrings.AppHostNotRunningAtPath, Path.Combine("AppHost", "apphost.ts")),
Commands\UpdateCommandTests.cs (1)
78Assert.Equal(string.Format(System.Globalization.CultureInfo.CurrentCulture, SharedCommandStrings.NonInteractiveRequiresYesFormat, "update"), error.Message);
Commands\WaitCommandTests.cs (5)
170SharedCommandStrings.ScanningForRunningAppHosts, 212SharedCommandStrings.ScanningForRunningAppHosts, 280SharedCommandStrings.ScanningForRunningAppHosts, 348SharedCommandStrings.ScanningForRunningAppHosts, 390SharedCommandStrings.ScanningForRunningAppHosts,
Configuration\ConfigSourceServiceTests.cs (19)
48message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"); 50Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", warning.Message); 76message => Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", message.Message), 79Assert.Equal($"[blue]{string.Format(SharedCommandStrings.FetchingSource, 80SharedCommandStrings.GitFetchConfigurationSource, "https://git.example/configuration")}[/]", message.Message); 1019message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"); 1028message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"); 1043$"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]" 1047expectedMessages.Add($"[blue]{string.Format(interactive ? SharedCommandStrings.FetchingSourceWithAuthentication : SharedCommandStrings.FetchingSource, 1048SharedCommandStrings.GitFetchConfigurationSource, s_source.Repository)}[/]"); 1061message => message.Message == $"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]"); 1733var fetchMessage = $"[blue]{string.Format(interactive ? SharedCommandStrings.FetchingSourceWithAuthentication : SharedCommandStrings.FetchingSource, 1734SharedCommandStrings.GitFetchConfigurationSource, repository).EscapeMarkup()}[/]"; 1763message => Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", message.Message), 2115Assert.Equal($"[yellow]{SharedCommandStrings.SourceTrustWarning}[/]", message.Message); 2120Assert.Equal($"[blue]{string.Format(SharedCommandStrings.FetchingSource, 2121SharedCommandStrings.GitFetchConfigurationSource, s_source.Repository)}[/]", message.Message);
Interaction\ConsoleInteractionServiceTests.cs (21)
64[(SharedCommandStrings.SourceGitRepository, "https://example.test/config"), (SharedCommandStrings.SourceRef, "release/[team]")], 65[(SharedCommandStrings.SourceName, "Company [templates]"), (SharedCommandStrings.SourceGitRepository, "https://example.test/templates"), (SharedCommandStrings.SourceGitPath, "templates"), (SharedCommandStrings.SourceRef, "release/[team]")], 66[(SharedCommandStrings.SourceName, "company"), (SharedCommandStrings.SourceFeed, "https://example.test/nuget"), (SharedCommandStrings.SourcePatterns, "Acme.Hosting.*")], 67[(SharedCommandStrings.SourceName, "company"), (SharedCommandStrings.SourceGitRepository, "https://example.test/skills"), (SharedCommandStrings.SourceMarketplace, "company-skills"), (SharedCommandStrings.SourcePlugins, "aspire@company-skills")] 152source += $" ({SharedCommandStrings.SourceGitPath}: {path}, {SharedCommandStrings.SourceRef}: {reference})"; 158var expected = string.Format(System.Globalization.CultureInfo.CurrentCulture, SharedCommandStrings.FetchingSourceWithAuthentication, 159SharedCommandStrings.GitFetchTemplates, source); 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);
Utils\ConsoleActivityLoggerTests.cs (3)
343var timelineLabelLine = Assert.Single(lines, line => line.Contains(SharedCommandStrings.PipelineStepTimelineLabel, StringComparison.Ordinal)); 405Assert.DoesNotContain(SharedCommandStrings.PipelineStepsSummaryTitle, output.ToString(), StringComparison.Ordinal); 427Assert.DoesNotContain(lines, line => line.Contains(SharedCommandStrings.PipelineStepTimelineLabel, StringComparison.Ordinal));