public NavigationFlyoutViewModelTest() { TestBootstrapper bootstrapper = new TestBootstrapper(); bootstrapper.Run(); vm = new NavigationFlyoutViewModel(); }
public SettingsSolidViewModelTest() { TestBootstrapper bootstrapper = new TestBootstrapper(); bootstrapper.Run(); vm = new SettingsSolidViewModel(); }
public HomeTilesViewModelTest() { TestBootstrapper bootstrapper = new TestBootstrapper(); bootstrapper.Run(); vm = new HomeTilesViewModel(); }
public ChangelogListViewModelTest() { TestBootstrapper bootstrapper = new TestBootstrapper(); bootstrapper.Run(); vm = new ChangelogListViewModel(); }
public SettingsAttributesViewModelTest() { TestBootstrapper bootstrapper = new TestBootstrapper(); bootstrapper.Run(); vm = new SettingsAttributesViewModel(); }
public LeftTitlebarCommandsViewModelTest() { TestBootstrapper bootstrapper = new TestBootstrapper(); bootstrapper.Run(); vm = new LeftTitlebarCommandsViewModel(); }
public SettingsThumbnailViewModelTest() { TestBootstrapper bootstrapper = new TestBootstrapper(); bootstrapper.Run(); vm = new SettingsThumbnailViewModel(); }
public void Runs() { var config = new MDKFactory.ProgramConfig { GridTerminalSystem = Mock.Of <IMyGridTerminalSystem>(), }; TestBootstrapper.Run(config); }
public ApplicationThemeTest() { TestBootstrapper bootstrapper = new TestBootstrapper(); bootstrapper.Run(); ctt = new ApplicationTheme(); colorBrush = new SolidColorBrush(Color.FromRgb(200, 100, 0)); }
public void TestCommand_Terminates() { var config = new MDKFactory.ProgramConfig { GridTerminalSystem = Mock.Of <IMyGridTerminalSystem>(), }; TestBootstrapper.Run(config, "test"); }
public AccentColorTest() { TestBootstrapper bootstrapper = new TestBootstrapper(); bootstrapper.Run(); ctt = new AccentColor(); colorBrush = new SolidColorBrush(Color.FromRgb(200, 100, 0)); }
public void UnityModuleInitTest() { Assert.IsNotNull(bootstrapper); bootstrapper.Run(); bootstrapper.Container.RegisterType <IModule, UnityModule>(); var unityModule = bootstrapper.Container.Resolve <IModule>(); Assert.IsNotNull(unityModule); }
public MainWindowViewModelTest() { if (Application.Current == null) { App app = new App(); } TestBootstrapper bootstrapper = new TestBootstrapper(); bootstrapper.Run(); viewModel = new MainWindowViewModel(); }