Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs =================================================================== diff -u -recc8ef0eb9c115e10464b534e6c83c2bb780f9d1 -r0f34dabbc5809c4b732b3f53fb7d259a46c1c265 --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs (.../GrassCoverErosionOutwardsPlugin.cs) (revision ecc8ef0eb9c115e10464b534e6c83c2bb780f9d1) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs (.../GrassCoverErosionOutwardsPlugin.cs) (revision 0f34dabbc5809c4b732b3f53fb7d259a46c1c265) @@ -239,7 +239,7 @@ yield return new TreeNodeInfo { - Text = context => RingtoetsGrassCoverErosionOutwardsFormsResources.GrassCoverErosionOutwardsDesignWaterLevelCalculationsContext_DisplayName, + Text = context => context.CategoryBoundaryName, Image = context => RingtoetsCommonFormsResources.GenericInputOutputIcon, ContextMenuStrip = GrassCoverErosionOutwardsDesignWaterLevelCalculationsContextMenuStrip }; Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsDesignWaterLevelCalculationsContextTreeNodeInfoTest.cs =================================================================== diff -u -re5a11251693f46473c8d26294c75067f01ce088c -r0f34dabbc5809c4b732b3f53fb7d259a46c1c265 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsDesignWaterLevelCalculationsContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelCalculationsContextTreeNodeInfoTest.cs) (revision e5a11251693f46473c8d26294c75067f01ce088c) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsDesignWaterLevelCalculationsContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelCalculationsContextTreeNodeInfoTest.cs) (revision 0f34dabbc5809c4b732b3f53fb7d259a46c1c265) @@ -95,17 +95,18 @@ } [Test] - public void Text_Always_ReturnName() + public void Text_Always_ReturnCategoryBoundaryName() { // Setup var assessmentSection = mockRepository.Stub(); mockRepository.ReplayAll(); + const string categoryBoundaryName = "Category"; var context = new GrassCoverErosionOutwardsDesignWaterLevelCalculationsContext(new ObservableList(), new GrassCoverErosionOutwardsFailureMechanism(), assessmentSection, () => 0.01, - "Category"); + categoryBoundaryName); using (var plugin = new GrassCoverErosionOutwardsPlugin()) { @@ -115,7 +116,7 @@ string nodeText = info.Text(context); // Assert - Assert.AreEqual("Waterstanden bij doorsnede-eis", nodeText); + Assert.AreEqual(categoryBoundaryName, nodeText); } mockRepository.VerifyAll();