// This code was generated by SpecFlow (http://www.specflow.org/).
-// SpecFlow Version:1.3.2.0
+// SpecFlow Version:1.4.0.0
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
@@ -14,7 +14,7 @@ namespace Orchard.Specs
using TechTalk.SpecFlow;
- [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.3.2.0")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.4.0.0")]
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[NUnit.Framework.TestFixtureAttribute()]
[NUnit.Framework.DescriptionAttribute("The compilation of modules installed in a site")]
@@ -31,7 +31,7 @@ namespace Orchard.Specs
{
testRunner = TechTalk.SpecFlow.TestRunnerManager.GetTestRunner();
TechTalk.SpecFlow.FeatureInfo featureInfo = new TechTalk.SpecFlow.FeatureInfo(new System.Globalization.CultureInfo("en-US"), "The compilation of modules installed in a site", "In order to install on Orchard site\r\nAs a privileged user\r\nI want to have the mod" +
- "ules compiled/installed properly", ((string[])(null)));
+ "ules compiled/installed properly", GenerationTargetLanguage.CSharp, ((string[])(null)));
testRunner.OnFeatureStart(featureInfo);
}
@@ -54,20 +54,58 @@ namespace Orchard.Specs
}
[NUnit.Framework.TestAttribute()]
- [NUnit.Framework.DescriptionAttribute("Dynamic compilation support: modules can be deployed as source files only")]
- public virtual void DynamicCompilationSupportModulesCanBeDeployedAsSourceFilesOnly()
+ [NUnit.Framework.DescriptionAttribute("Dynamic compilation can be disabled")]
+ public virtual void DynamicCompilationCanBeDisabled()
{
- TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Dynamic compilation support: modules can be deployed as source files only", ((string[])(null)));
+ TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Dynamic compilation can be disabled", ((string[])(null)));
#line 6
this.ScenarioSetup(scenarioInfo);
#line 7
-testRunner.Given("I have chosen to deploy modules as source files only");
+ testRunner.Given("I have chosen to load modules with dynamic compilation disabled");
#line 8
-testRunner.And("I have installed Orchard");
+ testRunner.And("I have installed Orchard");
#line 9
-testRunner.When("I go to \"admin\"");
+ testRunner.When("I go to \"admin\"");
#line 10
-testRunner.Then("I should see \"Orchard v(?:\\.\\d+){2,4}
\"");
+ testRunner.Then("I should see \"Orchard v(?:\\.\\d+){2,4}
\"");
+#line hidden
+ testRunner.CollectScenarioErrors();
+ }
+
+ [NUnit.Framework.TestAttribute()]
+ [NUnit.Framework.DescriptionAttribute("Dynamic compilation will kick in if modules are deployed as source files only")]
+ public virtual void DynamicCompilationWillKickInIfModulesAreDeployedAsSourceFilesOnly()
+ {
+ TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Dynamic compilation will kick in if modules are deployed as source files only", ((string[])(null)));
+#line 12
+this.ScenarioSetup(scenarioInfo);
+#line 13
+ testRunner.Given("I have chosen to deploy modules as source files only");
+#line 14
+ testRunner.And("I have installed Orchard");
+#line 15
+ testRunner.When("I go to \"admin\"");
+#line 16
+ testRunner.Then("I should see \"Orchard v(?:\\.\\d+){2,4}
\"");
+#line hidden
+ testRunner.CollectScenarioErrors();
+ }
+
+ [NUnit.Framework.TestAttribute()]
+ [NUnit.Framework.DescriptionAttribute("Dynamic compilation can be forced by disabling the precompiled module loader")]
+ public virtual void DynamicCompilationCanBeForcedByDisablingThePrecompiledModuleLoader()
+ {
+ TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Dynamic compilation can be forced by disabling the precompiled module loader", ((string[])(null)));
+#line 18
+this.ScenarioSetup(scenarioInfo);
+#line 19
+ testRunner.Given("I have chosen to load modules using dymamic compilation only");
+#line 20
+ testRunner.And("I have installed Orchard");
+#line 21
+ testRunner.When("I go to \"admin\"");
+#line 22
+ testRunner.Then("I should see \"Orchard v(?:\\.\\d+){2,4}
\"");
#line hidden
testRunner.CollectScenarioErrors();
}