Source

MissileSharp / src / MissileSharp.Tests / Launcher / MainWindowViewModelTests.cs

Author Commit Message Labels Comments Date
Christian Specht
shutdown if no command sets were loaded
Christian Specht
replace all stubs in launcher tests
Christian Specht
replace MockShutdownService
Christian Specht
mock ICommandCenter with Moq
Christian Specht
refactored tests for MissileSharp.Launcher (mock CommandCenter --> makes testing the ViewModel much easier)
Christian Specht
extract shutdown to ShutdownService, add test
Christian Specht
extract config creation in tests to separate method
Christian Specht
load launcher model from WPF launcher's App.config
Christian Specht
extract MessageBox.ShowMessage() to MessageService
Christian Specht
catch config file errors in view model, close app if an error occurs, extract config file reading to service
Christian Specht
add first test for WPF launcher app