Fix SpecFlow tests

Regenerate feature.cs file for "Modules" specflow tests.

--HG--
branch : dev
This commit is contained in:
Renaud Paquay
2010-07-17 12:41:41 -07:00
parent dc6f614be3
commit bbabdb89ed

View File

@@ -1,18 +1,21 @@
// ------------------------------------------------------------------------------ // ------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by SpecFlow (http://www.specflow.org/). // This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:1.2.0.0 // SpecFlow Version:1.3.2.0
// Runtime Version:2.0.50727.4927 // Runtime Version:4.0.30319.1
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
// </auto-generated> // </auto-generated>
// ------------------------------------------------------------------------------ // ------------------------------------------------------------------------------
#region Designer generated code
namespace Orchard.Specs namespace Orchard.Specs
{ {
using TechTalk.SpecFlow; using TechTalk.SpecFlow;
[System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.3.2.0")]
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[NUnit.Framework.TestFixtureAttribute()] [NUnit.Framework.TestFixtureAttribute()]
[NUnit.Framework.DescriptionAttribute("Module management")] [NUnit.Framework.DescriptionAttribute("Module management")]
public partial class ModuleManagementFeature public partial class ModuleManagementFeature
@@ -58,34 +61,15 @@ namespace Orchard.Specs
#line 6 #line 6
this.ScenarioSetup(scenarioInfo); this.ScenarioSetup(scenarioInfo);
#line 7 #line 7
testRunner.Given("I have installed Orchard"); testRunner.Given("I have installed Orchard");
#line 8 #line 8
testRunner.When("I go to \"admin/modules\""); testRunner.When("I go to \"admin/modules\"");
#line 9 #line 9
testRunner.Then("I should see \"<h1>Installed Modules</h1>\""); testRunner.Then("I should see \"<h1>Installed Modules</h1>\"");
#line 10 #line 10
testRunner.And("I should see \"<h3>Themes</h3>\""); testRunner.And("I should see \"<h2>Themes\"");
#line 11 #line 11
testRunner.And("the status should be 200 OK"); testRunner.And("the status should be 200 OK");
#line hidden
testRunner.CollectScenarioErrors();
}
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("Edit module shows its features")]
public virtual void EditModuleShowsItsFeatures()
{
TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Edit module shows its features", ((string[])(null)));
#line 13
this.ScenarioSetup(scenarioInfo);
#line 14
testRunner.Given("I have installed Orchard");
#line 15
testRunner.When("I go to \"admin/modules/Edit/Orchard.Themes\"");
#line 16
testRunner.Then("I should see \"<h1>Edit Module: Themes</h1>\"");
#line 17
testRunner.And("the status should be 200 OK");
#line hidden #line hidden
testRunner.CollectScenarioErrors(); testRunner.CollectScenarioErrors();
} }
@@ -95,20 +79,21 @@ this.ScenarioSetup(scenarioInfo);
public virtual void FeaturesOfInstalledModulesAreListed() public virtual void FeaturesOfInstalledModulesAreListed()
{ {
TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Features of installed modules are listed", ((string[])(null))); TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Features of installed modules are listed", ((string[])(null)));
#line 19 #line 13
this.ScenarioSetup(scenarioInfo); this.ScenarioSetup(scenarioInfo);
#line 20 #line 14
testRunner.Given("I have installed Orchard"); testRunner.Given("I have installed Orchard");
#line 21 #line 15
testRunner.When("I go to \"admin/modules/features\""); testRunner.When("I go to \"admin/modules/features\"");
#line 22 #line 16
testRunner.Then("I should see \"<h1>Manage Features</h1>\""); testRunner.Then("I should see \"<h1>Manage Features</h1>\"");
#line 23 #line 17
testRunner.And("I should see \"<h3>Common</h3>\""); testRunner.And("I should see \"<h3>Common</h3>\"");
#line 24 #line 18
testRunner.And("the status should be 200 OK"); testRunner.And("the status should be 200 OK");
#line hidden #line hidden
testRunner.CollectScenarioErrors(); testRunner.CollectScenarioErrors();
} }
} }
} }
#endregion