4 instantiations of WindowsTrayStartupSettings
Aspire.Tray.Tests (4)
Helpers\TestTrayStartupInstallation.cs (1)
45
=>
new
(Options(windows: true), nativeFrontend, SourceGui, Bootstrap, store);
WindowsTrayStartupSettingsTests.cs (3)
175
var settings = new
WindowsTrayStartupSettings
(options, true, installation.SourceGui, installation.Bootstrap, store);
212
var settings = new
WindowsTrayStartupSettings
(installation.Options(windows: true), true, installation.SourceGui, bootstrap, store);
231
var settings = new
WindowsTrayStartupSettings
(options, true, installation.SourceGui, installation.Bootstrap, store);
20 references to WindowsTrayStartupSettings
Aspire.Tray.Tests (20)
Helpers\TestTrayStartupInstallation.cs (1)
44
public
WindowsTrayStartupSettings
WindowsSettings(ITrayStartupRegistrationStore store, bool nativeFrontend)
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 (17)
50
var
settings = installation.WindowsSettings(store, nativeFrontend: true);
63
var
settings = installation.WindowsSettings(store, nativeFrontend: true);
66
Assert.Equal(
WindowsTrayStartupSettings
.BuildRunCommand(installation.Bootstrap, installation.WindowsCli), store.Value);
73
var
reopened = installation.WindowsSettings(store, nativeFrontend: true);
87
var
settings = installation.WindowsSettings(store, nativeFrontend: false);
102
var
settings = installation.WindowsSettings(store, nativeFrontend: true);
115
var
settings = installation.WindowsSettings(store, nativeFrontend: true);
117
store.Value =
WindowsTrayStartupSettings
.BuildRunCommand(installation.Bootstrap, Path.Combine(installation.Root, "different.exe"));
128
var
settings = installation.WindowsSettings(store, nativeFrontend: true);
145
var
settings = installation.WindowsSettings(store, nativeFrontend: true);
159
var
settings = installation.WindowsSettings(store, nativeFrontend: true);
175
var
settings = new WindowsTrayStartupSettings(options, true, installation.SourceGui, installation.Bootstrap, store);
187
var
settings = installation.WindowsSettings(store, nativeFrontend: true);
212
var
settings = new WindowsTrayStartupSettings(installation.Options(windows: true), true, installation.SourceGui, bootstrap, store);
225
var originalLength =
WindowsTrayStartupSettings
.BuildRunCommand(installation.Bootstrap, installation.WindowsCli).Length;
231
var
settings = new WindowsTrayStartupSettings(options, true, installation.SourceGui, installation.Bootstrap, store);
233
Assert.Equal(length,
WindowsTrayStartupSettings
.BuildRunCommand(installation.Bootstrap, cli).Length);