Index: Ringtoets/Common/src/Ringtoets.Common.Data/FailureMechanism/SimpleAssessmentResultType.cs =================================================================== diff -u --- Ringtoets/Common/src/Ringtoets.Common.Data/FailureMechanism/SimpleAssessmentResultType.cs (revision 0) +++ Ringtoets/Common/src/Ringtoets.Common.Data/FailureMechanism/SimpleAssessmentResultType.cs (revision 2aa97c7e12bc6ede97cdc394d2713abbc95670a5) @@ -0,0 +1,52 @@ +// 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. + +namespace Ringtoets.Common.Data.FailureMechanism +{ + /// + /// This enum defines the possible statuses for a simple assessment + /// for a failure mechanism section. + /// + public enum SimpleAssessmentResultType + { + /// + /// No option has been selected for this failure + /// mechanism section. + /// + None = 1, + + /// + /// The failure mechanism section is not applicable. + /// + NotApplicable = 2, + + /// + /// The probability of failure for the failure mechanism + /// section is negligible. + /// + ProbabilityNegligible = 3, + + /// + /// The failure mechanism section needs further assessment. + /// + AssessFurther = 4 + } +} \ No newline at end of file Fisheye: Tag 2aa97c7e12bc6ede97cdc394d2713abbc95670a5 refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.Data/FailureMechanism/SimpleAssessmentResultTypeA.cs'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 2aa97c7e12bc6ede97cdc394d2713abbc95670a5 refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.Data/FailureMechanism/SimpleAssessmentResultTypeB.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/Common/src/Ringtoets.Common.Data/FailureMechanism/SimpleAssessmentResultValidityOnlyType.cs =================================================================== diff -u --- Ringtoets/Common/src/Ringtoets.Common.Data/FailureMechanism/SimpleAssessmentResultValidityOnlyType.cs (revision 0) +++ Ringtoets/Common/src/Ringtoets.Common.Data/FailureMechanism/SimpleAssessmentResultValidityOnlyType.cs (revision 2aa97c7e12bc6ede97cdc394d2713abbc95670a5) @@ -0,0 +1,46 @@ +// 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. + +namespace Ringtoets.Common.Data.FailureMechanism +{ + /// + /// This enum defines the possible statuses for a simple assessment + /// for a failure mechanism section in case there is only a relevance check. + /// + public enum SimpleAssessmentResultValidityOnlyType + { + /// + /// No option has been selected for this failure + /// mechanism section. + /// + None = 1, + + /// + /// The failure mechanism section is not applicable. + /// + NotApplicable = 2, + + /// + /// The failure mechanism section is applicable. + /// + Applicable = 3 + } +} \ No newline at end of file Index: Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj =================================================================== diff -u -r20362714027f398be3637784665dd2a11fbc6db3 -r2aa97c7e12bc6ede97cdc394d2713abbc95670a5 --- Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj (.../Ringtoets.Common.Data.csproj) (revision 20362714027f398be3637784665dd2a11fbc6db3) +++ Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj (.../Ringtoets.Common.Data.csproj) (revision 2aa97c7e12bc6ede97cdc394d2713abbc95670a5) @@ -49,8 +49,8 @@ - - + + Fisheye: Tag 2aa97c7e12bc6ede97cdc394d2713abbc95670a5 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.Data.Test/FailureMechanism/SimpleAssessmentResultTypeATest.cs'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 2aa97c7e12bc6ede97cdc394d2713abbc95670a5 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.Data.Test/FailureMechanism/SimpleAssessmentResultTypeBTest.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/FailureMechanism/SimpleAssessmentResultTypeTest.cs =================================================================== diff -u --- Ringtoets/Common/test/Ringtoets.Common.Data.Test/FailureMechanism/SimpleAssessmentResultTypeTest.cs (revision 0) +++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/FailureMechanism/SimpleAssessmentResultTypeTest.cs (revision 2aa97c7e12bc6ede97cdc394d2713abbc95670a5) @@ -0,0 +1,54 @@ +// 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; +using Ringtoets.Common.Data.FailureMechanism; + +namespace Ringtoets.Common.Data.Test.FailureMechanism +{ + [TestFixture] + public class SimpleAssessmentResultTypeTest : EnumValuesTestFixture + { + protected override IDictionary ExpectedValueForEnumValues + { + get + { + return new Dictionary + { + { + SimpleAssessmentResultType.None, 1 + }, + { + SimpleAssessmentResultType.NotApplicable, 2 + }, + { + SimpleAssessmentResultType.ProbabilityNegligible, 3 + }, + { + SimpleAssessmentResultType.AssessFurther, 4 + } + }; + } + } + } +} \ No newline at end of file Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/FailureMechanism/SimpleAssessmentResultValidityOnlyTypeTest.cs =================================================================== diff -u --- Ringtoets/Common/test/Ringtoets.Common.Data.Test/FailureMechanism/SimpleAssessmentResultValidityOnlyTypeTest.cs (revision 0) +++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/FailureMechanism/SimpleAssessmentResultValidityOnlyTypeTest.cs (revision 2aa97c7e12bc6ede97cdc394d2713abbc95670a5) @@ -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 System.Collections.Generic; +using Core.Common.TestUtil; +using NUnit.Framework; +using Ringtoets.Common.Data.FailureMechanism; + +namespace Ringtoets.Common.Data.Test.FailureMechanism +{ + [TestFixture] + public class SimpleAssessmentResultValidityOnlyTypeTest : EnumValuesTestFixture + { + protected override IDictionary ExpectedValueForEnumValues + { + get + { + return new Dictionary + { + { + SimpleAssessmentResultValidityOnlyType.None, 1 + }, + { + SimpleAssessmentResultValidityOnlyType.NotApplicable, 2 + }, + { + SimpleAssessmentResultValidityOnlyType.Applicable, 3 + } + }; + } + } + } +} \ No newline at end of file Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/Ringtoets.Common.Data.Test.csproj =================================================================== diff -u -r20362714027f398be3637784665dd2a11fbc6db3 -r2aa97c7e12bc6ede97cdc394d2713abbc95670a5 --- Ringtoets/Common/test/Ringtoets.Common.Data.Test/Ringtoets.Common.Data.Test.csproj (.../Ringtoets.Common.Data.Test.csproj) (revision 20362714027f398be3637784665dd2a11fbc6db3) +++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/Ringtoets.Common.Data.Test.csproj (.../Ringtoets.Common.Data.Test.csproj) (revision 2aa97c7e12bc6ede97cdc394d2713abbc95670a5) @@ -47,8 +47,8 @@ - - + +