Index: Riskeer/Storage/test/Riskeer.Storage.Core.TestUtil/RiskeerProjectTestHelper.cs =================================================================== diff -u -rd9ce7218c61d2ecb9dba1d9305ef9ab3d5e22d22 -r37f66afb108f8e3782227c810e910b411089d035 --- Riskeer/Storage/test/Riskeer.Storage.Core.TestUtil/RiskeerProjectTestHelper.cs (.../RiskeerProjectTestHelper.cs) (revision d9ce7218c61d2ecb9dba1d9305ef9ab3d5e22d22) +++ Riskeer/Storage/test/Riskeer.Storage.Core.TestUtil/RiskeerProjectTestHelper.cs (.../RiskeerProjectTestHelper.cs) (revision 37f66afb108f8e3782227c810e910b411089d035) @@ -28,7 +28,6 @@ using Core.Common.Base.Geometry; using Core.Common.TestUtil; using Core.Common.Util.Extensions; -using Riskeer.AssemblyTool.Data; using Riskeer.ClosingStructures.Data; using Riskeer.ClosingStructures.Data.TestUtil; using Riskeer.Common.Data.AssessmentSection; @@ -41,7 +40,6 @@ using Riskeer.Common.Data.IllustrationPoints; using Riskeer.Common.Data.Probabilistics; using Riskeer.Common.Data.Structures; -using Riskeer.Common.Primitives; using Riskeer.DuneErosion.Data; using Riskeer.GrassCoverErosionInwards.Data; using Riskeer.GrassCoverErosionOutwards.Data; @@ -212,8 +210,6 @@ SetSections(grassCoverSlipOffOutwardsFailureMechanism); SetSectionResults(grassCoverSlipOffOutwardsFailureMechanism.SectionResults); - SetSectionResults(assessmentSection.DuneErosion.SectionResultsOld); - var i = 0; assessmentSection.GetFailureMechanisms().ForEachElementDo(fm => { @@ -1354,24 +1350,7 @@ SetDuneLocations(failureMechanism); } - - private static void SetSectionResults(IEnumerable sectionResults) - { - var random = new Random(42); - foreach (DuneErosionFailureMechanismSectionResultOld sectionResult in sectionResults) - { - sectionResult.SimpleAssessmentResult = random.NextEnumValue(); - sectionResult.DetailedAssessmentResultForFactorizedSignalingNorm = random.NextEnumValue(); - sectionResult.DetailedAssessmentResultForSignalingNorm = random.NextEnumValue(); - sectionResult.DetailedAssessmentResultForMechanismSpecificLowerLimitNorm = random.NextEnumValue(); - sectionResult.DetailedAssessmentResultForLowerLimitNorm = random.NextEnumValue(); - sectionResult.DetailedAssessmentResultForFactorizedLowerLimitNorm = random.NextEnumValue(); - sectionResult.TailorMadeAssessmentResult = random.NextEnumValue(); - sectionResult.UseManualAssembly = random.NextBoolean(); - sectionResult.ManualAssemblyCategoryGroup = random.NextEnumValue(); - } - } - + private static void SetDuneLocations(DuneErosionFailureMechanism failureMechanism) { var locationOne = new DuneLocation(12, "DuneLocation", new Point2D(790, 456),