diff --git a/Common/Common.sln.DotSettings.user b/Common/Common.sln.DotSettings.user
index ef7fc3b7..d3d71323 100644
--- a/Common/Common.sln.DotSettings.user
+++ b/Common/Common.sln.DotSettings.user
@@ -34,11 +34,7 @@
True
<SessionState ContinuousTestingMode="0" IsActive="True" Name="All tests from Solution" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session">
- <Not>
- <TestAncestor>
- <TestId>NUnit3x::AFC428F5-0141-4A3F-BEF2-470A89D972F6::.NETFramework,Version=v4.8.1::CommonConsole_NUnitAssemblyHooks</TestId>
- </TestAncestor>
- </Not>
+ <Solution />
</SessionState>
diff --git a/Common/Production/ProductionUiCordonel.UnitTests/Features/FinalParamSequence_Write_Store_Reboot_Verify.feature.cs b/Common/Production/ProductionUiCordonel.UnitTests/Features/FinalParamSequence_Write_Store_Reboot_Verify.feature.cs
index c9668e83..a627a4f6 100644
--- a/Common/Production/ProductionUiCordonel.UnitTests/Features/FinalParamSequence_Write_Store_Reboot_Verify.feature.cs
+++ b/Common/Production/ProductionUiCordonel.UnitTests/Features/FinalParamSequence_Write_Store_Reboot_Verify.feature.cs
@@ -1,8 +1,8 @@
// ------------------------------------------------------------------------------
//
// This code was generated by SpecFlow (https://www.specflow.org/).
-// SpecFlow Version:3.9.0.0
-// SpecFlow Generator Version:3.9.0.0
+// SpecFlow Version:3.3.0.0
+// SpecFlow Generator Version:3.1.0.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -17,7 +17,7 @@ namespace Xylem.Common.Production.ProductionUiCordonel.UnitTests.Features
using System.Linq;
- [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "3.9.0.0")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "3.3.0.0")]
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[NUnit.Framework.TestFixtureAttribute()]
[NUnit.Framework.DescriptionAttribute("FinalParamSequence_Write_Store_Reboot_Read_Verify")]
@@ -26,7 +26,7 @@ namespace Xylem.Common.Production.ProductionUiCordonel.UnitTests.Features
private TechTalk.SpecFlow.ITestRunner testRunner;
- private static string[] featureTags = ((string[])(null));
+ private string[] _featureTags = ((string[])(null));
#line 1 "FinalParamSequence_Write_Store_Reboot_Verify.feature"
#line hidden
@@ -35,11 +35,11 @@ namespace Xylem.Common.Production.ProductionUiCordonel.UnitTests.Features
public virtual void FeatureSetup()
{
testRunner = TechTalk.SpecFlow.TestRunnerManager.GetTestRunner();
- TechTalk.SpecFlow.FeatureInfo featureInfo = new TechTalk.SpecFlow.FeatureInfo(new System.Globalization.CultureInfo("en-US"), "Features", "FinalParamSequence_Write_Store_Reboot_Read_Verify", @"Test the sequence of execute final parametrization, store all settings to FLASH memory, reboot the Cordonel and finally read back
+ TechTalk.SpecFlow.FeatureInfo featureInfo = new TechTalk.SpecFlow.FeatureInfo(new System.Globalization.CultureInfo("en-US"), "FinalParamSequence_Write_Store_Reboot_Read_Verify", @"Test the sequence of execute final parametrization, store all settings to FLASH memory, reboot the Cordonel and finally read back
and verify the parameters which should remain persistent in non-volatile memory. This should avoid loosing of the parametrization
if the Cordonel accidentally reboots in the field. With the reboot it loads all values from FLASH, if those cannot be loaded, it
presets these values with defaults.This test used a MockGenesis and real data stored as MockRawParamsExamples for the DN50, the
-DN80 and the US2.", ProgrammingLanguage.CSharp, featureTags);
+DN80 and the US2.", ProgrammingLanguage.CSharp, ((string[])(null)));
testRunner.OnFeatureStart(featureInfo);
}
@@ -51,28 +51,28 @@ DN80 and the US2.", ProgrammingLanguage.CSharp, featureTags);
}
[NUnit.Framework.SetUpAttribute()]
- public void TestInitialize()
+ public virtual void TestInitialize()
{
}
[NUnit.Framework.TearDownAttribute()]
- public void TestTearDown()
+ public virtual void TestTearDown()
{
testRunner.OnScenarioEnd();
}
- public void ScenarioInitialize(TechTalk.SpecFlow.ScenarioInfo scenarioInfo)
+ public virtual void ScenarioInitialize(TechTalk.SpecFlow.ScenarioInfo scenarioInfo)
{
testRunner.OnScenarioInitialize(scenarioInfo);
testRunner.ScenarioContext.ScenarioContainer.RegisterInstanceAs(NUnit.Framework.TestContext.CurrentContext);
}
- public void ScenarioStart()
+ public virtual void ScenarioStart()
{
testRunner.OnScenarioStart();
}
- public void ScenarioCleanup()
+ public virtual void ScenarioCleanup()
{
testRunner.CollectScenarioErrors();
}
@@ -80,7 +80,7 @@ DN80 and the US2.", ProgrammingLanguage.CSharp, featureTags);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_FINAL_PARAM_001]_Check_Param_Sequence")]
[NUnit.Framework.CategoryAttribute("CheckFinalParamSequence")]
- public void SRS_TBF_EOL_PP_CHECK_FINAL_PARAM_001_Check_Param_Sequence()
+ public virtual void SRS_TBF_EOL_PP_CHECK_FINAL_PARAM_001_Check_Param_Sequence()
{
string[] tagsOfScenario = new string[] {
"CheckFinalParamSequence"};
@@ -110,11 +110,21 @@ DN80 and the US2.", ProgrammingLanguage.CSharp, featureTags);
"Return\" with results \"Okay\" or \"Failed\", additional check of complete EOL progre" +
"ss status. The expected EOL result \r\n will be preset with the expected " +
"values and modified with the \"Kill x\" to force the change from \"Okay\" to \"Failed" +
- "\". ", tagsOfScenario, argumentsOfScenario, featureTags);
+ "\". ", tagsOfScenario, argumentsOfScenario);
#line 11
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
diff --git a/Common/Production/ProductionUiCordonel.UnitTests/Features/ProductionProcessCheckProductionState.feature.cs b/Common/Production/ProductionUiCordonel.UnitTests/Features/ProductionProcessCheckProductionState.feature.cs
index 545dfe72..1c996a06 100644
--- a/Common/Production/ProductionUiCordonel.UnitTests/Features/ProductionProcessCheckProductionState.feature.cs
+++ b/Common/Production/ProductionUiCordonel.UnitTests/Features/ProductionProcessCheckProductionState.feature.cs
@@ -1,8 +1,8 @@
// ------------------------------------------------------------------------------
//
// This code was generated by SpecFlow (https://www.specflow.org/).
-// SpecFlow Version:3.9.0.0
-// SpecFlow Generator Version:3.9.0.0
+// SpecFlow Version:3.3.0.0
+// SpecFlow Generator Version:3.1.0.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -17,7 +17,7 @@ namespace Xylem.Common.Production.ProductionUiCordonel.UnitTests.Features
using System.Linq;
- [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "3.9.0.0")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "3.3.0.0")]
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[NUnit.Framework.TestFixtureAttribute()]
[NUnit.Framework.DescriptionAttribute("CheckProductionState")]
@@ -26,7 +26,7 @@ namespace Xylem.Common.Production.ProductionUiCordonel.UnitTests.Features
private TechTalk.SpecFlow.ITestRunner testRunner;
- private static string[] featureTags = ((string[])(null));
+ private string[] _featureTags = ((string[])(null));
#line 1 "ProductionProcessCheckProductionState.feature"
#line hidden
@@ -35,8 +35,8 @@ namespace Xylem.Common.Production.ProductionUiCordonel.UnitTests.Features
public virtual void FeatureSetup()
{
testRunner = TechTalk.SpecFlow.TestRunnerManager.GetTestRunner();
- TechTalk.SpecFlow.FeatureInfo featureInfo = new TechTalk.SpecFlow.FeatureInfo(new System.Globalization.CultureInfo("en-US"), "Features", "CheckProductionState", "Test the functionality of the executed production steps and preconditions needed " +
- "for finalizing of the Cordonel and to prepare it \r\nfor shipping.", ProgrammingLanguage.CSharp, featureTags);
+ TechTalk.SpecFlow.FeatureInfo featureInfo = new TechTalk.SpecFlow.FeatureInfo(new System.Globalization.CultureInfo("en-US"), "CheckProductionState", "Test the functionality of the executed production steps and preconditions needed " +
+ "for finalizing of the Cordonel and to prepare it \r\nfor shipping.", ProgrammingLanguage.CSharp, ((string[])(null)));
testRunner.OnFeatureStart(featureInfo);
}
@@ -48,28 +48,28 @@ namespace Xylem.Common.Production.ProductionUiCordonel.UnitTests.Features
}
[NUnit.Framework.SetUpAttribute()]
- public void TestInitialize()
+ public virtual void TestInitialize()
{
}
[NUnit.Framework.TearDownAttribute()]
- public void TestTearDown()
+ public virtual void TestTearDown()
{
testRunner.OnScenarioEnd();
}
- public void ScenarioInitialize(TechTalk.SpecFlow.ScenarioInfo scenarioInfo)
+ public virtual void ScenarioInitialize(TechTalk.SpecFlow.ScenarioInfo scenarioInfo)
{
testRunner.OnScenarioInitialize(scenarioInfo);
testRunner.ScenarioContext.ScenarioContainer.RegisterInstanceAs(NUnit.Framework.TestContext.CurrentContext);
}
- public void ScenarioStart()
+ public virtual void ScenarioStart()
{
testRunner.OnScenarioStart();
}
- public void ScenarioCleanup()
+ public virtual void ScenarioCleanup()
{
testRunner.CollectScenarioErrors();
}
@@ -77,7 +77,7 @@ namespace Xylem.Common.Production.ProductionUiCordonel.UnitTests.Features
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_001]_Check_EOL_Progress")]
[NUnit.Framework.CategoryAttribute("CheckEolProgress")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_001_Check_EOL_Progress()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_001_Check_EOL_Progress()
{
string[] tagsOfScenario = new string[] {
"CheckEolProgress"};
@@ -91,11 +91,21 @@ INPUTS: The values needed to be predefined automatically by the ""Sentinel"" o
""EOL PcbId"".
""Partial Compare"" ""X"" will be used to check if the string contains a substring defined in the ""StringReturn"".
""Partial Compare"" ""-"" will force the string being exact as defined!
-OUTPUT: ""StringReturn"" as test result containing the expected string or ""null"" as error result from the method.", tagsOfScenario, argumentsOfScenario, featureTags);
+OUTPUT: ""StringReturn"" as test result containing the expected string or ""null"" as error result from the method.", tagsOfScenario, argumentsOfScenario);
#line 8
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
@@ -184,7 +194,7 @@ this.ScenarioInitialize(scenarioInfo);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_002]_Check_Requirements")]
[NUnit.Framework.CategoryAttribute("CheckProductionProperties")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_002_Check_Requirements()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_002_Check_Requirements()
{
string[] tagsOfScenario = new string[] {
"CheckProductionProperties"};
@@ -197,11 +207,21 @@ INPUTS: Requirements ""Standard Id"" just a number or ""null"",
""Special Id just a number or ""null"""",
""Special Version"" just a number or ""null"" and
""Special IsActive"" if ""X"" else ""-"".
-OUTPUT: ""EOL Status"" with results ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario, featureTags);
+OUTPUT: ""EOL Status"" with results ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario);
#line 38
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
@@ -416,7 +436,7 @@ this.ScenarioInitialize(scenarioInfo);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_003]_Check_ProductionOrderNo")]
[NUnit.Framework.CategoryAttribute("CheckProductionPrperties")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_003_Check_ProductionOrderNo()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_003_Check_ProductionOrderNo()
{
string[] tagsOfScenario = new string[] {
"CheckProductionPrperties"};
@@ -425,11 +445,21 @@ this.ScenarioInitialize(scenarioInfo);
going to be used for the check of the actual production state.
PRESETS: none
INPUTS: ""Cordonel ProdOrderNo"" and ""Requirement ProdOrderNo""
-OUTPUT: ""EOL Status"" with results ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario, featureTags);
+OUTPUT: ""EOL Status"" with results ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario);
#line 78
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
@@ -489,7 +519,7 @@ this.ScenarioInitialize(scenarioInfo);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_004]_Check_PcbId")]
[NUnit.Framework.CategoryAttribute("CheckCordonelProperties")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_004_Check_PcbId()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_004_Check_PcbId()
{
string[] tagsOfScenario = new string[] {
"CheckCordonelProperties"};
@@ -498,11 +528,21 @@ this.ScenarioInitialize(scenarioInfo);
PRESETS: none
INPUTS: ""Cordonel PcbId"", EOL PcbId and ""Requirement PcbId"". If the requirement-PcbId id is ""null"" then the requirement is order based
and not just for a single Cordonel!
-OUTPUT: ""EOL Status"" with results ""Okay"", ""Failed"" or ""Skipped""", tagsOfScenario, argumentsOfScenario, featureTags);
+OUTPUT: ""EOL Status"" with results ""Okay"", ""Failed"" or ""Skipped""", tagsOfScenario, argumentsOfScenario);
#line 102
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
@@ -593,18 +633,28 @@ this.ScenarioInitialize(scenarioInfo);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_005]_Check_Region")]
[NUnit.Framework.CategoryAttribute("CheckCordonelProperties")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_005_Check_Region()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_005_Check_Region()
{
string[] tagsOfScenario = new string[] {
"CheckCordonelProperties"};
System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_005]_Check_Region", "FUNCTION: Compare the Region from Cordonel and requirement. \r\nPRESETS: none\r\nINP" +
"UTS: \"Cordonel Region\" and \"Requirement Region\". \r\nOUTPUT: \"EOL Status\" with" +
- " results \"Okay\" or \"Failed\"", tagsOfScenario, argumentsOfScenario, featureTags);
+ " results \"Okay\" or \"Failed\"", tagsOfScenario, argumentsOfScenario);
#line 131
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
@@ -681,7 +731,7 @@ this.ScenarioInitialize(scenarioInfo);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_006]_Check_LUT_CRC")]
[NUnit.Framework.CategoryAttribute("CheckCordonelProperties")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_006_Check_LUT_CRC()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_006_Check_LUT_CRC()
{
string[] tagsOfScenario = new string[] {
"CheckCordonelProperties"};
@@ -689,11 +739,21 @@ this.ScenarioInitialize(scenarioInfo);
TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_006]_Check_LUT_CRC", @"FUNCTION: Check for the checksum (cyclic redundancy check - CRC) of the metrology lookup-table.
PRESETS: none
INPUTS: ""Cordonel LUT CRC"" and ""Requirement LUT CRC"" just a string representing a number in hex e.g. ""0xEB7C.
-OUTPUT: ""StringReturn"" as test result containing the expected string or ""null"" as error result from the method.", tagsOfScenario, argumentsOfScenario, featureTags);
+OUTPUT: ""StringReturn"" as test result containing the expected string or ""null"" as error result from the method.", tagsOfScenario, argumentsOfScenario);
#line 157
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
@@ -770,7 +830,7 @@ this.ScenarioInitialize(scenarioInfo);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_007]_Check_Meter_Size")]
[NUnit.Framework.CategoryAttribute("CheckCordonelProperties")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_007_Check_Meter_Size()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_007_Check_Meter_Size()
{
string[] tagsOfScenario = new string[] {
"CheckCordonelProperties"};
@@ -778,11 +838,21 @@ this.ScenarioInitialize(scenarioInfo);
TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_007]_Check_Meter_Size", @"FUNCTION: Compare the Meter Size from Cordonel and requirement.
PRESETS: none
INPUTS: ""Cordonel Meter Size"" and ""Requirement Meter Size"" as strings naming the size as e.g. ""DN50"", ""US1_5"" or ""1 1/2 INC"".
-OUTPUT: ""StringReturn"" as test result containing the expected string or ""null"" as error result from the method.", tagsOfScenario, argumentsOfScenario, featureTags);
+OUTPUT: ""StringReturn"" as test result containing the expected string or ""null"" as error result from the method.", tagsOfScenario, argumentsOfScenario);
#line 184
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
@@ -859,7 +929,7 @@ this.ScenarioInitialize(scenarioInfo);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_008]_Check_FW_and_Apps")]
[NUnit.Framework.CategoryAttribute("CheckCordonelProperties")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_008_Check_FW_And_Apps()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_008_Check_FW_And_Apps()
{
string[] tagsOfScenario = new string[] {
"CheckCordonelProperties"};
@@ -886,11 +956,21 @@ this.ScenarioInitialize(scenarioInfo);
"nch needs FW package in a specific folder \"C:\\User\\[UserName]\\AppData\\Roaming\\Ge" +
"nesis\\MockFwExamples\" as it copies\r\n all assemblies to a special NCrunc" +
"h working folder which is total separated from the project specific \"\\bin\\Debug\"" +
- " folder!", tagsOfScenario, argumentsOfScenario, featureTags);
+ " folder!", tagsOfScenario, argumentsOfScenario);
#line 211
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
@@ -1013,7 +1093,7 @@ this.ScenarioInitialize(scenarioInfo);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_009]_Check_Remaining_Battery_Load")]
[NUnit.Framework.CategoryAttribute("CheckLifetimes")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_009_Check_Remaining_Battery_Load()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_009_Check_Remaining_Battery_Load()
{
string[] tagsOfScenario = new string[] {
"CheckLifetimes"};
@@ -1029,11 +1109,21 @@ INPUTS: ""Normal Current [uA]"" multiplied with exceeded lifetime together wit
lifetime, set to 0 to create an error.
""Max Drained [%]"" Threshold for allowed drainage at EOL in standard check. If alternative threshold is active then this is
the ABSOLUTE LIMIT.
-OUTPUT: ""EOL Status"" with results ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario, featureTags);
+OUTPUT: ""EOL Status"" with results ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario);
#line 256
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
@@ -1150,7 +1240,7 @@ this.ScenarioInitialize(scenarioInfo);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_010]_Check_Remaining_Lifetime")]
[NUnit.Framework.CategoryAttribute("CheckLifetimes")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_010_Check_Remaining_Lifetime()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_010_Check_Remaining_Lifetime()
{
string[] tagsOfScenario = new string[] {
"CheckLifetimes"};
@@ -1160,11 +1250,21 @@ PRESETS: none
INPUTS: ""Actual Lifetime [days]"" is the time in days the Cordonel after Kitron production,
""Actual Drained [%]"" is used to calculate the drained load to forecast the remaining lifetime,
""Required Lifetime [years]"" Threshold for remaining lifetime.
-OUTPUT: ""EOL Status"" with results ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario, featureTags);
+OUTPUT: ""EOL Status"" with results ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario);
#line 292
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
@@ -1249,7 +1349,7 @@ this.ScenarioInitialize(scenarioInfo);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_011]_Check_Storage_Months")]
[NUnit.Framework.CategoryAttribute("CheckLifetimes")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_011_Check_Storage_Months()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_011_Check_Storage_Months()
{
string[] tagsOfScenario = new string[] {
"CheckLifetimes"};
@@ -1258,11 +1358,21 @@ this.ScenarioInitialize(scenarioInfo);
PRESETS: none
INPUTS: ""Assembly Months before Now"" as zero or negative floating point number or invalid if set to ""null"".
""Max Storage Months"" floating point number of months allowed until production has to be finalized.
-OUTPUT: ""StatusReturn"" with results ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario, featureTags);
+OUTPUT: ""StatusReturn"" with results ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario);
#line 320
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
@@ -1339,7 +1449,7 @@ this.ScenarioInitialize(scenarioInfo);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_012]_Check_Preadjustment")]
[NUnit.Framework.CategoryAttribute("CheckCalibrations")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_012_Check_Preadjustment()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_012_Check_Preadjustment()
{
string[] tagsOfScenario = new string[] {
"CheckCalibrations"};
@@ -1349,11 +1459,21 @@ PRESETS: none
INPUTS: ""Test Bench Fields"" the array of test bench fields
""Test Bench State[4]"" the field containing a number if preadjustment successfully executed, null if not.
""Skip Calib"" to skip all calibration related checks
-OUTPUT: ""EOL Status"" with results ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario, featureTags);
+OUTPUT: ""EOL Status"" with results ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario);
#line 348
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
@@ -1444,7 +1564,7 @@ this.ScenarioInitialize(scenarioInfo);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_013]_Check_Flow_Test_State")]
[NUnit.Framework.CategoryAttribute("CheckCalibrations")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_013_Check_Flow_Test_State()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_013_Check_Flow_Test_State()
{
string[] tagsOfScenario = new string[] {
"CheckCalibrations"};
@@ -1454,11 +1574,21 @@ PRESETS: none
INPUTS: ""Test Bench Fields"" the array of test bench fields
""Test Bench State[5]"" the field containing a number of 30 if calibration succeeded
""Skip Calib"" to skip all calibration related checks if set to ""X"" else ""-"".
-OUTPUT: ""EOL Status"" with results ""Skipped"", ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario, featureTags);
+OUTPUT: ""EOL Status"" with results ""Skipped"", ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario);
#line 378
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
@@ -1556,7 +1686,7 @@ this.ScenarioInitialize(scenarioInfo);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_014]_Check_Calib_Factors")]
[NUnit.Framework.CategoryAttribute("CheckCalibrations")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_014_Check_Calib_Factors()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_014_Check_Calib_Factors()
{
string[] tagsOfScenario = new string[] {
"CheckCalibrations"};
@@ -1566,11 +1696,21 @@ PRESETS: All calibration values not covered by this test in valid range.
INPUTS: ""Meter Calib Fact 1/2/3"" Meter calibration factors 1, 2 and 3 stored in and read out from the Cordonel,
""DB Calib Fact 1/2/3"" Required calibration factors 1, 2 and 3 reported by the database.
""Skip Calib"" to skip all calibration related checks if set to ""X"" else ""-"".
-OUTPUT: ""StatusReturn"" with results ""Skipped"", ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario, featureTags);
+OUTPUT: ""StatusReturn"" with results ""Skipped"", ""Okay"" or ""Failed""", tagsOfScenario, argumentsOfScenario);
#line 409
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
@@ -1680,7 +1820,7 @@ this.ScenarioInitialize(scenarioInfo);
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("[SRS_TBF_EOL_PP_CHECK_PROD_STATE_015]_Check_Complete_Flow_Production_State")]
[NUnit.Framework.CategoryAttribute("CheckProductionStateProcess")]
- public void SRS_TBF_EOL_PP_CHECK_PROD_STATE_015_Check_Complete_Flow_Production_State()
+ public virtual void SRS_TBF_EOL_PP_CHECK_PROD_STATE_015_Check_Complete_Flow_Production_State()
{
string[] tagsOfScenario = new string[] {
"CheckProductionStateProcess"};
@@ -1705,11 +1845,21 @@ this.ScenarioInitialize(scenarioInfo);
" Leave all others as \"-\" to observe better the unique setup!\r\nOUTPUT: \"Status" +
"Return\" with results \"Okay\" or \"Failed\", \r\n additional check of complet" +
"e EOL progress status. The expected EOL result will be set with the preset value" +
- "s and \r\n modified with the \"Kill x\" from \"Okay\" to \"Failed\" ", tagsOfScenario, argumentsOfScenario, featureTags);
+ "s and \r\n modified with the \"Kill x\" from \"Okay\" to \"Failed\" ", tagsOfScenario, argumentsOfScenario);
#line 439
this.ScenarioInitialize(scenarioInfo);
#line hidden
- if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
+ bool isScenarioIgnored = default(bool);
+ bool isFeatureIgnored = default(bool);
+ if ((tagsOfScenario != null))
+ {
+ isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((this._featureTags != null))
+ {
+ isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
+ }
+ if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
diff --git a/Common/Production/ProductionUiCordonel.UnitTests/ProductionUiCordonel.UnitTests.csproj b/Common/Production/ProductionUiCordonel.UnitTests/ProductionUiCordonel.UnitTests.csproj
index 4ce962d9..5313cf2a 100644
--- a/Common/Production/ProductionUiCordonel.UnitTests/ProductionUiCordonel.UnitTests.csproj
+++ b/Common/Production/ProductionUiCordonel.UnitTests/ProductionUiCordonel.UnitTests.csproj
@@ -18,12 +18,9 @@
-
-
-
-
+
diff --git a/Common/ReSharper.DotSettings b/Common/ReSharper.DotSettings
new file mode 100644
index 00000000..1572e058
--- /dev/null
+++ b/Common/ReSharper.DotSettings
@@ -0,0 +1,66 @@
+
+ Left
+ WARNING
+ WARNING
+ WARNING
+ WARNING
+ DN
+ FW
+ LUT
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
\ No newline at end of file