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