Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.Designer.cs
===================================================================
diff -u -r0c536882ffd5abfd1eaecfa8c8b90dbc9d2a16d8 -r77cd65fa92945a8edbc4e7bf15f59459c404b97a
--- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 0c536882ffd5abfd1eaecfa8c8b90dbc9d2a16d8)
+++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 77cd65fa92945a8edbc4e7bf15f59459c404b97a)
@@ -161,5 +161,23 @@
return ResourceManager.GetString("FailureMechanismSectionAssemblyCategoryGroup_Vv_DisplayName", resourceCulture);
}
}
+
+ ///
+ /// Looks up a localized string similar to <selecteer>.
+ ///
+ internal static string SelectableFailureMechanismSectionAssemblyCategoryGroup_None_DisplayName {
+ get {
+ return ResourceManager.GetString("SelectableFailureMechanismSectionAssemblyCategoryGroup_None_DisplayName", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to NVT.
+ ///
+ internal static string SelectableFailureMechanismSectionAssemblyCategoryGroup_NotApplicable_DisplayName {
+ get {
+ return ResourceManager.GetString("SelectableFailureMechanismSectionAssemblyCategoryGroup_NotApplicable_DisplayName", resourceCulture);
+ }
+ }
}
}
Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.resx
===================================================================
diff -u -r0c536882ffd5abfd1eaecfa8c8b90dbc9d2a16d8 -r77cd65fa92945a8edbc4e7bf15f59459c404b97a
--- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.resx (.../Resources.resx) (revision 0c536882ffd5abfd1eaecfa8c8b90dbc9d2a16d8)
+++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.resx (.../Resources.resx) (revision 77cd65fa92945a8edbc4e7bf15f59459c404b97a)
@@ -144,4 +144,10 @@
Vv
+
+ <selecteer>
+
+
+ NVT
+
\ No newline at end of file
Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Ringtoets.AssemblyTool.Forms.csproj
===================================================================
diff -u -r4019c6627677423eaa13082f5a15b0c39e913ac5 -r77cd65fa92945a8edbc4e7bf15f59459c404b97a
--- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Ringtoets.AssemblyTool.Forms.csproj (.../Ringtoets.AssemblyTool.Forms.csproj) (revision 4019c6627677423eaa13082f5a15b0c39e913ac5)
+++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Ringtoets.AssemblyTool.Forms.csproj (.../Ringtoets.AssemblyTool.Forms.csproj) (revision 77cd65fa92945a8edbc4e7bf15f59459c404b97a)
@@ -19,6 +19,7 @@
True
Resources.resx
+
Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/SelectableFailureMechanismSectionAssemblyCategoryGroup.cs
===================================================================
diff -u
--- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/SelectableFailureMechanismSectionAssemblyCategoryGroup.cs (revision 0)
+++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/SelectableFailureMechanismSectionAssemblyCategoryGroup.cs (revision 77cd65fa92945a8edbc4e7bf15f59459c404b97a)
@@ -0,0 +1,51 @@
+// 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.AssemblyTool.Forms.Properties;
+
+namespace Ringtoets.AssemblyTool.Forms
+{
+ ///
+ /// Enum defining the assembly categories that can be selected for a failure mechanism section.
+ ///
+ public enum SelectableFailureMechanismSectionAssemblyCategoryGroup
+ {
+ [ResourcesDisplayName(typeof(Resources), nameof(Resources.SelectableFailureMechanismSectionAssemblyCategoryGroup_None_DisplayName))]
+ None = 1,
+ [ResourcesDisplayName(typeof(Resources), nameof(Resources.SelectableFailureMechanismSectionAssemblyCategoryGroup_NotApplicable_DisplayName))]
+ NotApplicable = 2,
+ [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_Iv_DisplayName))]
+ Iv = 3,
+ [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_IIv_DisplayName))]
+ IIv = 4,
+ [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_IIIv_DisplayName))]
+ IIIv = 5,
+ [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_IVv_DisplayName))]
+ IVv = 6,
+ [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_Vv_DisplayName))]
+ Vv = 7,
+ [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_VIv_DisplayName))]
+ VIv = 8,
+ [ResourcesDisplayName(typeof(Resources), nameof(Resources.FailureMechanismSectionAssemblyCategoryGroup_VIIv_DisplayName))]
+ VIIv = 9
+ }
+}
\ No newline at end of file
Index: Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Forms.Test/Ringtoets.AssemblyTool.Forms.Test.csproj
===================================================================
diff -u -r4019c6627677423eaa13082f5a15b0c39e913ac5 -r77cd65fa92945a8edbc4e7bf15f59459c404b97a
--- Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Forms.Test/Ringtoets.AssemblyTool.Forms.Test.csproj (.../Ringtoets.AssemblyTool.Forms.Test.csproj) (revision 4019c6627677423eaa13082f5a15b0c39e913ac5)
+++ Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Forms.Test/Ringtoets.AssemblyTool.Forms.Test.csproj (.../Ringtoets.AssemblyTool.Forms.Test.csproj) (revision 77cd65fa92945a8edbc4e7bf15f59459c404b97a)
@@ -17,6 +17,7 @@
+
Index: Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Forms.Test/SelectableFailureMechanismSectionAssemblyCategoryGroupTest.cs
===================================================================
diff -u
--- Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Forms.Test/SelectableFailureMechanismSectionAssemblyCategoryGroupTest.cs (revision 0)
+++ Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Forms.Test/SelectableFailureMechanismSectionAssemblyCategoryGroupTest.cs (revision 77cd65fa92945a8edbc4e7bf15f59459c404b97a)
@@ -0,0 +1,105 @@
+// 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.AssemblyTool.Forms.Test
+{
+ [TestFixture]
+ public class SelectableFailureMechanismSectionAssemblyCategoryGroupTest : EnumWithDisplayNameTestFixture
+ {
+ protected override IDictionary ExpectedValueForEnumValues
+ {
+ get
+ {
+ return new Dictionary
+ {
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.None, 1
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.NotApplicable, 2
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.Iv, 3
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.IIv, 4
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.IIIv, 5
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.IVv, 6
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.Vv, 7
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.VIv, 8
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.VIIv, 9
+ }
+ };
+ }
+ }
+
+ protected override IDictionary ExpectedDisplayNameForEnumValues
+ {
+ get
+ {
+ return new Dictionary
+ {
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.None, ""
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.NotApplicable, "NVT"
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.Iv, "Iv"
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.IIv, "IIv"
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.IIIv, "IIIv"
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.IVv, "IVv"
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.Vv, "Vv"
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.VIv, "VIv"
+ },
+ {
+ SelectableFailureMechanismSectionAssemblyCategoryGroup.VIIv, "VIIv"
+ }
+ };
+ }
+ }
+ }
+}
\ No newline at end of file