Un-tabify and re-gen all specflow test files

--HG--
branch : dev
This commit is contained in:
Renaud Paquay
2010-07-17 13:46:20 -07:00
parent 8022b45560
commit cee82ae866
7 changed files with 161 additions and 153 deletions

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("Using SpecFlow")] [NUnit.Framework.DescriptionAttribute("Using SpecFlow")]
public partial class UsingSpecFlowFeature public partial class UsingSpecFlowFeature
@@ -58,17 +61,18 @@ namespace Orchard.Specs
#line 6 #line 6
this.ScenarioSetup(scenarioInfo); this.ScenarioSetup(scenarioInfo);
#line 7 #line 7
testRunner.Given("I have a scenario"); testRunner.Given("I have a scenario");
#line 8 #line 8
testRunner.When("I run steps"); testRunner.When("I run steps");
#line 9 #line 9
testRunner.And("they have values like \"5\""); testRunner.And("they have values like \"5\"");
#line 10 #line 10
testRunner.Then("they run"); testRunner.Then("they run");
#line 11 #line 11
testRunner.And("values like five are captured"); testRunner.And("values like five are captured");
#line hidden #line hidden
testRunner.CollectScenarioErrors(); testRunner.CollectScenarioErrors();
} }
} }
} }
#endregion

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.4200 // 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("Web Hosting")] [NUnit.Framework.DescriptionAttribute("Web Hosting")]
public partial class WebHostingFeature public partial class WebHostingFeature
@@ -58,13 +61,13 @@ namespace Orchard.Specs
#line 6 #line 6
this.ScenarioSetup(scenarioInfo); this.ScenarioSetup(scenarioInfo);
#line 7 #line 7
testRunner.Given("I have a clean site based on Simple.Web"); testRunner.Given("I have a clean site based on Simple.Web");
#line 8 #line 8
testRunner.When("I go to \"Content/Static.txt\""); testRunner.When("I go to \"Content/Static.txt\"");
#line 9 #line 9
testRunner.Then("I should see \"Hello world!\""); testRunner.Then("I should see \"Hello world!\"");
#line 10 #line 10
testRunner.And("the status should be 200 OK"); testRunner.And("the status should be 200 OK");
#line hidden #line hidden
testRunner.CollectScenarioErrors(); testRunner.CollectScenarioErrors();
} }
@@ -77,13 +80,13 @@ this.ScenarioSetup(scenarioInfo);
#line 12 #line 12
this.ScenarioSetup(scenarioInfo); this.ScenarioSetup(scenarioInfo);
#line 13 #line 13
testRunner.Given("I have a clean site based on Simple.Web"); testRunner.Given("I have a clean site based on Simple.Web");
#line 14 #line 14
testRunner.When("I go to \"Simple/Page.aspx\""); testRunner.When("I go to \"Simple/Page.aspx\"");
#line 15 #line 15
testRunner.Then("I should see \"Hello again\""); testRunner.Then("I should see \"Hello again\"");
#line 16 #line 16
testRunner.And("the status should be 200 OK"); testRunner.And("the status should be 200 OK");
#line hidden #line hidden
testRunner.CollectScenarioErrors(); testRunner.CollectScenarioErrors();
} }
@@ -96,13 +99,13 @@ this.ScenarioSetup(scenarioInfo);
#line 18 #line 18
this.ScenarioSetup(scenarioInfo); this.ScenarioSetup(scenarioInfo);
#line 19 #line 19
testRunner.Given("I have a clean site based on Simple.Web"); testRunner.Given("I have a clean site based on Simple.Web");
#line 20 #line 20
testRunner.When("I go to \"hello-world\""); testRunner.When("I go to \"hello-world\"");
#line 21 #line 21
testRunner.Then("the status should be 200 OK"); testRunner.Then("the status should be 200 OK");
#line 22 #line 22
testRunner.And("I should see \"Hello yet again\""); testRunner.And("I should see \"Hello yet again\"");
#line hidden #line hidden
testRunner.CollectScenarioErrors(); testRunner.CollectScenarioErrors();
} }
@@ -115,15 +118,15 @@ this.ScenarioSetup(scenarioInfo);
#line 24 #line 24
this.ScenarioSetup(scenarioInfo); this.ScenarioSetup(scenarioInfo);
#line 25 #line 25
testRunner.Given("I have a clean site based on Simple.Web"); testRunner.Given("I have a clean site based on Simple.Web");
#line 26 #line 26
testRunner.When("I go to \"/simple/page.aspx\""); testRunner.When("I go to \"/simple/page.aspx\"");
#line 27 #line 27
testRunner.And("I follow \"next page\""); testRunner.And("I follow \"next page\"");
#line 28 #line 28
testRunner.Then("the status should be 200 OK"); testRunner.Then("the status should be 200 OK");
#line 29 #line 29
testRunner.And("I should see \"Hello yet again\""); testRunner.And("I should see \"Hello yet again\"");
#line hidden #line hidden
testRunner.CollectScenarioErrors(); testRunner.CollectScenarioErrors();
} }
@@ -136,9 +139,9 @@ this.ScenarioSetup(scenarioInfo);
#line 31 #line 31
this.ScenarioSetup(scenarioInfo); this.ScenarioSetup(scenarioInfo);
#line 32 #line 32
testRunner.Given("I have a clean site based on Simple.Web"); testRunner.Given("I have a clean site based on Simple.Web");
#line 33 #line 33
testRunner.And("I am on \"/simple/page.aspx\""); testRunner.And("I am on \"/simple/page.aspx\"");
#line hidden #line hidden
TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] {
"name", "name",
@@ -147,15 +150,15 @@ this.ScenarioSetup(scenarioInfo);
"input1", "input1",
"gamma"}); "gamma"});
#line 34 #line 34
testRunner.When("I fill in", ((string)(null)), table1); testRunner.When("I fill in", ((string)(null)), table1);
#line 37 #line 37
testRunner.And("I hit \"Go!\""); testRunner.And("I hit \"Go!\"");
#line 38 #line 38
testRunner.Then("I should see \"passthrough1:alpha\""); testRunner.Then("I should see \"passthrough1:alpha\"");
#line 39 #line 39
testRunner.And("I should see \"passthrough2:beta\""); testRunner.And("I should see \"passthrough2:beta\"");
#line 40 #line 40
testRunner.And("I should see \"input1:gamma\""); testRunner.And("I should see \"input1:gamma\"");
#line hidden #line hidden
testRunner.CollectScenarioErrors(); testRunner.CollectScenarioErrors();
} }
@@ -168,13 +171,13 @@ this.ScenarioSetup(scenarioInfo);
#line 42 #line 42
this.ScenarioSetup(scenarioInfo); this.ScenarioSetup(scenarioInfo);
#line 43 #line 43
testRunner.Given("I have a clean site based on Simple.Web"); testRunner.Given("I have a clean site based on Simple.Web");
#line 44 #line 44
testRunner.When("I go to \"/simple/cookie-set.aspx\""); testRunner.When("I go to \"/simple/cookie-set.aspx\"");
#line 45 #line 45
testRunner.And("I go to \"/simple/cookie-show.aspx\""); testRunner.And("I go to \"/simple/cookie-show.aspx\"");
#line 46 #line 46
testRunner.Then("I should see \"foo:bar\""); testRunner.Then("I should see \"foo:bar\"");
#line hidden #line hidden
testRunner.CollectScenarioErrors(); testRunner.CollectScenarioErrors();
} }
@@ -187,15 +190,16 @@ this.ScenarioSetup(scenarioInfo);
#line 48 #line 48
this.ScenarioSetup(scenarioInfo); this.ScenarioSetup(scenarioInfo);
#line 49 #line 49
testRunner.Given("I have a clean site based on Simple.Web"); testRunner.Given("I have a clean site based on Simple.Web");
#line 50 #line 50
testRunner.When("I go to \"/simple/redir.aspx\""); testRunner.When("I go to \"/simple/redir.aspx\"");
#line 51 #line 51
testRunner.And("I am redirected"); testRunner.And("I am redirected");
#line 52 #line 52
testRunner.Then("I should see \"Hello again\""); testRunner.Then("I should see \"Hello again\"");
#line hidden #line hidden
testRunner.CollectScenarioErrors(); testRunner.CollectScenarioErrors();
} }
} }
} }
#endregion