Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs =================================================================== diff -u -r5deab7d49ce4ee20f8a2c0b52a952b22e8e89563 -rc840995eaf5d4c4564b7edfa56d964ea55ebbec0 --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs (.../GrassCoverErosionOutwardsPlugin.cs) (revision 5deab7d49ce4ee20f8a2c0b52a952b22e8e89563) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs (.../GrassCoverErosionOutwardsPlugin.cs) (revision c840995eaf5d4c4564b7edfa56d964ea55ebbec0) @@ -51,7 +51,7 @@ using Ringtoets.GrassCoverErosionOutwards.Forms.PropertyClasses; using Ringtoets.GrassCoverErosionOutwards.Forms.Views; using Ringtoets.GrassCoverErosionOutwards.IO.Exporters; -using Ringtoets.GrassCoverErosionOutwards.Plugin.MessageProviders; +using Ringtoets.GrassCoverErosionOutwards.Plugin.MetaDataAttributeNameProviders; using Ringtoets.GrassCoverErosionOutwards.Plugin.Properties; using Ringtoets.GrassCoverErosionOutwards.Service; using Ringtoets.GrassCoverErosionOutwards.Service.MessageProviders; Fisheye: Tag c840995eaf5d4c4564b7edfa56d964ea55ebbec0 refers to a dead (removed) revision in file `Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/MessageProviders/GrassCoverErosionOutwardsHydraulicBoundaryLocationMetaDataAttributeNameProvider.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/MetaDataAttributeNameProviders/GrassCoverErosionOutwardsHydraulicBoundaryLocationMetaDataAttributeNameProvider.cs =================================================================== diff -u --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/MetaDataAttributeNameProviders/GrassCoverErosionOutwardsHydraulicBoundaryLocationMetaDataAttributeNameProvider.cs (revision 0) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/MetaDataAttributeNameProviders/GrassCoverErosionOutwardsHydraulicBoundaryLocationMetaDataAttributeNameProvider.cs (revision c840995eaf5d4c4564b7edfa56d964ea55ebbec0) @@ -0,0 +1,44 @@ +// Copyright (C) Stichting Deltares 2017. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using Ringtoets.Common.Data.Hydraulics; +using Ringtoets.Common.IO.Hydraulics; +using Ringtoets.GrassCoverErosionOutwards.Data; + +namespace Ringtoets.GrassCoverErosionOutwards.Plugin.MetaDataAttributeNameProviders +{ + /// + /// This class provides the meta data attribute names during the export of + /// that are part of the . + /// + public class GrassCoverErosionOutwardsHydraulicBoundaryLocationMetaDataAttributeNameProvider + : IHydraulicBoundaryLocationMetaDataAttributeNameProvider + { + public string DesignWaterLevelCalculation1Name { get; } = "h(A+_A)"; + public string DesignWaterLevelCalculation2Name { get; } = "h(A_B)"; + public string DesignWaterLevelCalculation3Name { get; } = "h(B_C)"; + public string DesignWaterLevelCalculation4Name { get; } = "h(C_D)"; + public string WaveHeightCalculation1Name { get; } = "Hs(A+_A)"; + public string WaveHeightCalculation2Name { get; } = "Hs(A_B)"; + public string WaveHeightCalculation3Name { get; } = "Hs(B_C)"; + public string WaveHeightCalculation4Name { get; } = "Hs(C_D)"; + } +} \ No newline at end of file Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/Ringtoets.GrassCoverErosionOutwards.Plugin.csproj =================================================================== diff -u -r5deab7d49ce4ee20f8a2c0b52a952b22e8e89563 -rc840995eaf5d4c4564b7edfa56d964ea55ebbec0 --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/Ringtoets.GrassCoverErosionOutwards.Plugin.csproj (.../Ringtoets.GrassCoverErosionOutwards.Plugin.csproj) (revision 5deab7d49ce4ee20f8a2c0b52a952b22e8e89563) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/Ringtoets.GrassCoverErosionOutwards.Plugin.csproj (.../Ringtoets.GrassCoverErosionOutwards.Plugin.csproj) (revision c840995eaf5d4c4564b7edfa56d964ea55ebbec0) @@ -14,7 +14,7 @@ - + True Fisheye: Tag c840995eaf5d4c4564b7edfa56d964ea55ebbec0 refers to a dead (removed) revision in file `Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/MessageProviders/GrassCoverErosionOutwardsHydraulicBoundaryLocationMetaDataAttributeNameProviderTest.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/MetaDataAttributeNameProviders/GrassCoverErosionOutwardsHydraulicBoundaryLocationMetaDataAttributeNameProviderTest.cs =================================================================== diff -u --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/MetaDataAttributeNameProviders/GrassCoverErosionOutwardsHydraulicBoundaryLocationMetaDataAttributeNameProviderTest.cs (revision 0) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/MetaDataAttributeNameProviders/GrassCoverErosionOutwardsHydraulicBoundaryLocationMetaDataAttributeNameProviderTest.cs (revision c840995eaf5d4c4564b7edfa56d964ea55ebbec0) @@ -0,0 +1,50 @@ +// Copyright (C) Stichting Deltares 2017. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using NUnit.Framework; +using Ringtoets.Common.IO.Hydraulics; +using Ringtoets.GrassCoverErosionOutwards.Plugin.MetaDataAttributeNameProviders; + +namespace Ringtoets.GrassCoverErosionOutwards.Plugin.Test.MetaDataAttributeNameProviders +{ + [TestFixture] + public class GrassCoverErosionOutwardsHydraulicBoundaryLocationMetaDataAttributeNameProviderTest + { + [Test] + public void Constructor_Always_ReturnsExpectedValues() + { + // Call + var provider = new GrassCoverErosionOutwardsHydraulicBoundaryLocationMetaDataAttributeNameProvider(); + + // Assert + Assert.IsInstanceOf(provider); + + Assert.AreEqual("h(A+_A)", provider.DesignWaterLevelCalculation1Name); + Assert.AreEqual("h(A_B)", provider.DesignWaterLevelCalculation2Name); + Assert.AreEqual("h(B_C)", provider.DesignWaterLevelCalculation3Name); + Assert.AreEqual("h(C_D)", provider.DesignWaterLevelCalculation4Name); + Assert.AreEqual("Hs(A+_A)", provider.WaveHeightCalculation1Name); + Assert.AreEqual("Hs(A_B)", provider.WaveHeightCalculation2Name); + Assert.AreEqual("Hs(B_C)", provider.WaveHeightCalculation3Name); + Assert.AreEqual("Hs(C_D)", provider.WaveHeightCalculation4Name); + } + } +} \ No newline at end of file Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test.csproj =================================================================== diff -u -r5deab7d49ce4ee20f8a2c0b52a952b22e8e89563 -rc840995eaf5d4c4564b7edfa56d964ea55ebbec0 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test.csproj (.../Ringtoets.GrassCoverErosionOutwards.Plugin.Test.csproj) (revision 5deab7d49ce4ee20f8a2c0b52a952b22e8e89563) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test.csproj (.../Ringtoets.GrassCoverErosionOutwards.Plugin.Test.csproj) (revision c840995eaf5d4c4564b7edfa56d964ea55ebbec0) @@ -33,7 +33,7 @@ - + Fisheye: Tag c840995eaf5d4c4564b7edfa56d964ea55ebbec0 refers to a dead (removed) revision in file `Ringtoets/Integration/src/Ringtoets.Integration.Plugin/MessageProviders/HydraulicBoundaryLocationMetaDataAttributeNameProvider.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/Integration/src/Ringtoets.Integration.Plugin/MetaDataAttributeNameProviders/HydraulicBoundaryLocationMetaDataAttributeNameProvider.cs =================================================================== diff -u --- Ringtoets/Integration/src/Ringtoets.Integration.Plugin/MetaDataAttributeNameProviders/HydraulicBoundaryLocationMetaDataAttributeNameProvider.cs (revision 0) +++ Ringtoets/Integration/src/Ringtoets.Integration.Plugin/MetaDataAttributeNameProviders/HydraulicBoundaryLocationMetaDataAttributeNameProvider.cs (revision c840995eaf5d4c4564b7edfa56d964ea55ebbec0) @@ -0,0 +1,43 @@ +// Copyright (C) Stichting Deltares 2017. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using Ringtoets.Common.Data.Hydraulics; +using Ringtoets.Common.IO.Hydraulics; +using Ringtoets.Integration.Data; + +namespace Ringtoets.Integration.Plugin.MetaDataAttributeNameProviders +{ + /// + /// This class provides the meta data attribute names during the export of + /// that are part of the . + /// + public class HydraulicBoundaryLocationMetaDataAttributeNameProvider : IHydraulicBoundaryLocationMetaDataAttributeNameProvider + { + public string DesignWaterLevelCalculation1Name { get; } = "h(A+_A)"; + public string DesignWaterLevelCalculation2Name { get; } = "h(A_B)"; + public string DesignWaterLevelCalculation3Name { get; } = "h(B_C)"; + public string DesignWaterLevelCalculation4Name { get; } = "h(C_D)"; + public string WaveHeightCalculation1Name { get; } = "Hs(A+_A)"; + public string WaveHeightCalculation2Name { get; } = "Hs(A_B)"; + public string WaveHeightCalculation3Name { get; } = "Hs(B_C)"; + public string WaveHeightCalculation4Name { get; } = "Hs(C_D)"; + } +} \ No newline at end of file Index: Ringtoets/Integration/src/Ringtoets.Integration.Plugin/Ringtoets.Integration.Plugin.csproj =================================================================== diff -u -r5deab7d49ce4ee20f8a2c0b52a952b22e8e89563 -rc840995eaf5d4c4564b7edfa56d964ea55ebbec0 --- Ringtoets/Integration/src/Ringtoets.Integration.Plugin/Ringtoets.Integration.Plugin.csproj (.../Ringtoets.Integration.Plugin.csproj) (revision 5deab7d49ce4ee20f8a2c0b52a952b22e8e89563) +++ Ringtoets/Integration/src/Ringtoets.Integration.Plugin/Ringtoets.Integration.Plugin.csproj (.../Ringtoets.Integration.Plugin.csproj) (revision c840995eaf5d4c4564b7edfa56d964ea55ebbec0) @@ -31,7 +31,7 @@ - + True Index: Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs =================================================================== diff -u -r5deab7d49ce4ee20f8a2c0b52a952b22e8e89563 -rc840995eaf5d4c4564b7edfa56d964ea55ebbec0 --- Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs (.../RingtoetsPlugin.cs) (revision 5deab7d49ce4ee20f8a2c0b52a952b22e8e89563) +++ Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs (.../RingtoetsPlugin.cs) (revision c840995eaf5d4c4564b7edfa56d964ea55ebbec0) @@ -84,7 +84,7 @@ using Ringtoets.Integration.Forms.Views.SectionResultViews; using Ringtoets.Integration.Plugin.FileImporters; using Ringtoets.Integration.Plugin.Handlers; -using Ringtoets.Integration.Plugin.MessageProviders; +using Ringtoets.Integration.Plugin.MetaDataAttributeNameProviders; using Ringtoets.Integration.Service; using Ringtoets.Integration.Service.MessageProviders; using Ringtoets.MacroStabilityInwards.Data; Fisheye: Tag c840995eaf5d4c4564b7edfa56d964ea55ebbec0 refers to a dead (removed) revision in file `Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/MessageProviders/HydraulicBoundaryLocationMetaDataAttributeNameProviderTest.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/MetaDataAttributeNameProviders/HydraulicBoundaryLocationMetaDataAttributeNameProviderTest.cs =================================================================== diff -u --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/MetaDataAttributeNameProviders/HydraulicBoundaryLocationMetaDataAttributeNameProviderTest.cs (revision 0) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/MetaDataAttributeNameProviders/HydraulicBoundaryLocationMetaDataAttributeNameProviderTest.cs (revision c840995eaf5d4c4564b7edfa56d964ea55ebbec0) @@ -0,0 +1,50 @@ +// Copyright (C) Stichting Deltares 2017. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using NUnit.Framework; +using Ringtoets.Common.IO.Hydraulics; +using Ringtoets.Integration.Plugin.MetaDataAttributeNameProviders; + +namespace Ringtoets.Integration.Plugin.Test.MetaDataAttributeNameProviders +{ + [TestFixture] + public class HydraulicBoundaryLocationMetaDataAttributeNameProviderTest + { + [Test] + public void Constructor_Always_ReturnsExpectedValues() + { + // Call + var provider = new HydraulicBoundaryLocationMetaDataAttributeNameProvider(); + + // Assert + Assert.IsInstanceOf(provider); + + Assert.AreEqual("h(A+_A)", provider.DesignWaterLevelCalculation1Name); + Assert.AreEqual("h(A_B)", provider.DesignWaterLevelCalculation2Name); + Assert.AreEqual("h(B_C)", provider.DesignWaterLevelCalculation3Name); + Assert.AreEqual("h(C_D)", provider.DesignWaterLevelCalculation4Name); + Assert.AreEqual("Hs(A+_A)", provider.WaveHeightCalculation1Name); + Assert.AreEqual("Hs(A_B)", provider.WaveHeightCalculation2Name); + Assert.AreEqual("Hs(B_C)", provider.WaveHeightCalculation3Name); + Assert.AreEqual("Hs(C_D)", provider.WaveHeightCalculation4Name); + } + } +} \ No newline at end of file Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj =================================================================== diff -u -r5deab7d49ce4ee20f8a2c0b52a952b22e8e89563 -rc840995eaf5d4c4564b7edfa56d964ea55ebbec0 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj (.../Ringtoets.Integration.Plugin.Test.csproj) (revision 5deab7d49ce4ee20f8a2c0b52a952b22e8e89563) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj (.../Ringtoets.Integration.Plugin.Test.csproj) (revision c840995eaf5d4c4564b7edfa56d964ea55ebbec0) @@ -46,7 +46,7 @@ - +