39 lines
1.0 KiB
C#
39 lines
1.0 KiB
C#
namespace VideoBrowserTestApp.Tests
|
|
{
|
|
using System.Windows;
|
|
using VideoBrowser.ViewModels;
|
|
using VideoBrowser.Views;
|
|
using VideoBrowserTestApp.Helpers;
|
|
|
|
/// <summary>
|
|
/// Defines the <see cref="AboutViewTest" />.
|
|
/// </summary>
|
|
public class AboutViewTest : TestBase
|
|
{
|
|
#region Constructors
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="AboutViewTest"/> class.
|
|
/// </summary>
|
|
public AboutViewTest() : base(nameof(AboutView))
|
|
{
|
|
}
|
|
|
|
#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 AboutViewModel();
|
|
var view = new AboutView { DataContext = viewModel };
|
|
WindowFactory.CreateAndShow(view, testWindow);
|
|
}
|
|
|
|
#endregion Methods
|
|
}
|
|
} |