4 instantiations of WindowsTrayStartupSettings
Aspire.Tray.Tests (4)
Helpers\TestTrayStartupInstallation.cs (1)
45=> new(Options(windows: true), nativeFrontend, SourceGui, Bootstrap, store);
WindowsTrayStartupSettingsTests.cs (3)
175var settings = new WindowsTrayStartupSettings(options, true, installation.SourceGui, installation.Bootstrap, store); 212var settings = new WindowsTrayStartupSettings(installation.Options(windows: true), true, installation.SourceGui, bootstrap, store); 231var settings = new WindowsTrayStartupSettings(options, true, installation.SourceGui, installation.Bootstrap, store);
20 references to WindowsTrayStartupSettings
Aspire.Tray.Tests (20)
Helpers\TestTrayStartupInstallation.cs (1)
44public WindowsTrayStartupSettings WindowsSettings(ITrayStartupRegistrationStore store, bool nativeFrontend)
TrayStartupOptionsTests.cs (2)
110WindowsTrayStartupSettings.BuildRunCommand(@"C:\Profile & A\aspire-tray-login.exe", @"C:\CLI & tools\aspire.exe")); 112WindowsTrayStartupSettings.BuildRunCommand(@"C:\tray.exe", "C:\\quoted\"name\\aspire.exe"));
WindowsTrayStartupSettingsTests.cs (17)
50var settings = installation.WindowsSettings(store, nativeFrontend: true); 63var settings = installation.WindowsSettings(store, nativeFrontend: true); 66Assert.Equal(WindowsTrayStartupSettings.BuildRunCommand(installation.Bootstrap, installation.WindowsCli), store.Value); 73var reopened = installation.WindowsSettings(store, nativeFrontend: true); 87var settings = installation.WindowsSettings(store, nativeFrontend: false); 102var settings = installation.WindowsSettings(store, nativeFrontend: true); 115var settings = installation.WindowsSettings(store, nativeFrontend: true); 117store.Value = WindowsTrayStartupSettings.BuildRunCommand(installation.Bootstrap, Path.Combine(installation.Root, "different.exe")); 128var settings = installation.WindowsSettings(store, nativeFrontend: true); 145var settings = installation.WindowsSettings(store, nativeFrontend: true); 159var settings = installation.WindowsSettings(store, nativeFrontend: true); 175var settings = new WindowsTrayStartupSettings(options, true, installation.SourceGui, installation.Bootstrap, store); 187var settings = installation.WindowsSettings(store, nativeFrontend: true); 212var settings = new WindowsTrayStartupSettings(installation.Options(windows: true), true, installation.SourceGui, bootstrap, store); 225var originalLength = WindowsTrayStartupSettings.BuildRunCommand(installation.Bootstrap, installation.WindowsCli).Length; 231var settings = new WindowsTrayStartupSettings(options, true, installation.SourceGui, installation.Bootstrap, store); 233Assert.Equal(length, WindowsTrayStartupSettings.BuildRunCommand(installation.Bootstrap, cli).Length);