added tray menu
This commit is contained in:
@@ -18,6 +18,9 @@ public sealed class AppTests
|
||||
[InlineData(typeof(ThemeService))]
|
||||
[InlineData(typeof(IThemeService))]
|
||||
[InlineData(typeof(MainWindowPlacement))]
|
||||
[InlineData(typeof(MainWindowPresenter))]
|
||||
[InlineData(typeof(TrayIcon))]
|
||||
[InlineData(typeof(ITrayIcon))]
|
||||
[InlineData(typeof(ILocalizationService))]
|
||||
[InlineData(typeof(IStartupService))]
|
||||
[InlineData(typeof(IUpdateService))]
|
||||
@@ -100,6 +103,15 @@ public sealed class AppTests
|
||||
Assert.NotNull(window.ImplementationFactory);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void The_tray_icon_and_its_interface_are_one_icon()
|
||||
{
|
||||
ServiceDescriptor tray = Describe()
|
||||
.Single(descriptor => descriptor.ServiceType == typeof(ITrayIcon));
|
||||
|
||||
Assert.NotNull(tray.ImplementationFactory);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void The_theme_and_its_interface_are_one_service()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user