diff --git a/Solutions/Ais.Net.Benchmarks/Ais.Net.Benchmarks.csproj b/Solutions/Ais.Net.Benchmarks/Ais.Net.Benchmarks.csproj index 9c6d359..3088075 100644 --- a/Solutions/Ais.Net.Benchmarks/Ais.Net.Benchmarks.csproj +++ b/Solutions/Ais.Net.Benchmarks/Ais.Net.Benchmarks.csproj @@ -1,6 +1,6 @@  - + Exe diff --git a/Solutions/Ais.Net.Specs/Ais.Net.Specs.csproj b/Solutions/Ais.Net.Specs/Ais.Net.Specs.csproj index e0b1a45..8544ac4 100644 --- a/Solutions/Ais.Net.Specs/Ais.Net.Specs.csproj +++ b/Solutions/Ais.Net.Specs/Ais.Net.Specs.csproj @@ -1,19 +1,26 @@  - + false - RCS1029;RCS1089;SA1600;CS1591 + + RCS1029;RCS1089;SA1600;CS1591;SA1633;SA1649 - + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + - - + + @@ -21,7 +28,7 @@ - + all runtime; build; native; contentfiles; analyzers diff --git a/Solutions/Ais.Net.Specs/Ais/Net/Specs/AisMessageTypes/LongRangeAisBroadcastParserSpecs.feature.cs b/Solutions/Ais.Net.Specs/Ais/Net/Specs/AisMessageTypes/LongRangeAisBroadcastParserSpecs.feature.cs index 71604ba..6d5f83c 100644 --- a/Solutions/Ais.Net.Specs/Ais/Net/Specs/AisMessageTypes/LongRangeAisBroadcastParserSpecs.feature.cs +++ b/Solutions/Ais.Net.Specs/Ais/Net/Specs/AisMessageTypes/LongRangeAisBroadcastParserSpecs.feature.cs @@ -1,8 +1,8 @@ // ------------------------------------------------------------------------------ // // This code was generated by SpecFlow (http://www.specflow.org/). -// SpecFlow Version:3.0.0.0 -// SpecFlow Generator Version:3.0.0.0 +// SpecFlow Version:3.1.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. @@ -13,9 +13,11 @@ namespace Ais.Net.Specs.AisMessageTypes { using TechTalk.SpecFlow; + using System; + using System.Linq; - [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "3.0.0.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "3.1.0.0")] [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [NUnit.Framework.TestFixtureAttribute()] [NUnit.Framework.DescriptionAttribute("LongRangeAisBroadcastParserSpecs")] @@ -24,6 +26,8 @@ public partial class LongRangeAisBroadcastParserSpecsFeature private TechTalk.SpecFlow.ITestRunner testRunner; + private string[] _featureTags = ((string[])(null)); + #line 1 "LongRangeAisBroadcastParserSpecs.feature" #line hidden @@ -50,7 +54,7 @@ public virtual void TestInitialize() } [NUnit.Framework.TearDownAttribute()] - public virtual void ScenarioTearDown() + public virtual void TestTearDown() { testRunner.OnScenarioEnd(); } @@ -75,15 +79,35 @@ public virtual void ScenarioCleanup() [NUnit.Framework.DescriptionAttribute("Message Type")] public virtual void MessageType() { + string[] tagsOfScenario = ((string[])(null)); TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Message Type", null, ((string[])(null))); #line 8 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 9 testRunner.When("I parse \'K>eq`d@000000000\' with padding 0 as a Long Range Ais Broadcast", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 10 testRunner.Then("NmeaAisLongRangeAisBroadcastParser.Type is 27", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -95,15 +119,35 @@ public virtual void MessageType() [NUnit.Framework.TestCaseAttribute("Kh00000000000000", "0", "3", null)] public virtual void RepeatIndicator(string payload, string padding, string repeatCount, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Repeat Indicator", null, exampleTags); #line 12 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 13 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Long Range Ais Broadcast", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 14 testRunner.Then(string.Format("NmeaAisLongRangeAisBroadcastParser.RepeatIndicator is {0}", repeatCount), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -114,15 +158,35 @@ public virtual void RepeatIndicator(string payload, string padding, string repea [NUnit.Framework.TestCaseAttribute("K00000P000000000", "0", "2", null)] public virtual void MMSI(string payload, string padding, string mmsi, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("MMSI", null, exampleTags); #line 23 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 24 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Long Range Ais Broadcast", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 25 testRunner.Then(string.Format("NmeaAisLongRangeAisBroadcastParser.Mmsi is {0}", mmsi), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -132,15 +196,35 @@ public virtual void MMSI(string payload, string padding, string mmsi, string[] e [NUnit.Framework.TestCaseAttribute("K000008000000000", "0", "true", null)] public virtual void PositionAccuracy(string payload, string padding, string positionAccuracy, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Position Accuracy", null, exampleTags); #line 33 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 34 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Long Range Ais Broadcast", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 35 testRunner.Then(string.Format("NmeaAisLongRangeAisBroadcastParser.PositionAccuracy is {0}", positionAccuracy), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -150,15 +234,35 @@ public virtual void PositionAccuracy(string payload, string padding, string posi [NUnit.Framework.TestCaseAttribute("K000004000000000", "0", "true", null)] public virtual void RaimFlag(string payload, string padding, string flag, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Raim Flag", null, exampleTags); #line 42 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 43 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Long Range Ais Broadcast", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 44 testRunner.Then(string.Format("NmeaAisLongRangeAisBroadcastParser.RaimFlag is {0}", flag), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -174,15 +278,35 @@ public virtual void RaimFlag(string payload, string padding, string flag, string [NUnit.Framework.TestCaseAttribute("K000003P00000000", "0", "AisSartIsActive", null)] public virtual void NavigationStatus(string payload, string padding, string navigationStatus, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Navigation Status", null, exampleTags); #line 51 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 52 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Long Range Ais Broadcast", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 53 testRunner.Then(string.Format("NmeaAisLongRangeAisBroadcastParser.NavigationStatus is {0}", navigationStatus), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -196,17 +320,38 @@ public virtual void NavigationStatus(string payload, string padding, string navi [NUnit.Framework.TestCaseAttribute("K000000000000000", "0", "0", "0", null)] public virtual void LongitudeAndLatitute(string payload, string padding, string longitude, string latitude, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Longitude and Latitute", null, exampleTags); #line 66 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 67 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Long Range Ais Broadcast", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 68 testRunner.Then(string.Format("NmeaAisLongRangeAisBroadcastParser.Longitude10thMins is {0}", longitude), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); +#line hidden #line 69 testRunner.Then(string.Format("NmeaAisLongRangeAisBroadcastParser.Latitude10thMins is {0}", latitude), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -217,15 +362,35 @@ public virtual void LongitudeAndLatitute(string payload, string padding, string [NUnit.Framework.TestCaseAttribute("K000000000000OP0", "0", "63", null)] public virtual void SpeedOverGround(string payload, string padding, string speedOverGround, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Speed Over Ground", null, exampleTags); #line 80 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 81 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Long Range Ais Broadcast", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 82 testRunner.Then(string.Format("NmeaAisLongRangeAisBroadcastParser.SpeedOverGroundTenths is {0}", speedOverGround), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -238,15 +403,35 @@ public virtual void SpeedOverGround(string payload, string padding, string speed [NUnit.Framework.TestCaseAttribute("K0000000000000Ot", "0", "511", null)] public virtual void CourseOverGround(string payload, string padding, string courseOverGround, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Course Over Ground", null, exampleTags); #line 90 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 91 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Long Range Ais Broadcast", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 92 testRunner.Then(string.Format("NmeaAisLongRangeAisBroadcastParser.CourseOverGroundDegrees is {0}", courseOverGround), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -256,15 +441,35 @@ public virtual void CourseOverGround(string payload, string padding, string cour [NUnit.Framework.TestCaseAttribute("K000000000000002", "0", "true", null)] public virtual void GnssPositionStatus(string payload, string padding, string gnssStatus, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Gnss Position Status", null, exampleTags); #line 102 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 103 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Long Range Ais Broadcast", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 104 testRunner.Then(string.Format("NmeaAisLongRangeAisBroadcastParser.NotGnssPosition is {0}", gnssStatus), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -274,15 +479,35 @@ public virtual void GnssPositionStatus(string payload, string padding, string gn [NUnit.Framework.TestCaseAttribute("K000000000000001", "0", "true", null)] public virtual void Spare(string payload, string padding, string flag, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Spare", null, exampleTags); #line 111 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 112 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Long Range Ais Broadcast", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 113 testRunner.Then(string.Format("NmeaAisLongRangeAisBroadcastParser.Spare95 is {0}", flag), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } } diff --git a/Solutions/Ais.Net.Specs/Ais/Net/Specs/AisMessageTypes/PositionReportClassAParserSpecs.feature.cs b/Solutions/Ais.Net.Specs/Ais/Net/Specs/AisMessageTypes/PositionReportClassAParserSpecs.feature.cs index c925a6b..968c2cb 100644 --- a/Solutions/Ais.Net.Specs/Ais/Net/Specs/AisMessageTypes/PositionReportClassAParserSpecs.feature.cs +++ b/Solutions/Ais.Net.Specs/Ais/Net/Specs/AisMessageTypes/PositionReportClassAParserSpecs.feature.cs @@ -1,8 +1,8 @@ // ------------------------------------------------------------------------------ // // This code was generated by SpecFlow (http://www.specflow.org/). -// SpecFlow Version:3.0.0.0 -// SpecFlow Generator Version:3.0.0.0 +// SpecFlow Version:3.1.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. @@ -13,9 +13,11 @@ namespace Ais.Net.Specs.AisMessageTypes { using TechTalk.SpecFlow; + using System; + using System.Linq; - [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "3.0.0.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "3.1.0.0")] [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [NUnit.Framework.TestFixtureAttribute()] [NUnit.Framework.DescriptionAttribute("PositionReportClassAParserSpecs")] @@ -24,6 +26,8 @@ public partial class PositionReportClassAParserSpecsFeature private TechTalk.SpecFlow.ITestRunner testRunner; + private string[] _featureTags = ((string[])(null)); + #line 1 "PositionReportClassAParserSpecs.feature" #line hidden @@ -50,7 +54,7 @@ public virtual void TestInitialize() } [NUnit.Framework.TearDownAttribute()] - public virtual void ScenarioTearDown() + public virtual void TestTearDown() { testRunner.OnScenarioEnd(); } @@ -77,15 +81,35 @@ public virtual void ScenarioCleanup() [NUnit.Framework.TestCaseAttribute("1Co`hD000`0unrRcusDEcTOL0P00", "0", "1", null)] public virtual void MessageType(string payload, string padding, string type, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Message Type", null, exampleTags); #line 15 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 16 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 17 testRunner.Then(string.Format("AisPositionReportClassAParser.Type is {0}", type), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -101,15 +125,35 @@ public virtual void MessageType(string payload, string padding, string type, str [NUnit.Framework.TestCaseAttribute("1kmbi20P@10cNiLTKgi6Wld>0000", "0", "3", null)] public virtual void RepeatIndicator(string payload, string padding, string repeatCount, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Repeat Indicator", null, exampleTags); #line 24 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 25 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 26 testRunner.Then(string.Format("AisPositionReportClassAParser.RepeatIndicator is {0}", repeatCount), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -123,15 +167,35 @@ public virtual void RepeatIndicator(string payload, string padding, string repea [NUnit.Framework.TestCaseAttribute("24c`1`001kPEGSLR98IP00462D0s", "0", "314180000", null)] public virtual void MMSI(string payload, string padding, string mmsi, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("MMSI", null, exampleTags); #line 39 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 40 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 41 testRunner.Then(string.Format("AisPositionReportClassAParser.Mmsi is \'{0}\'", mmsi), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -169,15 +233,35 @@ public virtual void MMSI(string payload, string padding, string mmsi, string[] e [NUnit.Framework.TestCaseAttribute("13@njcg000PeVI>Pu9Hnul9D0D1M", "0", "NotDefined", null)] public virtual void NavigationStatus(string payload, string padding, string navigationStatus, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Navigation Status", null, exampleTags); #line 52 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 53 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 54 testRunner.Then(string.Format("AisPositionReportClassAParser.NavigationStatus is {0}", navigationStatus), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -193,15 +277,35 @@ public virtual void NavigationStatus(string payload, string padding, string navi [NUnit.Framework.TestCaseAttribute("13P=N7M1@10Ph14SqI7pAW@j0L0G", "0", "5", null)] public virtual void RateOfTurn(string payload, string padding, string rateOfTurn, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Rate of Turn", null, exampleTags); #line 89 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 90 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 91 testRunner.Then(string.Format("AisPositionReportClassAParser.RateOfTurn is {0}", rateOfTurn), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -217,15 +321,35 @@ public virtual void RateOfTurn(string payload, string padding, string rateOfTurn [NUnit.Framework.TestCaseAttribute("13oFwV3P?w4?wv0PSu", "0", "1023", null)] public virtual void SpeedOverGround(string payload, string padding, string speedOverGround, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Speed Over Ground", null, exampleTags); #line 104 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 105 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 106 testRunner.Then(string.Format("AisPositionReportClassAParser.SpeedOverGroundTenths is {0}", speedOverGround), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -237,15 +361,35 @@ public virtual void SpeedOverGround(string payload, string padding, string speed [NUnit.Framework.TestCaseAttribute("13@oSF101;PTR`fPLn2:U8S`0534", "0", "true", null)] public virtual void PositionAccuracy(string payload, string padding, string positionAccuracy, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Position Accuracy", null, exampleTags); #line 119 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 120 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 121 testRunner.Then(string.Format("AisPositionReportClassAParser.PositionAccuracy is {0}", positionAccuracy), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -262,17 +406,38 @@ public virtual void PositionAccuracy(string payload, string padding, string posi [NUnit.Framework.TestCaseAttribute("13oFwV3P?w4?wv0PSu", "0", "108600000", "54600000", null)] public virtual void LongitudeAndLatitute(string payload, string padding, string longitude, string latitude, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Longitude and Latitute", null, exampleTags); #line 130 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 131 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 132 testRunner.Then(string.Format("AisPositionReportClassAParser.Longitude10000thMins is {0}", longitude), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); +#line hidden #line 133 testRunner.Then(string.Format("AisPositionReportClassAParser.Latitude10000thMins is {0}", latitude), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -289,15 +454,35 @@ public virtual void LongitudeAndLatitute(string payload, string padding, string [NUnit.Framework.TestCaseAttribute("13mVWJ2P01P`jBlTMPsN4?v22<0G", "0", "3600", null)] public virtual void CourseOverGround(string payload, string padding, string courseOverGround, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Course Over Ground", null, exampleTags); #line 147 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 148 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 149 testRunner.Then(string.Format("AisPositionReportClassAParser.CourseOverGround10thDegrees is {0}", courseOverGround), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -313,15 +498,35 @@ public virtual void CourseOverGround(string payload, string padding, string cour [NUnit.Framework.TestCaseAttribute("13mCIp0P00PFnJBSHS1>4?wH2@JB", "0", "511", null)] public virtual void TrueHeading(string payload, string padding, string trueHeading, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("True Heading", null, exampleTags); #line 163 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 164 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 165 testRunner.Then(string.Format("AisPositionReportClassAParser.TrueHeadingDegrees is {0}", trueHeading), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -338,15 +543,35 @@ public virtual void TrueHeading(string payload, string padding, string trueHeadi [NUnit.Framework.TestCaseAttribute("13oFwV3P?w4?wv0PSu", "0", "63", null)] public virtual void TimeStamp(string payload, string padding, string timeStamp, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Time Stamp", null, exampleTags); #line 178 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 179 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 180 testRunner.Then(string.Format("AisPositionReportClassAParser.TimeStampSecond is {0}", timeStamp), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -361,15 +586,35 @@ public virtual void TimeStamp(string payload, string padding, string timeStamp, [NUnit.Framework.TestCaseAttribute("13m69r00AfPlnG6U;43aD7MO0534", "0", "SpecialManoeuvre", null)] public virtual void ManoeuvreIndicator(string payload, string padding, string manoeuvre, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Manoeuvre Indicator", null, exampleTags); #line 194 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 195 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 196 testRunner.Then(string.Format("AisPositionReportClassAParser.ManoeuvreIndicator is {0}", manoeuvre), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -387,15 +632,35 @@ public virtual void ManoeuvreIndicator(string payload, string padding, string ma [NUnit.Framework.TestCaseAttribute("13n@kJ0000PIk0@Sc2==PDQd`53L", "0", "2", null)] public virtual void SpareBitsAt145(string payload, string padding, string spare, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Spare Bits at 145", null, exampleTags); #line 208 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 209 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 210 testRunner.Then(string.Format("AisPositionReportClassAParser.SpareBits145 is {0}", spare), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -408,15 +673,35 @@ public virtual void SpareBitsAt145(string payload, string padding, string spare, [NUnit.Framework.TestCaseAttribute("13mCIp0P00PFnJBSHS1>4?wH2@JB", "0", "true", null)] public virtual void RaimFlag(string payload, string padding, string flag, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Raim Flag", null, exampleTags); #line 225 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 226 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 227 testRunner.Then(string.Format("AisPositionReportClassAParser.RaimFlag is {0}", flag), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -431,15 +716,35 @@ public virtual void RaimFlag(string payload, string padding, string flag, string [NUnit.Framework.TestCaseAttribute("13oaO<5000PG1VhS?rC3ajf>1000", "0", "ToBaseStation", null)] public virtual void RadioSyncState(string payload, string padding, string state, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Radio Sync State", null, exampleTags); #line 237 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 238 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 239 testRunner.Then(string.Format("AisPositionReportClassAParser.RadioSyncState is {0}", state), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -463,15 +768,35 @@ public virtual void RadioSyncState(string payload, string padding, string state, [NUnit.Framework.TestCaseAttribute("13P=N7M1@10Ph14SqI7pAW@j0L0G", "0", "7", null)] public virtual void RadioSlotTimeout(string payload, string padding, string timeout, string[] exampleTags) { + string[] tagsOfScenario = exampleTags; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Radio Slot Timeout", null, exampleTags); #line 251 this.ScenarioInitialize(scenarioInfo); - this.ScenarioStart(); +#line hidden + 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(); + } + else + { + this.ScenarioStart(); #line 252 testRunner.When(string.Format("I parse \'{0}\' with padding {1} as a Position Report Class A", payload, padding), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); +#line hidden #line 253 testRunner.Then(string.Format("AisPositionReportClassAParser.RadioSlotTimeout is {0}", timeout), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden + } this.ScenarioCleanup(); } @@ -483,15 +808,35 @@ public virtual void RadioSlotTimeout(string payload, string padding, string time [NUnit.Framework.TestCaseAttribute("13mClB:Oi