Projektdateien hinzufügen.
This commit is contained in:
39
VideoBrowserTestApp/Tests/SettingsViewTest.cs
Normal file
39
VideoBrowserTestApp/Tests/SettingsViewTest.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
namespace VideoBrowserTestApp.Tests
|
||||
{
|
||||
using System.Windows;
|
||||
using VideoBrowser.Controls.CefSharpBrowser.ViewModels;
|
||||
using VideoBrowser.Controls.CefSharpBrowser.Views;
|
||||
using VideoBrowserTestApp.Helpers;
|
||||
|
||||
/// <summary>
|
||||
/// Defines the <see cref="SettingsViewTest" />.
|
||||
/// </summary>
|
||||
public class SettingsViewTest : TestBase
|
||||
{
|
||||
#region Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="SettingsViewTest"/> class.
|
||||
/// </summary>
|
||||
public SettingsViewTest() : base(nameof(SettingsView))
|
||||
{
|
||||
}
|
||||
|
||||
#endregion Constructors
|
||||
|
||||
#region Methods
|
||||
|
||||
/// <summary>
|
||||
/// The Test.
|
||||
/// </summary>
|
||||
/// <param name="testWindow">The testWindow<see cref="Window"/>.</param>
|
||||
protected override void Test(Window testWindow)
|
||||
{
|
||||
var viewModel = new SettingsViewModel();
|
||||
var view = new SettingsView { DataContext = viewModel };
|
||||
WindowFactory.CreateAndShow(view, testWindow);
|
||||
}
|
||||
|
||||
#endregion Methods
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user