Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismResultViewTest.cs =================================================================== diff -u -r0aacf2dc29138c69f365fe26a143d4e83b172dbe -r941cf54b9675d2250c4cd728ec81adde7e4832e1 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismResultViewTest.cs (.../ClosingStructuresFailureMechanismResultViewTest.cs) (revision 0aacf2dc29138c69f365fe26a143d4e83b172dbe) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismResultViewTest.cs (.../ClosingStructuresFailureMechanismResultViewTest.cs) (revision 941cf54b9675d2250c4cd728ec81adde7e4832e1) @@ -656,11 +656,7 @@ var dataObject = view.Data as List; Assert.IsNotNull(dataObject); ClosingStructuresFailureMechanismSectionResult row = dataObject.First(); - - const string propertyName = "AssessmentLayerThree"; - object propertyValue = row.GetType().GetProperty(propertyName).GetValue(row, null); - - Assert.AreEqual((RoundedDouble) newValue, propertyValue); + Assert.AreEqual(newValue, row.AssessmentLayerThree); } } Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsFailureMechanismResultViewTest.cs =================================================================== diff -u -re25d4d9814eac847e4e004df35a91a938ee01912 -r941cf54b9675d2250c4cd728ec81adde7e4832e1 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsFailureMechanismResultViewTest.cs (.../GrassCoverErosionInwardsFailureMechanismResultViewTest.cs) (revision e25d4d9814eac847e4e004df35a91a938ee01912) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsFailureMechanismResultViewTest.cs (.../GrassCoverErosionInwardsFailureMechanismResultViewTest.cs) (revision 941cf54b9675d2250c4cd728ec81adde7e4832e1) @@ -24,7 +24,6 @@ using System.Globalization; using System.Linq; using System.Windows.Forms; -using Core.Common.Base.Data; using Core.Common.Base.Geometry; using Core.Common.TestUtil; using NUnit.Extensions.Forms; @@ -282,11 +281,7 @@ var dataObject = view.Data as List; Assert.IsNotNull(dataObject); GrassCoverErosionInwardsFailureMechanismSectionResult row = dataObject.First(); - - const string propertyName = "AssessmentLayerThree"; - object propertyValue = row.GetType().GetProperty(propertyName).GetValue(row, null); - - Assert.AreEqual((RoundedDouble) newValue, propertyValue); + Assert.AreEqual(newValue, row.AssessmentLayerThree); } } Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismResultViewTest.cs =================================================================== diff -u -re25d4d9814eac847e4e004df35a91a938ee01912 -r941cf54b9675d2250c4cd728ec81adde7e4832e1 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismResultViewTest.cs (.../HeightStructuresFailureMechanismResultViewTest.cs) (revision e25d4d9814eac847e4e004df35a91a938ee01912) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismResultViewTest.cs (.../HeightStructuresFailureMechanismResultViewTest.cs) (revision 941cf54b9675d2250c4cd728ec81adde7e4832e1) @@ -24,7 +24,6 @@ using System.Globalization; using System.Linq; using System.Windows.Forms; -using Core.Common.Base.Data; using Core.Common.Base.Geometry; using Core.Common.TestUtil; using NUnit.Extensions.Forms; @@ -287,11 +286,7 @@ var dataObject = view.Data as List; Assert.IsNotNull(dataObject); HeightStructuresFailureMechanismSectionResult row = dataObject.First(); - - const string propertyName = "AssessmentLayerThree"; - object propertyValue = row.GetType().GetProperty(propertyName).GetValue(row, null); - - Assert.AreEqual((RoundedDouble) newValue, propertyValue); + Assert.AreEqual(newValue, row.AssessmentLayerThree); } } Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsFailureMechanismResultViewTest.cs =================================================================== diff -u -re25d4d9814eac847e4e004df35a91a938ee01912 -r941cf54b9675d2250c4cd728ec81adde7e4832e1 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsFailureMechanismResultViewTest.cs (.../MacroStabilityInwardsFailureMechanismResultViewTest.cs) (revision e25d4d9814eac847e4e004df35a91a938ee01912) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsFailureMechanismResultViewTest.cs (.../MacroStabilityInwardsFailureMechanismResultViewTest.cs) (revision 941cf54b9675d2250c4cd728ec81adde7e4832e1) @@ -281,11 +281,7 @@ var dataObject = view.Data as List; Assert.IsNotNull(dataObject); MacroStabilityInwardsFailureMechanismSectionResult row = dataObject.First(); - - const string propertyName = "AssessmentLayerThree"; - object propertyValue = row.GetType().GetProperty(propertyName).GetValue(row, null); - - Assert.AreEqual(newValue, propertyValue); + Assert.AreEqual(newValue, row.AssessmentLayerThree); } } Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingFailureMechanismResultViewTest.cs =================================================================== diff -u -r09693d79085118c47709b7059ab7c1ef459ad2aa -r941cf54b9675d2250c4cd728ec81adde7e4832e1 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingFailureMechanismResultViewTest.cs (.../PipingFailureMechanismResultViewTest.cs) (revision 09693d79085118c47709b7059ab7c1ef459ad2aa) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingFailureMechanismResultViewTest.cs (.../PipingFailureMechanismResultViewTest.cs) (revision 941cf54b9675d2250c4cd728ec81adde7e4832e1) @@ -282,11 +282,7 @@ var dataObject = view.Data as List; Assert.IsNotNull(dataObject); PipingFailureMechanismSectionResult row = dataObject.First(); - - const string propertyName = "AssessmentLayerThree"; - object propertyValue = row.GetType().GetProperty(propertyName).GetValue(row, null); - - Assert.AreEqual((RoundedDouble) newValue, propertyValue); + Assert.AreEqual(newValue, row.AssessmentLayerThree); } } Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Forms.Test/Views/StabilityPointStructuresFailureMechanismResultViewTest.cs =================================================================== diff -u -r0aacf2dc29138c69f365fe26a143d4e83b172dbe -r941cf54b9675d2250c4cd728ec81adde7e4832e1 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Forms.Test/Views/StabilityPointStructuresFailureMechanismResultViewTest.cs (.../StabilityPointStructuresFailureMechanismResultViewTest.cs) (revision 0aacf2dc29138c69f365fe26a143d4e83b172dbe) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Forms.Test/Views/StabilityPointStructuresFailureMechanismResultViewTest.cs (.../StabilityPointStructuresFailureMechanismResultViewTest.cs) (revision 941cf54b9675d2250c4cd728ec81adde7e4832e1) @@ -654,11 +654,7 @@ var dataObject = view.Data as List; Assert.IsNotNull(dataObject); StabilityPointStructuresFailureMechanismSectionResult row = dataObject.First(); - - const string propertyName = "AssessmentLayerThree"; - object propertyValue = row.GetType().GetProperty(propertyName).GetValue(row, null); - - Assert.AreEqual((RoundedDouble) newValue, propertyValue); + Assert.AreEqual(newValue, row.AssessmentLayerThree); } }