Index: Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.Designer.cs =================================================================== diff -u -rae6ef0985e7b64acca060b6782e21a3446548366 -r5d7d6070e020dcc02fefb624d582c958d9bd9890 --- Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision ae6ef0985e7b64acca060b6782e21a3446548366) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 5d7d6070e020dcc02fefb624d582c958d9bd9890) @@ -1,25 +1,4 @@ -// 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. - -//------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.42000 @@ -1235,6 +1214,50 @@ } /// + /// 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 warrant [rest of string was truncated]";. + /// + public static string StochastStandardDeviationSchema { + get { + return ResourceManager.GetString("StochastStandardDeviationSchema", resourceCulture); + } + } + + /// + /// 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 warrant [rest of string was truncated]";. + /// + public static string StochastVariationCoefficientSchema { + get { + return ResourceManager.GetString("StochastVariationCoefficientSchema", resourceCulture); + } + } + + /// /// Looks up a localized string similar to De kolom '{0}' mag maar één keer gedefinieerd zijn.. /// public static string StructuresCharacteristicsCsvReader_Column_0_must_be_defined_only_once { Index: Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.resx =================================================================== diff -u -rae6ef0985e7b64acca060b6782e21a3446548366 -r5d7d6070e020dcc02fefb624d582c958d9bd9890 --- Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.resx (.../Resources.resx) (revision ae6ef0985e7b64acca060b6782e21a3446548366) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.resx (.../Resources.resx) (revision 5d7d6070e020dcc02fefb624d582c958d9bd9890) @@ -559,4 +559,10 @@ {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 + \ No newline at end of file Index: Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastSchema.xsd =================================================================== diff -u -rc0daad5cf902e4d8ee557ac2d09d477c19409bf7 -r5d7d6070e020dcc02fefb624d582c958d9bd9890 --- Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastSchema.xsd (.../StochastSchema.xsd) (revision c0daad5cf902e4d8ee557ac2d09d477c19409bf7) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastSchema.xsd (.../StochastSchema.xsd) (revision 5d7d6070e020dcc02fefb624d582c958d9bd9890) @@ -46,13 +46,10 @@ een standaardafwijking of variatiecoefficient kan worden gegeven.--> - + - - - - - + + @@ -72,18 +69,7 @@ - - - - - - - - - - - - - + + \ No newline at end of file Index: Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastStandardDeviationSchema.xsd =================================================================== diff -u --- Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastStandardDeviationSchema.xsd (revision 0) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastStandardDeviationSchema.xsd (revision 5d7d6070e020dcc02fefb624d582c958d9bd9890) @@ -0,0 +1,33 @@ + + + + + + + + + + + + \ No newline at end of file Index: Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastVariationCoefficientSchema.xsd =================================================================== diff -u --- Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastVariationCoefficientSchema.xsd (revision 0) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Resources/StochastVariationCoefficientSchema.xsd (revision 5d7d6070e020dcc02fefb624d582c958d9bd9890) @@ -0,0 +1,33 @@ + + + + + + + + + + + + \ No newline at end of file Index: Ringtoets/Common/src/Ringtoets.Common.IO/Ringtoets.Common.IO.csproj =================================================================== diff -u -rf3feb7d017a933271c410470add90ae106745ceb -r5d7d6070e020dcc02fefb624d582c958d9bd9890 --- Ringtoets/Common/src/Ringtoets.Common.IO/Ringtoets.Common.IO.csproj (.../Ringtoets.Common.IO.csproj) (revision f3feb7d017a933271c410470add90ae106745ceb) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Ringtoets.Common.IO.csproj (.../Ringtoets.Common.IO.csproj) (revision 5d7d6070e020dcc02fefb624d582c958d9bd9890) @@ -138,6 +138,12 @@ Designer + + Designer + + + Designer + Designer Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.IO/Readers/GrassCoverErosionInwardsCalculationConfigurationReader.cs =================================================================== diff -u -rd0a54cbc1b0f33a350874859f97f713182a3d478 -r5d7d6070e020dcc02fefb624d582c958d9bd9890 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.IO/Readers/GrassCoverErosionInwardsCalculationConfigurationReader.cs (.../GrassCoverErosionInwardsCalculationConfigurationReader.cs) (revision d0a54cbc1b0f33a350874859f97f713182a3d478) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.IO/Readers/GrassCoverErosionInwardsCalculationConfigurationReader.cs (.../GrassCoverErosionInwardsCalculationConfigurationReader.cs) (revision 5d7d6070e020dcc02fefb624d582c958d9bd9890) @@ -38,6 +38,12 @@ /// public class GrassCoverErosionInwardsCalculationConfigurationReader : CalculationConfigurationReader { + private const string hrLocatieSchemaName = "HrLocatieSchema.xsd"; + private const string orientatieSchemaName = "OrientatieSchema.xsd"; + private const string golfReductieSchemaName = "GolfReductieSchema.xsd"; + private const string stochastSchemaName = "StochastSchema.xsd"; + private const string stochastStandardDeviationSchemaName = "StochastStandardDeviationSchema.xsd"; + /// /// Creates a new instance of . /// @@ -57,16 +63,19 @@ new Dictionary { { - "HrLocatieSchema.xsd", RingtoetsCommonIOResources.HrLocatieSchema + hrLocatieSchemaName, RingtoetsCommonIOResources.HrLocatieSchema }, { - "OrientatieSchema.xsd", RingtoetsCommonIOResources.OrientatieSchema + orientatieSchemaName, RingtoetsCommonIOResources.OrientatieSchema }, { - "GolfReductieSchema.xsd", RingtoetsCommonIOResources.GolfReductieSchema + golfReductieSchemaName, RingtoetsCommonIOResources.GolfReductieSchema }, { - "StochastSchema.xsd", RingtoetsCommonIOResources.StochastSchema + stochastSchemaName, RingtoetsCommonIOResources.StochastSchema + }, + { + stochastStandardDeviationSchemaName, RingtoetsCommonIOResources.StochastStandardDeviationSchema } }) {} Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.IO/Resources/GEKBConfiguratieSchema.xsd =================================================================== diff -u -r7a466d4ccb9d859b47f565b400808eb6933b18f0 -r5d7d6070e020dcc02fefb624d582c958d9bd9890 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.IO/Resources/GEKBConfiguratieSchema.xsd (.../GEKBConfiguratieSchema.xsd) (revision 7a466d4ccb9d859b47f565b400808eb6933b18f0) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.IO/Resources/GEKBConfiguratieSchema.xsd (.../GEKBConfiguratieSchema.xsd) (revision 5d7d6070e020dcc02fefb624d582c958d9bd9890) @@ -31,15 +31,15 @@ - + - + @@ -64,6 +64,13 @@ + + + + + + + - + @@ -64,16 +61,31 @@ + + + + + - + + + + + + + + + + Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Readers/PipingCalculationConfigurationReaderTest.cs =================================================================== diff -u -rbdf7f0211b88d757eb716dfbdf1a09bc0c0ec860 -r5d7d6070e020dcc02fefb624d582c958d9bd9890 --- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Readers/PipingCalculationConfigurationReaderTest.cs (.../PipingCalculationConfigurationReaderTest.cs) (revision bdf7f0211b88d757eb716dfbdf1a09bc0c0ec860) +++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Readers/PipingCalculationConfigurationReaderTest.cs (.../PipingCalculationConfigurationReaderTest.cs) (revision 5d7d6070e020dcc02fefb624d582c958d9bd9890) @@ -75,10 +75,10 @@ "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", - "The element 'stochast' has invalid child element 'verwachtingswaarde'.") + "Element 'verwachtingswaarde' cannot appear more than once if content model type is \"all\".") .SetName("invalidStochastMultipleMean"); yield return new TestCaseData("invalidStochastMultipleStandardDeviation.xml", - "The element 'stochast' has invalid child element 'standaardafwijking'.") + "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'") @@ -105,31 +105,31 @@ "There is a duplicate key sequence 'dempingsfactor' for the 'uniqueStochastNameConstraint' key or unique identity constraint.") .SetName("invalidMultipleDampingFactorExitStochast"); yield return new TestCaseData("invalidContainingBothAssessmentLevelAndHydraulicBoundaryLocation.xml", - "The element 'berekening' has invalid child element 'hrlocatie'.") + "Element 'hrlocatie' cannot appear more than once if content model type is \"all\".") .SetName("invalidContainingBothAssessmentLevelAndHydraulicBoundaryLocation"); yield return new TestCaseData("invalidCalculationMultipleAssessmentLevel.xml", - "The element 'berekening' has invalid child element 'toetspeil'.") + "Element 'toetspeil' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleAssessmentLevel"); yield return new TestCaseData("invalidCalculationMultipleHydraulicBoundaryLocation.xml", - "The element 'berekening' has invalid child element 'hrlocatie'.") + "Element 'hrlocatie' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleHydraulicBoundaryLocation"); yield return new TestCaseData("invalidCalculationMultipleSurfaceLine.xml", - "The element 'berekening' has invalid child element 'profielschematisatie'.") + "Element 'profielschematisatie' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleSurfaceLine"); yield return new TestCaseData("invalidCalculationMultipleEntryPoint.xml", - "The element 'berekening' has invalid child element 'intredepunt'.") + "Element 'intredepunt' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleEntryPoint"); yield return new TestCaseData("invalidCalculationMultipleExitPoint.xml", - "The element 'berekening' has invalid child element 'uittredepunt'.") + "Element 'uittredepunt' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleExitPoint"); yield return new TestCaseData("invalidCalculationMultipleStochasticSoilModel.xml", - "The element 'berekening' has invalid child element 'ondergrondmodel'.") + "Element 'ondergrondmodel' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleStochasticSoilModel"); yield return new TestCaseData("invalidCalculationMultipleStochasticSoilProfile.xml", - "The element 'berekening' has invalid child element 'ondergrondschematisatie'.") + "Element 'ondergrondschematisatie' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleStochasticSoilProfile"); yield return new TestCaseData("invalidCalculationMultipleStochasts.xml", - "The element 'berekening' has invalid child element 'stochasten'.") + "Element 'stochasten' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleStochasts"); yield return new TestCaseData("invalidConfigurationCalculationContainingEmptyHydraulicBoundaryLocation.xml", "The 'hrlocatie' element is invalid - The value '' is invalid according to its datatype 'String' - The actual length is less than the MinLength value.") Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationFullCalculationContainingAssessmentLevel.xml =================================================================== diff -u -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9 -r5d7d6070e020dcc02fefb624d582c958d9bd9890 --- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationFullCalculationContainingAssessmentLevel.xml (.../validConfigurationFullCalculationContainingAssessmentLevel.xml) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9) +++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationFullCalculationContainingAssessmentLevel.xml (.../validConfigurationFullCalculationContainingAssessmentLevel.xml) (revision 5d7d6070e020dcc02fefb624d582c958d9bd9890) @@ -3,8 +3,8 @@ 1.1 Profielschematisatie - 2.2 3.3 + 2.2 Ondergrondmodel Ondergrondschematisatie Index: Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Resources/BekledingenHrConfiguratieSchema.xsd =================================================================== diff -u -rb84f4b9c37b5ce0bd49b65269c4984c0bc1543e8 -r5d7d6070e020dcc02fefb624d582c958d9bd9890 --- Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Resources/BekledingenHrConfiguratieSchema.xsd (.../BekledingenHrConfiguratieSchema.xsd) (revision b84f4b9c37b5ce0bd49b65269c4984c0bc1543e8) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Resources/BekledingenHrConfiguratieSchema.xsd (.../BekledingenHrConfiguratieSchema.xsd) (revision 5d7d6070e020dcc02fefb624d582c958d9bd9890) @@ -29,7 +29,7 @@ - + @@ -39,7 +39,7 @@ - + Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/Readers/WaveConditionsCalculationConfigurationReaderTest.cs =================================================================== diff -u -rd0a54cbc1b0f33a350874859f97f713182a3d478 -r5d7d6070e020dcc02fefb624d582c958d9bd9890 --- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/Readers/WaveConditionsCalculationConfigurationReaderTest.cs (.../WaveConditionsCalculationConfigurationReaderTest.cs) (revision d0a54cbc1b0f33a350874859f97f713182a3d478) +++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/Readers/WaveConditionsCalculationConfigurationReaderTest.cs (.../WaveConditionsCalculationConfigurationReaderTest.cs) (revision 5d7d6070e020dcc02fefb624d582c958d9bd9890) @@ -36,38 +36,38 @@ public class WaveConditionsCalculationConfigurationReaderTest { private readonly string testDirectoryPath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Revetment.IO, - "WaveConditionsCalculationConfigurationReader"); + nameof(WaveConditionsCalculationConfigurationReader)); private static IEnumerable InvalidConfigurations { get { yield return new TestCaseData("invalidCalculationMultipleHydraulicBoundaryLocation.xml", - "The element 'berekening' has invalid child element 'hrlocatie'.") + "Element 'hrlocatie' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleHydraulicBoundaryLocation"); yield return new TestCaseData("invalidCalculationMultipleForeshoreProfile.xml", - "The element 'berekening' has invalid child element 'voorlandprofiel'.") + "Element 'voorlandprofiel' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleForeshoreProfile"); yield return new TestCaseData("invalidCalculationMultipleOrientation.xml", - "The element 'berekening' has invalid child element 'orientatie'.") + "Element 'orientatie' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleOrientation"); yield return new TestCaseData("invalidCalculationMultipleLowerBoundaryRevetment.xml", - "The element 'berekening' has invalid child element 'ondergrensbekleding'.") + "Element 'ondergrensbekleding' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleLowerBoundaryRevetment"); yield return new TestCaseData("invalidCalculationMultipleUpperBoundaryRevetment.xml", - "The element 'berekening' has invalid child element 'bovengrensbekleding'.") + "Element 'bovengrensbekleding' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleUpperBoundaryRevetment"); yield return new TestCaseData("invalidCalculationMultipleLowerBoundaryWaterLevels.xml", - "The element 'berekening' has invalid child element 'ondergrenswaterstanden'.") + "Element 'ondergrenswaterstanden' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleLowerBoundaryWaterLevels"); yield return new TestCaseData("invalidCalculationMultipleUpperBoundaryWaterLevels.xml", - "The element 'berekening' has invalid child element 'bovengrenswaterstanden'.") + "Element 'bovengrenswaterstanden' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleUpperBoundaryWaterLevels"); yield return new TestCaseData("invalidCalculationMultipleStepSize.xml", - "The element 'berekening' has invalid child element 'stapgrootte'.") + "Element 'stapgrootte' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleStepSize"); yield return new TestCaseData("invalidCalculationMultipleWaveReduction.xml", - "The element 'berekening' has invalid child element 'golfreductie'.") + "Element 'golfreductie' cannot appear more than once if content model type is \"all\".") .SetName("invalidCalculationMultipleWaveReduction"); yield return new TestCaseData("invalidCalculationMultipleDamUsage.xml", "The element 'golfreductie' has invalid child element 'damgebruiken'.")