Fisheye: Tag d393a6e22ba176f0ce9731629a37ce3272b1f433 refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.IO/Configurations/StructureCalculationConfiguration.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/Common/src/Ringtoets.Common.IO/Configurations/StructuresCalculationConfiguration.cs =================================================================== diff -u --- Ringtoets/Common/src/Ringtoets.Common.IO/Configurations/StructuresCalculationConfiguration.cs (revision 0) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Configurations/StructuresCalculationConfiguration.cs (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,129 @@ +// 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; + +namespace Ringtoets.Common.IO.Configurations +{ + /// + /// Configuration of a structure calculation. + /// + public abstract class StructuresCalculationConfiguration : IConfigurationItem + { + private string name; + + /// + /// Creates a new instance of . + /// + /// The name of the . + /// Thrown when is null. + protected StructuresCalculationConfiguration(string name) + { + Name = name; + } + + /// + /// Gets or sets the name of the calculation. + /// + /// Thrown when is null. + public string Name + { + get + { + return name; + } + set + { + if (value == null) + { + throw new ArgumentNullException(nameof(value), @"Name is required for a structure calculation configuration."); + } + name = value; + } + } + + /// + /// Gets or sets the stochast configuration for the model factor super critical flow. + /// + public string StructureName { get; set; } + + /// + /// Gets or sets the stochast configuration for the model factor super critical flow. + /// + public string HydraulicBoundaryLocationName { get; set; } + + /// + /// Gets or sets the stochast configuration for the model factor super critical flow. + /// + public MeanStandardDeviationStochastConfiguration ModelFactorSuperCriticalFlow { get; set; } + + /// + /// Gets or sets the stochast configuration for the storm duration. + /// + public MeanVariationCoefficientStochastConfiguration StormDuration { get; set; } + + /// + /// Gets or sets the stochast configuration for the structure's normal orientation. + /// + public double? StructureNormalOrientation { get; set; } + + /// + /// Gets or sets the stochast configuration for the allowed level of storage increase. + /// + public MeanStandardDeviationStochastConfiguration AllowedLevelIncreaseStorage { get; set; } + + /// + /// Gets or sets the stochast configuration for the storage structure area. + /// + public MeanVariationCoefficientStochastConfiguration StorageStructureArea { get; set; } + + /// + /// Gets or sets the stochast configuration for the flow width at bottom protection. + /// + public MeanStandardDeviationStochastConfiguration FlowWidthAtBottomProtection { get; set; } + + /// + /// Gets or sets the stochast configuration for the critical overtopping discharge. + /// + public MeanVariationCoefficientStochastConfiguration CriticalOvertoppingDischarge { get; set; } + + /// + /// Gets or sets the stochast configuration for the failure probability of structure + /// with erosion. + /// + public double? FailureProbabilityStructureWithErosion { get; set; } + + /// + /// Gets or sets the stochast configuration for the flow width of apertures. + /// + public MeanStandardDeviationStochastConfiguration WidthFlowApertures { get; set; } + + /// + /// Gets or sets the wave reduction configuration. + /// + public WaveReductionConfiguration WaveReduction { get; set; } + + /// + /// Gets or sets the name of the foreshore profile. + /// + public string ForeshoreProfileName { get; set; } + } +} \ No newline at end of file Index: Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.Designer.cs =================================================================== diff -u -rad17f1b8f41d6b4b75c9f39b427dddf31b47cef0 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision ad17f1b8f41d6b4b75c9f39b427dddf31b47cef0) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -164,7 +164,7 @@ /// public static string CalculationConfigurationReader_Configuration_contains_no_valid_xml_Reason_0 { get { - return ResourceManager.GetString("CalculationConfigurationReader_Configuration_contains_no_valid_xml_Reason_2", resourceCulture); + return ResourceManager.GetString("CalculationConfigurationReader_Configuration_contains_no_valid_xml_Reason_0", resourceCulture); } } @@ -898,6 +898,27 @@ } /// + /// Looks up a localized string similar to <?xml version="1.0" encoding="UTF-8"?> + ///<!-- + ///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 [rest of string was truncated]";. + /// + public static string KunstwerkenBasisSchema { + get { + return ResourceManager.GetString("KunstwerkenBasisSchema", resourceCulture); + } + } + + /// /// Looks up a localized string similar to <?xml version="1.0" encoding="utf-8"?><!-- ///Copyright (C) Stichting Deltares 2016. All rights reserved. /// @@ -1277,9 +1298,9 @@ ///This program is distributed in the hope that it will be useful, ///but WITHOUT ANY WARRANTY; without even the implied warranty [rest of string was truncated]";. /// - public static string StochastStandardDeviationSchema { + public static string StochastStandaardafwijkingSchema { get { - return ResourceManager.GetString("StochastStandardDeviationSchema", resourceCulture); + return ResourceManager.GetString("StochastStandaardafwijkingSchema", resourceCulture); } } @@ -1298,9 +1319,9 @@ ///This program is distributed in the hope that it will be useful, ///but WITHOUT ANY WARRANTY; without even the implied warranty [rest of string was truncated]";. /// - public static string StochastVariationCoefficientSchema { + public static string StochastVariatiecoefficientSchema { get { - return ResourceManager.GetString("StochastVariationCoefficientSchema", resourceCulture); + return ResourceManager.GetString("StochastVariatiecoefficientSchema", resourceCulture); } } Index: Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.resx =================================================================== diff -u -rad17f1b8f41d6b4b75c9f39b427dddf31b47cef0 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.resx (.../Resources.resx) (revision ad17f1b8f41d6b4b75c9f39b427dddf31b47cef0) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.resx (.../Resources.resx) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -559,13 +559,7 @@ {0} bijwerken afgebroken. Geen data ingelezen. - - ..\resources\stochaststandarddeviationschema.xsd;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 - - - ..\resources\stochastvariationcoefficientschema.xsd;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 - - + Het XML-document dat de configuratie voor de berekeningen beschrijft is niet geldig. De validatie geeft de volgende melding: {0} @@ -574,4 +568,13 @@ Een standaardafwijking van '{0}' is ongeldig voor stochast '{1}'. + + ..\Resources\KunstwerkenBasisSchema.xsd;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\resources\stochaststandaardafwijkingschema.xsd;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\resources\stochastvariatiecoefficientschema.xsd;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + \ No newline at end of file Index: Ringtoets/Common/src/Ringtoets.Common.IO/Resources/KunstwerkenBasisSchema.xsd =================================================================== diff -u -r91e6f4f761a8efdc9c847c99cdca18f514a67ed1 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/Common/src/Ringtoets.Common.IO/Resources/KunstwerkenBasisSchema.xsd (.../KunstwerkenBasisSchema.xsd) (revision 91e6f4f761a8efdc9c847c99cdca18f514a67ed1) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Resources/KunstwerkenBasisSchema.xsd (.../KunstwerkenBasisSchema.xsd) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -1,5 +1,4 @@ - - @@ -40,10 +38,10 @@ - + - + Index: Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastStandaardafwijkingSchema.xsd =================================================================== diff -u --- Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastStandaardafwijkingSchema.xsd (revision 0) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastStandaardafwijkingSchema.xsd (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,33 @@ + + + + + + + + + + + + \ No newline at end of file Fisheye: Tag d393a6e22ba176f0ce9731629a37ce3272b1f433 refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastStandardDeviationSchema.xsd'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastVariatiecoefficientSchema.xsd =================================================================== diff -u --- Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastVariatiecoefficientSchema.xsd (revision 0) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastVariatiecoefficientSchema.xsd (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,33 @@ + + + + + + + + + + + + \ No newline at end of file Fisheye: Tag d393a6e22ba176f0ce9731629a37ce3272b1f433 refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastVariationCoefficientSchema.xsd'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/Common/src/Ringtoets.Common.IO/Ringtoets.Common.IO.csproj =================================================================== diff -u -rcc1268d7cb906524d4cabcd4cbd9ae16676cf059 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/Common/src/Ringtoets.Common.IO/Ringtoets.Common.IO.csproj (.../Ringtoets.Common.IO.csproj) (revision cc1268d7cb906524d4cabcd4cbd9ae16676cf059) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Ringtoets.Common.IO.csproj (.../Ringtoets.Common.IO.csproj) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -108,7 +108,7 @@ - + @@ -137,16 +137,19 @@ Designer + + Designer + Designer Designer - + Designer - + Designer Index: Ringtoets/Common/src/Ringtoets.Common.IO/Writers/StructureCalculationConfigurationWriter.cs =================================================================== diff -u -rcc1268d7cb906524d4cabcd4cbd9ae16676cf059 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/Common/src/Ringtoets.Common.IO/Writers/StructureCalculationConfigurationWriter.cs (.../StructureCalculationConfigurationWriter.cs) (revision cc1268d7cb906524d4cabcd4cbd9ae16676cf059) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Writers/StructureCalculationConfigurationWriter.cs (.../StructureCalculationConfigurationWriter.cs) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -27,10 +27,10 @@ namespace Ringtoets.Common.IO.Writers { /// - /// Writer for writing in XML format to file. + /// Writer for writing in XML format to file. /// public abstract class StructureCalculationConfigurationWriter : SchemaCalculationConfigurationWriter - where T : StructureCalculationConfiguration + where T : StructuresCalculationConfiguration { /// /// Creates a new instance of . Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/Configurations/StructureCalculationConfigurationTest.cs =================================================================== diff -u -rcc1268d7cb906524d4cabcd4cbd9ae16676cf059 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/Common/test/Ringtoets.Common.IO.Test/Configurations/StructureCalculationConfigurationTest.cs (.../StructureCalculationConfigurationTest.cs) (revision cc1268d7cb906524d4cabcd4cbd9ae16676cf059) +++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/Configurations/StructureCalculationConfigurationTest.cs (.../StructureCalculationConfigurationTest.cs) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -32,7 +32,7 @@ public void Constructor_WithoutName_ThrowsArgumentNullException() { // Call - TestDelegate call = () => new SimpleStructureCalculationConfiguration(null); + TestDelegate call = () => new SimpleStructuresCalculationConfiguration(null); // Assert Assert.Throws(call); @@ -45,7 +45,7 @@ var name = "name"; // Call - var configuration = new SimpleStructureCalculationConfiguration(name); + var configuration = new SimpleStructuresCalculationConfiguration(name); // Assert Assert.IsInstanceOf(configuration); @@ -70,7 +70,7 @@ { // Setup const string configurationName = "some name"; - var configuration = new SimpleStructureCalculationConfiguration(configurationName); + var configuration = new SimpleStructuresCalculationConfiguration(configurationName); const string structureName = "some structure"; const string hydraulicBoundaryLocationName = "some hydraulic boundary location"; @@ -122,9 +122,9 @@ Assert.AreSame(waveReduction, configuration.WaveReduction); } - public class SimpleStructureCalculationConfiguration : StructureCalculationConfiguration + public class SimpleStructuresCalculationConfiguration : StructuresCalculationConfiguration { - public SimpleStructureCalculationConfiguration(string name) : base(name) {} + public SimpleStructuresCalculationConfiguration(string name) : base(name) {} } } } \ No newline at end of file Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/Writers/StructureCalculationConfigurationWriterTest.cs =================================================================== diff -u -rcc1268d7cb906524d4cabcd4cbd9ae16676cf059 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/Common/test/Ringtoets.Common.IO.Test/Writers/StructureCalculationConfigurationWriterTest.cs (.../StructureCalculationConfigurationWriterTest.cs) (revision cc1268d7cb906524d4cabcd4cbd9ae16676cf059) +++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/Writers/StructureCalculationConfigurationWriterTest.cs (.../StructureCalculationConfigurationWriterTest.cs) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -35,12 +35,12 @@ { private static readonly string testDirectory = TestHelper.GetTestDataPath( TestDataPath.Ringtoets.Common.IO, - nameof(StructureCalculationConfigurationWriter)); + nameof(StructureCalculationConfigurationWriter)); public static IEnumerable GetStructureCalculationsWithProperties() { yield return new TestCaseData( - new SimpleStructureCalculationConfiguration("some name"), + new SimpleStructuresCalculationConfiguration("some name"), "structureCalculationWithoutParametersSet.xml") .SetName("Structure calculation without any of its paramters set."); @@ -69,7 +69,7 @@ [Test] [TestCaseSource(nameof(GetStructureCalculationsWithProperties))] - public void Write_WithoutDifferentSetParameters_WritesSetStructureProperties(StructureCalculationConfiguration structureCalculation, string fileName) + public void Write_WithoutDifferentSetParameters_WritesSetStructureProperties(StructuresCalculationConfiguration structuresCalculation, string fileName) { // Setup string filePath = TestHelper.GetScratchPadPath(nameof(Write_WithoutDifferentSetParameters_WritesSetStructureProperties)); @@ -78,7 +78,7 @@ var writer = new SimpleStructureCalculationConfigurationWriter(filePath); // Call - writer.Write(new [] { structureCalculation }); + writer.Write(new [] { structuresCalculation }); // Assert string actualXml = File.ReadAllText(filePath); @@ -91,9 +91,9 @@ } } - private static SimpleStructureCalculationConfiguration CreateStructureWithAllParametersSet(string name) + private static SimpleStructuresCalculationConfiguration CreateStructureWithAllParametersSet(string name) { - return new SimpleStructureCalculationConfiguration(name) + return new SimpleStructuresCalculationConfiguration(name) { AllowedLevelIncreaseStorage = new MeanStandardDeviationStochastConfiguration { @@ -159,20 +159,20 @@ return File.ReadAllText(Path.Combine(testDirectory, testFile)); } - private class SimpleStructureCalculationConfiguration : StructureCalculationConfiguration + private class SimpleStructuresCalculationConfiguration : StructuresCalculationConfiguration { - public SimpleStructureCalculationConfiguration(string name) : base(name) {} + public SimpleStructuresCalculationConfiguration(string name) : base(name) {} } - private class SimpleStructureCalculationConfigurationWriter : StructureCalculationConfigurationWriter + private class SimpleStructureCalculationConfigurationWriter : StructureCalculationConfigurationWriter { public SimpleStructureCalculationConfigurationWriter(string filePath) : base(filePath) {} - protected override void WriteSpecificStructureParameters(SimpleStructureCalculationConfiguration configuration, XmlWriter writer) + protected override void WriteSpecificStructureParameters(SimpleStructuresCalculationConfiguration configuration, XmlWriter writer) { // no specific parameters } - protected override void WriteSpecificStochasts(SimpleStructureCalculationConfiguration configuration, XmlWriter writer) + protected override void WriteSpecificStochasts(SimpleStructuresCalculationConfiguration configuration, XmlWriter writer) { // no specific stochasts } Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/Writers/XmlWriterExtensionsTest.cs =================================================================== diff -u -r3c686d6ea57d86134a4338e75d3c7663f379716e -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/Common/test/Ringtoets.Common.IO.Test/Writers/XmlWriterExtensionsTest.cs (.../XmlWriterExtensionsTest.cs) (revision 3c686d6ea57d86134a4338e75d3c7663f379716e) +++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/Writers/XmlWriterExtensionsTest.cs (.../XmlWriterExtensionsTest.cs) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -470,8 +470,8 @@ } } - public class SimpleStructureCalculationConfiguration : StructureCalculationConfiguration + public class SimpleStructuresCalculationConfiguration : StructuresCalculationConfiguration { - public SimpleStructureCalculationConfiguration(string name) : base(name) {} + public SimpleStructuresCalculationConfiguration(string name) : base(name) {} } } \ No newline at end of file Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.IO/Readers/GrassCoverErosionInwardsCalculationConfigurationReader.cs =================================================================== diff -u -rcc1268d7cb906524d4cabcd4cbd9ae16676cf059 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.IO/Readers/GrassCoverErosionInwardsCalculationConfigurationReader.cs (.../GrassCoverErosionInwardsCalculationConfigurationReader.cs) (revision cc1268d7cb906524d4cabcd4cbd9ae16676cf059) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.IO/Readers/GrassCoverErosionInwardsCalculationConfigurationReader.cs (.../GrassCoverErosionInwardsCalculationConfigurationReader.cs) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -43,7 +43,7 @@ private const string orientatieSchemaName = "OrientatieSchema.xsd"; private const string golfReductieSchemaName = "GolfReductieSchema.xsd"; private const string stochastSchemaName = "StochastSchema.xsd"; - private const string stochastStandardDeviationSchemaName = "StochastStandardDeviationSchema.xsd"; + private const string stochastStandaardafwijkingSchemaName = "StochastStandaardafwijkingSchema.xsd"; /// /// Creates a new instance of . @@ -76,7 +76,7 @@ stochastSchemaName, RingtoetsCommonIOResources.StochastSchema }, { - stochastStandardDeviationSchemaName, RingtoetsCommonIOResources.StochastStandardDeviationSchema + stochastStandaardafwijkingSchemaName, RingtoetsCommonIOResources.StochastStandaardafwijkingSchema } }) {} Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.IO/Resources/GEKBConfiguratieSchema.xsd =================================================================== diff -u -rf2a9c4ae5677049bb5d34537984c114965daa251 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.IO/Resources/GEKBConfiguratieSchema.xsd (.../GEKBConfiguratieSchema.xsd) (revision f2a9c4ae5677049bb5d34537984c114965daa251) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.IO/Resources/GEKBConfiguratieSchema.xsd (.../GEKBConfiguratieSchema.xsd) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -65,7 +65,7 @@ - + Fisheye: Tag d393a6e22ba176f0ce9731629a37ce3272b1f433 refers to a dead (removed) revision in file `Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructureCalculationConfiguration.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfiguration.cs =================================================================== diff -u --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfiguration.cs (revision 0) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfiguration.cs (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,42 @@ +// 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.Common.IO.Configurations; + +namespace Ringtoets.HeightStructures.IO +{ + /// + /// Configuration of a height structure calculation. + /// + public class HeightStructuresCalculationConfiguration : StructuresCalculationConfiguration + { + /// + /// Creates a new instance of + /// + /// + public HeightStructuresCalculationConfiguration(string name) : base(name) {} + + /// + /// Gets or sets the stochast configuration for the level of the crest for the structure. + /// + public MeanStandardDeviationStochastConfiguration LevelCrestStructure { get; set; } + } +} \ No newline at end of file Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfigurationExporter.cs =================================================================== diff -u -rbe64b9f33b3065a4d80c0a93c1cafe3d74f43513 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfigurationExporter.cs (.../HeightStructuresCalculationConfigurationExporter.cs) (revision be64b9f33b3065a4d80c0a93c1cafe3d74f43513) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfigurationExporter.cs (.../HeightStructuresCalculationConfigurationExporter.cs) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -36,7 +36,7 @@ public class HeightStructuresCalculationConfigurationExporter : SchemaCalculationConfigurationExporter< HeightStructuresCalculationConfigurationWriter, StructuresCalculation, - HeightStructureCalculationConfiguration + HeightStructuresCalculationConfiguration > { /// @@ -48,10 +48,10 @@ /// Thrown when is invalid. public HeightStructuresCalculationConfigurationExporter(IEnumerable calculations, string filePath) : base(calculations, filePath) {} - protected override HeightStructureCalculationConfiguration ToConfiguration(StructuresCalculation calculation) + protected override HeightStructuresCalculationConfiguration ToConfiguration(StructuresCalculation calculation) { HeightStructuresInput input = calculation.InputParameters; - var calculationConfiguration = new HeightStructureCalculationConfiguration(calculation.Name); + var calculationConfiguration = new HeightStructuresCalculationConfiguration(calculation.Name); calculationConfiguration.HydraulicBoundaryLocationName = input.HydraulicBoundaryLocation?.Name; Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfigurationReader.cs =================================================================== diff -u --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfigurationReader.cs (revision 0) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfigurationReader.cs (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,78 @@ +// 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.Collections.Generic; +using System.Xml.Linq; +using Ringtoets.Common.IO.Readers; +using Ringtoets.Common.IO.Schema; +using Ringtoets.HeightStructures.IO.Properties; +using RingtoetsCommonIOResources = Ringtoets.Common.IO.Properties.Resources; + +namespace Ringtoets.HeightStructures.IO +{ + public class HeightStructuresCalculationConfigurationReader : CalculationConfigurationReader + { + private const string hrLocatieSchemaName = "HrLocatieSchema.xsd"; + private const string orientatieSchemaName = "OrientatieSchema.xsd"; + private const string golfReductieSchemaName = "GolfReductieSchema.xsd"; + private const string voorlandProfielSchemaName = "VoorlandProfielSchema.xsd"; + private const string stochastSchemaName = "StochastSchema.xsd"; + private const string stochastStandaardafwijkingSchemaName = "StochastStandaardafwijkingSchema.xsd"; + private const string stochastVariatiecoefficientSchemaName = "StochastVariatiecoefficientSchema.xsd"; + private const string structureBaseSchemaName = "KunstwerkenBasisSchema.xsd"; + + public HeightStructuresCalculationConfigurationReader(string filePath) + : base(filePath, + Resources.KunstwerkenHoogteSchema, + new Dictionary + { + { + hrLocatieSchemaName, RingtoetsCommonIOResources.HrLocatieSchema + }, + { + orientatieSchemaName, RingtoetsCommonIOResources.OrientatieSchema + }, + { + voorlandProfielSchemaName, RingtoetsCommonIOResources.VoorlandProfielSchema + }, + { + golfReductieSchemaName, RingtoetsCommonIOResources.GolfReductieSchema + }, + { + stochastSchemaName, RingtoetsCommonIOResources.StochastSchema + }, + { + stochastStandaardafwijkingSchemaName, RingtoetsCommonIOResources.StochastStandaardafwijkingSchema + }, + { + stochastVariatiecoefficientSchemaName, RingtoetsCommonIOResources.StochastVariatiecoefficientSchema + }, + { + structureBaseSchemaName, RingtoetsCommonIOResources.KunstwerkenBasisSchema + } + }) {} + + protected override HeightStructuresCalculationConfiguration ParseCalculationElement(XElement calculationElement) + { + return new HeightStructuresCalculationConfiguration(calculationElement.Attribute(ConfigurationSchemaIdentifiers.NameAttribute).Value); + } + } +} \ No newline at end of file Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfigurationWriter.cs =================================================================== diff -u -rcc1268d7cb906524d4cabcd4cbd9ae16676cf059 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfigurationWriter.cs (.../HeightStructuresCalculationConfigurationWriter.cs) (revision cc1268d7cb906524d4cabcd4cbd9ae16676cf059) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfigurationWriter.cs (.../HeightStructuresCalculationConfigurationWriter.cs) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -26,9 +26,9 @@ namespace Ringtoets.HeightStructures.IO { /// - /// Writer for writing in XML format to file. + /// Writer for writing in XML format to file. /// - public class HeightStructuresCalculationConfigurationWriter : StructureCalculationConfigurationWriter + public class HeightStructuresCalculationConfigurationWriter : StructureCalculationConfigurationWriter { /// /// Creates a new instance of . @@ -44,11 +44,11 @@ /// public HeightStructuresCalculationConfigurationWriter(string filePath) : base(filePath) {} - protected override void WriteSpecificStructureParameters(HeightStructureCalculationConfiguration configuration, XmlWriter writer) + protected override void WriteSpecificStructureParameters(HeightStructuresCalculationConfiguration configuration, XmlWriter writer) { } - protected override void WriteSpecificStochasts(HeightStructureCalculationConfiguration configuration, XmlWriter writer) + protected override void WriteSpecificStochasts(HeightStructuresCalculationConfiguration configuration, XmlWriter writer) { if (configuration.LevelCrestStructure != null) { Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/Resources/KunstwerkenHoogteSchema.xsd =================================================================== diff -u -r91e6f4f761a8efdc9c847c99cdca18f514a67ed1 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/Resources/KunstwerkenHoogteSchema.xsd (.../KunstwerkenHoogteSchema.xsd) (revision 91e6f4f761a8efdc9c847c99cdca18f514a67ed1) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/Resources/KunstwerkenHoogteSchema.xsd (.../KunstwerkenHoogteSchema.xsd) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -55,7 +55,7 @@ - + Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/Ringtoets.HeightStructures.IO.csproj =================================================================== diff -u -rcc1268d7cb906524d4cabcd4cbd9ae16676cf059 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/Ringtoets.HeightStructures.IO.csproj (.../Ringtoets.HeightStructures.IO.csproj) (revision cc1268d7cb906524d4cabcd4cbd9ae16676cf059) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/Ringtoets.HeightStructures.IO.csproj (.../Ringtoets.HeightStructures.IO.csproj) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -39,14 +39,16 @@ + Properties\GlobalAssembly.cs + - + Fisheye: Tag d393a6e22ba176f0ce9731629a37ce3272b1f433 refers to a dead (removed) revision in file `Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructureCalculationConfigurationTest.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationExporterTest.cs =================================================================== diff -u -rbe64b9f33b3065a4d80c0a93c1cafe3d74f43513 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationExporterTest.cs (.../HeightStructuresCalculationConfigurationExporterTest.cs) (revision be64b9f33b3065a4d80c0a93c1cafe3d74f43513) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationExporterTest.cs (.../HeightStructuresCalculationConfigurationExporterTest.cs) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -41,7 +41,7 @@ HeightStructuresCalculationConfigurationExporter, HeightStructuresCalculationConfigurationWriter, StructuresCalculation, - HeightStructureCalculationConfiguration> + HeightStructuresCalculationConfiguration> { private static IEnumerable Calculations { Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationReaderTest.cs =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationReaderTest.cs (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationReaderTest.cs (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,232 @@ +// 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.Collections.Generic; +using Core.Common.TestUtil; +using NUnit.Framework; +using Ringtoets.Common.IO.Readers; +using System.IO; +using System.Xml.Schema; +using Core.Common.Base.IO; + +namespace Ringtoets.HeightStructures.IO.Test +{ + [TestFixture] + public class HeightStructuresCalculationConfigurationReaderTest + { + private readonly string testDirectoryPath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.HeightStructures.IO, + nameof(HeightStructuresCalculationConfigurationReader)); + + private static IEnumerable InvalidConfigurations + { + get + { + yield return new TestCaseData("invalidCalculationFailureProbabilityStructureWithErosionEmpty.xml", + "The 'faalkansgegevenerosiebodem' element is invalid - The value '' is invalid according to its datatype 'Double'") + .SetName("invalidCalculationFailureProbabilityStructureWithErosionEmpty"); + yield return new TestCaseData("invalidCalculationFailureProbabilityStructureWithErosionNoDouble.xml", + "The 'faalkansgegevenerosiebodem' element is invalid - The value 'nul' is invalid according to its datatype 'Double'") + .SetName("invalidCalculationFailureProbabilityStructureWithErosionNoDouble"); + yield return new TestCaseData("invalidCalculationFailureProbabilityStructureWithErosionWrongCulture.xml", + "The 'faalkansgegevenerosiebodem' element is invalid - The value '0,5' is invalid according to its datatype 'Double'") + .SetName("invalidCalculationFailureProbabilityStructureWithErosionWrongCulture"); + + yield return new TestCaseData("invalidCalculationForeshoreProfileEmpty.xml", + "The 'voorlandprofiel' element is invalid - The value '' is invalid according to its datatype 'String'") + .SetName("invalidCalculationForeshoreProfileEmpty"); + + yield return new TestCaseData("invalidCalculationHydraulicBoundaryLocationEmpty.xml", + "The 'hrlocatie' element is invalid - The value '' is invalid according to its datatype 'String'") + .SetName("invalidCalculationHydraulicBoundaryLocationEmpty"); + + yield return new TestCaseData("invalidCalculationMultipleFailureProbabilityStructureWithErosion.xml", + "Element 'faalkansgegevenerosiebodem' cannot appear more than once if content model type is \"all\".") + .SetName("invalidCalculationMultipleFailureProbabilityStructureWithErosion"); + yield return new TestCaseData("invalidCalculationMultipleForeshoreProfile.xml", + "Element 'voorlandprofiel' cannot appear more than once if content model type is \"all\".") + .SetName("invalidCalculationMultipleForeshoreProfile"); + yield return new TestCaseData("invalidCalculationMultipleHydraulicBoundaryLocation.xml", + "Element 'hrlocatie' cannot appear more than once if content model type is \"all\".") + .SetName("invalidCalculationMultipleHydraulicBoundaryLocation"); + yield return new TestCaseData("invalidCalculationMultipleOrientation.xml", + "Element 'orientatie' cannot appear more than once if content model type is \"all\".") + .SetName("invalidCalculationMultipleOrientation"); + yield return new TestCaseData("invalidCalculationMultipleStructure.xml", + "Element 'kunstwerk' cannot appear more than once if content model type is \"all\".") + .SetName("invalidCalculationMultipleStructure"); + + yield return new TestCaseData("invalidCalculationOrientationEmpty.xml", + "The 'orientatie' element is invalid - The value '' is invalid according to its datatype 'Double'") + .SetName("invalidCalculationOrientationEmpty"); + yield return new TestCaseData("invalidCalculationOrientationNoDouble.xml", + "The 'orientatie' element is invalid - The value 'nul' is invalid according to its datatype 'Double'") + .SetName("invalidCalculationOrientationNoDouble"); + yield return new TestCaseData("invalidCalculationOrientationWrongCulture.xml", + "The 'orientatie' element is invalid - The value '0,5' is invalid according to its datatype 'Double'") + .SetName("invalidCalculationOrientationWrongCulture"); + + yield return new TestCaseData("invalidCalculationStructureEmpty.xml", + "The 'kunstwerk' element is invalid - The value '' is invalid according to its datatype 'String'") + .SetName("invalidCalculationStructureEmpty"); + + yield return new TestCaseData("invalidStochastNoName.xml", + "The required attribute 'naam' is missing.") + .SetName("invalidStochastNoName"); + yield return new TestCaseData("invalidStochastUnknownName.xml", + "The 'naam' attribute is invalid - The value 'Test' is invalid according to its datatype 'nameType' - The Enumeration constraint failed.") + .SetName("invalidStochastUnknownName"); + yield return new TestCaseData("invalidStochastMultipleMean.xml", + "Element 'verwachtingswaarde' cannot appear more than once if content model type is \"all\".") + .SetName("invalidStochastMultipleMean"); + yield return new TestCaseData("invalidStochastMultipleStandardDeviation.xml", + "Element 'standaardafwijking' cannot appear more than once if content model type is \"all\".") + .SetName("invalidStochastMultipleStandardDeviation"); + yield return new TestCaseData("invalidStochastMultipleStandardDeviation.xml", + "Element 'standaardafwijking' cannot appear more than once if content model type is \"all\".") + .SetName("invalidStochastMultipleStandardDeviation"); + yield return new TestCaseData("invalidStochastMeanEmpty.xml", + "The 'verwachtingswaarde' element is invalid - The value '' is invalid according to its datatype 'Double'") + .SetName("invalidStochastMeanEmpty"); + yield return new TestCaseData("invalidStochastMeanNoDouble.xml", + "The 'verwachtingswaarde' element is invalid - The value 'string' is invalid according to its datatype 'Double'") + .SetName("invalidStochastMeanNoDouble"); + yield return new TestCaseData("invalidStochastMeanWrongCulture.xml", + "The 'verwachtingswaarde' element is invalid - The value '1,2' is invalid according to its datatype 'Double'") + .SetName("invalidStochastMeanWrongCulture"); + yield return new TestCaseData("invalidStochastStandardDeviationEmpty.xml", + "The 'standaardafwijking' element is invalid - The value '' is invalid according to its datatype 'Double'") + .SetName("invalidStochastStandardDeviationEmpty"); + yield return new TestCaseData("invalidStochastStandardDeviationNoDouble.xml", + "The 'standaardafwijking' element is invalid - The value 'string' is invalid according to its datatype 'Double'") + .SetName("invalidStochastStandardDeviationNoDouble"); + yield return new TestCaseData("invalidStochastStandardDeviationWrongCulture.xml", + "The 'standaardafwijking' element is invalid - The value '1,2' is invalid according to its datatype 'Double'") + .SetName("invalidStochastStandardDeviationWrongCulture"); + yield return new TestCaseData("invalidStochastVariationCoefficientEmpty.xml", + "The 'variatiecoefficient' element is invalid - The value '' is invalid according to its datatype 'Double'") + .SetName("invalidStochastVariationCoefficientEmpty"); + yield return new TestCaseData("invalidStochastVariationCoefficientNoDouble.xml", + "The 'variatiecoefficient' element is invalid - The value 'string' is invalid according to its datatype 'Double'") + .SetName("invalidStochastVariationCoefficientNoDouble"); + yield return new TestCaseData("invalidStochastVariationCoefficientWrongCulture.xml", + "The 'variatiecoefficient' element is invalid - The value '1,2' is invalid according to its datatype 'Double'") + .SetName("invalidStochastVariationCoefficientWrongCulture"); + + yield return new TestCaseData("invalidMultipleAllowedLevelIncreaseStochast.xml", + "There is a duplicate key sequence 'peilverhogingkomberging' for the 'uniqueStochastNameConstraint' key or unique identity constraint.") + .SetName("invalidMultipleAllowedLevelIncreaseStochast"); + yield return new TestCaseData("invalidMultipleCriticalOvertoppingDischargeStochast.xml", + "There is a duplicate key sequence 'kritiekinstromenddebiet' for the 'uniqueStochastNameConstraint' key or unique identity constraint.") + .SetName("invalidMultipleCriticalOvertoppingDischargeStochast"); + yield return new TestCaseData("invalidMultipleFlowWidthAtBottomProtectionStochast.xml", + "There is a duplicate key sequence 'breedtebodembescherming' for the 'uniqueStochastNameConstraint' key or unique identity constraint.") + .SetName("invalidMultipleFlowWidthAtBottomProtectionStochast"); + yield return new TestCaseData("invalidMultipleLevelCrestStructureStochast.xml", + "There is a duplicate key sequence 'kerendehoogte' for the 'uniqueStochastNameConstraint' key or unique identity constraint.") + .SetName("invalidMultipleLevelCrestStructureStochast"); + yield return new TestCaseData("invalidMultipleModelFactorSuperCriticalFlowStochast.xml", + "There is a duplicate key sequence 'modelfactoroverloopdebiet' for the 'uniqueStochastNameConstraint' key or unique identity constraint.") + .SetName("invalidMultipleModelFactorSuperCriticalFlowStochast"); + yield return new TestCaseData("invalidMultipleStorageStructureAreaStochast.xml", + "There is a duplicate key sequence 'kombergendoppervlak' for the 'uniqueStochastNameConstraint' key or unique identity constraint.") + .SetName("invalidMultipleStorageStructureAreaStochast"); + yield return new TestCaseData("invalidMultipleStormDurationStochast.xml", + "There is a duplicate key sequence 'stormduur' for the 'uniqueStochastNameConstraint' key or unique identity constraint.") + .SetName("invalidMultipleStormDurationStochast"); + yield return new TestCaseData("invalidMultipleWidthFlowAperturesStochast.xml", + "There is a duplicate key sequence 'breedtedoorstroomopening' for the 'uniqueStochastNameConstraint' key or unique identity constraint.") + .SetName("invalidMultipleWidthFlowAperturesStochast"); + + yield return new TestCaseData("invalidUseBreakWaterEmpty.xml", + "The 'damgebruiken' element is invalid - The value '' is invalid according to its datatype 'Boolean'") + .SetName("invalidUseBreakWaterEmpty"); + yield return new TestCaseData("invalidUseBreakWaterNoBoolean.xml", + "The 'damgebruiken' element is invalid - The value 'string' is invalid according to its datatype 'Boolean'") + .SetName("invalidUseBreakWaterNoBoolean"); + yield return new TestCaseData("invalidMultipleUseBreakWaters.xml", + "The element 'golfreductie' has invalid child element 'damgebruiken'.") + .SetName("invalidMultipleUseBreakWaters"); + + yield return new TestCaseData("invalidBreakWaterTypeEmpty.xml", + "The 'damtype' element is invalid - The value '' is invalid according to its datatype 'String' - The Enumeration constraint failed.") + .SetName("invalidBreakWaterTypeEmpty"); + yield return new TestCaseData("invalidMultipleBreakWaterTypes.xml", + "The element 'golfreductie' has invalid child element 'damtype'.") + .SetName("invalidMultipleBreakWaterTypes"); + yield return new TestCaseData("invalidBreakWaterTypeUnsupportedString.xml", + "The 'damtype' element is invalid - The value 'invalid' is invalid according to its datatype 'String' - The Enumeration constraint failed.") + .SetName("invalidBreakWaterTypeUnsupportedString"); + + yield return new TestCaseData("invalidBreakWaterHeightEmpty.xml", + "The 'damhoogte' element is invalid - The value '' is invalid according to its datatype 'Double'") + .SetName("invalidBreakWaterHeightEmpty"); + yield return new TestCaseData("invalidBreakWaterHeightNoDouble.xml", + "The 'damhoogte' element is invalid - The value 'string' is invalid according to its datatype 'Double'") + .SetName("invalidBreakWaterHeightNoDouble"); + yield return new TestCaseData("invalidBreakWaterHeightWrongCulture.xml", + "The 'damhoogte' element is invalid - The value '1,2' is invalid according to its datatype 'Double'") + .SetName("invalidBreakWaterHeightWrongCulture"); + yield return new TestCaseData("invalidMultipleBreakWaterHeights.xml", + "The element 'golfreductie' has invalid child element 'damhoogte'.") + .SetName("invalidMultipleBreakWaterHeights"); + + yield return new TestCaseData("invalidUseForeshoreEmpty.xml", + "The 'voorlandgebruiken' element is invalid - The value '' is invalid according to its datatype 'Boolean'") + .SetName("invalidUseForeshoreEmpty"); + yield return new TestCaseData("invalidUseForeshoreNoBoolean.xml", + "The 'voorlandgebruiken' element is invalid - The value 'string' is invalid according to its datatype 'Boolean'") + .SetName("invalidUseForeshoreNoBoolean"); + yield return new TestCaseData("invalidMultipleUseForeshore.xml", + "The element 'golfreductie' has invalid child element 'voorlandgebruiken'.") + .SetName("invalidMultipleUseForeshores"); + } + } + + [Test] + public void Constructor_WithFilePath_ReturnsNewInstance() + { + // Setup + var existingPath = Path.Combine(testDirectoryPath, "validConfigurationEmptyCalculation.xml"); + + // Call + var reader = new HeightStructuresCalculationConfigurationReader(existingPath); + + // Assert + Assert.IsInstanceOf>(reader); + } + + [Test] + [TestCaseSource(nameof(InvalidConfigurations))] + public void Constructor_FileInvalidBasedOnSchemaDefinition_ThrowCriticalFileReadException(string fileName, string expectedParsingMessage) + { + // Setup + string filePath = Path.Combine(testDirectoryPath, fileName); + + // Call + TestDelegate call = () => new HeightStructuresCalculationConfigurationReader(filePath); + + // Assert + var exception = Assert.Throws(call); + Assert.IsInstanceOf(exception.InnerException); + StringAssert.Contains(expectedParsingMessage, exception.InnerException?.Message); + } + } +} \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationTest.cs =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationTest.cs (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationTest.cs (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,57 @@ +// 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 NUnit.Framework; +using Ringtoets.Common.IO.Configurations; + +namespace Ringtoets.HeightStructures.IO.Test +{ + [TestFixture] + public class HeightStructuresCalculationConfigurationTest + { + [Test] + public void Constructor_WithName_ExpectedValues() + { + // Call + var configuration = new HeightStructuresCalculationConfiguration("some name"); + + // Assert + Assert.IsInstanceOf(configuration); + Assert.AreEqual("some name", configuration.Name); + Assert.IsNull(configuration.LevelCrestStructure); + } + + [Test] + public void SimpleProperties_SetNewValues_NewValuesSet() + { + // Setup + var levelCrestStructure = new MeanStandardDeviationStochastConfiguration(); + var configuration = new HeightStructuresCalculationConfiguration("some name"); + + // Call + configuration.LevelCrestStructure = levelCrestStructure; + + // Assert + Assert.AreSame(levelCrestStructure, configuration.LevelCrestStructure); + } + } +} \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationWriterTest.cs =================================================================== diff -u -r01bf64868d92c60de88996ec6052f5aeec2c98b3 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationWriterTest.cs (.../HeightStructuresCalculationConfigurationWriterTest.cs) (revision 01bf64868d92c60de88996ec6052f5aeec2c98b3) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationWriterTest.cs (.../HeightStructuresCalculationConfigurationWriterTest.cs) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -35,7 +35,7 @@ public class HeightStructuresCalculationConfigurationWriterTest : CustomSchemaCalculationConfigurationWriterDesignGuidelinesTestFixture< HeightStructuresCalculationConfigurationWriter, - HeightStructureCalculationConfiguration> + HeightStructuresCalculationConfiguration> { private readonly string testDataPath = TestHelper.GetTestDataPath( TestDataPath.Ringtoets.HeightStructures.IO, @@ -52,7 +52,7 @@ .SetName("Calculation configuration with all parameters set"); yield return new TestCaseData("sparseConfiguration", new[] { - new HeightStructureCalculationConfiguration("sparse config") + new HeightStructuresCalculationConfiguration("sparse config") }) .SetName("Calculation configuration with none of its parameters set"); yield return new TestCaseData("folderWithSubfolderAndCalculation", new IConfigurationItem[] @@ -62,7 +62,7 @@ CreateFullCalculation(), new CalculationConfigurationGroup("Nested", new IConfigurationItem[] { - new HeightStructureCalculationConfiguration("Berekening 2") + new HeightStructuresCalculationConfiguration("Berekening 2") }) }) }) @@ -72,7 +72,7 @@ protected override void AssertDefaultConstructedInstance(HeightStructuresCalculationConfigurationWriter writer) { - Assert.IsInstanceOf>(writer); + Assert.IsInstanceOf>(writer); } [Test] @@ -104,9 +104,9 @@ } } - private static HeightStructureCalculationConfiguration CreateFullCalculation() + private static HeightStructuresCalculationConfiguration CreateFullCalculation() { - return new HeightStructureCalculationConfiguration("Berekening 1") + return new HeightStructuresCalculationConfiguration("Berekening 1") { HydraulicBoundaryLocationName = "Locatie1", StructureName = "kunstwerk1", Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/Ringtoets.HeightStructures.IO.Test.csproj =================================================================== diff -u -rcc1268d7cb906524d4cabcd4cbd9ae16676cf059 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/Ringtoets.HeightStructures.IO.Test.csproj (.../Ringtoets.HeightStructures.IO.Test.csproj) (revision cc1268d7cb906524d4cabcd4cbd9ae16676cf059) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/Ringtoets.HeightStructures.IO.Test.csproj (.../Ringtoets.HeightStructures.IO.Test.csproj) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -50,7 +50,8 @@ Properties\GlobalAssembly.cs - + + Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterHeightEmpty.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterHeightEmpty.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterHeightEmpty.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterHeightNoDouble.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterHeightNoDouble.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterHeightNoDouble.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,8 @@ + + + + + string + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterHeightWrongCulture.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterHeightWrongCulture.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterHeightWrongCulture.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,8 @@ + + + + + 1,2 + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterTypeEmpty.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterTypeEmpty.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterTypeEmpty.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterTypeUnsupportedString.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterTypeUnsupportedString.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidBreakWaterTypeUnsupportedString.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,8 @@ + + + + + invalid + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationFailureProbabilityStructureWithErosionEmpty.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationFailureProbabilityStructureWithErosionEmpty.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationFailureProbabilityStructureWithErosionEmpty.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationFailureProbabilityStructureWithErosionNoDouble.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationFailureProbabilityStructureWithErosionNoDouble.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationFailureProbabilityStructureWithErosionNoDouble.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,6 @@ + + + + nul + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationFailureProbabilityStructureWithErosionWrongCulture.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationFailureProbabilityStructureWithErosionWrongCulture.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationFailureProbabilityStructureWithErosionWrongCulture.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,6 @@ + + + + 0,5 + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationForeshoreProfileEmpty.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationForeshoreProfileEmpty.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationForeshoreProfileEmpty.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationHydraulicBoundaryLocationEmpty.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationHydraulicBoundaryLocationEmpty.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationHydraulicBoundaryLocationEmpty.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleFailureProbabilityStructureWithErosion.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleFailureProbabilityStructureWithErosion.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleFailureProbabilityStructureWithErosion.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,7 @@ + + + + 3.2 + 0.54 + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleForeshoreProfile.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleForeshoreProfile.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleForeshoreProfile.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,7 @@ + + + + kunstwerk 1 + kunstwerk 2 + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleHydraulicBoundaryLocation.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleHydraulicBoundaryLocation.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleHydraulicBoundaryLocation.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,7 @@ + + + + locatie 1 + locatie 2 + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleOrientation.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleOrientation.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleOrientation.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,7 @@ + + + + 0.5 + 0.5 + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleStructure.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleStructure.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationMultipleStructure.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,7 @@ + + + + kunstwerk 1 + kunstwerk 2 + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationOrientationEmpty.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationOrientationEmpty.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationOrientationEmpty.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationOrientationNoDouble.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationOrientationNoDouble.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationOrientationNoDouble.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,6 @@ + + + + nul + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationOrientationWrongCulture.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationOrientationWrongCulture.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationOrientationWrongCulture.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,6 @@ + + + + 0,5 + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationStructureEmpty.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationStructureEmpty.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidCalculationStructureEmpty.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleAllowedLevelIncreaseStochast.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleAllowedLevelIncreaseStochast.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleAllowedLevelIncreaseStochast.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleBreakWaterHeights.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleBreakWaterHeights.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleBreakWaterHeights.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,9 @@ + + + + + 1.2 + 2.3 + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleBreakWaterTypes.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleBreakWaterTypes.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleBreakWaterTypes.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,9 @@ + + + + + verticalewand + caisson + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleCriticalOvertoppingDischargeStochast.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleCriticalOvertoppingDischargeStochast.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleCriticalOvertoppingDischargeStochast.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleFlowWidthAtBottomProtectionStochast.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleFlowWidthAtBottomProtectionStochast.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleFlowWidthAtBottomProtectionStochast.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleLevelCrestStructureStochast.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleLevelCrestStructureStochast.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleLevelCrestStructureStochast.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleModelFactorSuperCriticalFlowStochast.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleModelFactorSuperCriticalFlowStochast.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleModelFactorSuperCriticalFlowStochast.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleStorageStructureAreaStochast.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleStorageStructureAreaStochast.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleStorageStructureAreaStochast.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleStormDurationStochast.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleStormDurationStochast.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleStormDurationStochast.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleUseBreakWaters.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleUseBreakWaters.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleUseBreakWaters.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,9 @@ + + + + + true + false + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleUseForeshore.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleUseForeshore.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleUseForeshore.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,9 @@ + + + + + true + false + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleWidthFlowAperturesStochast.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleWidthFlowAperturesStochast.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidMultipleWidthFlowAperturesStochast.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMeanEmpty.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMeanEmpty.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMeanEmpty.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,11 @@ + + + + + + + 0.100 + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMeanNoDouble.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMeanNoDouble.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMeanNoDouble.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,11 @@ + + + + + + string + 0.100 + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMeanWrongCulture.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMeanWrongCulture.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMeanWrongCulture.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,11 @@ + + + + + + 1,2 + 0.100 + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMultipleMean.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMultipleMean.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMultipleMean.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,12 @@ + + + + + + 0.000 + 1.000 + 0.100 + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMultipleStandardDeviation.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMultipleStandardDeviation.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMultipleStandardDeviation.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,12 @@ + + + + + + 0.000 + 0.100 + 0.200 + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMultipleVariationCoefficient.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMultipleVariationCoefficient.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastMultipleVariationCoefficient.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,12 @@ + + + + + + 0.000 + 0.100 + 0.200 + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastNoName.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastNoName.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastNoName.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,11 @@ + + + + + + 0.000 + 0.100 + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastStandardDeviationEmpty.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastStandardDeviationEmpty.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastStandardDeviationEmpty.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,11 @@ + + + + + + 0.000 + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastStandardDeviationNoDouble.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastStandardDeviationNoDouble.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastStandardDeviationNoDouble.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,11 @@ + + + + + + 0.000 + string + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastStandardDeviationWrongCulture.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastStandardDeviationWrongCulture.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastStandardDeviationWrongCulture.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,11 @@ + + + + + + 0.000 + 1,2 + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastUnknownName.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastUnknownName.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastUnknownName.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,11 @@ + + + + + + 0.000 + 0.100 + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastVariationCoefficientEmpty.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastVariationCoefficientEmpty.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastVariationCoefficientEmpty.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,11 @@ + + + + + + 0.000 + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastVariationCoefficientNoDouble.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastVariationCoefficientNoDouble.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastVariationCoefficientNoDouble.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,11 @@ + + + + + + 0.000 + string + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastVariationCoefficientWrongCulture.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastVariationCoefficientWrongCulture.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidStochastVariationCoefficientWrongCulture.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,11 @@ + + + + + + 0.000 + 1,2 + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidUseBreakWaterEmpty.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidUseBreakWaterEmpty.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidUseBreakWaterEmpty.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidUseBreakWaterNoBoolean.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidUseBreakWaterNoBoolean.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidUseBreakWaterNoBoolean.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,8 @@ + + + + + string + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidUseForeshoreEmpty.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidUseForeshoreEmpty.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidUseForeshoreEmpty.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidUseForeshoreNoBoolean.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidUseForeshoreNoBoolean.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/invalidUseForeshoreNoBoolean.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,8 @@ + + + + + string + + + \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/validConfigurationEmptyCalculation.xml =================================================================== diff -u --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/validConfigurationEmptyCalculation.xml (revision 0) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/test-data/HeightStructuresCalculationConfigurationReader/validConfigurationEmptyCalculation.xml (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -0,0 +1,4 @@ + + + + \ No newline at end of file Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/Readers/PipingCalculationConfigurationReader.cs =================================================================== diff -u -rcc1268d7cb906524d4cabcd4cbd9ae16676cf059 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/Piping/src/Ringtoets.Piping.IO/Readers/PipingCalculationConfigurationReader.cs (.../PipingCalculationConfigurationReader.cs) (revision cc1268d7cb906524d4cabcd4cbd9ae16676cf059) +++ Ringtoets/Piping/src/Ringtoets.Piping.IO/Readers/PipingCalculationConfigurationReader.cs (.../PipingCalculationConfigurationReader.cs) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -39,7 +39,7 @@ public class PipingCalculationConfigurationReader : CalculationConfigurationReader { private const string stochastSchemaName = "StochastSchema.xsd"; - private const string stochastStandardDeviationSchemaName = "StochastStandardDeviationSchema.xsd"; + private const string stochastStandaardafwijkingSchemaName = "StochastStandaardafwijkingSchema.xsd"; /// /// Creates a new instance of . @@ -63,7 +63,7 @@ stochastSchemaName, RingtoetsCommonIOResources.StochastSchema }, { - stochastStandardDeviationSchemaName, RingtoetsCommonIOResources.StochastStandardDeviationSchema + stochastStandaardafwijkingSchemaName, RingtoetsCommonIOResources.StochastStandaardafwijkingSchema } }) {} Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/Resources/PipingConfiguratieSchema.xsd =================================================================== diff -u -r3dd1b55572a57bcf310a03a44a74a0eaaedab1f7 -rd393a6e22ba176f0ce9731629a37ce3272b1f433 --- Ringtoets/Piping/src/Ringtoets.Piping.IO/Resources/PipingConfiguratieSchema.xsd (.../PipingConfiguratieSchema.xsd) (revision 3dd1b55572a57bcf310a03a44a74a0eaaedab1f7) +++ Ringtoets/Piping/src/Ringtoets.Piping.IO/Resources/PipingConfiguratieSchema.xsd (.../PipingConfiguratieSchema.xsd) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433) @@ -60,7 +60,7 @@ - +