Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/AssessmentSectionEntityReadExtensionsTest.cs =================================================================== diff -u -r0641053e020a1478f793ee17e753df60af26171f -r1c2f91dd3d03b28ce5e493b068bc34ca4dfc9db7 --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/AssessmentSectionEntityReadExtensionsTest.cs (.../AssessmentSectionEntityReadExtensionsTest.cs) (revision 0641053e020a1478f793ee17e753df60af26171f) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/AssessmentSectionEntityReadExtensionsTest.cs (.../AssessmentSectionEntityReadExtensionsTest.cs) (revision 1c2f91dd3d03b28ce5e493b068bc34ca4dfc9db7) @@ -169,7 +169,7 @@ new Point2D(firstX, firstY), new Point2D(secondX, secondY) }; - entity.ReferenceLinePointXml = new Point2DXmlSerializer().ToXml(points); + entity.ReferenceLinePointXml = new Point2DCollectionXmlSerializer().ToXml(points); entity.BackgroundDataEntities.Add(CreateBackgroundDataEntity()); var collector = new ReadConversionCollector(); @@ -270,7 +270,7 @@ // Setup AssessmentSectionEntity entity = CreateAssessmentSectionEntity(); - string emptySegmentPointsXml = new Point2DXmlSerializer().ToXml(new Point2D[0]); + string emptySegmentPointsXml = new Point2DCollectionXmlSerializer().ToXml(new Point2D[0]); const string stochasticSoilModelSourcePath = "path"; var failureMechanismEntity = new FailureMechanismEntity { @@ -316,7 +316,7 @@ // Setup AssessmentSectionEntity entity = CreateAssessmentSectionEntity(); - string emptyPointsXml = new Point3DXmlSerializer().ToXml(new Point3D[0]); + string emptyPointsXml = new Point3DCollectionXmlSerializer().ToXml(new Point3D[0]); const string surfaceLineSourcePath = "some/path"; var failureMechanismEntity = new FailureMechanismEntity { @@ -489,7 +489,7 @@ // Setup AssessmentSectionEntity entity = CreateAssessmentSectionEntity(); - string emptySegmentPointsXml = new Point2DXmlSerializer().ToXml(new Point2D[0]); + string emptySegmentPointsXml = new Point2DCollectionXmlSerializer().ToXml(new Point2D[0]); const string stochasticSoilModelSourcePath = "path"; var failureMechanismEntity = new FailureMechanismEntity { @@ -535,7 +535,7 @@ // Setup AssessmentSectionEntity entity = CreateAssessmentSectionEntity(); - string emptyPointsXml = new Point3DXmlSerializer().ToXml(new Point3D[0]); + string emptyPointsXml = new Point3DCollectionXmlSerializer().ToXml(new Point3D[0]); const string surfaceLineSourcePath = "some/path"; var failureMechanismEntity = new FailureMechanismEntity { @@ -849,13 +849,13 @@ { Order = 1, Id = profileAId, - GeometryXml = new Point2DXmlSerializer().ToXml(Enumerable.Empty()) + GeometryXml = new Point2DCollectionXmlSerializer().ToXml(Enumerable.Empty()) }, new ForeshoreProfileEntity { Order = 0, Id = profileBId, - GeometryXml = new Point2DXmlSerializer().ToXml(Enumerable.Empty()) + GeometryXml = new Point2DCollectionXmlSerializer().ToXml(Enumerable.Empty()) } } }; @@ -979,13 +979,13 @@ { Order = 1, Id = profileAId, - GeometryXml = new Point2DXmlSerializer().ToXml(Enumerable.Empty()) + GeometryXml = new Point2DCollectionXmlSerializer().ToXml(Enumerable.Empty()) }, new ForeshoreProfileEntity { Order = 0, Id = profileBId, - GeometryXml = new Point2DXmlSerializer().ToXml(Enumerable.Empty()) + GeometryXml = new Point2DCollectionXmlSerializer().ToXml(Enumerable.Empty()) } }, StabilityStoneCoverFailureMechanismMetaEntities = @@ -1074,13 +1074,13 @@ { Order = 1, Id = profileAId, - GeometryXml = new Point2DXmlSerializer().ToXml(Enumerable.Empty()) + GeometryXml = new Point2DCollectionXmlSerializer().ToXml(Enumerable.Empty()) }, new ForeshoreProfileEntity { Order = 0, Id = profileBId, - GeometryXml = new Point2DXmlSerializer().ToXml(Enumerable.Empty()) + GeometryXml = new Point2DCollectionXmlSerializer().ToXml(Enumerable.Empty()) } }, WaveImpactAsphaltCoverFailureMechanismMetaEntities = @@ -1498,7 +1498,7 @@ { new Point2D(0.0, 0.0) }; - string dummyPointXml = new Point2DXmlSerializer().ToXml(dummyPointData); + string dummyPointXml = new Point2DCollectionXmlSerializer().ToXml(dummyPointData); return new[] { new FailureMechanismSectionEntity