Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/Ringtoets.Integration.Data.csproj
===================================================================
diff -u -r8c0ec57a86cd0d73759f178bee1ed647f62692dc -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Data/Ringtoets.Integration.Data.csproj (.../Ringtoets.Integration.Data.csproj) (revision 8c0ec57a86cd0d73759f178bee1ed647f62692dc)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Data/Ringtoets.Integration.Data.csproj (.../Ringtoets.Integration.Data.csproj) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -51,7 +51,6 @@
-
Fisheye: Tag 3684562eb91b4bf579391fd508d4ef82ba4397b2 refers to a dead (removed) revision in file `Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResult/NumericFailureMechanismSectionResult.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResult/StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult.cs
===================================================================
diff -u -r94b85dc077cddf7535b328b8b3a96a494afac0f6 -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResult/StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult.cs (.../StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult.cs) (revision 94b85dc077cddf7535b328b8b3a96a494afac0f6)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResult/StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult.cs (.../StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -19,12 +19,28 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
+using Core.Common.Base.Data;
using Ringtoets.Common.Data.FailureMechanism;
namespace Ringtoets.Integration.Data.StandAlone.SectionResult
{
- public class StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult : NumericFailureMechanismSectionResult
+ public class StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult : FailureMechanismSectionResult
{
public StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(FailureMechanismSection section) : base(section) {}
+
+ ///
+ /// Gets the value of assessment layer two a.
+ ///
+ public RoundedDouble AssessmentLayerTwoA { get; set; }
+
+ ///
+ /// Gets or sets the value of assessment layer three.
+ ///
+ public RoundedDouble AssessmentLayerThree { get; set; }
+
+ ///
+ /// Gets or sets the state of the assessment layer one.
+ ///
+ public bool AssessmentLayerOne { get; set; }
}
}
Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResult/WaterPressureAsphaltCoverFailureMechanismSectionResult.cs
===================================================================
diff -u -r94b85dc077cddf7535b328b8b3a96a494afac0f6 -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResult/WaterPressureAsphaltCoverFailureMechanismSectionResult.cs (.../WaterPressureAsphaltCoverFailureMechanismSectionResult.cs) (revision 94b85dc077cddf7535b328b8b3a96a494afac0f6)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResult/WaterPressureAsphaltCoverFailureMechanismSectionResult.cs (.../WaterPressureAsphaltCoverFailureMechanismSectionResult.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -19,12 +19,28 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
+using Core.Common.Base.Data;
using Ringtoets.Common.Data.FailureMechanism;
namespace Ringtoets.Integration.Data.StandAlone.SectionResult
{
- public class WaterPressureAsphaltCoverFailureMechanismSectionResult : NumericFailureMechanismSectionResult
+ public class WaterPressureAsphaltCoverFailureMechanismSectionResult : FailureMechanismSectionResult
{
public WaterPressureAsphaltCoverFailureMechanismSectionResult(FailureMechanismSection section) : base(section) {}
+
+ ///
+ /// Gets the value of assessment layer two a.
+ ///
+ public RoundedDouble AssessmentLayerTwoA { get; set; }
+
+ ///
+ /// Gets or sets the value of assessment layer three.
+ ///
+ public RoundedDouble AssessmentLayerThree { get; set; }
+
+ ///
+ /// Gets or sets the state of the assessment layer one.
+ ///
+ public bool AssessmentLayerOne { get; set; }
}
}
Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResult/WaveImpactAsphaltCoverFailureMechanismSectionResult.cs
===================================================================
diff -u -r94b85dc077cddf7535b328b8b3a96a494afac0f6 -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResult/WaveImpactAsphaltCoverFailureMechanismSectionResult.cs (.../WaveImpactAsphaltCoverFailureMechanismSectionResult.cs) (revision 94b85dc077cddf7535b328b8b3a96a494afac0f6)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResult/WaveImpactAsphaltCoverFailureMechanismSectionResult.cs (.../WaveImpactAsphaltCoverFailureMechanismSectionResult.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -19,12 +19,28 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
+using Core.Common.Base.Data;
using Ringtoets.Common.Data.FailureMechanism;
namespace Ringtoets.Integration.Data.StandAlone.SectionResult
{
- public class WaveImpactAsphaltCoverFailureMechanismSectionResult : NumericFailureMechanismSectionResult
+ public class WaveImpactAsphaltCoverFailureMechanismSectionResult : FailureMechanismSectionResult
{
public WaveImpactAsphaltCoverFailureMechanismSectionResult(FailureMechanismSection section) : base(section) {}
+
+ ///
+ /// Gets the value of assessment layer two a.
+ ///
+ public RoundedDouble AssessmentLayerTwoA { get; set; }
+
+ ///
+ /// Gets or sets the value of assessment layer three.
+ ///
+ public RoundedDouble AssessmentLayerThree { get; set; }
+
+ ///
+ /// Gets or sets the state of the assessment layer one.
+ ///
+ public bool AssessmentLayerOne { get; set; }
}
}
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/PresentationObjects/NumericFailureMechanismContext.cs
===================================================================
diff -u -rbe3779b7be55ce7821035393e89cdde997b15883 -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/PresentationObjects/NumericFailureMechanismContext.cs (.../NumericFailureMechanismContext.cs) (revision be3779b7be55ce7821035393e89cdde997b15883)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/PresentationObjects/NumericFailureMechanismContext.cs (.../NumericFailureMechanismContext.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -23,13 +23,12 @@
using Ringtoets.Common.Data.AssessmentSection;
using Ringtoets.Common.Data.FailureMechanism;
using Ringtoets.Common.Forms.PresentationObjects;
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
namespace Ringtoets.Integration.Forms.PresentationObjects
{
///
/// This class is a presentation object for an instance of ,
- /// which has .
+ /// which has .
///
public class NumericFailureMechanismContext : FailureMechanismContext
{
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Ringtoets.Integration.Forms.csproj
===================================================================
diff -u -r76c2371398aaacdc8ee6b0c8debd722a747519db -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Ringtoets.Integration.Forms.csproj (.../Ringtoets.Integration.Forms.csproj) (revision 76c2371398aaacdc8ee6b0c8debd722a747519db)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Ringtoets.Integration.Forms.csproj (.../Ringtoets.Integration.Forms.csproj) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -82,7 +82,6 @@
-
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/ClosingStructureSectionResultRow.cs
===================================================================
diff -u -r8c0ec57a86cd0d73759f178bee1ed647f62692dc -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/ClosingStructureSectionResultRow.cs (.../ClosingStructureSectionResultRow.cs) (revision 8c0ec57a86cd0d73759f178bee1ed647f62692dc)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/ClosingStructureSectionResultRow.cs (.../ClosingStructureSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using System;
+// Copyright (C) Stichting Deltares 2016. 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;
using Core.Common.Base.Data;
using Core.Common.Base.Properties;
using Ringtoets.Integration.Data.StandAlone.SectionResult;
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/DuneErosionSectionResultRow.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/DuneErosionSectionResultRow.cs (.../DuneErosionSectionResultRow.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/DuneErosionSectionResultRow.cs (.../DuneErosionSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,5 +1,26 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
+
namespace Ringtoets.Integration.Forms.Views.SectionResultRow
{
public class DuneErosionSectionResultRow : SimpleFailureMechanismSectionResultRow
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/FailureMechanismSectionResultRow.cs
===================================================================
diff -u -r8c0ec57a86cd0d73759f178bee1ed647f62692dc -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/FailureMechanismSectionResultRow.cs (.../FailureMechanismSectionResultRow.cs) (revision 8c0ec57a86cd0d73759f178bee1ed647f62692dc)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/FailureMechanismSectionResultRow.cs (.../FailureMechanismSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -20,8 +20,6 @@
// All rights reserved.
using System;
-using Core.Common.Base.Data;
-using Core.Common.Base.Properties;
using Ringtoets.Common.Data.FailureMechanism;
namespace Ringtoets.Integration.Forms.Views.SectionResultRow
@@ -30,7 +28,7 @@
/// Container of a , which takes care of the
/// representation of properties in a grid.
///
- public class FailureMechanismSectionResultRow where T : FailureMechanismSectionResult
+ public abstract class FailureMechanismSectionResultRow where T : FailureMechanismSectionResult
{
///
/// Creates a new instance of .
@@ -39,7 +37,7 @@
/// the source of this row.
/// Throw when is
/// null.
- public FailureMechanismSectionResultRow(T sectionResult)
+ protected FailureMechanismSectionResultRow(T sectionResult)
{
if (sectionResult == null)
{
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/GrassCoverErosionOutwardsSectionResultRow.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/GrassCoverErosionOutwardsSectionResultRow.cs (.../GrassCoverErosionOutwardsSectionResultRow.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/GrassCoverErosionOutwardsSectionResultRow.cs (.../GrassCoverErosionOutwardsSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,5 +1,26 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
+
namespace Ringtoets.Integration.Forms.Views.SectionResultRow
{
public class GrassCoverErosionOutwardsSectionResultRow : SimpleFailureMechanismSectionResultRow
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/GrassCoverSlipOffInwardsSectionResultRow.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/GrassCoverSlipOffInwardsSectionResultRow.cs (.../GrassCoverSlipOffInwardsSectionResultRow.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/GrassCoverSlipOffInwardsSectionResultRow.cs (.../GrassCoverSlipOffInwardsSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,5 +1,26 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
+
namespace Ringtoets.Integration.Forms.Views.SectionResultRow
{
public class GrassCoverSlipOffInwardsSectionResultRow : SimpleFailureMechanismSectionResultRow
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/GrassCoverSlipOffOutwardsSectionResultRow.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/GrassCoverSlipOffOutwardsSectionResultRow.cs (.../GrassCoverSlipOffOutwardsSectionResultRow.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/GrassCoverSlipOffOutwardsSectionResultRow.cs (.../GrassCoverSlipOffOutwardsSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,5 +1,26 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
+
namespace Ringtoets.Integration.Forms.Views.SectionResultRow
{
public class GrassCoverSlipOffOutwardsSectionResultRow : SimpleFailureMechanismSectionResultRow
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/MacrostabilityInwardsSectionResultRow.cs
===================================================================
diff -u -r8c0ec57a86cd0d73759f178bee1ed647f62692dc -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/MacrostabilityInwardsSectionResultRow.cs (.../MacrostabilityInwardsSectionResultRow.cs) (revision 8c0ec57a86cd0d73759f178bee1ed647f62692dc)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/MacrostabilityInwardsSectionResultRow.cs (.../MacrostabilityInwardsSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using System;
+// Copyright (C) Stichting Deltares 2016. 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;
using Core.Common.Base.Data;
using Core.Common.Base.Properties;
using Ringtoets.Integration.Data.StandAlone.SectionResult;
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/MacrostabilityOutwardsSectionResultRow.cs
===================================================================
diff -u -r8c0ec57a86cd0d73759f178bee1ed647f62692dc -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/MacrostabilityOutwardsSectionResultRow.cs (.../MacrostabilityOutwardsSectionResultRow.cs) (revision 8c0ec57a86cd0d73759f178bee1ed647f62692dc)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/MacrostabilityOutwardsSectionResultRow.cs (.../MacrostabilityOutwardsSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using System;
+// Copyright (C) Stichting Deltares 2016. 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;
using Core.Common.Base.Data;
using Core.Common.Base.Properties;
using Ringtoets.Integration.Data.StandAlone.SectionResult;
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/MicrostabilitySectionResultRow.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/MicrostabilitySectionResultRow.cs (.../MicrostabilitySectionResultRow.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/MicrostabilitySectionResultRow.cs (.../MicrostabilitySectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,5 +1,26 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
+
namespace Ringtoets.Integration.Forms.Views.SectionResultRow
{
public class MicrostabilitySectionResultRow : SimpleFailureMechanismSectionResultRow
Fisheye: Tag 3684562eb91b4bf579391fd508d4ef82ba4397b2 refers to a dead (removed) revision in file `Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/NumericFailureMechanismSectionResultRow.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/PipingStructureSectionResultRow.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/PipingStructureSectionResultRow.cs (.../PipingStructureSectionResultRow.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/PipingStructureSectionResultRow.cs (.../PipingStructureSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,5 +1,26 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
+
namespace Ringtoets.Integration.Forms.Views.SectionResultRow
{
public class PipingStructureSectionResultRow : SimpleFailureMechanismSectionResultRow
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/StabilityStoneCoverSectionResultRow.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/StabilityStoneCoverSectionResultRow.cs (.../StabilityStoneCoverSectionResultRow.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/StabilityStoneCoverSectionResultRow.cs (.../StabilityStoneCoverSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,5 +1,26 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
+
namespace Ringtoets.Integration.Forms.Views.SectionResultRow
{
public class StabilityStoneCoverSectionResultRow : SimpleFailureMechanismSectionResultRow
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/StrengthStabilityLengthwiseConstructionSectionResultRow.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/StrengthStabilityLengthwiseConstructionSectionResultRow.cs (.../StrengthStabilityLengthwiseConstructionSectionResultRow.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/StrengthStabilityLengthwiseConstructionSectionResultRow.cs (.../StrengthStabilityLengthwiseConstructionSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,9 +1,88 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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.Base.Data;
+using Ringtoets.Integration.Data.StandAlone.SectionResult;
+
namespace Ringtoets.Integration.Forms.Views.SectionResultRow
{
- public class StrengthStabilityLengthwiseConstructionSectionResultRow : NumericFailureMechanismSectionResultRow
+ public class StrengthStabilityLengthwiseConstructionSectionResultRow : FailureMechanismSectionResultRow
{
- public StrengthStabilityLengthwiseConstructionSectionResultRow(NumericFailureMechanismSectionResult sectionResult) : base(sectionResult) {}
+ public StrengthStabilityLengthwiseConstructionSectionResultRow(StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult sectionResult) : base(sectionResult) {}
+
+ ///
+ /// Gets the name of the failure mechanism section.
+ ///
+ public string Name
+ {
+ get
+ {
+ return SectionResult.Section.Name;
+ }
+ }
+
+ ///
+ /// Gets or sets the value representing whether the section passed the layer 0 assessment.
+ ///
+ public bool AssessmentLayerOne
+ {
+ get
+ {
+ return SectionResult.AssessmentLayerOne;
+ }
+ set
+ {
+ SectionResult.AssessmentLayerOne = value;
+ SectionResult.NotifyObservers();
+ }
+ }
+
+ ///
+ /// Gets or sets the value representing the result of the layer 2a assessment.
+ ///
+ public RoundedDouble AssessmentLayerTwoA
+ {
+ get
+ {
+ return SectionResult.AssessmentLayerTwoA;
+ }
+ set
+ {
+ SectionResult.AssessmentLayerTwoA = value;
+ }
+ }
+
+ ///
+ /// Gets or sets the value representing the result of the layer 3 assessment.
+ ///
+ public RoundedDouble AssessmentLayerThree
+ {
+ get
+ {
+ return SectionResult.AssessmentLayerThree;
+ }
+ set
+ {
+ SectionResult.AssessmentLayerThree = value;
+ }
+ }
}
}
\ No newline at end of file
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/StrengthStabilityPointConstructionSectionResultRow.cs
===================================================================
diff -u -r8c0ec57a86cd0d73759f178bee1ed647f62692dc -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/StrengthStabilityPointConstructionSectionResultRow.cs (.../StrengthStabilityPointConstructionSectionResultRow.cs) (revision 8c0ec57a86cd0d73759f178bee1ed647f62692dc)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/StrengthStabilityPointConstructionSectionResultRow.cs (.../StrengthStabilityPointConstructionSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using System;
+// Copyright (C) Stichting Deltares 2016. 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;
using Core.Common.Base.Data;
using Core.Common.Base.Properties;
using Ringtoets.Integration.Data.StandAlone.SectionResult;
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/TechnicalInnovationSectionResultRow.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/TechnicalInnovationSectionResultRow.cs (.../TechnicalInnovationSectionResultRow.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/TechnicalInnovationSectionResultRow.cs (.../TechnicalInnovationSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,5 +1,26 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
+
namespace Ringtoets.Integration.Forms.Views.SectionResultRow
{
public class TechnicalInnovationSectionResultRow : SimpleFailureMechanismSectionResultRow
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/WaterPressureAsphaltCoverSectionResultRow.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/WaterPressureAsphaltCoverSectionResultRow.cs (.../WaterPressureAsphaltCoverSectionResultRow.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/WaterPressureAsphaltCoverSectionResultRow.cs (.../WaterPressureAsphaltCoverSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,9 +1,88 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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.Base.Data;
+using Ringtoets.Integration.Data.StandAlone.SectionResult;
+
namespace Ringtoets.Integration.Forms.Views.SectionResultRow
{
- public class WaterPressureAsphaltCoverSectionResultRow : NumericFailureMechanismSectionResultRow
+ public class WaterPressureAsphaltCoverSectionResultRow : FailureMechanismSectionResultRow
{
- public WaterPressureAsphaltCoverSectionResultRow(NumericFailureMechanismSectionResult sectionResult) : base(sectionResult) {}
+ public WaterPressureAsphaltCoverSectionResultRow(WaterPressureAsphaltCoverFailureMechanismSectionResult sectionResult) : base(sectionResult) { }
+
+ ///
+ /// Gets the name of the failure mechanism section.
+ ///
+ public string Name
+ {
+ get
+ {
+ return SectionResult.Section.Name;
+ }
+ }
+
+ ///
+ /// Gets or sets the value representing whether the section passed the layer 0 assessment.
+ ///
+ public bool AssessmentLayerOne
+ {
+ get
+ {
+ return SectionResult.AssessmentLayerOne;
+ }
+ set
+ {
+ SectionResult.AssessmentLayerOne = value;
+ SectionResult.NotifyObservers();
+ }
+ }
+
+ ///
+ /// Gets or sets the value representing the result of the layer 2a assessment.
+ ///
+ public RoundedDouble AssessmentLayerTwoA
+ {
+ get
+ {
+ return SectionResult.AssessmentLayerTwoA;
+ }
+ set
+ {
+ SectionResult.AssessmentLayerTwoA = value;
+ }
+ }
+
+ ///
+ /// Gets or sets the value representing the result of the layer 3 assessment.
+ ///
+ public RoundedDouble AssessmentLayerThree
+ {
+ get
+ {
+ return SectionResult.AssessmentLayerThree;
+ }
+ set
+ {
+ SectionResult.AssessmentLayerThree = value;
+ }
+ }
}
}
\ No newline at end of file
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/WaveImpactAsphaltCoverSectionResultRow.cs
===================================================================
diff -u -r76c2371398aaacdc8ee6b0c8debd722a747519db -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/WaveImpactAsphaltCoverSectionResultRow.cs (.../WaveImpactAsphaltCoverSectionResultRow.cs) (revision 76c2371398aaacdc8ee6b0c8debd722a747519db)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRow/WaveImpactAsphaltCoverSectionResultRow.cs (.../WaveImpactAsphaltCoverSectionResultRow.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,9 +1,88 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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.Base.Data;
+using Ringtoets.Integration.Data.StandAlone.SectionResult;
+
namespace Ringtoets.Integration.Forms.Views.SectionResultRow
{
- public class WaveImpactAsphaltCoverSectionResultRow : NumericFailureMechanismSectionResultRow
+ public class WaveImpactAsphaltCoverSectionResultRow : FailureMechanismSectionResultRow
{
- public WaveImpactAsphaltCoverSectionResultRow(NumericFailureMechanismSectionResult sectionResult) : base(sectionResult) {}
+ public WaveImpactAsphaltCoverSectionResultRow(WaveImpactAsphaltCoverFailureMechanismSectionResult sectionResult) : base(sectionResult) { }
+
+ ///
+ /// Gets the name of the failure mechanism section.
+ ///
+ public string Name
+ {
+ get
+ {
+ return SectionResult.Section.Name;
+ }
+ }
+
+ ///
+ /// Gets or sets the value representing whether the section passed the layer 0 assessment.
+ ///
+ public bool AssessmentLayerOne
+ {
+ get
+ {
+ return SectionResult.AssessmentLayerOne;
+ }
+ set
+ {
+ SectionResult.AssessmentLayerOne = value;
+ SectionResult.NotifyObservers();
+ }
+ }
+
+ ///
+ /// Gets or sets the value representing the result of the layer 2a assessment.
+ ///
+ public RoundedDouble AssessmentLayerTwoA
+ {
+ get
+ {
+ return SectionResult.AssessmentLayerTwoA;
+ }
+ set
+ {
+ SectionResult.AssessmentLayerTwoA = value;
+ }
+ }
+
+ ///
+ /// Gets or sets the value representing the result of the layer 3 assessment.
+ ///
+ public RoundedDouble AssessmentLayerThree
+ {
+ get
+ {
+ return SectionResult.AssessmentLayerThree;
+ }
+ set
+ {
+ SectionResult.AssessmentLayerThree = value;
+ }
+ }
}
}
\ No newline at end of file
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/ClosingStructureResultView.cs
===================================================================
diff -u -r8c0ec57a86cd0d73759f178bee1ed647f62692dc -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/ClosingStructureResultView.cs (.../ClosingStructureResultView.cs) (revision 8c0ec57a86cd0d73759f178bee1ed647f62692dc)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/ClosingStructureResultView.cs (.../ClosingStructureResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using System.Windows.Forms;
+// Copyright (C) Stichting Deltares 2016. 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.Windows.Forms;
using Core.Common.Utils.Reflection;
using Ringtoets.Common.Forms.Properties;
using Ringtoets.Common.Forms.Views;
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/DuneErosionResultView.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/DuneErosionResultView.cs (.../DuneErosionResultView.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/DuneErosionResultView.cs (.../DuneErosionResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
using Ringtoets.Integration.Forms.Views.SectionResultRow;
namespace Ringtoets.Integration.Forms.Views.SectionResultView
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/GrassCoverErosionOutwardsResultView.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/GrassCoverErosionOutwardsResultView.cs (.../GrassCoverErosionOutwardsResultView.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/GrassCoverErosionOutwardsResultView.cs (.../GrassCoverErosionOutwardsResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
using Ringtoets.Integration.Forms.Views.SectionResultRow;
namespace Ringtoets.Integration.Forms.Views.SectionResultView
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/GrassCoverSlipOffInwardsResultView.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/GrassCoverSlipOffInwardsResultView.cs (.../GrassCoverSlipOffInwardsResultView.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/GrassCoverSlipOffInwardsResultView.cs (.../GrassCoverSlipOffInwardsResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
using Ringtoets.Integration.Forms.Views.SectionResultRow;
namespace Ringtoets.Integration.Forms.Views.SectionResultView
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/GrassCoverSlipOffOutwardsResultView.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/GrassCoverSlipOffOutwardsResultView.cs (.../GrassCoverSlipOffOutwardsResultView.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/GrassCoverSlipOffOutwardsResultView.cs (.../GrassCoverSlipOffOutwardsResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
using Ringtoets.Integration.Forms.Views.SectionResultRow;
namespace Ringtoets.Integration.Forms.Views.SectionResultView
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/MacrostabilityInwardsResultView.cs
===================================================================
diff -u -r8c0ec57a86cd0d73759f178bee1ed647f62692dc -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/MacrostabilityInwardsResultView.cs (.../MacrostabilityInwardsResultView.cs) (revision 8c0ec57a86cd0d73759f178bee1ed647f62692dc)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/MacrostabilityInwardsResultView.cs (.../MacrostabilityInwardsResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using System.Windows.Forms;
+// Copyright (C) Stichting Deltares 2016. 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.Windows.Forms;
using Core.Common.Utils.Reflection;
using Ringtoets.Common.Forms.Properties;
using Ringtoets.Common.Forms.Views;
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/MacrostabilityOutwardsResultView.cs
===================================================================
diff -u -r8c0ec57a86cd0d73759f178bee1ed647f62692dc -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/MacrostabilityOutwardsResultView.cs (.../MacrostabilityOutwardsResultView.cs) (revision 8c0ec57a86cd0d73759f178bee1ed647f62692dc)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/MacrostabilityOutwardsResultView.cs (.../MacrostabilityOutwardsResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using System.Windows.Forms;
+// Copyright (C) Stichting Deltares 2016. 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.Windows.Forms;
using Core.Common.Utils.Reflection;
using Ringtoets.Common.Forms.Properties;
using Ringtoets.Common.Forms.Views;
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/MicrostabilityResultView.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/MicrostabilityResultView.cs (.../MicrostabilityResultView.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/MicrostabilityResultView.cs (.../MicrostabilityResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
using Ringtoets.Integration.Forms.Views.SectionResultRow;
namespace Ringtoets.Integration.Forms.Views.SectionResultView
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/PipingStructureResultView.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/PipingStructureResultView.cs (.../PipingStructureResultView.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/PipingStructureResultView.cs (.../PipingStructureResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
using Ringtoets.Integration.Forms.Views.SectionResultRow;
namespace Ringtoets.Integration.Forms.Views.SectionResultView
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/StabilityStoneCoverResultView.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/StabilityStoneCoverResultView.cs (.../StabilityStoneCoverResultView.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/StabilityStoneCoverResultView.cs (.../StabilityStoneCoverResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
using Ringtoets.Integration.Forms.Views.SectionResultRow;
namespace Ringtoets.Integration.Forms.Views.SectionResultView
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/StrengthStabilityLengthwiseConstructionResultView.cs
===================================================================
diff -u -r76c2371398aaacdc8ee6b0c8debd722a747519db -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/StrengthStabilityLengthwiseConstructionResultView.cs (.../StrengthStabilityLengthwiseConstructionResultView.cs) (revision 76c2371398aaacdc8ee6b0c8debd722a747519db)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/StrengthStabilityLengthwiseConstructionResultView.cs (.../StrengthStabilityLengthwiseConstructionResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using System.Windows.Forms;
+// Copyright (C) Stichting Deltares 2016. 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.Windows.Forms;
using Core.Common.Utils.Reflection;
using Ringtoets.Common.Forms.Properties;
using Ringtoets.Common.Forms.Views;
@@ -19,20 +40,20 @@
private void AddDataGridColumns()
{
DataGridViewControl.AddTextBoxColumn(
- TypeUtils.GetMemberName(sr => sr.Name),
+ TypeUtils.GetMemberName(sr => sr.Name),
Resources.FailureMechanismResultView_InitializeDataGridView_Section_name,
true
);
DataGridViewControl.AddCheckBoxColumn(
- TypeUtils.GetMemberName(sr => sr.AssessmentLayerOne),
+ TypeUtils.GetMemberName(sr => sr.AssessmentLayerOne),
Resources.FailureMechanismResultView_InitializeDataGridView_Assessment_layer_one
);
DataGridViewControl.AddTextBoxColumn(
- TypeUtils.GetMemberName(sr => sr.AssessmentLayerTwoA),
+ TypeUtils.GetMemberName(sr => sr.AssessmentLayerTwoA),
Resources.FailureMechanismResultView_InitializeDataGridView_Assessment_layer_two_a
);
DataGridViewControl.AddTextBoxColumn(
- TypeUtils.GetMemberName(sr => sr.AssessmentLayerThree),
+ TypeUtils.GetMemberName(sr => sr.AssessmentLayerThree),
Resources.FailureMechanismResultView_InitializeDataGridView_Assessment_layer_three
);
}
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/StrengthStabilityPointConstructionResultView.cs
===================================================================
diff -u -r8c0ec57a86cd0d73759f178bee1ed647f62692dc -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/StrengthStabilityPointConstructionResultView.cs (.../StrengthStabilityPointConstructionResultView.cs) (revision 8c0ec57a86cd0d73759f178bee1ed647f62692dc)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/StrengthStabilityPointConstructionResultView.cs (.../StrengthStabilityPointConstructionResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using System.Windows.Forms;
+// Copyright (C) Stichting Deltares 2016. 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.Windows.Forms;
using Core.Common.Utils.Reflection;
using Ringtoets.Common.Forms.Properties;
using Ringtoets.Common.Forms.Views;
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/TechnicalInnovationResultView.cs
===================================================================
diff -u -rce8424c77c708edc0bb2150a9a6a0e75dad629fa -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/TechnicalInnovationResultView.cs (.../TechnicalInnovationResultView.cs) (revision ce8424c77c708edc0bb2150a9a6a0e75dad629fa)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/TechnicalInnovationResultView.cs (.../TechnicalInnovationResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using Ringtoets.Integration.Data.StandAlone.SectionResult;
+// Copyright (C) Stichting Deltares 2016. 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 Ringtoets.Integration.Data.StandAlone.SectionResult;
using Ringtoets.Integration.Forms.Views.SectionResultRow;
namespace Ringtoets.Integration.Forms.Views.SectionResultView
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/WaterPressureAsphaltCoverResultView.cs
===================================================================
diff -u -r76c2371398aaacdc8ee6b0c8debd722a747519db -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/WaterPressureAsphaltCoverResultView.cs (.../WaterPressureAsphaltCoverResultView.cs) (revision 76c2371398aaacdc8ee6b0c8debd722a747519db)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/WaterPressureAsphaltCoverResultView.cs (.../WaterPressureAsphaltCoverResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using System.Windows.Forms;
+// Copyright (C) Stichting Deltares 2016. 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.Windows.Forms;
using Core.Common.Utils.Reflection;
using Ringtoets.Common.Forms.Properties;
using Ringtoets.Common.Forms.Views;
@@ -19,20 +40,20 @@
private void AddDataGridColumns()
{
DataGridViewControl.AddTextBoxColumn(
- TypeUtils.GetMemberName(sr => sr.Name),
+ TypeUtils.GetMemberName(sr => sr.Name),
Resources.FailureMechanismResultView_InitializeDataGridView_Section_name,
true
);
DataGridViewControl.AddCheckBoxColumn(
- TypeUtils.GetMemberName(sr => sr.AssessmentLayerOne),
+ TypeUtils.GetMemberName(sr => sr.AssessmentLayerOne),
Resources.FailureMechanismResultView_InitializeDataGridView_Assessment_layer_one
);
DataGridViewControl.AddTextBoxColumn(
- TypeUtils.GetMemberName(sr => sr.AssessmentLayerTwoA),
+ TypeUtils.GetMemberName(sr => sr.AssessmentLayerTwoA),
Resources.FailureMechanismResultView_InitializeDataGridView_Assessment_layer_two_a
);
DataGridViewControl.AddTextBoxColumn(
- TypeUtils.GetMemberName(sr => sr.AssessmentLayerThree),
+ TypeUtils.GetMemberName(sr => sr.AssessmentLayerThree),
Resources.FailureMechanismResultView_InitializeDataGridView_Assessment_layer_three
);
}
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/WaveImpactAsphaltCoverResultView.cs
===================================================================
diff -u -r76c2371398aaacdc8ee6b0c8debd722a747519db -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/WaveImpactAsphaltCoverResultView.cs (.../WaveImpactAsphaltCoverResultView.cs) (revision 76c2371398aaacdc8ee6b0c8debd722a747519db)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultView/WaveImpactAsphaltCoverResultView.cs (.../WaveImpactAsphaltCoverResultView.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -1,4 +1,25 @@
-using System.Windows.Forms;
+// Copyright (C) Stichting Deltares 2016. 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.Windows.Forms;
using Core.Common.Utils.Reflection;
using Ringtoets.Common.Forms.Properties;
using Ringtoets.Common.Forms.Views;
@@ -19,20 +40,20 @@
private void AddDataGridColumns()
{
DataGridViewControl.AddTextBoxColumn(
- TypeUtils.GetMemberName(sr => sr.Name),
+ TypeUtils.GetMemberName(sr => sr.Name),
Resources.FailureMechanismResultView_InitializeDataGridView_Section_name,
true
);
DataGridViewControl.AddCheckBoxColumn(
- TypeUtils.GetMemberName(sr => sr.AssessmentLayerOne),
+ TypeUtils.GetMemberName(sr => sr.AssessmentLayerOne),
Resources.FailureMechanismResultView_InitializeDataGridView_Assessment_layer_one
);
DataGridViewControl.AddTextBoxColumn(
- TypeUtils.GetMemberName(sr => sr.AssessmentLayerTwoA),
+ TypeUtils.GetMemberName(sr => sr.AssessmentLayerTwoA),
Resources.FailureMechanismResultView_InitializeDataGridView_Assessment_layer_two_a
);
DataGridViewControl.AddTextBoxColumn(
- TypeUtils.GetMemberName(sr => sr.AssessmentLayerThree),
+ TypeUtils.GetMemberName(sr => sr.AssessmentLayerThree),
Resources.FailureMechanismResultView_InitializeDataGridView_Assessment_layer_three
);
}
Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/Ringtoets.Integration.Data.Test.csproj
===================================================================
diff -u -r8c0ec57a86cd0d73759f178bee1ed647f62692dc -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/Ringtoets.Integration.Data.Test.csproj (.../Ringtoets.Integration.Data.Test.csproj) (revision 8c0ec57a86cd0d73759f178bee1ed647f62692dc)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/Ringtoets.Integration.Data.Test.csproj (.../Ringtoets.Integration.Data.Test.csproj) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -57,10 +57,12 @@
+
+
-
+
Fisheye: Tag 3684562eb91b4bf579391fd508d4ef82ba4397b2 refers to a dead (removed) revision in file `Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/SectionResult/NumericFailureMechanismSectionResultTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/SectionResult/StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultTest.cs
===================================================================
diff -u
--- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/SectionResult/StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultTest.cs (revision 0)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/SectionResult/StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultTest.cs (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -0,0 +1,61 @@
+// Copyright (C) Stichting Deltares 2016. 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;
+using Core.Common.Base.Geometry;
+using NUnit.Framework;
+using Ringtoets.Common.Data.FailureMechanism;
+using Ringtoets.Integration.Data.StandAlone.SectionResult;
+
+namespace Ringtoets.Integration.Data.Test.StandAlone.SectionResult
+{
+ [TestFixture]
+ public class StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultTest
+ {
+ [Test]
+ public void Constructor_WithoutSection_ThrowsArgumentNullException()
+ {
+ // Call
+ TestDelegate test = () => new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(null);
+
+ // Assert
+ var paramName = Assert.Throws(test).ParamName;
+ Assert.AreEqual("section", paramName);
+ }
+
+ [Test]
+ public void Constructor_WithSection_ResultCreatedForSection()
+ {
+ // Setup
+ var section = new FailureMechanismSection("Section", new[] { new Point2D(0, 0) });
+
+ // Call
+ var result = new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(section);
+
+ // Assert
+ Assert.IsInstanceOf(result);
+ Assert.AreSame(section, result.Section);
+ Assert.IsFalse(result.AssessmentLayerOne);
+ Assert.AreEqual(0, result.AssessmentLayerTwoA.Value);
+ Assert.AreEqual(0, result.AssessmentLayerThree.Value);
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/SectionResult/WaterPressureAsphaltCoverFailureMechanismSectionResultTest.cs
===================================================================
diff -u
--- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/SectionResult/WaterPressureAsphaltCoverFailureMechanismSectionResultTest.cs (revision 0)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/SectionResult/WaterPressureAsphaltCoverFailureMechanismSectionResultTest.cs (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -0,0 +1,61 @@
+// Copyright (C) Stichting Deltares 2016. 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;
+using Core.Common.Base.Geometry;
+using NUnit.Framework;
+using Ringtoets.Common.Data.FailureMechanism;
+using Ringtoets.Integration.Data.StandAlone.SectionResult;
+
+namespace Ringtoets.Integration.Data.Test.StandAlone.SectionResult
+{
+ [TestFixture]
+ public class WaterPressureAsphaltCoverFailureMechanismSectionResultTest
+ {
+ [Test]
+ public void Constructor_WithoutSection_ThrowsArgumentNullException()
+ {
+ // Call
+ TestDelegate test = () => new WaterPressureAsphaltCoverFailureMechanismSectionResult(null);
+
+ // Assert
+ var paramName = Assert.Throws(test).ParamName;
+ Assert.AreEqual("section", paramName);
+ }
+
+ [Test]
+ public void Constructor_WithSection_ResultCreatedForSection()
+ {
+ // Setup
+ var section = new FailureMechanismSection("Section", new[] { new Point2D(0, 0) });
+
+ // Call
+ var result = new WaterPressureAsphaltCoverFailureMechanismSectionResult(section);
+
+ // Assert
+ Assert.IsInstanceOf(result);
+ Assert.AreSame(section, result.Section);
+ Assert.IsFalse(result.AssessmentLayerOne);
+ Assert.AreEqual(0, result.AssessmentLayerTwoA.Value);
+ Assert.AreEqual(0, result.AssessmentLayerThree.Value);
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/SectionResult/WaveImpactAsphaltCoverFailureMechanismSectionResultTest.cs
===================================================================
diff -u
--- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/SectionResult/WaveImpactAsphaltCoverFailureMechanismSectionResultTest.cs (revision 0)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/SectionResult/WaveImpactAsphaltCoverFailureMechanismSectionResultTest.cs (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -0,0 +1,61 @@
+// Copyright (C) Stichting Deltares 2016. 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;
+using Core.Common.Base.Geometry;
+using NUnit.Framework;
+using Ringtoets.Common.Data.FailureMechanism;
+using Ringtoets.Integration.Data.StandAlone.SectionResult;
+
+namespace Ringtoets.Integration.Data.Test.StandAlone.SectionResult
+{
+ [TestFixture]
+ public class WaveImpactAsphaltCoverFailureMechanismSectionResultTest
+ {
+ [Test]
+ public void Constructor_WithoutSection_ThrowsArgumentNullException()
+ {
+ // Call
+ TestDelegate test = () => new WaveImpactAsphaltCoverFailureMechanismSectionResult(null);
+
+ // Assert
+ var paramName = Assert.Throws(test).ParamName;
+ Assert.AreEqual("section", paramName);
+ }
+
+ [Test]
+ public void Constructor_WithSection_ResultCreatedForSection()
+ {
+ // Setup
+ var section = new FailureMechanismSection("Section", new[] { new Point2D(0, 0) });
+
+ // Call
+ var result = new WaveImpactAsphaltCoverFailureMechanismSectionResult(section);
+
+ // Assert
+ Assert.IsInstanceOf(result);
+ Assert.AreSame(section, result.Section);
+ Assert.IsFalse(result.AssessmentLayerOne);
+ Assert.AreEqual(0, result.AssessmentLayerTwoA.Value);
+ Assert.AreEqual(0, result.AssessmentLayerThree.Value);
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/StrengthStabilityLengthwiseConstructionFailureMechanismTest.cs
===================================================================
diff -u -rbe3779b7be55ce7821035393e89cdde997b15883 -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/StrengthStabilityLengthwiseConstructionFailureMechanismTest.cs (.../StrengthStabilityLengthwiseConstructionFailureMechanismTest.cs) (revision be3779b7be55ce7821035393e89cdde997b15883)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/StrengthStabilityLengthwiseConstructionFailureMechanismTest.cs (.../StrengthStabilityLengthwiseConstructionFailureMechanismTest.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -58,7 +58,7 @@
// Assert
Assert.AreEqual(1, failureMechanism.SectionResults.Count());
- Assert.IsInstanceOf(failureMechanism.SectionResults.ElementAt(0));
+ Assert.IsInstanceOf(failureMechanism.SectionResults.ElementAt(0));
}
}
}
\ No newline at end of file
Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/WaterPressureAsphaltCoverFailureMechanismTest.cs
===================================================================
diff -u -rbe3779b7be55ce7821035393e89cdde997b15883 -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/WaterPressureAsphaltCoverFailureMechanismTest.cs (.../WaterPressureAsphaltCoverFailureMechanismTest.cs) (revision be3779b7be55ce7821035393e89cdde997b15883)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/WaterPressureAsphaltCoverFailureMechanismTest.cs (.../WaterPressureAsphaltCoverFailureMechanismTest.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -58,7 +58,7 @@
// Assert
Assert.AreEqual(1, failureMechanism.SectionResults.Count());
- Assert.IsInstanceOf(failureMechanism.SectionResults.ElementAt(0));
+ Assert.IsInstanceOf(failureMechanism.SectionResults.ElementAt(0));
}
}
}
\ No newline at end of file
Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/WaveImpactAsphaltCoverFailureMechanismTest.cs
===================================================================
diff -u -rbe3779b7be55ce7821035393e89cdde997b15883 -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/WaveImpactAsphaltCoverFailureMechanismTest.cs (.../WaveImpactAsphaltCoverFailureMechanismTest.cs) (revision be3779b7be55ce7821035393e89cdde997b15883)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/WaveImpactAsphaltCoverFailureMechanismTest.cs (.../WaveImpactAsphaltCoverFailureMechanismTest.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -58,7 +58,7 @@
// Assert
Assert.AreEqual(1, failureMechanism.SectionResults.Count());
- Assert.IsInstanceOf(failureMechanism.SectionResults.ElementAt(0));
+ Assert.IsInstanceOf(failureMechanism.SectionResults.ElementAt(0));
}
}
}
\ No newline at end of file
Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Ringtoets.Integration.Forms.Test.csproj
===================================================================
diff -u -r76c2371398aaacdc8ee6b0c8debd722a747519db -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Ringtoets.Integration.Forms.Test.csproj (.../Ringtoets.Integration.Forms.Test.csproj) (revision 76c2371398aaacdc8ee6b0c8debd722a747519db)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Ringtoets.Integration.Forms.Test.csproj (.../Ringtoets.Integration.Forms.Test.csproj) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -88,6 +88,8 @@
+
+
@@ -98,7 +100,7 @@
-
+
Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismContextTreeNodeInfoTest.cs
===================================================================
diff -u -r76c2371398aaacdc8ee6b0c8debd722a747519db -r3684562eb91b4bf579391fd508d4ef82ba4397b2
--- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismContextTreeNodeInfoTest.cs (.../FailureMechanismContextTreeNodeInfoTest.cs) (revision 76c2371398aaacdc8ee6b0c8debd722a747519db)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismContextTreeNodeInfoTest.cs (.../FailureMechanismContextTreeNodeInfoTest.cs) (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -201,6 +201,7 @@
genericMethod.Invoke(this, null);
}
+ /* Used in ChildNodeObjects_FailureMechanismIsRelevantWithDifferentFailureMechanismSectionResults_OutputNodeAdded(Type) */
public void ChildNodeObjects_FailureMechanismIsRelevantWithSectionResults_OutputNodeAdded() where T : FailureMechanismSectionResult
{
// Setup
Fisheye: Tag 3684562eb91b4bf579391fd508d4ef82ba4397b2 refers to a dead (removed) revision in file `Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRow/NumericFailureMechanismSectionResultRowTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRow/StrengthStabilityLengthwiseConstructionSectionResultRowTest.cs
===================================================================
diff -u
--- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRow/StrengthStabilityLengthwiseConstructionSectionResultRowTest.cs (revision 0)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRow/StrengthStabilityLengthwiseConstructionSectionResultRowTest.cs (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -0,0 +1,132 @@
+// Copyright (C) Stichting Deltares 2016. 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;
+using Core.Common.Base;
+using Core.Common.Base.Data;
+using Core.Common.Base.Geometry;
+using NUnit.Framework;
+using Ringtoets.Common.Data.FailureMechanism;
+using Ringtoets.Common.Data.TestUtil;
+using Ringtoets.Integration.Data.StandAlone.SectionResult;
+using Ringtoets.Integration.Forms.Views.SectionResultRow;
+
+namespace Ringtoets.Integration.Forms.Test.Views.SectionResultRow
+{
+ [TestFixture]
+ public class StrengthStabilityLengthwiseConstructionSectionResultRowTest
+ {
+ [Test]
+ public void Constructor_WithoutSectionResult_ThrowsArgumentNullException()
+ {
+ // Call
+ TestDelegate test = () => new StrengthStabilityLengthwiseConstructionSectionResultRow(null);
+
+ // Assert
+ var paramName = Assert.Throws(test).ParamName;
+ Assert.AreEqual("sectionResult", paramName);
+ }
+
+ [Test]
+ public void Constructor_WithSectionResult_PropertiesFromSectionAndResult()
+ {
+ // Setup
+ var section = CreateSection();
+ var result = new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(section);
+
+ // Call
+ var row = new StrengthStabilityLengthwiseConstructionSectionResultRow(result);
+
+ // Assert
+ Assert.AreEqual(section.Name, row.Name);
+ Assert.AreEqual(result.AssessmentLayerOne, row.AssessmentLayerOne);
+ Assert.AreEqual(result.AssessmentLayerTwoA, row.AssessmentLayerTwoA);
+ Assert.AreEqual(result.AssessmentLayerThree, row.AssessmentLayerThree);
+ }
+
+ [Test]
+ [TestCase(true)]
+ [TestCase(false)]
+ public void AssessmentLayerOne_AlwaysOnChange_NotifyObserversOfResultAndResultPropertyChanged(bool newValue)
+ {
+ // Setup
+ var section = CreateSection();
+ var result = new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(section);
+ var row = new StrengthStabilityLengthwiseConstructionSectionResultRow(result);
+
+ int counter = 0;
+ using (new Observer(() => counter++)
+ {
+ Observable = result
+ })
+ {
+ // Call
+ row.AssessmentLayerOne = newValue;
+
+ // Assert
+ Assert.AreEqual(1, counter);
+ Assert.AreEqual(newValue, result.AssessmentLayerOne);
+ }
+ }
+
+ [Test]
+ public void AssessmentLayerTwoA_AlwaysOnChange_ResultPropertyChanged()
+ {
+ // Setup
+ var random = new Random(21);
+ var newValue = random.NextDouble();
+ var section = CreateSection();
+ var result = new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(section);
+ var row = new StrengthStabilityLengthwiseConstructionSectionResultRow(result);
+
+ // Call
+ row.AssessmentLayerTwoA = (RoundedDouble)newValue;
+
+ // Assert
+ Assert.AreEqual(newValue, result.AssessmentLayerTwoA, row.AssessmentLayerTwoA.GetAccuracy());
+ }
+
+ [Test]
+ public void AssessmentLayerThree_AlwaysOnChange_ResultPropertyChanged()
+ {
+ // Setup
+ var random = new Random(21);
+ var newValue = random.NextDouble();
+ var section = CreateSection();
+ var result = new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(section);
+ var row = new StrengthStabilityLengthwiseConstructionSectionResultRow(result);
+
+ // Call
+ row.AssessmentLayerThree = (RoundedDouble)newValue;
+
+ // Assert
+ Assert.AreEqual(newValue, result.AssessmentLayerThree, row.AssessmentLayerThree.GetAccuracy());
+ }
+
+ private static FailureMechanismSection CreateSection()
+ {
+ return new FailureMechanismSection("name", new[]
+ {
+ new Point2D(0, 0)
+ });
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRow/WaterPressureAsphaltCoverSectionResultRowTest.cs
===================================================================
diff -u
--- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRow/WaterPressureAsphaltCoverSectionResultRowTest.cs (revision 0)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRow/WaterPressureAsphaltCoverSectionResultRowTest.cs (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -0,0 +1,132 @@
+// Copyright (C) Stichting Deltares 2016. 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;
+using Core.Common.Base;
+using Core.Common.Base.Data;
+using Core.Common.Base.Geometry;
+using NUnit.Framework;
+using Ringtoets.Common.Data.FailureMechanism;
+using Ringtoets.Common.Data.TestUtil;
+using Ringtoets.Integration.Data.StandAlone.SectionResult;
+using Ringtoets.Integration.Forms.Views.SectionResultRow;
+
+namespace Ringtoets.Integration.Forms.Test.Views.SectionResultRow
+{
+ [TestFixture]
+ public class WaterPressureAsphaltCoverSectionResultRowTest
+ {
+ [Test]
+ public void Constructor_WithoutSectionResult_ThrowsArgumentNullException()
+ {
+ // Call
+ TestDelegate test = () => new WaterPressureAsphaltCoverSectionResultRow(null);
+
+ // Assert
+ var paramName = Assert.Throws(test).ParamName;
+ Assert.AreEqual("sectionResult", paramName);
+ }
+
+ [Test]
+ public void Constructor_WithSectionResult_PropertiesFromSectionAndResult()
+ {
+ // Setup
+ var section = CreateSection();
+ var result = new WaterPressureAsphaltCoverFailureMechanismSectionResult(section);
+
+ // Call
+ var row = new WaterPressureAsphaltCoverSectionResultRow(result);
+
+ // Assert
+ Assert.AreEqual(section.Name, row.Name);
+ Assert.AreEqual(result.AssessmentLayerOne, row.AssessmentLayerOne);
+ Assert.AreEqual(result.AssessmentLayerTwoA, row.AssessmentLayerTwoA);
+ Assert.AreEqual(result.AssessmentLayerThree, row.AssessmentLayerThree);
+ }
+
+ [Test]
+ [TestCase(true)]
+ [TestCase(false)]
+ public void AssessmentLayerOne_AlwaysOnChange_NotifyObserversOfResultAndResultPropertyChanged(bool newValue)
+ {
+ // Setup
+ var section = CreateSection();
+ var result = new WaterPressureAsphaltCoverFailureMechanismSectionResult(section);
+ var row = new WaterPressureAsphaltCoverSectionResultRow(result);
+
+ int counter = 0;
+ using (new Observer(() => counter++)
+ {
+ Observable = result
+ })
+ {
+ // Call
+ row.AssessmentLayerOne = newValue;
+
+ // Assert
+ Assert.AreEqual(1, counter);
+ Assert.AreEqual(newValue, result.AssessmentLayerOne);
+ }
+ }
+
+ [Test]
+ public void AssessmentLayerTwoA_AlwaysOnChange_ResultPropertyChanged()
+ {
+ // Setup
+ var random = new Random(21);
+ var newValue = random.NextDouble();
+ var section = CreateSection();
+ var result = new WaterPressureAsphaltCoverFailureMechanismSectionResult(section);
+ var row = new WaterPressureAsphaltCoverSectionResultRow(result);
+
+ // Call
+ row.AssessmentLayerTwoA = (RoundedDouble)newValue;
+
+ // Assert
+ Assert.AreEqual(newValue, result.AssessmentLayerTwoA, row.AssessmentLayerTwoA.GetAccuracy());
+ }
+
+ [Test]
+ public void AssessmentLayerThree_AlwaysOnChange_ResultPropertyChanged()
+ {
+ // Setup
+ var random = new Random(21);
+ var newValue = random.NextDouble();
+ var section = CreateSection();
+ var result = new WaterPressureAsphaltCoverFailureMechanismSectionResult(section);
+ var row = new WaterPressureAsphaltCoverSectionResultRow(result);
+
+ // Call
+ row.AssessmentLayerThree = (RoundedDouble)newValue;
+
+ // Assert
+ Assert.AreEqual(newValue, result.AssessmentLayerThree, row.AssessmentLayerThree.GetAccuracy());
+ }
+
+ private static FailureMechanismSection CreateSection()
+ {
+ return new FailureMechanismSection("name", new[]
+ {
+ new Point2D(0, 0)
+ });
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRow/WaveImpactAsphaltCoverSectionResultRowTest.cs
===================================================================
diff -u
--- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRow/WaveImpactAsphaltCoverSectionResultRowTest.cs (revision 0)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRow/WaveImpactAsphaltCoverSectionResultRowTest.cs (revision 3684562eb91b4bf579391fd508d4ef82ba4397b2)
@@ -0,0 +1,132 @@
+// Copyright (C) Stichting Deltares 2016. 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;
+using Core.Common.Base;
+using Core.Common.Base.Data;
+using Core.Common.Base.Geometry;
+using NUnit.Framework;
+using Ringtoets.Common.Data.FailureMechanism;
+using Ringtoets.Common.Data.TestUtil;
+using Ringtoets.Integration.Data.StandAlone.SectionResult;
+using Ringtoets.Integration.Forms.Views.SectionResultRow;
+
+namespace Ringtoets.Integration.Forms.Test.Views.SectionResultRow
+{
+ [TestFixture]
+ public class WaveImpactAsphaltCoverSectionResultRowTest
+ {
+ [Test]
+ public void Constructor_WithoutSectionResult_ThrowsArgumentNullException()
+ {
+ // Call
+ TestDelegate test = () => new WaveImpactAsphaltCoverSectionResultRow(null);
+
+ // Assert
+ var paramName = Assert.Throws(test).ParamName;
+ Assert.AreEqual("sectionResult", paramName);
+ }
+
+ [Test]
+ public void Constructor_WithSectionResult_PropertiesFromSectionAndResult()
+ {
+ // Setup
+ var section = CreateSection();
+ var result = new WaveImpactAsphaltCoverFailureMechanismSectionResult(section);
+
+ // Call
+ var row = new WaveImpactAsphaltCoverSectionResultRow(result);
+
+ // Assert
+ Assert.AreEqual(section.Name, row.Name);
+ Assert.AreEqual(result.AssessmentLayerOne, row.AssessmentLayerOne);
+ Assert.AreEqual(result.AssessmentLayerTwoA, row.AssessmentLayerTwoA);
+ Assert.AreEqual(result.AssessmentLayerThree, row.AssessmentLayerThree);
+ }
+
+ [Test]
+ [TestCase(true)]
+ [TestCase(false)]
+ public void AssessmentLayerOne_AlwaysOnChange_NotifyObserversOfResultAndResultPropertyChanged(bool newValue)
+ {
+ // Setup
+ var section = CreateSection();
+ var result = new WaveImpactAsphaltCoverFailureMechanismSectionResult(section);
+ var row = new WaveImpactAsphaltCoverSectionResultRow(result);
+
+ int counter = 0;
+ using (new Observer(() => counter++)
+ {
+ Observable = result
+ })
+ {
+ // Call
+ row.AssessmentLayerOne = newValue;
+
+ // Assert
+ Assert.AreEqual(1, counter);
+ Assert.AreEqual(newValue, result.AssessmentLayerOne);
+ }
+ }
+
+ [Test]
+ public void AssessmentLayerTwoA_AlwaysOnChange_ResultPropertyChanged()
+ {
+ // Setup
+ var random = new Random(21);
+ var newValue = random.NextDouble();
+ var section = CreateSection();
+ var result = new WaveImpactAsphaltCoverFailureMechanismSectionResult(section);
+ var row = new WaveImpactAsphaltCoverSectionResultRow(result);
+
+ // Call
+ row.AssessmentLayerTwoA = (RoundedDouble)newValue;
+
+ // Assert
+ Assert.AreEqual(newValue, result.AssessmentLayerTwoA, row.AssessmentLayerTwoA.GetAccuracy());
+ }
+
+ [Test]
+ public void AssessmentLayerThree_AlwaysOnChange_ResultPropertyChanged()
+ {
+ // Setup
+ var random = new Random(21);
+ var newValue = random.NextDouble();
+ var section = CreateSection();
+ var result = new WaveImpactAsphaltCoverFailureMechanismSectionResult(section);
+ var row = new WaveImpactAsphaltCoverSectionResultRow(result);
+
+ // Call
+ row.AssessmentLayerThree = (RoundedDouble)newValue;
+
+ // Assert
+ Assert.AreEqual(newValue, result.AssessmentLayerThree, row.AssessmentLayerThree.GetAccuracy());
+ }
+
+ private static FailureMechanismSection CreateSection()
+ {
+ return new FailureMechanismSection("name", new[]
+ {
+ new Point2D(0, 0)
+ });
+ }
+ }
+}
\ No newline at end of file