Index: Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/RingtoetsPipingSurfaceLineCollectionTreeNodeInfoTest.cs =================================================================== diff -u -r56ac4eb28f5fcc5b20117474e9e4030399d6806a -r6afbb616ce84cccaf56617d60c5cd821b00daab0 --- Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/RingtoetsPipingSurfaceLineCollectionTreeNodeInfoTest.cs (.../RingtoetsPipingSurfaceLineCollectionTreeNodeInfoTest.cs) (revision 56ac4eb28f5fcc5b20117474e9e4030399d6806a) +++ Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/RingtoetsPipingSurfaceLineCollectionTreeNodeInfoTest.cs (.../RingtoetsPipingSurfaceLineCollectionTreeNodeInfoTest.cs) (revision 6afbb616ce84cccaf56617d60c5cd821b00daab0) @@ -96,7 +96,7 @@ var ringtoetsPipingSurfaceLines = new RingtoetsPipingSurfaceLinesContext(surfaceLines, failureMechanism, assessmentSection); // Call - var text = info.Text(ringtoetsPipingSurfaceLines); + string text = info.Text(ringtoetsPipingSurfaceLines); // Assert Assert.AreEqual("Profielschematisaties", text); @@ -114,7 +114,7 @@ var ringtoetsPipingSurfaceLines = new RingtoetsPipingSurfaceLinesContext(surfaceLines, failureMechanism, assessmentSection); // Call - var image = info.Image(ringtoetsPipingSurfaceLines); + Image image = info.Image(ringtoetsPipingSurfaceLines); // Assert TestHelper.AssertImagesAreEqual(RingtoetsCommonFormsResources.GeneralFolderIcon, image); @@ -132,7 +132,7 @@ var ringtoetsPipingSurfaceLines = new RingtoetsPipingSurfaceLinesContext(surfaceLines, failureMechanism, assessmentSection); // Call - var foreColor = info.ForeColor(ringtoetsPipingSurfaceLines); + Color foreColor = info.ForeColor(ringtoetsPipingSurfaceLines); // Assert Assert.AreEqual(Color.FromKnownColor(KnownColor.GrayText), foreColor); @@ -155,7 +155,8 @@ var surfaceLines = new RingtoetsPipingSurfaceLineCollection(); surfaceLines.AddRange(new[] { - ringtoetsPipingSurfaceLine1, ringtoetsPipingSurfaceLine2 + ringtoetsPipingSurfaceLine1, + ringtoetsPipingSurfaceLine2 }, "path"); var failureMechanism = new PipingFailureMechanism(); @@ -165,7 +166,7 @@ mocks.ReplayAll(); // Call - var foreColor = info.ForeColor(ringtoetsPipingSurfaceLineContext); + Color foreColor = info.ForeColor(ringtoetsPipingSurfaceLineContext); // Assert Assert.AreEqual(Color.FromKnownColor(KnownColor.ControlText), foreColor); @@ -188,7 +189,8 @@ var surfaceLines = new RingtoetsPipingSurfaceLineCollection(); surfaceLines.AddRange(new[] { - ringtoetsPipingSurfaceLine1, ringtoetsPipingSurfaceLine2 + ringtoetsPipingSurfaceLine1, + ringtoetsPipingSurfaceLine2 }, "path"); var failureMechanism = new PipingFailureMechanism(); @@ -198,7 +200,7 @@ mocks.ReplayAll(); // Call - var objects = info.ChildNodeObjects(ringtoetsPipingSurfaceLineContext); + object[] objects = info.ChildNodeObjects(ringtoetsPipingSurfaceLineContext); // Assert CollectionAssert.AreEqual(new[]