Index: Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs =================================================================== diff -u -r8aaa7b9a8a2826cf8da31d0fd136f2d559933afe -r0540405a7dbabf85dc02db30c79c3c58b0faeea6 --- Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs (.../RingtoetsProjectTestHelper.cs) (revision 8aaa7b9a8a2826cf8da31d0fd136f2d559933afe) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs (.../RingtoetsProjectTestHelper.cs) (revision 0540405a7dbabf85dc02db30c79c3c58b0faeea6) @@ -39,6 +39,7 @@ using Ringtoets.Piping.Data; using Ringtoets.Piping.KernelWrapper.TestUtil; using Ringtoets.Piping.Primitives; +using Ringtoets.Revetment.Data; using Ringtoets.StabilityStoneCover.Data; using Ringtoets.WaveImpactAsphaltCover.Data; @@ -78,7 +79,7 @@ SetSectionResults(grassCoverErosionOutwardsFailureMechanism.SectionResults); StabilityStoneCoverFailureMechanism stabilityStoneCoverFailureMechanism = assessmentSection.StabilityStoneCover; - ConfigureStabilityStoneCoverFailureMechanism(stabilityStoneCoverFailureMechanism); + ConfigureStabilityStoneCoverFailureMechanism(stabilityStoneCoverFailureMechanism, assessmentSection); AddSections(stabilityStoneCoverFailureMechanism); SetSectionResults(stabilityStoneCoverFailureMechanism.SectionResults); @@ -367,9 +368,9 @@ failureMechanism.GeneralInput.N = 15; } - private static void ConfigureStabilityStoneCoverFailureMechanism(StabilityStoneCoverFailureMechanism failureMechanism) + private static void ConfigureStabilityStoneCoverFailureMechanism(StabilityStoneCoverFailureMechanism failureMechanism, IAssessmentSection assessmentSection) { - failureMechanism.ForeshoreProfiles.Add(new ForeshoreProfile( + var foreshoreProfile = new ForeshoreProfile( new Point2D(2,5), new [] { new Point2D(1, 6), @@ -379,13 +380,44 @@ Name = "FP", Orientation = 95.5, X0 = 22.1 - })); + }); + failureMechanism.ForeshoreProfiles.Add(foreshoreProfile); failureMechanism.ForeshoreProfiles.Add(new ForeshoreProfile( new Point2D(2,5), Enumerable.Empty(), null, new ForeshoreProfile.ConstructionProperties())); failureMechanism.WaveConditionsCalculationGroup.Children.Add(new CalculationGroup { + Name = "GEKB A", + Children = + { + new StabilityStoneCoverWaveConditionsCalculation + { + Name = "Calculation 1", + Comments = "Comments for Calculation 1", + InputParameters = + { + ForeshoreProfile = foreshoreProfile, + HydraulicBoundaryLocation = assessmentSection.HydraulicBoundaryDatabase.Locations[0], + BreakWater = + { + Height = (RoundedDouble) (foreshoreProfile.BreakWater.Height + 0.3), + Type = BreakWaterType.Wall + }, + Orientation = foreshoreProfile.Orientation, + UseForeshore = true, + UseBreakWater = true, + UpperBoundaryRevetment = (RoundedDouble) 22.3, + LowerBoundaryRevetment = (RoundedDouble) (-3.2), + UpperBoundaryWaterLevels = (RoundedDouble) 15.3, + LowerBoundaryWaterLevels = (RoundedDouble) (-2.4), + StepSize = WaveConditionsInputStepSize.Two + } + } + } + }); + failureMechanism.WaveConditionsCalculationGroup.Children.Add(new CalculationGroup + { Name = "SSC A" }); failureMechanism.WaveConditionsCalculationGroup.Children.Add(new CalculationGroup