Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/DisplayFailureMechanismSectionAssemblyCategoryGroup.cs
===================================================================
diff -u
--- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/DisplayFailureMechanismSectionAssemblyCategoryGroup.cs (revision 0)
+++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/DisplayFailureMechanismSectionAssemblyCategoryGroup.cs (revision 0c536882ffd5abfd1eaecfa8c8b90dbc9d2a16d8)
@@ -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 to display for a failure mechanism section.
+ ///
+ public enum DisplayFailureMechanismSectionAssemblyCategoryGroup
+ {
+ [ResourcesDisplayName(typeof(Resources), nameof(Resources.DisplayFailureMechanismSectionAssemblyCategoryGroup_None_DisplayName))]
+ None = 1,
+ [ResourcesDisplayName(typeof(Resources), nameof(Resources.DisplayFailureMechanismSectionAssemblyCategoryGroup_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/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.Designer.cs
===================================================================
diff -u
--- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.Designer.cs (revision 0)
+++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.Designer.cs (revision 0c536882ffd5abfd1eaecfa8c8b90dbc9d2a16d8)
@@ -0,0 +1,165 @@
+// 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.
+
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace Ringtoets.AssemblyTool.Forms.Properties {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [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 {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ ///
+ /// 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 {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Ringtoets.AssemblyTool.Forms.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to .
+ ///
+ internal static string DisplayFailureMechanismSectionAssemblyCategoryGroup_None_DisplayName {
+ get {
+ return ResourceManager.GetString("DisplayFailureMechanismSectionAssemblyCategoryGroup_None_DisplayName", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to -.
+ ///
+ internal static string DisplayFailureMechanismSectionAssemblyCategoryGroup_NotApplicable_DisplayName {
+ get {
+ return ResourceManager.GetString("DisplayFailureMechanismSectionAssemblyCategoryGroup_NotApplicable_DisplayName", resourceCulture);
+ }
+ }
+
+ ///
+ /// 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 {
+ get {
+ return ResourceManager.GetString("FailureMechanismSectionAssemblyCategoryGroup_Iv_DisplayName", resourceCulture);
+ }
+ }
+
+ ///
+ /// 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 {
+ get {
+ return ResourceManager.GetString("FailureMechanismSectionAssemblyCategoryGroup_VIIv_DisplayName", resourceCulture);
+ }
+ }
+
+ ///
+ /// 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);
+ }
+ }
+ }
+}
Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.resx
===================================================================
diff -u
--- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.resx (revision 0)
+++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Properties/Resources.resx (revision 0c536882ffd5abfd1eaecfa8c8b90dbc9d2a16d8)
@@ -0,0 +1,147 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ IIIv
+
+
+ IIv
+
+
+ IVv
+
+
+ Iv
+
+
+
+
+
+ -
+
+
+ VIIv
+
+
+ VIv
+
+
+ Vv
+
+
\ No newline at end of file
Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Ringtoets.AssemblyTool.Forms.csproj
===================================================================
diff -u -r0b15250481afe9b7248472b990cc86f19021a8ba -r0c536882ffd5abfd1eaecfa8c8b90dbc9d2a16d8
--- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Ringtoets.AssemblyTool.Forms.csproj (.../Ringtoets.AssemblyTool.Forms.csproj) (revision 0b15250481afe9b7248472b990cc86f19021a8ba)
+++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Forms/Ringtoets.AssemblyTool.Forms.csproj (.../Ringtoets.AssemblyTool.Forms.csproj) (revision 0c536882ffd5abfd1eaecfa8c8b90dbc9d2a16d8)
@@ -11,12 +11,31 @@
+
+
+ True
+ True
+ Resources.resx
+
Copying.licenseheader
+
+
+ {F49BD8B2-332A-4C91-A196-8CCE0A2C7D98}
+ Core.Common.Util
+ False
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
\ No newline at end of file
Index: Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Forms.Test/DisplayFailureMechanismSectionAssemblyCategoryGroupTest.cs
===================================================================
diff -u
--- Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Forms.Test/DisplayFailureMechanismSectionAssemblyCategoryGroupTest.cs (revision 0)
+++ Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Forms.Test/DisplayFailureMechanismSectionAssemblyCategoryGroupTest.cs (revision 0c536882ffd5abfd1eaecfa8c8b90dbc9d2a16d8)
@@ -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 DisplayFailureMechanismSectionAssemblyCategoryGroupTest : EnumWithDisplayNameTestFixture
+ {
+ protected override IDictionary ExpectedValueForEnumValues
+ {
+ get
+ {
+ return new Dictionary
+ {
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.None, 1
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.NotApplicable, 2
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.Iv, 3
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.IIv, 4
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.IIIv, 5
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.IVv, 6
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.Vv, 7
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.VIv, 8
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.VIIv, 9
+ }
+ };
+ }
+ }
+
+ protected override IDictionary ExpectedDisplayNameForEnumValues
+ {
+ get
+ {
+ return new Dictionary
+ {
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.None, ""
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.NotApplicable, "-"
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.Iv, "Iv"
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.IIv, "IIv"
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.IIIv, "IIIv"
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.IVv, "IVv"
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.Vv, "Vv"
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.VIv, "VIv"
+ },
+ {
+ DisplayFailureMechanismSectionAssemblyCategoryGroup.VIIv, "VIIv"
+ }
+ };
+ }
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Forms.Test/Ringtoets.AssemblyTool.Forms.Test.csproj
===================================================================
diff -u -r0b15250481afe9b7248472b990cc86f19021a8ba -r0c536882ffd5abfd1eaecfa8c8b90dbc9d2a16d8
--- Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Forms.Test/Ringtoets.AssemblyTool.Forms.Test.csproj (.../Ringtoets.AssemblyTool.Forms.Test.csproj) (revision 0b15250481afe9b7248472b990cc86f19021a8ba)
+++ Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Forms.Test/Ringtoets.AssemblyTool.Forms.Test.csproj (.../Ringtoets.AssemblyTool.Forms.Test.csproj) (revision 0c536882ffd5abfd1eaecfa8c8b90dbc9d2a16d8)
@@ -14,6 +14,7 @@
+
@@ -22,5 +23,15 @@
+
+
+ {D749EE4C-CE50-4C17-BF01-9A953028C126}
+ Core.Common.TestUtil
+
+
+ {22C5DDB8-2491-4BC6-BDC6-2A7B7EBF40C1}
+ Ringtoets.AssemblyTool.Forms
+
+
\ No newline at end of file