Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/TreeNodeInfos/ClosingStructuresFailureMechanismSectionResultContextTreeNodeInfoTest.cs =================================================================== diff -u -rf2f7d22ee59276f5df1f83fd409899bd895ea163 -rdd8f41ce9d9ff9fd570874721a114560c7a71013 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/TreeNodeInfos/ClosingStructuresFailureMechanismSectionResultContextTreeNodeInfoTest.cs (.../ClosingStructuresFailureMechanismSectionResultContextTreeNodeInfoTest.cs) (revision f2f7d22ee59276f5df1f83fd409899bd895ea163) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/TreeNodeInfos/ClosingStructuresFailureMechanismSectionResultContextTreeNodeInfoTest.cs (.../ClosingStructuresFailureMechanismSectionResultContextTreeNodeInfoTest.cs) (revision dd8f41ce9d9ff9fd570874721a114560c7a71013) @@ -19,6 +19,7 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System.Drawing; using System.Linq; using Core.Common.Base.Geometry; using Core.Common.Controls.TreeView; @@ -43,7 +44,7 @@ // Setup using (var plugin = new ClosingStructuresPlugin()) { - var info = GetInfo(plugin); + TreeNodeInfo info = GetInfo(plugin); // Assert Assert.IsNotNull(info.Text); @@ -73,13 +74,13 @@ // Setup using (var plugin = new ClosingStructuresPlugin()) { - var info = GetInfo(plugin); + TreeNodeInfo info = GetInfo(plugin); var mechanism = new ClosingStructuresFailureMechanism(); var context = new FailureMechanismSectionResultContext(mechanism.SectionResults, mechanism); // Call - var text = info.Text(context); + string text = info.Text(context); // Assert Assert.AreEqual("Resultaat", text); @@ -92,10 +93,10 @@ // Setup using (var plugin = new ClosingStructuresPlugin()) { - var info = GetInfo(plugin); + TreeNodeInfo info = GetInfo(plugin); // Call - var image = info.Image(null); + Image image = info.Image(null); // Assert TestHelper.AssertImagesAreEqual(Resources.FailureMechanismSectionResultIcon, image); @@ -125,7 +126,7 @@ using (var plugin = new ClosingStructuresPlugin()) { - var info = GetInfo(plugin); + TreeNodeInfo info = GetInfo(plugin); using (var treeViewControl = new TreeViewControl()) { var gui = mockRepository.Stub();