This repository has been archived on 2026-03-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Eco/VideoBrowserTestApp/Tests/SettingsViewTest.cs
2023-07-24 12:00:34 +02:00

39 lines
1.1 KiB
C#

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
}
}