Index: Riskeer/Common/src/Riskeer.Common.Data/FailureMechanism/NonAdoptableInitialFailureMechanismResultType.cs
===================================================================
diff -u
--- Riskeer/Common/src/Riskeer.Common.Data/FailureMechanism/NonAdoptableInitialFailureMechanismResultType.cs (revision 0)
+++ Riskeer/Common/src/Riskeer.Common.Data/FailureMechanism/NonAdoptableInitialFailureMechanismResultType.cs (revision d0c7772a76165f1db82e24682cda7df49abfd48c)
@@ -0,0 +1,44 @@
+// Copyright (C) Stichting Deltares 2021. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer 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 Riskeer.Common.Data.Properties;
+
+namespace Riskeer.Common.Data.FailureMechanism
+{
+ ///
+ /// Specifies the types of the non-adoptable initial failure mechanism result.
+ ///
+ public enum NonAdoptableInitialFailureMechanismResultType
+ {
+ ///
+ /// Manually fill in the result.
+ ///
+ [ResourcesDisplayName(typeof(Resources), nameof(Resources.InitialFailureMechanismResultType_Manual_DisplayName))]
+ Manual = 1,
+
+ ///
+ /// There is no failure probability for this result.
+ ///
+ [ResourcesDisplayName(typeof(Resources), nameof(Resources.InitialFailureMechanismResultType_NoFailureProbability_DisplayName))]
+ NoFailureProbability = 2
+ }
+}
\ No newline at end of file
Index: Riskeer/Common/test/Riskeer.Common.Data.Test/FailureMechanism/NonAdoptableInitialFailureMechanismTypeTest.cs
===================================================================
diff -u
--- Riskeer/Common/test/Riskeer.Common.Data.Test/FailureMechanism/NonAdoptableInitialFailureMechanismTypeTest.cs (revision 0)
+++ Riskeer/Common/test/Riskeer.Common.Data.Test/FailureMechanism/NonAdoptableInitialFailureMechanismTypeTest.cs (revision d0c7772a76165f1db82e24682cda7df49abfd48c)
@@ -0,0 +1,54 @@
+// Copyright (C) Stichting Deltares 2021. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer 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;
+using Riskeer.Common.Data.FailureMechanism;
+
+namespace Riskeer.Common.Data.Test.FailureMechanism
+{
+ [TestFixture]
+ public class NonAdoptableInitialFailureMechanismTypeTest : EnumWithResourcesDisplayNameTestFixture
+ {
+ protected override IDictionary ExpectedValueForEnumValues =>
+ new Dictionary
+ {
+ {
+ NonAdoptableInitialFailureMechanismResultType.Manual, 1
+ },
+ {
+ NonAdoptableInitialFailureMechanismResultType.NoFailureProbability, 2
+ }
+ };
+
+ protected override IDictionary ExpectedDisplayNameForEnumValues =>
+ new Dictionary
+ {
+ {
+ NonAdoptableInitialFailureMechanismResultType.Manual, "Handmatig invullen"
+ },
+ {
+ NonAdoptableInitialFailureMechanismResultType.NoFailureProbability, "Geen faalkans"
+ }
+ };
+ }
+}
\ No newline at end of file