From 20076d6f49defa94929499e7684852616c732dcc Mon Sep 17 00:00:00 2001 From: Stephen Turner Date: Thu, 22 Oct 2015 18:20:37 +0100 Subject: [PATCH] Remove two more failing tests that test dead code --- XenAdminTests/WizardTests/NewSRWizardTest.cs | 74 -------------------- 1 file changed, 74 deletions(-) diff --git a/XenAdminTests/WizardTests/NewSRWizardTest.cs b/XenAdminTests/WizardTests/NewSRWizardTest.cs index 1e9d1c353..1665992df 100644 --- a/XenAdminTests/WizardTests/NewSRWizardTest.cs +++ b/XenAdminTests/WizardTests/NewSRWizardTest.cs @@ -169,80 +169,6 @@ namespace XenAdminTests.WizardTests.state1_xml.NewSRWizardTests } } - [TestFixture, Category(TestCategories.UICategoryB)] - public class NewSRWizardTest_CSLG_NetApp : WizardTest - { - public NewSRWizardTest_CSLG_NetApp() - : base(new string[] { "Type", "Name", "Storage System", "NetApp Filer Details", "Settings" }, true, false) - { } - - protected override NewSRWizard NewWizard() - { - return new NewSRWizard(GetAnyConnection()); - } - - protected override void TestPage(string pageName) - { - if (pageName == "Type") - { - MW(TestUtils.GetRadioButton(wizard, "xenTabPageChooseSrType.radioButtonCslg").Select); - } - else if (pageName == "Name") - { - Assert.IsInstanceOf(typeof(NewSrWizardNamePage), TestUtils.GetXenTabPage(wizard, "xenTabPageSrName"), "Wrong page"); - MW(() => (TestUtils.GetTextBox(wizard, "xenTabPageSrName.textBoxName")).Text = "foo"); - } - else if (pageName == "Storage System") - { - Assert.IsInstanceOf(typeof(CSLG), TestUtils.GetXenTabPage(wizard, "xenTabPageCslg"), "Wrong page"); - MW(() => TestUtils.GetComboBox(wizard, "xenTabPageCslg.comboBoxStorageSystem").SelectedItem = "NetApp"); - } - else if (pageName == "NetApp Filer Details") - { - Assert.IsInstanceOf(typeof(FilerDetails), TestUtils.GetXenTabPage(wizard, "xenTabPageFilerDetails"), "Wrong page"); - MW(() => (TestUtils.GetTextBox(wizard, "xenTabPageFilerDetails.textBoxNetappHostAddress")).Text = "foo"); - MW(() => (TestUtils.GetTextBox(wizard, "xenTabPageFilerDetails.textBoxNetappUsername")).Text = "foo"); - } - } - } - - [TestFixture, Category(TestCategories.UICategoryB)] - public class NewSRWizardTest_CSLG_EqualLogic : WizardTest - { - public NewSRWizardTest_CSLG_EqualLogic() - : base(new string[] { "Type", "Name", "Storage System", "EqualLogic Filer Details", "Settings" }, true, false) - { } - - protected override NewSRWizard NewWizard() - { - return new NewSRWizard(GetAnyConnection()); - } - - protected override void TestPage(string pageName) - { - if (pageName == "Type") - { - MW(TestUtils.GetRadioButton(wizard, "xenTabPageChooseSrType.radioButtonCslg").Select); - } - else if (pageName == "Name") - { - Assert.IsInstanceOf(typeof(NewSrWizardNamePage), TestUtils.GetXenTabPage(wizard, "xenTabPageSrName"), "Wrong page"); - MW(() => (TestUtils.GetTextBox(wizard, "xenTabPageSrName.textBoxName")).Text = "foo"); - } - else if (pageName == "Storage System") - { - Assert.IsInstanceOf(typeof(CSLG), TestUtils.GetXenTabPage(wizard, "xenTabPageCslg"), "Wrong page"); - MW(() => TestUtils.GetComboBox(wizard, "xenTabPageCslg.comboBoxStorageSystem").SelectedItem = "Dell EqualLogic"); - } - else if (pageName == "EqualLogic Filer Details") - { - Assert.IsInstanceOf(typeof(FilerDetails), TestUtils.GetXenTabPage(wizard, "xenTabPageFilerDetails"), "Wrong page"); - MW(() => (TestUtils.GetTextBox(wizard, "xenTabPageFilerDetails.textBoxNetappHostAddress")).Text = "foo"); - MW(() => (TestUtils.GetTextBox(wizard, "xenTabPageFilerDetails.textBoxNetappUsername")).Text = "foo"); - } - } - } - [TestFixture, Category(TestCategories.UICategoryB), Category(TestCategories.SmokeTest)] public class NewSRWizardTest_CIFS : WizardTest {