Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/ViewInfos/GrassCoverErosionInwardsFailureMechanismResultViewInfoTest.cs =================================================================== diff -u -rfb9bf56793b90226745888c194ba6ae760f83f4c -r6afbb616ce84cccaf56617d60c5cd821b00daab0 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/ViewInfos/GrassCoverErosionInwardsFailureMechanismResultViewInfoTest.cs (.../GrassCoverErosionInwardsFailureMechanismResultViewInfoTest.cs) (revision fb9bf56793b90226745888c194ba6ae760f83f4c) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/ViewInfos/GrassCoverErosionInwardsFailureMechanismResultViewInfoTest.cs (.../GrassCoverErosionInwardsFailureMechanismResultViewInfoTest.cs) (revision 6afbb616ce84cccaf56617d60c5cd821b00daab0) @@ -20,6 +20,7 @@ // All rights reserved. using System.Collections.Generic; +using System.Drawing; using System.Linq; using Core.Common.Base.Geometry; using Core.Common.Gui.Plugin; @@ -67,7 +68,7 @@ public void GetViewName_Always_ReturnsViewName() { // Call - var viewName = info.GetViewName(null, null); + string viewName = info.GetViewName(null, null); // Assert Assert.AreEqual("Resultaat", viewName); @@ -86,7 +87,7 @@ sectionResults, new GrassCoverErosionInwardsFailureMechanism()); // Call - var viewData = info.GetViewData(context); + object viewData = info.GetViewData(context); // Assert Assert.AreSame(sectionResults, viewData); @@ -96,7 +97,7 @@ public void Image_Always_ReturnsFailureMechanismSectionResultIcon() { // Call - var image = info.Image; + Image image = info.Image; // Assert TestHelper.AssertImagesAreEqual(RingtoetsCommonFormsResources.FailureMechanismSectionResultIcon, image); @@ -119,7 +120,7 @@ mocks.ReplayAll(); // Call - var closeForData = info.CloseForData(view, assessmentSection); + bool closeForData = info.CloseForData(view, assessmentSection); // Assert Assert.IsFalse(closeForData); @@ -147,7 +148,7 @@ mocks.ReplayAll(); // Call - var closeForData = info.CloseForData(view, assessmentSection); + bool closeForData = info.CloseForData(view, assessmentSection); // Assert Assert.IsFalse(closeForData); @@ -175,7 +176,7 @@ mocks.ReplayAll(); // Call - var closeForData = info.CloseForData(view, assessmentSection); + bool closeForData = info.CloseForData(view, assessmentSection); // Assert Assert.IsTrue(closeForData); @@ -194,7 +195,7 @@ }; // Call - var closeForData = info.CloseForData(view, failureMechanism); + bool closeForData = info.CloseForData(view, failureMechanism); // Assert Assert.IsTrue(closeForData); @@ -212,7 +213,7 @@ }; // Call - var closeForData = info.CloseForData(view, new GrassCoverErosionInwardsFailureMechanism()); + bool closeForData = info.CloseForData(view, new GrassCoverErosionInwardsFailureMechanism()); // Assert Assert.IsFalse(closeForData); @@ -235,7 +236,7 @@ }; // Call - var closeForData = info.CloseForData(view, failureMechanismContext); + bool closeForData = info.CloseForData(view, failureMechanismContext); // Assert Assert.IsTrue(closeForData); @@ -260,7 +261,7 @@ assessmentSection); // Call - var closeForData = info.CloseForData(view, failureMechanismContext); + bool closeForData = info.CloseForData(view, failureMechanismContext); // Assert Assert.IsFalse(closeForData);