Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/Views/StabilityStoneCoverFailureMechanismViewTest.cs =================================================================== diff -u -red4b032b9903f394deb9691c2c39a9f2122ab0f5 -r6678115bc8c06dcc0b676429038e1839b128d6f2 --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/Views/StabilityStoneCoverFailureMechanismViewTest.cs (.../StabilityStoneCoverFailureMechanismViewTest.cs) (revision ed4b032b9903f394deb9691c2c39a9f2122ab0f5) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/Views/StabilityStoneCoverFailureMechanismViewTest.cs (.../StabilityStoneCoverFailureMechanismViewTest.cs) (revision 6678115bc8c06dcc0b676429038e1839b128d6f2) @@ -244,16 +244,16 @@ failureMechanism.AddSection(new FailureMechanismSection("B", geometryPoints.Skip(1).Take(2))); failureMechanism.AddSection(new FailureMechanismSection("C", geometryPoints.Skip(2).Take(2))); - var profile1 = new TestForeshoreProfile(new[] + var profile1 = new TestForeshoreProfile("profile1 ID", new[] { new Point2D(0, 0), new Point2D(1, 1) - }, "profile1 ID"); - var profile2 = new TestForeshoreProfile(new[] + }); + var profile2 = new TestForeshoreProfile("profile2 ID", new[] { new Point2D(2, 2), new Point2D(3, 3) - }, "profile2 ID"); + }); failureMechanism.ForeshoreProfiles.AddRange(new[] { profile1, @@ -460,11 +460,11 @@ failureMechanism.ForeshoreProfiles.AddRange(new[] { - new TestForeshoreProfile(new[] + new TestForeshoreProfile("originalProfile ID", new[] { new Point2D(0, 0), new Point2D(1, 1) - }, "originalProfile ID") + }) }, "path"); view.Data = failureMechanismContext; @@ -477,11 +477,11 @@ // Call failureMechanism.ForeshoreProfiles.AddRange(new[] { - new TestForeshoreProfile(new[] + new TestForeshoreProfile("newProfile ID", new[] { new Point2D(2, 2), new Point2D(3, 3) - }, "newProfile ID") + }) }, "path"); failureMechanism.ForeshoreProfiles.NotifyObservers();