10 references to BuildRunCommand
Aspire.Tray.Tests (10)
src\Aspire.Tray\Common\WindowsTrayStartupSettings.cs (4)
31
if (
BuildRunCommand
(bootstrapPath, options.StartupCliPath!).Length > 260)
39
protected override string CreateRegistration() =>
BuildRunCommand
(bootstrapPath, options.StartupCliPath!);
54
var prefix =
BuildRunCommand
(bootstrapPath, "");
100
&& string.Equals(registration,
BuildRunCommand
(bootstrapPath, cli.ToString()), StringComparison.Ordinal);
TrayStartupOptionsTests.cs (2)
110
WindowsTrayStartupSettings.
BuildRunCommand
(@"C:\Profile & A\aspire-tray-login.exe", @"C:\CLI & tools\aspire.exe"));
112
WindowsTrayStartupSettings.
BuildRunCommand
(@"C:\tray.exe", "C:\\quoted\"name\\aspire.exe"));
WindowsTrayStartupSettingsTests.cs (4)
66
Assert.Equal(WindowsTrayStartupSettings.
BuildRunCommand
(installation.Bootstrap, installation.WindowsCli), store.Value);
117
store.Value = WindowsTrayStartupSettings.
BuildRunCommand
(installation.Bootstrap, Path.Combine(installation.Root, "different.exe"));
225
var originalLength = WindowsTrayStartupSettings.
BuildRunCommand
(installation.Bootstrap, installation.WindowsCli).Length;
233
Assert.Equal(length, WindowsTrayStartupSettings.
BuildRunCommand
(installation.Bootstrap, cli).Length);