Fisheye: Tag aabaa33e54f9ebb10c850d7d8964dc0a692e5535 refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.Data/Probability/EmptyProbabilityAssessmentOutput.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj =================================================================== diff -u -rfc7fef209ce94b913bf4bfb974abd71242b4769d -raabaa33e54f9ebb10c850d7d8964dc0a692e5535 --- Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj (.../Ringtoets.Common.Data.csproj) (revision fc7fef209ce94b913bf4bfb974abd71242b4769d) +++ Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj (.../Ringtoets.Common.Data.csproj) (revision aabaa33e54f9ebb10c850d7d8964dc0a692e5535) @@ -97,7 +97,6 @@ - Index: Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/RingtoetsTreeNodeInfoFactory.cs =================================================================== diff -u -rb3b6c13cf736c134476b3db34281332d01ca86b1 -raabaa33e54f9ebb10c850d7d8964dc0a692e5535 --- Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/RingtoetsTreeNodeInfoFactory.cs (.../RingtoetsTreeNodeInfoFactory.cs) (revision b3b6c13cf736c134476b3db34281332d01ca86b1) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/RingtoetsTreeNodeInfoFactory.cs (.../RingtoetsTreeNodeInfoFactory.cs) (revision aabaa33e54f9ebb10c850d7d8964dc0a692e5535) @@ -26,7 +26,6 @@ using Core.Common.Controls.TreeView; using Ringtoets.Common.Data.Calculation; using Ringtoets.Common.Data.FailureMechanism; -using Ringtoets.Common.Data.Probability; using Ringtoets.Common.Forms.PresentationObjects; using Ringtoets.Common.Forms.Properties; @@ -138,23 +137,6 @@ }; } - /// - /// Creates a object for an empty probability assessment output. - /// - /// The function for obtaining the context menu strip. - /// A object. - public static TreeNodeInfo CreateEmptyProbabilityAssessmentOutputTreeNodeInfo( - Func contextMenuStrip) - { - return new TreeNodeInfo - { - Text = emptyOutput => Resources.CalculationOutput_DisplayName, - Image = emptyOutput => Resources.GeneralOutputIcon, - ForeColor = emptyOutput => Color.FromKnownColor(KnownColor.GrayText), - ContextMenuStrip = contextMenuStrip - }; - } - #region Helper methods for CreateCalculationContextTreeNodeInfo private static bool CalculationContextCanRemove(ICalculationContext calculationContext, object parentNodeData) Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsTreeNodeInfoFactoryTest.cs =================================================================== diff -u -rb3b6c13cf736c134476b3db34281332d01ca86b1 -raabaa33e54f9ebb10c850d7d8964dc0a692e5535 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsTreeNodeInfoFactoryTest.cs (.../RingtoetsTreeNodeInfoFactoryTest.cs) (revision b3b6c13cf736c134476b3db34281332d01ca86b1) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsTreeNodeInfoFactoryTest.cs (.../RingtoetsTreeNodeInfoFactoryTest.cs) (revision aabaa33e54f9ebb10c850d7d8964dc0a692e5535) @@ -32,7 +32,6 @@ using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.Data.Calculation; using Ringtoets.Common.Data.FailureMechanism; -using Ringtoets.Common.Data.Probability; using Ringtoets.Common.Forms.PresentationObjects; using Ringtoets.Common.Forms.TreeNodeInfos; using RingtoetsFormsResources = Ringtoets.Common.Forms.Properties.Resources; @@ -1049,79 +1048,6 @@ #endregion - #region EmptyProbabilityAssessmentOutputTreeNodeInfo - - [Test] - public void CreateEmptyProbabilityAssessmentOutputTreeNodeInfo_Always_ExpectedPropertiesSet() - { - // Setup - Func contextMenuStrip = (context, parent, treeViewControl) => new ContextMenuStrip(); - - // Call - TreeNodeInfo treeNodeInfo = RingtoetsTreeNodeInfoFactory.CreateEmptyProbabilityAssessmentOutputTreeNodeInfo(contextMenuStrip); - - // Assert - Assert.AreEqual(typeof(EmptyProbabilityAssessmentOutput), treeNodeInfo.TagType); - Assert.IsNotNull(treeNodeInfo.ContextMenuStrip); - Assert.IsNotNull(treeNodeInfo.ForeColor); - Assert.IsNotNull(treeNodeInfo.Image); - Assert.IsNotNull(treeNodeInfo.Text); - Assert.IsNull(treeNodeInfo.EnsureVisibleOnCreate); - Assert.IsNull(treeNodeInfo.CanCheck); - Assert.IsNull(treeNodeInfo.CanDrag); - Assert.IsNull(treeNodeInfo.CanDrop); - Assert.IsNull(treeNodeInfo.CanInsert); - Assert.IsNull(treeNodeInfo.CanRemove); - Assert.IsNull(treeNodeInfo.CanRename); - Assert.IsNull(treeNodeInfo.ChildNodeObjects); - Assert.IsNull(treeNodeInfo.IsChecked); - Assert.IsNull(treeNodeInfo.OnDrop); - Assert.IsNull(treeNodeInfo.OnNodeChecked); - Assert.IsNull(treeNodeInfo.OnNodeRemoved); - Assert.IsNull(treeNodeInfo.OnNodeRenamed); - } - - [Test] - public void TextOfCreateEmptyProbabilityAssessmentOutputTreeNodeInfo_Always_ReturnsFromResource() - { - // Setup - TreeNodeInfo treeNodeInfo = RingtoetsTreeNodeInfoFactory.CreateEmptyProbabilityAssessmentOutputTreeNodeInfo(null); - - // Call - string text = treeNodeInfo.Text(null); - - // Assert - Assert.AreEqual("Resultaat", text); - } - - [Test] - public void ImageOfCreateEmptyProbabilityAssessmentOutputTreeNodeInfo_Always_ReturnsGeneralOutputIcon() - { - // Setup - TreeNodeInfo treeNodeInfo = RingtoetsTreeNodeInfoFactory.CreateEmptyProbabilityAssessmentOutputTreeNodeInfo(null); - - // Call - Image image = treeNodeInfo.Image(null); - - // Assert - TestHelper.AssertImagesAreEqual(RingtoetsFormsResources.GeneralOutputIcon, image); - } - - [Test] - public void ForeColorOfCreateEmptyProbabilityAssessmentOutputTreeNodeInfos_Always_ReturnsGrayText() - { - // Setup - TreeNodeInfo treeNodeInfo = RingtoetsTreeNodeInfoFactory.CreateEmptyProbabilityAssessmentOutputTreeNodeInfo(null); - - // Call - Color textColor = treeNodeInfo.ForeColor(null); - - // Assert - Assert.AreEqual(Color.FromKnownColor(KnownColor.GrayText), textColor); - } - - #endregion - #region Nested types private class TestCalculationGroupContext : Observable, ICalculationContext Index: Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs =================================================================== diff -u -r9e9e7d99aa5e3351f509eb24888e51ed091273d2 -raabaa33e54f9ebb10c850d7d8964dc0a692e5535 --- Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs (.../RingtoetsPlugin.cs) (revision 9e9e7d99aa5e3351f509eb24888e51ed091273d2) +++ Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs (.../RingtoetsPlugin.cs) (revision aabaa33e54f9ebb10c850d7d8964dc0a692e5535) @@ -699,11 +699,6 @@ .Build() }; - yield return RingtoetsTreeNodeInfoFactory.CreateEmptyProbabilityAssessmentOutputTreeNodeInfo( - (nodeData, parentData, treeViewControl) => Gui.Get(nodeData, treeViewControl) - .AddPropertiesItem() - .Build()); - yield return CreateFailureMechanismSectionResultTreeNodeInfo(); yield return CreateFailureMechanismSectionResultTreeNodeInfo(); yield return CreateFailureMechanismSectionResultTreeNodeInfo(); Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj =================================================================== diff -u -r72855f408ad900220c30e399d15854ca7562d4f2 -raabaa33e54f9ebb10c850d7d8964dc0a692e5535 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj (.../Ringtoets.Integration.Plugin.Test.csproj) (revision 72855f408ad900220c30e399d15854ca7562d4f2) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj (.../Ringtoets.Integration.Plugin.Test.csproj) (revision aabaa33e54f9ebb10c850d7d8964dc0a692e5535) @@ -96,7 +96,6 @@ - Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/RingtoetsPluginTest.cs =================================================================== diff -u -r745102a18318529c4f35e1d6f9fcdbda997e7c8a -raabaa33e54f9ebb10c850d7d8964dc0a692e5535 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/RingtoetsPluginTest.cs (.../RingtoetsPluginTest.cs) (revision 745102a18318529c4f35e1d6f9fcdbda997e7c8a) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/RingtoetsPluginTest.cs (.../RingtoetsPluginTest.cs) (revision aabaa33e54f9ebb10c850d7d8964dc0a692e5535) @@ -45,8 +45,6 @@ using Ringtoets.Common.Data.DikeProfiles; using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.Common.Data.Hydraulics; -using Ringtoets.Common.Data.IllustrationPoints; -using Ringtoets.Common.Data.Probability; using Ringtoets.Common.Data.Structures; using Ringtoets.Common.Forms.PresentationObjects; using Ringtoets.Common.Forms.PropertyClasses; @@ -446,7 +444,6 @@ Assert.IsTrue(treeNodeInfos.Any(tni => tni.TagType == typeof(FailureMechanismSectionResultContext))); Assert.IsTrue(treeNodeInfos.Any(tni => tni.TagType == typeof(FailureMechanismSectionResultContext))); Assert.IsTrue(treeNodeInfos.Any(tni => tni.TagType == typeof(Comment))); - Assert.IsTrue(treeNodeInfos.Any(tni => tni.TagType == typeof(EmptyProbabilityAssessmentOutput))); Assert.IsTrue(treeNodeInfos.Any(tni => tni.TagType == typeof(RingtoetsProject))); Assert.IsTrue(treeNodeInfos.Any(tni => tni.TagType == typeof(WaveConditionsInputContext))); Assert.IsTrue(treeNodeInfos.Any(tni => tni.TagType == typeof(StructuresOutputContext))); Fisheye: Tag aabaa33e54f9ebb10c850d7d8964dc0a692e5535 refers to a dead (removed) revision in file `Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/EmptyProbabilityAssessmentOutputTreeNodeInfoTest.cs'. Fisheye: No comparison available. Pass `N' to diff?