Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Data/FailureMechanismSectionAssemblyCategoryGroup.cs =================================================================== diff -u -r689daf76e3e805614055e9b316298e7dd7b46b7a -r1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996 --- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Data/FailureMechanismSectionAssemblyCategoryGroup.cs (.../FailureMechanismSectionAssemblyCategoryGroup.cs) (revision 689daf76e3e805614055e9b316298e7dd7b46b7a) +++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Data/FailureMechanismSectionAssemblyCategoryGroup.cs (.../FailureMechanismSectionAssemblyCategoryGroup.cs) (revision 1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996) @@ -47,7 +47,7 @@ IIv = 4, /// - /// Represents the assembly category IIIV for a failure mechanism section. + /// Represents the assembly category IIIv for a failure mechanism section. /// IIIv = 5, Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/DisplayFailureMechanismSectionAssemblyCategoryGroup.cs =================================================================== diff -u -r527932bf6a98d57c829448c0ba1a588848e6b224 -r1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996 --- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/DisplayFailureMechanismSectionAssemblyCategoryGroup.cs (.../DisplayFailureMechanismSectionAssemblyCategoryGroup.cs) (revision 527932bf6a98d57c829448c0ba1a588848e6b224) +++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/DisplayFailureMechanismSectionAssemblyCategoryGroup.cs (.../DisplayFailureMechanismSectionAssemblyCategoryGroup.cs) (revision 1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996) @@ -21,6 +21,7 @@ using Core.Common.Util.Attributes; using Ringtoets.AssemblyTool.Forms.Properties; +using RingtoetsCommonPrimitivesResources = Ringtoets.Common.Primitives.Properties.Resources; namespace Ringtoets.AssemblyTool.Forms { @@ -38,19 +39,19 @@ [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_Iv_DisplayName))] Iv = 3, - [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_IIv_DisplayName))] + [ResourcesDisplayName(typeof(RingtoetsCommonPrimitivesResources), nameof(RingtoetsCommonPrimitivesResources.FailureMechanismSectionAssemblyCategoryGroup_IIv_DisplayName))] IIv = 4, - [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_IIIv_DisplayName))] + [ResourcesDisplayName(typeof(RingtoetsCommonPrimitivesResources), nameof(RingtoetsCommonPrimitivesResources.FailureMechanismSectionAssemblyCategoryGroup_IIIv_DisplayName))] IIIv = 5, - [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_IVv_DisplayName))] + [ResourcesDisplayName(typeof(RingtoetsCommonPrimitivesResources), nameof(RingtoetsCommonPrimitivesResources.FailureMechanismSectionAssemblyCategoryGroup_IVv_DisplayName))] IVv = 6, - [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_Vv_DisplayName))] + [ResourcesDisplayName(typeof(RingtoetsCommonPrimitivesResources), nameof(RingtoetsCommonPrimitivesResources.FailureMechanismSectionAssemblyCategoryGroup_Vv_DisplayName))] Vv = 7, - [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_VIv_DisplayName))] + [ResourcesDisplayName(typeof(RingtoetsCommonPrimitivesResources), nameof(RingtoetsCommonPrimitivesResources.FailureMechanismSectionAssemblyCategoryGroup_VIv_DisplayName))] VIv = 8, [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_VIIv_DisplayName))] Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.Designer.cs =================================================================== diff -u -r77cd65fa92945a8edbc4e7bf15f59459c404b97a -r1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996 --- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 77cd65fa92945a8edbc4e7bf15f59459c404b97a) +++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996) @@ -100,24 +100,6 @@ } /// - /// Looks up a localized string similar to IIIv. - /// - internal static string FailureMechanismSectionAssemblyCategoryGroup_IIIv_DisplayName { - get { - return ResourceManager.GetString("FailureMechanismSectionAssemblyCategoryGroup_IIIv_DisplayName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to IIv. - /// - internal static string FailureMechanismSectionAssemblyCategoryGroup_IIv_DisplayName { - get { - return ResourceManager.GetString("FailureMechanismSectionAssemblyCategoryGroup_IIv_DisplayName", resourceCulture); - } - } - - /// /// Looks up a localized string similar to Iv. /// internal static string FailureMechanismSectionAssemblyCategoryGroup_Iv_DisplayName { @@ -127,15 +109,6 @@ } /// - /// Looks up a localized string similar to IVv. - /// - internal static string FailureMechanismSectionAssemblyCategoryGroup_IVv_DisplayName { - get { - return ResourceManager.GetString("FailureMechanismSectionAssemblyCategoryGroup_IVv_DisplayName", resourceCulture); - } - } - - /// /// Looks up a localized string similar to VIIv. /// internal static string FailureMechanismSectionAssemblyCategoryGroup_VIIv_DisplayName { @@ -145,24 +118,6 @@ } /// - /// Looks up a localized string similar to VIv. - /// - internal static string FailureMechanismSectionAssemblyCategoryGroup_VIv_DisplayName { - get { - return ResourceManager.GetString("FailureMechanismSectionAssemblyCategoryGroup_VIv_DisplayName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Vv. - /// - internal static string FailureMechanismSectionAssemblyCategoryGroup_Vv_DisplayName { - get { - return ResourceManager.GetString("FailureMechanismSectionAssemblyCategoryGroup_Vv_DisplayName", resourceCulture); - } - } - - /// /// Looks up a localized string similar to <selecteer>. /// internal static string SelectableFailureMechanismSectionAssemblyCategoryGroup_None_DisplayName { Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.resx =================================================================== diff -u -r77cd65fa92945a8edbc4e7bf15f59459c404b97a -r1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996 --- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.resx (.../Resources.resx) (revision 77cd65fa92945a8edbc4e7bf15f59459c404b97a) +++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.resx (.../Resources.resx) (revision 1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996) @@ -117,15 +117,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - IIIv - - - IIv - - - IVv - Iv @@ -138,12 +129,6 @@ VIIv - - VIv - - - Vv - <selecteer> Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Ringtoets.AssemblyTool.Forms.csproj =================================================================== diff -u -re770aa409686b28f0e540a0303332ac0d908eaa0 -r1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996 --- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Ringtoets.AssemblyTool.Forms.csproj (.../Ringtoets.AssemblyTool.Forms.csproj) (revision e770aa409686b28f0e540a0303332ac0d908eaa0) +++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Ringtoets.AssemblyTool.Forms.csproj (.../Ringtoets.AssemblyTool.Forms.csproj) (revision 1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996) @@ -33,6 +33,11 @@ Core.Common.Util False + + {78aa56f5-431d-465c-ac50-3173d7e90ac1} + Ringtoets.Common.Primitives + False + {420ED9C3-0C33-47EA-B893-121A9C0DB4F1} Ringtoets.AssemblyTool.Data Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/SelectableFailureMechanismSectionAssemblyCategoryGroup.cs =================================================================== diff -u -r527932bf6a98d57c829448c0ba1a588848e6b224 -r1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996 --- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/SelectableFailureMechanismSectionAssemblyCategoryGroup.cs (.../SelectableFailureMechanismSectionAssemblyCategoryGroup.cs) (revision 527932bf6a98d57c829448c0ba1a588848e6b224) +++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/SelectableFailureMechanismSectionAssemblyCategoryGroup.cs (.../SelectableFailureMechanismSectionAssemblyCategoryGroup.cs) (revision 1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996) @@ -21,6 +21,7 @@ using Core.Common.Util.Attributes; using Ringtoets.AssemblyTool.Forms.Properties; +using RingtoetsCommonPrimitivesResources = Ringtoets.Common.Primitives.Properties.Resources; namespace Ringtoets.AssemblyTool.Forms { @@ -38,19 +39,19 @@ [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_Iv_DisplayName))] Iv = 3, - [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_IIv_DisplayName))] + [ResourcesDisplayName(typeof(RingtoetsCommonPrimitivesResources), nameof(RingtoetsCommonPrimitivesResources.FailureMechanismSectionAssemblyCategoryGroup_IIv_DisplayName))] IIv = 4, - [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_IIIv_DisplayName))] + [ResourcesDisplayName(typeof(RingtoetsCommonPrimitivesResources), nameof(RingtoetsCommonPrimitivesResources.FailureMechanismSectionAssemblyCategoryGroup_IIIv_DisplayName))] IIIv = 5, - [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_IVv_DisplayName))] + [ResourcesDisplayName(typeof(RingtoetsCommonPrimitivesResources), nameof(RingtoetsCommonPrimitivesResources.FailureMechanismSectionAssemblyCategoryGroup_IVv_DisplayName))] IVv = 6, - [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_Vv_DisplayName))] + [ResourcesDisplayName(typeof(RingtoetsCommonPrimitivesResources), nameof(RingtoetsCommonPrimitivesResources.FailureMechanismSectionAssemblyCategoryGroup_Vv_DisplayName))] Vv = 7, - [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_VIv_DisplayName))] + [ResourcesDisplayName(typeof(RingtoetsCommonPrimitivesResources), nameof(RingtoetsCommonPrimitivesResources.FailureMechanismSectionAssemblyCategoryGroup_VIv_DisplayName))] VIv = 8, [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_VIIv_DisplayName))] Index: Ringtoets/Common/src/Ringtoets.Common.Primitives/Properties/Resources.Designer.cs =================================================================== diff -u -re3f913fddac4cfa598ef5439ce6b832f354d7dd8 -r1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996 --- Ringtoets/Common/src/Ringtoets.Common.Primitives/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision e3f913fddac4cfa598ef5439ce6b832f354d7dd8) +++ Ringtoets/Common/src/Ringtoets.Common.Primitives/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996) @@ -43,7 +43,7 @@ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { + public class Resources { private static global::System.Resources.ResourceManager resourceMan; @@ -57,7 +57,7 @@ /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { + public static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Ringtoets.Common.Primitives.Properties.Resources", typeof(Resources).Assembly); @@ -72,7 +72,7 @@ /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { + public static global::System.Globalization.CultureInfo Culture { get { return resourceCulture; } @@ -84,7 +84,7 @@ /// /// Looks up a localized string similar to VN. /// - internal static string AssessmentResultType_Insufficient { + public static string AssessmentResultType_Insufficient { get { return ResourceManager.GetString("AssessmentResultType_Insufficient", resourceCulture); } @@ -93,7 +93,7 @@ /// /// Looks up a localized string similar to <selecteer>. /// - internal static string AssessmentResultType_None { + public static string AssessmentResultType_None { get { return ResourceManager.GetString("AssessmentResultType_None", resourceCulture); } @@ -102,7 +102,7 @@ /// /// Looks up a localized string similar to NGO. /// - internal static string AssessmentResultType_NotAssessed { + public static string AssessmentResultType_NotAssessed { get { return ResourceManager.GetString("AssessmentResultType_NotAssessed", resourceCulture); } @@ -111,7 +111,7 @@ /// /// Looks up a localized string similar to Faalkans. /// - internal static string AssessmentResultType_Probability { + public static string AssessmentResultType_Probability { get { return ResourceManager.GetString("AssessmentResultType_Probability", resourceCulture); } @@ -120,7 +120,7 @@ /// /// Looks up a localized string similar to FV. /// - internal static string AssessmentResultType_ProbabilityNegligible { + public static string AssessmentResultType_ProbabilityNegligible { get { return ResourceManager.GetString("AssessmentResultType_ProbabilityNegligible", resourceCulture); } @@ -129,16 +129,61 @@ /// /// Looks up a localized string similar to V. /// - internal static string AssessmentResultType_Sufficient { + public static string AssessmentResultType_Sufficient { get { return ResourceManager.GetString("AssessmentResultType_Sufficient", resourceCulture); } } /// + /// Looks up a localized string similar to IIIv. + /// + public static string FailureMechanismSectionAssemblyCategoryGroup_IIIv_DisplayName { + get { + return ResourceManager.GetString("FailureMechanismSectionAssemblyCategoryGroup_IIIv_DisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to IIv. + /// + public static string FailureMechanismSectionAssemblyCategoryGroup_IIv_DisplayName { + get { + return ResourceManager.GetString("FailureMechanismSectionAssemblyCategoryGroup_IIv_DisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to IVv. + /// + public static string FailureMechanismSectionAssemblyCategoryGroup_IVv_DisplayName { + get { + return ResourceManager.GetString("FailureMechanismSectionAssemblyCategoryGroup_IVv_DisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to VIv. + /// + public static string FailureMechanismSectionAssemblyCategoryGroup_VIv_DisplayName { + get { + return ResourceManager.GetString("FailureMechanismSectionAssemblyCategoryGroup_VIv_DisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Vv. + /// + public static string FailureMechanismSectionAssemblyCategoryGroup_Vv_DisplayName { + get { + return ResourceManager.GetString("FailureMechanismSectionAssemblyCategoryGroup_Vv_DisplayName", resourceCulture); + } + } + + /// /// Looks up a localized string similar to VB. /// - internal static string SimpleAssessmentResultType_AssessFurther { + public static string SimpleAssessmentResultType_AssessFurther { get { return ResourceManager.GetString("SimpleAssessmentResultType_AssessFurther", resourceCulture); } @@ -147,7 +192,7 @@ /// /// Looks up a localized string similar to NVT. /// - internal static string SimpleAssessmentResultType_NotApplicable { + public static string SimpleAssessmentResultType_NotApplicable { get { return ResourceManager.GetString("SimpleAssessmentResultType_NotApplicable", resourceCulture); } @@ -156,10 +201,28 @@ /// /// Looks up a localized string similar to WVT. /// - internal static string SimpleAssessmentValidityOnlyResultType_Applicable { + public static string SimpleAssessmentValidityOnlyResultType_Applicable { get { return ResourceManager.GetString("SimpleAssessmentValidityOnlyResultType_Applicable", resourceCulture); } } + + /// + /// Looks up a localized string similar to Iv (FV). + /// + public static string TailorMadeAssessmentCategoryGroupResultType_Iv_FV_DisplayName { + get { + return ResourceManager.GetString("TailorMadeAssessmentCategoryGroupResultType_Iv_FV_DisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to VIIv (NGO). + /// + public static string TailorMadeAssessmentCategoryGroupResultType_VIIv_NGO_DisplayName { + get { + return ResourceManager.GetString("TailorMadeAssessmentCategoryGroupResultType_VIIv_NGO_DisplayName", resourceCulture); + } + } } } Index: Ringtoets/Common/src/Ringtoets.Common.Primitives/Properties/Resources.resx =================================================================== diff -u -re3f913fddac4cfa598ef5439ce6b832f354d7dd8 -r1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996 --- Ringtoets/Common/src/Ringtoets.Common.Primitives/Properties/Resources.resx (.../Resources.resx) (revision e3f913fddac4cfa598ef5439ce6b832f354d7dd8) +++ Ringtoets/Common/src/Ringtoets.Common.Primitives/Properties/Resources.resx (.../Resources.resx) (revision 1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996) @@ -144,4 +144,25 @@ V + + Iv (FV) + + + IIv + + + IIIv + + + IVv + + + Vv + + + VIv + + + VIIv (NGO) + \ No newline at end of file Index: Ringtoets/Common/src/Ringtoets.Common.Primitives/Ringtoets.Common.Primitives.csproj =================================================================== diff -u -r4c3d9408c3bb6f5745d8c49593366df16c6e4129 -r1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996 --- Ringtoets/Common/src/Ringtoets.Common.Primitives/Ringtoets.Common.Primitives.csproj (.../Ringtoets.Common.Primitives.csproj) (revision 4c3d9408c3bb6f5745d8c49593366df16c6e4129) +++ Ringtoets/Common/src/Ringtoets.Common.Primitives/Ringtoets.Common.Primitives.csproj (.../Ringtoets.Common.Primitives.csproj) (revision 1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996) @@ -11,6 +11,7 @@ + @@ -38,7 +39,7 @@ - ResXFileCodeGenerator + PublicResXFileCodeGenerator Resources.Designer.cs Designer Index: Ringtoets/Common/src/Ringtoets.Common.Primitives/TailorMadeAssessmentCategoryGroupResultType.cs =================================================================== diff -u --- Ringtoets/Common/src/Ringtoets.Common.Primitives/TailorMadeAssessmentCategoryGroupResultType.cs (revision 0) +++ Ringtoets/Common/src/Ringtoets.Common.Primitives/TailorMadeAssessmentCategoryGroupResultType.cs (revision 1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996) @@ -0,0 +1,82 @@ +// 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 Core.Common.Util.Attributes; +using Ringtoets.Common.Primitives.Properties; + +namespace Ringtoets.Common.Primitives +{ + /// + /// This enum defines the possible result types for a tailor made assessment + /// on a failure mechanism section where a category group can be selected. + /// + public enum TailorMadeAssessmentCategoryGroupResultType + { + /// + /// No option has been selected for this failure + /// mechanism section. + /// + [ResourcesDisplayName(typeof(Resources), nameof(Resources.AssessmentResultType_None))] + None = 1, + + /// + /// Represents the assembly category Iv (FV). + /// + [ResourcesDisplayName(typeof(Resources), nameof(Resources.TailorMadeAssessmentCategoryGroupResultType_Iv_FV_DisplayName))] + Iv = 2, + + /// + /// Represents the assembly category IIv. + /// + [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_IIv_DisplayName))] + IIv = 3, + + /// + /// Represents the assembly category IIIv. + /// + [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_IIIv_DisplayName))] + IIIv = 4, + + /// + /// Represents the assembly category IVv. + /// + [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_IVv_DisplayName))] + IVv = 5, + + /// + /// Represents the assembly category Vv. + /// + [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_Vv_DisplayName))] + Vv = 6, + + /// + /// Represents the assembly category VIv. + /// + [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_VIv_DisplayName))] + VIv = 7, + + /// + /// Represents the assembly category VIIv (NGO). + /// + [ResourcesDisplayName(typeof(Resources), nameof(Resources.TailorMadeAssessmentCategoryGroupResultType_VIIv_NGO_DisplayName))] + VIIv = 8 + } +} \ No newline at end of file Index: Ringtoets/Common/test/Ringtoets.Common.Primitives.Test/Ringtoets.Common.Primitives.Test.csproj =================================================================== diff -u -r4c3d9408c3bb6f5745d8c49593366df16c6e4129 -r1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996 --- Ringtoets/Common/test/Ringtoets.Common.Primitives.Test/Ringtoets.Common.Primitives.Test.csproj (.../Ringtoets.Common.Primitives.Test.csproj) (revision 4c3d9408c3bb6f5745d8c49593366df16c6e4129) +++ Ringtoets/Common/test/Ringtoets.Common.Primitives.Test/Ringtoets.Common.Primitives.Test.csproj (.../Ringtoets.Common.Primitives.Test.csproj) (revision 1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996) @@ -14,6 +14,7 @@ + Index: Ringtoets/Common/test/Ringtoets.Common.Primitives.Test/TailorMadeAssessmentCategoryGroupResultTypeTest.cs =================================================================== diff -u --- Ringtoets/Common/test/Ringtoets.Common.Primitives.Test/TailorMadeAssessmentCategoryGroupResultTypeTest.cs (revision 0) +++ Ringtoets/Common/test/Ringtoets.Common.Primitives.Test/TailorMadeAssessmentCategoryGroupResultTypeTest.cs (revision 1ac0b0a93ecc4e7981a2ef46a622d13bb8ab5996) @@ -0,0 +1,99 @@ +// 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 System.Collections.Generic; +using Core.Common.TestUtil; +using NUnit.Framework; + +namespace Ringtoets.Common.Primitives.Test +{ + [TestFixture] + public class TailorMadeAssessmentCategoryGroupResultTypeTest : EnumWithDisplayNameTestFixture + { + protected override IDictionary ExpectedValueForEnumValues + { + get + { + return new Dictionary + { + { + TailorMadeAssessmentCategoryGroupResultType.None, 1 + }, + { + TailorMadeAssessmentCategoryGroupResultType.Iv, 2 + }, + { + TailorMadeAssessmentCategoryGroupResultType.IIv, 3 + }, + { + TailorMadeAssessmentCategoryGroupResultType.IIIv, 4 + }, + { + TailorMadeAssessmentCategoryGroupResultType.IVv, 5 + }, + { + TailorMadeAssessmentCategoryGroupResultType.Vv, 6 + }, + { + TailorMadeAssessmentCategoryGroupResultType.VIv, 7 + }, + { + TailorMadeAssessmentCategoryGroupResultType.VIIv, 8 + } + }; + } + } + + protected override IDictionary ExpectedDisplayNameForEnumValues + { + get + { + return new Dictionary + { + { + TailorMadeAssessmentCategoryGroupResultType.None, "" + }, + { + TailorMadeAssessmentCategoryGroupResultType.Iv, "Iv (FV)" + }, + { + TailorMadeAssessmentCategoryGroupResultType.IIv, "IIv" + }, + { + TailorMadeAssessmentCategoryGroupResultType.IIIv, "IIIv" + }, + { + TailorMadeAssessmentCategoryGroupResultType.IVv, "IVv" + }, + { + TailorMadeAssessmentCategoryGroupResultType.Vv, "Vv" + }, + { + TailorMadeAssessmentCategoryGroupResultType.VIv, "VIv" + }, + { + TailorMadeAssessmentCategoryGroupResultType.VIIv, "VIIv (NGO)" + } + }; + } + } + } +} \ No newline at end of file