Index: Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableFailureMechanismGroup.cs
===================================================================
diff -u
--- Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableFailureMechanismGroup.cs (revision 0)
+++ Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableFailureMechanismGroup.cs (revision 9dbda2b506a514aabe08377eedd61c4d520c2022)
@@ -0,0 +1,28 @@
+namespace Ringtoets.Integration.IO.Assembly
+{
+ ///
+ /// Enum defining the exportable failure mechanism groups.
+ ///
+ public enum ExportableFailureMechanismGroup
+ {
+ ///
+ /// Represents the failure mechanism group 1.
+ ///
+ Group1 = 1,
+
+ ///
+ /// Represents the failure mechanism group 2.
+ ///
+ Group2 = 2,
+
+ ///
+ /// Represnts the failure mechanism group 3.
+ ///
+ Group3 = 3,
+
+ ///
+ /// Represents the failure mechanism group 4.
+ ///
+ Group4 = 4
+ }
+}
\ No newline at end of file
Index: Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableFailureMechanismType.cs
===================================================================
diff -u
--- Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableFailureMechanismType.cs (revision 0)
+++ Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableFailureMechanismType.cs (revision 9dbda2b506a514aabe08377eedd61c4d520c2022)
@@ -0,0 +1,98 @@
+namespace Ringtoets.Integration.IO.Assembly
+{
+ ///
+ /// Enum representing the exportable failure mechanism types.
+ ///
+ public enum ExportableFailureMechanismType
+ {
+ ///
+ /// Represents the failure mechanism macro stability inwards.
+ ///
+ STBI = 1,
+
+ ///
+ /// Represents the failure mechanism macro stability outwards.
+ ///
+ STBU = 2,
+
+ ///
+ /// Represents the failure mechanism piping.
+ ///
+ STPH = 3,
+
+ ///
+ /// Represents the failure mechanism microstability.
+ ///
+ STMI = 4,
+
+ ///
+ /// Represents the failure mechanism wave impact asphalt cover.
+ ///
+ AGK = 5,
+
+ ///
+ /// Represents the failure mechanism water pressure asphalt cover.
+ ///
+ AWO = 6,
+
+ ///
+ /// Represents the failure mechanism grass cover erosion outwards.
+ ///
+ GEBU = 7,
+
+ ///
+ /// Represents the failure mechanism grass cover slipoff outwards.
+ ///
+ GABU = 8,
+
+ ///
+ /// Represents the failure mechanism grass cover erosion inwards.
+ ///
+ GEKB = 9,
+
+ ///
+ /// Represents the failure mechanism grass cover slipoff inwards.
+ ///
+ GABI = 10,
+
+ ///
+ /// Represents the failure mechanism stability stone cover.
+ ///
+ ZST = 11,
+
+ ///
+ /// Represents the failure mechanism dune erosion.
+ ///
+ DA = 12,
+
+ ///
+ /// Represents the failure mechanism height structurews.
+ ///
+ HTKW = 13,
+
+ ///
+ /// Represents the failure mechanism closing structures.
+ ///
+ BSKW = 14,
+
+ ///
+ /// Represents the failure mechanism piping structures.
+ ///
+ PKW = 15,
+
+ ///
+ /// Represents the failure mechanism stability point structures.
+ ///
+ STKWp = 16,
+
+ ///
+ /// Represents the failure mechanism strength stability lengthwise construction.
+ ///
+ STKWl = 17,
+
+ ///
+ /// Represents the failure mechanism technical innovation.
+ ///
+ INN = 18
+ }
+}
\ No newline at end of file
Index: Ringtoets/Integration/src/Ringtoets.Integration.IO/Ringtoets.Integration.IO.csproj
===================================================================
diff -u -r083dc60305e72a225bb92b247fbc03d428ac05f3 -r9dbda2b506a514aabe08377eedd61c4d520c2022
--- Ringtoets/Integration/src/Ringtoets.Integration.IO/Ringtoets.Integration.IO.csproj (.../Ringtoets.Integration.IO.csproj) (revision 083dc60305e72a225bb92b247fbc03d428ac05f3)
+++ Ringtoets/Integration/src/Ringtoets.Integration.IO/Ringtoets.Integration.IO.csproj (.../Ringtoets.Integration.IO.csproj) (revision 9dbda2b506a514aabe08377eedd61c4d520c2022)
@@ -17,7 +17,9 @@
+
+
Index: Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Assembly/ExportableFailureMechanismGroupTest.cs
===================================================================
diff -u
--- Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Assembly/ExportableFailureMechanismGroupTest.cs (revision 0)
+++ Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Assembly/ExportableFailureMechanismGroupTest.cs (revision 9dbda2b506a514aabe08377eedd61c4d520c2022)
@@ -0,0 +1,33 @@
+using System.Collections.Generic;
+using Core.Common.TestUtil;
+using NUnit.Framework;
+using Ringtoets.Integration.IO.Assembly;
+
+namespace Ringtoets.Integration.IO.Test.Assembly
+{
+ [TestFixture]
+ public class ExportableFailureMechanismGroupTest : EnumValuesTestFixture
+ {
+ protected override IDictionary ExpectedValueForEnumValues
+ {
+ get
+ {
+ return new Dictionary
+ {
+ {
+ ExportableFailureMechanismGroup.Group1, 1
+ },
+ {
+ ExportableFailureMechanismGroup.Group2, 2
+ },
+ {
+ ExportableFailureMechanismGroup.Group3, 3
+ },
+ {
+ ExportableFailureMechanismGroup.Group4, 4
+ }
+ };
+ }
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Assembly/ExportableFailureMechanismSectionAssemblyMethodTest.cs
===================================================================
diff -u -r9f28ce6af6d4c53541a941cc8accb0f6fc358c3d -r9dbda2b506a514aabe08377eedd61c4d520c2022
--- Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Assembly/ExportableFailureMechanismSectionAssemblyMethodTest.cs (.../ExportableFailureMechanismSectionAssemblyMethodTest.cs) (revision 9f28ce6af6d4c53541a941cc8accb0f6fc358c3d)
+++ Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Assembly/ExportableFailureMechanismSectionAssemblyMethodTest.cs (.../ExportableFailureMechanismSectionAssemblyMethodTest.cs) (revision 9dbda2b506a514aabe08377eedd61c4d520c2022)
@@ -14,22 +14,54 @@
{
return new Dictionary
{
- { ExportableFailureMechanismSectionAssemblyMethod.WBI0E1, 1 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI0E3, 2 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI0G1, 3 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI0G3, 4 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI0G4, 5 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI0G5, 6 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI0G6, 7 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI0T1, 8 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI0T3, 9 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI0T4, 10 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI0T5, 11 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI0T6, 12 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI0T7, 13 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI0A1, 14 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI1A1, 15 },
- { ExportableFailureMechanismSectionAssemblyMethod.WBI1B1, 16 }
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI0E1, 1
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI0E3, 2
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI0G1, 3
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI0G3, 4
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI0G4, 5
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI0G5, 6
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI0G6, 7
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI0T1, 8
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI0T3, 9
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI0T4, 10
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI0T5, 11
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI0T6, 12
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI0T7, 13
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI0A1, 14
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI1A1, 15
+ },
+ {
+ ExportableFailureMechanismSectionAssemblyMethod.WBI1B1, 16
+ }
};
}
}
Index: Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Assembly/ExportableFailureMechanismTypeTest.cs
===================================================================
diff -u
--- Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Assembly/ExportableFailureMechanismTypeTest.cs (revision 0)
+++ Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Assembly/ExportableFailureMechanismTypeTest.cs (revision 9dbda2b506a514aabe08377eedd61c4d520c2022)
@@ -0,0 +1,75 @@
+using System.Collections.Generic;
+using Core.Common.TestUtil;
+using NUnit.Framework;
+using Ringtoets.Integration.IO.Assembly;
+
+namespace Ringtoets.Integration.IO.Test.Assembly
+{
+ [TestFixture]
+ public class ExportableFailureMechanismTypeTest : EnumValuesTestFixture
+ {
+ protected override IDictionary ExpectedValueForEnumValues
+ {
+ get
+ {
+ return new Dictionary
+ {
+ {
+ ExportableFailureMechanismType.STBI, 1
+ },
+ {
+ ExportableFailureMechanismType.STBU, 2
+ },
+ {
+ ExportableFailureMechanismType.STPH, 3
+ },
+ {
+ ExportableFailureMechanismType.STMI, 4
+ },
+ {
+ ExportableFailureMechanismType.AGK, 5
+ },
+ {
+ ExportableFailureMechanismType.AWO, 6
+ },
+ {
+ ExportableFailureMechanismType.GEBU, 7
+ },
+ {
+ ExportableFailureMechanismType.GABU, 8
+ },
+ {
+ ExportableFailureMechanismType.GEKB, 9
+ },
+ {
+ ExportableFailureMechanismType.GABI, 10
+ },
+ {
+ ExportableFailureMechanismType.ZST, 11
+ },
+ {
+ ExportableFailureMechanismType.DA, 12
+ },
+ {
+ ExportableFailureMechanismType.HTKW, 13
+ },
+ {
+ ExportableFailureMechanismType.BSKW, 14
+ },
+ {
+ ExportableFailureMechanismType.PKW, 15
+ },
+ {
+ ExportableFailureMechanismType.STKWp, 16
+ },
+ {
+ ExportableFailureMechanismType.STKWl, 17
+ },
+ {
+ ExportableFailureMechanismType.INN, 18
+ }
+ };
+ }
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Ringtoets.Integration.IO.Test.csproj
===================================================================
diff -u -r083dc60305e72a225bb92b247fbc03d428ac05f3 -r9dbda2b506a514aabe08377eedd61c4d520c2022
--- Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Ringtoets.Integration.IO.Test.csproj (.../Ringtoets.Integration.IO.Test.csproj) (revision 083dc60305e72a225bb92b247fbc03d428ac05f3)
+++ Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Ringtoets.Integration.IO.Test.csproj (.../Ringtoets.Integration.IO.Test.csproj) (revision 9dbda2b506a514aabe08377eedd61c4d520c2022)
@@ -21,6 +21,8 @@
+
+