Index: Riskeer.sln =================================================================== diff -u -r5bcfe8d42da5dc0a443b8f6ba59af0bde66d87f1 -r41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d --- Riskeer.sln (.../Riskeer.sln) (revision 5bcfe8d42da5dc0a443b8f6ba59af0bde66d87f1) +++ Riskeer.sln (.../Riskeer.sln) (revision 41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d) @@ -1972,8 +1972,9 @@ {C90B77DA-E421-43CC-B82E-529651BC21AC} = {C90B77DA-E421-43CC-B82E-529651BC21AC} EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Riskeer.Piping.Util.Test", "Riskeer\Piping\test\Riskeer.Piping.Util.Test\Riskeer.Piping.Util.Test.csproj", "{79656871-341E-42F7-AEB0-98E517E55312}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Riskeer.Piping.Util.Test", "Riskeer\Piping\test\Riskeer.Piping.Util.Test\Riskeer.Piping.Util.Test.csproj", "{79656871-341E-42F7-AEB0-98E517E55312}" ProjectSection(ProjectDependencies) = postProject + {3BBFD65B-B277-4E50-AE6D-BD24C3434609} = {3BBFD65B-B277-4E50-AE6D-BD24C3434609} {C90B77DA-E421-43CC-B82E-529651BC21AC} = {C90B77DA-E421-43CC-B82E-529651BC21AC} EndProjectSection EndProject Index: Riskeer/Piping/src/Riskeer.Piping.Forms/ChangeHandlers/ClearIllustrationPointsOfProbabilisticCalculationChangeHandler.cs =================================================================== diff -u --- Riskeer/Piping/src/Riskeer.Piping.Forms/ChangeHandlers/ClearIllustrationPointsOfProbabilisticCalculationChangeHandler.cs (revision 0) +++ Riskeer/Piping/src/Riskeer.Piping.Forms/ChangeHandlers/ClearIllustrationPointsOfProbabilisticCalculationChangeHandler.cs (revision 41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d) @@ -0,0 +1,63 @@ +// Copyright (C) Stichting Deltares 2019. All rights reserved. +// +// This file is part of Riskeer. +// +// Riskeer is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using System; +using Core.Common.Gui.Helpers; +using Riskeer.Common.Forms.ChangeHandlers; +using Riskeer.Piping.Data.Probabilistic; + +namespace Riskeer.Piping.Forms.ChangeHandlers +{ + /// + /// Class for handling clearing illustration point results from a grass cover erosion inwards calculation. + /// + public class ClearIllustrationPointsOfProbabilisticPipingCalculationChangeHandler + : ClearIllustrationPointsOfCalculationChangeHandlerBase + { + /// + /// Creates a new instance of . + /// + /// Object responsible for inquiring confirmation. + /// The calculation to clear the illustration points for. + /// Thrown when any argument is null. + public ClearIllustrationPointsOfProbabilisticPipingCalculationChangeHandler(IInquiryHelper inquiryHelper, + ProbabilisticPipingCalculation calculation) + : base(inquiryHelper, calculation) {} + + public override bool ClearIllustrationPoints() + { + if (HasIllustrationPoints(Calculation.Output)) + { + Calculation.ClearIllustrationPoints(); + return true; + } + + return false; + } + + private static bool HasIllustrationPoints(ProbabilisticPipingOutput output) + { + return output.ProfileSpecificOutput.HasGeneralResult + || output.SectionSpecificOutput.HasGeneralResult; + + } + } +} \ No newline at end of file Index: Riskeer/Piping/src/Riskeer.Piping.Forms/ChangeHandlers/ClearIllustrationPointsOfProbabilisticPipingCalculationCollectionChangeHandler.cs =================================================================== diff -u --- Riskeer/Piping/src/Riskeer.Piping.Forms/ChangeHandlers/ClearIllustrationPointsOfProbabilisticPipingCalculationCollectionChangeHandler.cs (revision 0) +++ Riskeer/Piping/src/Riskeer.Piping.Forms/ChangeHandlers/ClearIllustrationPointsOfProbabilisticPipingCalculationCollectionChangeHandler.cs (revision 41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d) @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using Core.Common.Base; +using Core.Common.Gui.Helpers; +using Riskeer.Common.Forms.ChangeHandlers; +using Riskeer.Piping.Data.Probabilistic; +using Riskeer.Piping.Util; +using RiskeerCommonFormsResources = Riskeer.Common.Forms.Properties.Resources; + +namespace Riskeer.Piping.Forms.ChangeHandlers +{ + public class ClearIllustrationPointsOfProbabilisticPipingCalculationCollectionChangeHandler : ClearIllustrationPointsOfCalculationCollectionChangeHandlerBase + { + private readonly IEnumerable calculations; + + /// + /// Creates a new instance of . + /// + /// Object responsible for inquiring confirmation. + /// The calculations for which the illustration points should be cleared for. + /// Thrown when any parameter is null. + public ClearIllustrationPointsOfProbabilisticPipingCalculationCollectionChangeHandler(IInquiryHelper inquiryHelper, + IEnumerable calculations) + : base(inquiryHelper) + { + if (calculations == null) + { + throw new ArgumentNullException(nameof(calculations)); + } + + this.calculations = calculations; + } + + public override IEnumerable ClearIllustrationPoints() + { + var affectedObjects = new List(); + foreach (var calculation in calculations) + { + if (ProbabilisticPipingIllustrationPointsHelper.HasIllustrationPoints(calculation)) + { + affectedObjects.Add(calculation); + calculation.ClearIllustrationPoints(); + } + } + + return affectedObjects; + } + + protected override string GetConfirmationMessage() + { + return RiskeerCommonFormsResources.ClearIllustrationPointsCalculationCollection_ConfirmationMessage; + } + } +} \ No newline at end of file Index: Riskeer/Piping/src/Riskeer.Piping.Forms/Riskeer.Piping.Forms.csproj =================================================================== diff -u -r76f63dfcf128c530fb21df48e063cd82b32aed6d -r41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d --- Riskeer/Piping/src/Riskeer.Piping.Forms/Riskeer.Piping.Forms.csproj (.../Riskeer.Piping.Forms.csproj) (revision 76f63dfcf128c530fb21df48e063cd82b32aed6d) +++ Riskeer/Piping/src/Riskeer.Piping.Forms/Riskeer.Piping.Forms.csproj (.../Riskeer.Piping.Forms.csproj) (revision 41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d) @@ -26,6 +26,7 @@ + Index: Riskeer/Piping/src/Riskeer.Piping.Plugin/PipingPlugin.cs =================================================================== diff -u -rde0beacdda74e99b55203b56dd8fbda8520a6ce4 -r41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d --- Riskeer/Piping/src/Riskeer.Piping.Plugin/PipingPlugin.cs (.../PipingPlugin.cs) (revision de0beacdda74e99b55203b56dd8fbda8520a6ce4) +++ Riskeer/Piping/src/Riskeer.Piping.Plugin/PipingPlugin.cs (.../PipingPlugin.cs) (revision 41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d) @@ -29,6 +29,7 @@ using Core.Common.Controls.TreeView; using Core.Common.Gui.ContextMenu; using Core.Common.Gui.Forms.ProgressDialog; +using Core.Common.Gui.Helpers; using Core.Common.Gui.Plugin; using Core.Common.Util; using Riskeer.Common.Data.AssessmentSection; @@ -54,6 +55,7 @@ using Riskeer.Piping.Data.SemiProbabilistic; using Riskeer.Piping.Data.SoilProfile; using Riskeer.Piping.Forms; +using Riskeer.Piping.Forms.ChangeHandlers; using Riskeer.Piping.Forms.PresentationObjects; using Riskeer.Piping.Forms.PresentationObjects.Probabilistic; using Riskeer.Piping.Forms.PresentationObjects.SemiProbabilistic; @@ -68,6 +70,7 @@ using Riskeer.Piping.Service; using Riskeer.Piping.Service.Probabilistic; using Riskeer.Piping.Service.SemiProbabilistic; +using Riskeer.Piping.Util; using RiskeerCommonFormsResources = Riskeer.Common.Forms.Properties.Resources; using RiskeerCommonDataResources = Riskeer.Common.Data.Properties.Resources; using PipingFormsResources = Riskeer.Piping.Forms.Properties.Resources; @@ -714,6 +717,11 @@ object parentData, TreeViewControl treeViewControl) { + IEnumerable calculations = pipingFailureMechanismContext.WrappedData + .Calculations + .OfType(); + IInquiryHelper inquiryHelper = GetInquiryHelper(); + var builder = new RiskeerContextMenuBuilder(Gui.Get(pipingFailureMechanismContext, treeViewControl)); return builder.AddOpenItem() @@ -728,6 +736,9 @@ CalculateAllInFailureMechanism) .AddSeparator() .AddClearAllCalculationOutputInFailureMechanismItem(pipingFailureMechanismContext.WrappedData) + .AddClearIllustrationPointsOfCalculationsInFailureMechanismItem( + () => ProbabilisticPipingIllustrationPointsHelper.HasIllustrationPoints(calculations), + CreateChangeHandler(inquiryHelper, calculations)) .AddSeparator() .AddCollapseAllItem() .AddExpandAllItem() @@ -845,6 +856,8 @@ .ToArray(); StrictContextMenuItem updateEntryAndExitPointsItem = CreateCalculationGroupUpdateEntryAndExitPointItem(calculations); + IInquiryHelper inquiryHelper = GetInquiryHelper(); + if (!isNestedGroup) { builder.AddOpenItem() @@ -885,7 +898,9 @@ nodeData, CalculateAllInCalculationGroup) .AddSeparator() - .AddClearAllCalculationOutputInGroupItem(group); + .AddClearAllCalculationOutputInGroupItem(group) + .AddClearIllustrationPointsOfCalculationsInGroupItem(() => ProbabilisticPipingIllustrationPointsHelper.HasIllustrationPoints(calculations.OfType()), + CreateChangeHandler(inquiryHelper, calculations.OfType())); if (isNestedGroup) { @@ -1161,10 +1176,11 @@ private ContextMenuStrip ProbabilisticPipingCalculationScenarioContextContextMenuStrip(ProbabilisticPipingCalculationScenarioContext nodeData, object parentData, TreeViewControl treeViewControl) { + ProbabilisticPipingCalculationScenario calculation = nodeData.WrappedData; + var changeHandler = new ClearIllustrationPointsOfProbabilisticPipingCalculationChangeHandler(GetInquiryHelper(), + calculation); var builder = new RiskeerContextMenuBuilder(Gui.Get(nodeData, treeViewControl)); - ProbabilisticPipingCalculationScenario calculation = nodeData.WrappedData; - StrictContextMenuItem updateEntryAndExitPoint = CreateUpdateEntryAndExitPointItem(calculation); return builder.AddExportItem() @@ -1182,6 +1198,8 @@ CalculateProbabilistic) .AddSeparator() .AddClearCalculationOutputItem(calculation) + .AddClearIllustrationPointsOfCalculationItem(() => ProbabilisticPipingIllustrationPointsHelper.HasIllustrationPoints(calculation), + changeHandler) .AddDeleteItem() .AddSeparator() .AddCollapseAllItem() @@ -1277,6 +1295,12 @@ } } + private static ClearIllustrationPointsOfProbabilisticPipingCalculationCollectionChangeHandler CreateChangeHandler( + IInquiryHelper inquiryHelper, IEnumerable calculations) + { + return new ClearIllustrationPointsOfProbabilisticPipingCalculationCollectionChangeHandler(inquiryHelper, calculations); + } + /// /// Validates the provided . /// Index: Riskeer/Piping/src/Riskeer.Piping.Plugin/Riskeer.Piping.Plugin.csproj =================================================================== diff -u -r08e8d26a0715f0f3db57c1d3e86256aa06934db4 -r41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d --- Riskeer/Piping/src/Riskeer.Piping.Plugin/Riskeer.Piping.Plugin.csproj (.../Riskeer.Piping.Plugin.csproj) (revision 08e8d26a0715f0f3db57c1d3e86256aa06934db4) +++ Riskeer/Piping/src/Riskeer.Piping.Plugin/Riskeer.Piping.Plugin.csproj (.../Riskeer.Piping.Plugin.csproj) (revision 41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d) @@ -10,24 +10,25 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + Index: Riskeer/Piping/src/Riskeer.Piping.Util/ProbabilisticPipingIllustrationPointsHelper.cs =================================================================== diff -u --- Riskeer/Piping/src/Riskeer.Piping.Util/ProbabilisticPipingIllustrationPointsHelper.cs (revision 0) +++ Riskeer/Piping/src/Riskeer.Piping.Util/ProbabilisticPipingIllustrationPointsHelper.cs (revision 41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d) @@ -0,0 +1,75 @@ +// Copyright (C) Stichting Deltares 2019. All rights reserved. +// +// This file is part of Riskeer. +// +// Riskeer is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using System; +using System.Collections.Generic; +using System.Linq; +using Riskeer.Piping.Data.Probabilistic; + +namespace Riskeer.Piping.Util +{ + /// + /// Class that contains helper methods for determining whether grass cover erosion inwards objects have illustration point results. + /// + public static class ProbabilisticPipingIllustrationPointsHelper + { + /// + /// Determines whether a has illustration point results. + /// + /// The calculation to check. + /// true when has illustration point results, false otherwise. + /// Thrown when is null. + public static bool HasIllustrationPoints(ProbabilisticPipingCalculationScenario calculation) + { + if (calculation == null) + { + throw new ArgumentNullException(nameof(calculation)); + } + + return calculation.HasOutput && HasIllustrationPoints(calculation.Output); + } + + /// + /// Determines whether a collection of contain + /// calculations with illustration point results. + /// + /// The calculations to check. + /// true when contain calculations with + /// illustration point results, false otherwise. + /// Thrown when is null. + public static bool HasIllustrationPoints(IEnumerable calculations) + { + if (calculations == null) + { + throw new ArgumentNullException(nameof(calculations)); + } + + return calculations.Any(HasIllustrationPoints); + } + + private static bool HasIllustrationPoints(ProbabilisticPipingOutput output) + { + return output.ProfileSpecificOutput.HasGeneralResult + || output.SectionSpecificOutput.HasGeneralResult; + + } + } +} \ No newline at end of file Index: Riskeer/Piping/src/Riskeer.Piping.Util/Riskeer.Piping.Util.csproj =================================================================== diff -u -r16f89840b0487e22acd5133d478bcf3c7b4d4e0d -r41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d --- Riskeer/Piping/src/Riskeer.Piping.Util/Riskeer.Piping.Util.csproj (.../Riskeer.Piping.Util.csproj) (revision 16f89840b0487e22acd5133d478bcf3c7b4d4e0d) +++ Riskeer/Piping/src/Riskeer.Piping.Util/Riskeer.Piping.Util.csproj (.../Riskeer.Piping.Util.csproj) (revision 41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d) @@ -7,4 +7,7 @@ + + + \ No newline at end of file Index: Riskeer/Piping/test/Riskeer.Piping.Forms.Test/ChangeHandlers/ClearIllustrationPointsOfProbabilisticPipingCalculationChangeHandlerTest.cs =================================================================== diff -u --- Riskeer/Piping/test/Riskeer.Piping.Forms.Test/ChangeHandlers/ClearIllustrationPointsOfProbabilisticPipingCalculationChangeHandlerTest.cs (revision 0) +++ Riskeer/Piping/test/Riskeer.Piping.Forms.Test/ChangeHandlers/ClearIllustrationPointsOfProbabilisticPipingCalculationChangeHandlerTest.cs (revision 41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d) @@ -0,0 +1,7 @@ +namespace Riskeer.Piping.Forms.Test.ChangeHandlers +{ + public class ClearIllustrationPointsOfProbabilisticPipingCalculationChangeHandlerTest + { + + } +} \ No newline at end of file Index: Riskeer/Piping/test/Riskeer.Piping.Forms.Test/ChangeHandlers/ClearIllustrationPointsOfProbabilisticPipingCalculationCollectionChangeHandlerTest.cs =================================================================== diff -u --- Riskeer/Piping/test/Riskeer.Piping.Forms.Test/ChangeHandlers/ClearIllustrationPointsOfProbabilisticPipingCalculationCollectionChangeHandlerTest.cs (revision 0) +++ Riskeer/Piping/test/Riskeer.Piping.Forms.Test/ChangeHandlers/ClearIllustrationPointsOfProbabilisticPipingCalculationCollectionChangeHandlerTest.cs (revision 41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d) @@ -0,0 +1,7 @@ +namespace Riskeer.Piping.Forms.Test.ChangeHandlers +{ + public class ClearIllustrationPointsOfProbabilisticPipingCalculationCollectionChangeHandlerTest + { + + } +} \ No newline at end of file Index: Riskeer/Piping/test/Riskeer.Piping.Util.Test/ProbabilisticPipingIllustrationPointsHelperTest.cs =================================================================== diff -u --- Riskeer/Piping/test/Riskeer.Piping.Util.Test/ProbabilisticPipingIllustrationPointsHelperTest.cs (revision 0) +++ Riskeer/Piping/test/Riskeer.Piping.Util.Test/ProbabilisticPipingIllustrationPointsHelperTest.cs (revision 41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d) @@ -0,0 +1,136 @@ +// // Copyright (C) Stichting Deltares 2019. All rights reserved. +// // +// // This file is part of Riskeer. +// // +// // Riskeer is free software: you can redistribute it and/or modify +// // it under the terms of the GNU General Public License as published by +// // the Free Software Foundation, either version 3 of the License, or +// // (at your option) any later version. +// // +// // This program is distributed in the hope that it will be useful, +// // but WITHOUT ANY WARRANTY; without even the implied warranty of +// // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// // GNU General Public License for more details. +// // +// // You should have received a copy of the GNU General Public License +// // along with this program. If not, see . +// // +// // All names, logos, and references to "Deltares" are registered trademarks of +// // Stichting Deltares and remain full property of Stichting Deltares at all times. +// // All rights reserved. +// +// using System; +// using System.Collections.Generic; +// using System.Linq; +// using NUnit.Framework; +// using Riskeer.Common.Data.TestUtil.IllustrationPoints; +// using Riskeer.Piping.Data.Probabilistic; +// +// namespace Riskeer.Piping.Util.Test +// { +// [TestFixture] +// public class ProbabilisticPipingIllustrationPointsHelperTest +// { +// [Test] +// public void HasIllustrationPoints_CalculationsNull_ThrowsArgumentNullException() +// { +// // Call +// TestDelegate call = () => ProbabilisticPipingIllustrationPointsHelper.HasIllustrationPoints((IEnumerable) null); +// +// // Assert +// var exception = Assert.Throws(call); +// Assert.AreEqual("calculations", exception.ParamName); +// } +// +// [Test] +// [TestCaseSource(nameof(GetCalculationCollectionConfigurations))] +// public void HasIllustrationPoints_WithVariousCalculationCollectionConfigurations_ReturnsExpectedResults( +// IEnumerable calculations, +// bool expectedHasIllustrationPoints) +// { +// // Call +// bool hasIllustrationPoints = ProbabilisticPipingIllustrationPointsHelper.HasIllustrationPoints(calculations); +// +// // Assert +// Assert.AreEqual(expectedHasIllustrationPoints, hasIllustrationPoints); +// } +// +// [Test] +// public void HasIllustrationPoints_CalculationNull_ThrowsArgumentNullException() +// { +// // Call +// TestDelegate call = () => ProbabilisticPipingIllustrationPointsHelper.HasIllustrationPoints((ProbabilisticPipingCalculationScenario) null); +// +// // Assert +// var exception = Assert.Throws(call); +// Assert.AreEqual("calculation", exception.ParamName); +// } +// +// [Test] +// [TestCaseSource(nameof(GetCalculationConfigurations))] +// public void HasIllustrationPoints_WithVariousCalculationConfigurations_ReturnsExpectedResult( +// ProbabilisticPipingCalculationScenario calculation, +// bool expectedHasIllustrationPoints) +// { +// // Call +// bool hasIllustrationPoints = ProbabilisticPipingIllustrationPointsHelper.HasIllustrationPoints(calculation); +// +// // Assert +// Assert.AreEqual(expectedHasIllustrationPoints, hasIllustrationPoints); +// } +// +// private static IEnumerable GetCalculationCollectionConfigurations() +// { +// foreach (TestCaseData configuration in GetCalculationConfigurations()) +// { +// yield return new TestCaseData(new[] +// { +// new ProbabilisticPipingCalculationScenario(), +// new ProbabilisticPipingCalculationScenario +// { +// Output = new +// }, +// (ProbabilisticPipingCalculationScenario) configuration.Arguments[0] +// }, configuration.Arguments[1]); +// } +// +// yield return new TestCaseData(Enumerable.Empty(), false); +// } +// +// private static IEnumerable GetCalculationConfigurations() +// { +// var random = new Random(21); +// var calculationWithOverToppingOutputWithIllustrationPoints = new ProbabilisticPipingCalculationScenario +// { +// Output = new ProbabilisticPipingOutput(new PartialProbabilisticPipingOutput(0.7, new TestGeneralResultFaultTreeIllustrationPoint()), +// new PartialProbabilisticPipingOutput(0.6, new TestGeneralResultFaultTreeIllustrationPoint()))}; +// +// var calculationWithDikeHeightRateWithIllustrationPoints = new ProbabilisticPipingCalculationScenario +// { +// Output = new ProbabilisticPipingOutput(new TestOvertoppingOutput(random.NextDouble()), +// new TestDikeHeightOutput(new TestGeneralResultFaultTreeIllustrationPoint()), +// null) +// }; +// +// var calculationWithOvertoppingRateWithIllustrationPoints = new ProbabilisticPipingCalculationScenario +// { +// Output = new ProbabilisticPipingOutput(new TestOvertoppingOutput(random.NextDouble()), +// null, +// new TestOvertoppingRateOutput(new TestGeneralResultFaultTreeIllustrationPoint())) +// }; +// +// var calculationWitNoIllustrationPoints = new ProbabilisticPipingCalculationScenario +// { +// Output = new ProbabilisticPipingOutput(new TestOvertoppingOutput(random.NextDouble()), +// null, +// null) +// }; +// +// yield return new TestCaseData(calculationWithOverToppingOutputWithIllustrationPoints, true); +// yield return new TestCaseData(calculationWithDikeHeightRateWithIllustrationPoints, true); +// yield return new TestCaseData(calculationWithOvertoppingRateWithIllustrationPoints, true); +// yield return new TestCaseData(calculationWitNoIllustrationPoints, false); +// yield return new TestCaseData(new ProbabilisticPipingCalculationScenario(), false); +// } +// } +// } \ No newline at end of file Index: Riskeer/Piping/test/Riskeer.Piping.Util.Test/Riskeer.Piping.Util.Test.csproj =================================================================== diff -u -r16f89840b0487e22acd5133d478bcf3c7b4d4e0d -r41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d --- Riskeer/Piping/test/Riskeer.Piping.Util.Test/Riskeer.Piping.Util.Test.csproj (.../Riskeer.Piping.Util.Test.csproj) (revision 16f89840b0487e22acd5133d478bcf3c7b4d4e0d) +++ Riskeer/Piping/test/Riskeer.Piping.Util.Test/Riskeer.Piping.Util.Test.csproj (.../Riskeer.Piping.Util.Test.csproj) (revision 41dd0e1b8c5d9c0bf94e4ebca9f5d867583ba85d) @@ -7,4 +7,14 @@ + + + + + + + + 3.8.1 + + \ No newline at end of file