mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 14:07:46 +08:00
fix additional tests
This commit is contained in:
@@ -13,14 +13,14 @@ namespace mRemoteNGTests.UI.Forms.OptionsPages
|
||||
public void ConnectionsPageLinkExistsInListView()
|
||||
{
|
||||
ListViewTester listViewTester = new ListViewTester("lstOptionPages", _optionsForm);
|
||||
Assert.That(listViewTester.Items[4].Text, Does.Match("Connections"));
|
||||
Assert.That(listViewTester.Items[2].Text, Does.Match("Connections"));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void ConnectionsIconShownInListView()
|
||||
{
|
||||
ListViewTester listViewTester = new ListViewTester("lstOptionPages", _optionsForm);
|
||||
Assert.That(listViewTester.Items[4].ImageList, Is.Not.Null);
|
||||
Assert.That(listViewTester.Items[2].ImageList, Is.Not.Null);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -13,14 +13,14 @@ namespace mRemoteNGTests.UI.Forms.OptionsPages
|
||||
public void TabsPanelPageLinkExistsInListView()
|
||||
{
|
||||
ListViewTester listViewTester = new ListViewTester("lstOptionPages", _optionsForm);
|
||||
Assert.That(listViewTester.Items[2].Text, Does.Match("Tabs & Panels"));
|
||||
Assert.That(listViewTester.Items[3].Text, Does.Match("Tabs & Panels"));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TabsPanelIconShownInListView()
|
||||
{
|
||||
ListViewTester listViewTester = new ListViewTester("lstOptionPages", _optionsForm);
|
||||
Assert.That(listViewTester.Items[2].ImageList, Is.Not.Null);
|
||||
Assert.That(listViewTester.Items[3].ImageList, Is.Not.Null);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -66,7 +66,6 @@ namespace mRemoteNGTests.UI.Window.ConfigWindowTests
|
||||
public void AutomaticResizePropertyShown_WhenResolutionIsDynamic(RDPResolutions resolution)
|
||||
{
|
||||
ConnectionInfo.Resolution = resolution;
|
||||
ExpectedPropertyList.Clear();
|
||||
ExpectedPropertyList.Add(nameof(mRemoteNG.Connection.ConnectionInfo.AutomaticResize));
|
||||
|
||||
RunVerification();
|
||||
|
||||
Reference in New Issue
Block a user