Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Configurations/ClosingStructuresCalculationConfigurationImporter.cs
===================================================================
diff -u -rb574376e8d2b485ff320504841723923c1e41331 -r4e27904f8aee7ae9723f57336764c585a3b9300d
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Configurations/ClosingStructuresCalculationConfigurationImporter.cs (.../ClosingStructuresCalculationConfigurationImporter.cs) (revision b574376e8d2b485ff320504841723923c1e41331)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Configurations/ClosingStructuresCalculationConfigurationImporter.cs (.../ClosingStructuresCalculationConfigurationImporter.cs) (revision 4e27904f8aee7ae9723f57336764c585a3b9300d)
@@ -203,9 +203,10 @@
private bool ValidateStochasts(ClosingStructuresCalculationConfiguration configuration)
{
- if (configuration.DrainCoefficient?.StandardDeviation != null)
+ if (configuration.DrainCoefficient?.StandardDeviation != null
+ || configuration.DrainCoefficient?.VariationCoefficient != null)
{
- Log.LogCalculationConversionError(Resources.CalculationConfigurationImporter_ValidateStochasts_Cannot_define_StandardDeviation_for_DrainCoefficient,
+ Log.LogCalculationConversionError(Resources.CalculationConfigurationImporter_ValidateStochasts_Cannot_define_spread_for_DrainCoefficient,
configuration.Name);
return false;
}
Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Properties/Resources.Designer.cs
===================================================================
diff -u -r5f489223b4d730eec42acd55533dd012d10dd1ca -r4e27904f8aee7ae9723f57336764c585a3b9300d
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 5f489223b4d730eec42acd55533dd012d10dd1ca)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 4e27904f8aee7ae9723f57336764c585a3b9300d)
@@ -82,12 +82,12 @@
}
///
- /// Looks up a localized string similar to Er kan geen standaardafwijking voor stochast 'afvoercoefficient' opgegeven worden..
+ /// Looks up a localized string similar to Er kan geen spreiding voor stochast 'afvoercoefficient' opgegeven worden..
///
- internal static string CalculationConfigurationImporter_ValidateStochasts_Cannot_define_StandardDeviation_for_DrainCoefficient {
+ internal static string CalculationConfigurationImporter_ValidateStochasts_Cannot_define_spread_for_DrainCoefficient {
get {
- return ResourceManager.GetString("CalculationConfigurationImporter_ValidateStochasts_Cannot_define_StandardDeviatio" +
- "n_for_DrainCoefficient", resourceCulture);
+ return ResourceManager.GetString("CalculationConfigurationImporter_ValidateStochasts_Cannot_define_spread_for_Drain" +
+ "Coefficient", resourceCulture);
}
}
Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Properties/Resources.resx
===================================================================
diff -u -r5f489223b4d730eec42acd55533dd012d10dd1ca -r4e27904f8aee7ae9723f57336764c585a3b9300d
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Properties/Resources.resx (.../Resources.resx) (revision 5f489223b4d730eec42acd55533dd012d10dd1ca)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Properties/Resources.resx (.../Resources.resx) (revision 4e27904f8aee7ae9723f57336764c585a3b9300d)
@@ -117,8 +117,8 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- Er kan geen standaardafwijking voor stochast 'afvoercoefficient' opgegeven worden.
+
+ Er kan geen spreiding voor stochast 'afvoercoefficient' opgegeven worden.
Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Ringtoets.ClosingStructures.IO.csproj
===================================================================
diff -u -r335523a40d190e19b1061804de21c28f74140f52 -r4e27904f8aee7ae9723f57336764c585a3b9300d
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Ringtoets.ClosingStructures.IO.csproj (.../Ringtoets.ClosingStructures.IO.csproj) (revision 335523a40d190e19b1061804de21c28f74140f52)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Ringtoets.ClosingStructures.IO.csproj (.../Ringtoets.ClosingStructures.IO.csproj) (revision 4e27904f8aee7ae9723f57336764c585a3b9300d)
@@ -96,6 +96,7 @@
ResXFileCodeGenerator
Resources.Designer.cs
+ Designer
Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.IO.Test/Configurations/ClosingStructuresCalculationConfigurationImporterTest.cs
===================================================================
diff -u -r8df33e6574921c3f844c49268cfb649b2dc78368 -r4e27904f8aee7ae9723f57336764c585a3b9300d
--- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.IO.Test/Configurations/ClosingStructuresCalculationConfigurationImporterTest.cs (.../ClosingStructuresCalculationConfigurationImporterTest.cs) (revision 8df33e6574921c3f844c49268cfb649b2dc78368)
+++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.IO.Test/Configurations/ClosingStructuresCalculationConfigurationImporterTest.cs (.../ClosingStructuresCalculationConfigurationImporterTest.cs) (revision 4e27904f8aee7ae9723f57336764c585a3b9300d)
@@ -106,11 +106,17 @@
[Test]
[SetCulture("nl-NL")]
[TestCase("validConfigurationModelFactorSuperCriticalFlowStandardDeviation.xml",
- "Er kan geen standaardafwijking voor stochast 'modelfactoroverloopdebiet' opgegeven worden.")]
+ "Er kan geen spreiding voor stochast 'modelfactoroverloopdebiet' opgegeven worden.")]
+ [TestCase("validConfigurationModelFactorSuperCriticalFlowVariationCoefficient.xml",
+ "Er kan geen spreiding voor stochast 'modelfactoroverloopdebiet' opgegeven worden.")]
[TestCase("validConfigurationStormDurationVariationCoefficient.xml",
- "Er kan geen variatiecoëfficiënt voor stochast 'stormduur' opgegeven worden.")]
+ "Er kan geen spreiding voor stochast 'stormduur' opgegeven worden.")]
+ [TestCase("validConfigurationStormDurationStandardDeviation.xml",
+ "Er kan geen spreiding voor stochast 'stormduur' opgegeven worden.")]
[TestCase("validConfigurationDrainCoefficientStandardDeviation.xml",
- "Er kan geen standaardafwijking voor stochast 'afvoercoefficient' opgegeven worden.")]
+ "Er kan geen spreiding voor stochast 'afvoercoefficient' opgegeven worden.")]
+ [TestCase("validConfigurationDrainCoefficientVariationCoefficient.xml",
+ "Er kan geen spreiding voor stochast 'afvoercoefficient' opgegeven worden.")]
[TestCase("validConfigurationFailureProbabilityOpenStructureWithoutStructure.xml",
"Er is geen kunstwerk opgegeven om kans mislukken sluiting aan toe te voegen.")]
[TestCase("validConfigurationFailureProbabilityReparationWithoutStructure.xml",
@@ -168,20 +174,14 @@
[TestCase("validConfigurationAllowedLevelIncreaseStorageVariationCoefficient.xml",
"Indien voor parameter 'peilverhogingkomberging' de spreiding wordt opgegeven, moet dit door middel van een standaardafwijking. Voor berekening 'Berekening 1' is een variatiecoëfficiënt gevonden.")]
- [TestCase("validConfigurationDrainCoefficientVariationCoefficient.xml",
- "Indien voor parameter 'afvoercoefficient' de spreiding wordt opgegeven, moet dit door middel van een standaardafwijking. Voor berekening 'Berekening 1' is een variatiecoëfficiënt gevonden.")]
[TestCase("validConfigurationFlowWidthAtBottomProtectionVariationCoefficient.xml",
"Indien voor parameter 'breedtebodembescherming' de spreiding wordt opgegeven, moet dit door middel van een standaardafwijking. Voor berekening 'Berekening 1' is een variatiecoëfficiënt gevonden.")]
[TestCase("validConfigurationInvalidCriticalOvertoppingDischargeStandardDeviation.xml",
"Indien voor parameter 'kritiekinstromenddebiet' de spreiding wordt opgegeven, moet dit door middel van een variatiecoëfficiënt. Voor berekening 'Berekening 1' is een standaardafwijking gevonden.")]
[TestCase("validConfigurationLevelCrestStructureNotClosingVariationCoefficient.xml",
"Indien voor parameter 'kruinhoogte' de spreiding wordt opgegeven, moet dit door middel van een standaardafwijking. Voor berekening 'Berekening 1' is een variatiecoëfficiënt gevonden.")]
- [TestCase("validConfigurationModelFactorSuperCriticalFlowVariationCoefficient.xml",
- "Indien voor parameter 'modelfactoroverloopdebiet' de spreiding wordt opgegeven, moet dit door middel van een standaardafwijking. Voor berekening 'Berekening 1' is een variatiecoëfficiënt gevonden.")]
[TestCase("validConfigurationStorageStructureAreaStandardDeviation.xml",
"Indien voor parameter 'kombergendoppervlak' de spreiding wordt opgegeven, moet dit door middel van een variatiecoëfficiënt. Voor berekening 'Berekening 1' is een standaardafwijking gevonden.")]
- [TestCase("validConfigurationStormDurationStandardDeviation.xml",
- "Indien voor parameter 'stormduur' de spreiding wordt opgegeven, moet dit door middel van een variatiecoëfficiënt. Voor berekening 'Berekening 1' is een standaardafwijking gevonden.")]
[TestCase("validConfigurationWidthFlowAperturesVariationCoefficient.xml",
"Indien voor parameter 'breedtedoorstroomopening' de spreiding wordt opgegeven, moet dit door middel van een standaardafwijking. Voor berekening 'Berekening 1' is een variatiecoëfficiënt gevonden.")]
[TestCase("validConfigurationAreaFlowAperturesVariationCoefficient.xml",
Index: Ringtoets/Common/src/Ringtoets.Common.IO/Configurations/Helpers/ConfigurationValidationExtensions.cs
===================================================================
diff -u -r1127011aaf7ba5f521e709a7ab54d212e1a18fe3 -r4e27904f8aee7ae9723f57336764c585a3b9300d
--- Ringtoets/Common/src/Ringtoets.Common.IO/Configurations/Helpers/ConfigurationValidationExtensions.cs (.../ConfigurationValidationExtensions.cs) (revision 1127011aaf7ba5f521e709a7ab54d212e1a18fe3)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/Configurations/Helpers/ConfigurationValidationExtensions.cs (.../ConfigurationValidationExtensions.cs) (revision 4e27904f8aee7ae9723f57336764c585a3b9300d)
@@ -73,6 +73,7 @@
}
return true;
}
+
///
/// Validates the parameters of shared stochasts in a structure calculation.
///
@@ -91,15 +92,17 @@
throw new ArgumentNullException(nameof(log));
}
- if (configuration.StormDuration?.VariationCoefficient != null)
+ if (configuration.StormDuration?.StandardDeviation != null
+ || configuration.StormDuration?.VariationCoefficient != null)
{
- log.LogCalculationConversionError(Resources.CalculationConfigurationImporter_ValidateStochasts_Cannot_define_VariationCoefficient_for_StormDuration,
+ log.LogCalculationConversionError(Resources.CalculationConfigurationImporter_ValidateStochasts_Cannot_define_spread_for_StormDuration,
configuration.Name);
return false;
}
- if (configuration.ModelFactorSuperCriticalFlow?.StandardDeviation != null)
+ if (configuration.ModelFactorSuperCriticalFlow?.StandardDeviation != null
+ || configuration.ModelFactorSuperCriticalFlow?.VariationCoefficient != null)
{
- log.LogCalculationConversionError(Resources.CalculationConfigurationImporter_ValidateStochasts_Cannot_define_StandardDeviation_for_ModelFactorSuperCriticalFlow,
+ log.LogCalculationConversionError(Resources.CalculationConfigurationImporter_ValidateStochasts_Cannot_define_spread_for_ModelFactorSuperCriticalFlow,
configuration.Name);
return false;
}
Index: Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.Designer.cs
===================================================================
diff -u -r924f2389eed79b61cb12b8042fe23b9a0499e3b5 -r4e27904f8aee7ae9723f57336764c585a3b9300d
--- Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 924f2389eed79b61cb12b8042fe23b9a0499e3b5)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 4e27904f8aee7ae9723f57336764c585a3b9300d)
@@ -265,22 +265,22 @@
}
///
- /// Looks up a localized string similar to Er kan geen standaardafwijking voor stochast 'modelfactoroverloopdebiet' opgegeven worden..
+ /// Looks up a localized string similar to Er kan geen spreiding voor stochast 'modelfactoroverloopdebiet' opgegeven worden..
///
- public static string CalculationConfigurationImporter_ValidateStochasts_Cannot_define_StandardDeviation_for_ModelFactorSuperCriticalFlow {
+ public static string CalculationConfigurationImporter_ValidateStochasts_Cannot_define_spread_for_ModelFactorSuperCriticalFlow {
get {
- return ResourceManager.GetString("CalculationConfigurationImporter_ValidateStochasts_Cannot_define_StandardDeviatio" +
- "n_for_ModelFactorSuperCriticalFlow", resourceCulture);
+ return ResourceManager.GetString("CalculationConfigurationImporter_ValidateStochasts_Cannot_define_spread_for_Model" +
+ "FactorSuperCriticalFlow", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Er kan geen variatiecoëfficiënt voor stochast 'stormduur' opgegeven worden..
+ /// Looks up a localized string similar to Er kan geen spreiding voor stochast 'stormduur' opgegeven worden..
///
- public static string CalculationConfigurationImporter_ValidateStochasts_Cannot_define_VariationCoefficient_for_StormDuration {
+ public static string CalculationConfigurationImporter_ValidateStochasts_Cannot_define_spread_for_StormDuration {
get {
- return ResourceManager.GetString("CalculationConfigurationImporter_ValidateStochasts_Cannot_define_VariationCoeffic" +
- "ient_for_StormDuration", resourceCulture);
+ return ResourceManager.GetString("CalculationConfigurationImporter_ValidateStochasts_Cannot_define_spread_for_Storm" +
+ "Duration", resourceCulture);
}
}
Index: Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.resx
===================================================================
diff -u -r924f2389eed79b61cb12b8042fe23b9a0499e3b5 -r4e27904f8aee7ae9723f57336764c585a3b9300d
--- Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.resx (.../Resources.resx) (revision 924f2389eed79b61cb12b8042fe23b9a0499e3b5)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/Properties/Resources.resx (.../Resources.resx) (revision 4e27904f8aee7ae9723f57336764c585a3b9300d)
@@ -613,11 +613,11 @@
Het opgegeven voorlandprofiel '{0}' heeft geen voorlandgeometrie en kan daarom niet gebruikt worden.
-
- Er kan geen variatiecoëfficiënt voor stochast 'stormduur' opgegeven worden.
+
+ Er kan geen spreiding voor stochast 'stormduur' opgegeven worden.
-
- Er kan geen standaardafwijking voor stochast 'modelfactoroverloopdebiet' opgegeven worden.
+
+ Er kan geen spreiding voor stochast 'modelfactoroverloopdebiet' opgegeven worden.
kans mislukken sluiting
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/Configurations/Helpers/ConfigurationValidationExtensionsTest.cs
===================================================================
diff -u -reeac9fe0e250075e6e95683e4781b7b96ddc178c -r4e27904f8aee7ae9723f57336764c585a3b9300d
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/Configurations/Helpers/ConfigurationValidationExtensionsTest.cs (.../ConfigurationValidationExtensionsTest.cs) (revision eeac9fe0e250075e6e95683e4781b7b96ddc178c)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/Configurations/Helpers/ConfigurationValidationExtensionsTest.cs (.../ConfigurationValidationExtensionsTest.cs) (revision 4e27904f8aee7ae9723f57336764c585a3b9300d)
@@ -42,7 +42,7 @@
const string calculationName = "calculation";
// Call
- TestDelegate test = () => ((WaveReductionConfiguration)null).ValidateWaveReduction(null, calculationName, null);
+ TestDelegate test = () => ((WaveReductionConfiguration) null).ValidateWaveReduction(null, calculationName, null);
// Assert
var exception = Assert.Throws(test);
@@ -58,7 +58,7 @@
mocks.ReplayAll();
// Call
- TestDelegate test = () => ((WaveReductionConfiguration)null).ValidateWaveReduction(null, null, log);
+ TestDelegate test = () => ((WaveReductionConfiguration) null).ValidateWaveReduction(null, null, log);
// Assert
var exception = Assert.Throws(test);
@@ -77,7 +77,7 @@
mocks.ReplayAll();
// Call
- bool valid = ((WaveReductionConfiguration)null).ValidateWaveReduction(null, calculationName, log);
+ bool valid = ((WaveReductionConfiguration) null).ValidateWaveReduction(null, calculationName, log);
// Assert
Assert.IsTrue(valid);
@@ -155,7 +155,7 @@
// Call
bool valid = ((WaveReductionConfiguration) null).ValidateWaveReduction(
new TestForeshoreProfile("voorland", Enumerable.Empty()),
- calculationName,
+ calculationName,
log);
// Assert
@@ -240,7 +240,7 @@
mocks.ReplayAll();
// Call
- TestDelegate test = () => ((StructuresCalculationConfiguration)null).ValidateStructureBaseStochasts(log);
+ TestDelegate test = () => ((StructuresCalculationConfiguration) null).ValidateStructureBaseStochasts(log);
// Assert
var exception = Assert.Throws(test);
@@ -268,24 +268,34 @@
}
[Test]
- public void ValidateStochasts_StormDurationWithVariationCoefficient_ReturnsFalseLogsError()
+ [TestCase(true, false)]
+ [TestCase(false, true)]
+ [TestCase(true, true)]
+ public void ValidateStochasts_StormDurationWithVariationCoefficient_ReturnsFalseLogsError(bool standardDeviation, bool variationCoefficient)
{
// Setup
const string calculationName = "calculation";
const string expectedMessage = "{0} Berekening '{1}' is overgeslagen.";
- string error = "Er kan geen variatiecoëfficiënt voor stochast 'stormduur' opgegeven worden.";
+ string error = "Er kan geen spreiding voor stochast 'stormduur' opgegeven worden.";
var mocks = new MockRepository();
var log = mocks.StrictMock();
log.Expect(l => l.ErrorFormat(expectedMessage, error, calculationName));
mocks.ReplayAll();
+ var stochastConfiguration = new StochastConfiguration();
+ if (standardDeviation)
+ {
+ stochastConfiguration.StandardDeviation = new Random(21).NextDouble();
+ }
+ if (variationCoefficient)
+ {
+ stochastConfiguration.VariationCoefficient = new Random(21).NextDouble();
+ }
+
var configuration = new TestStructuresCalculationConfiguration(calculationName)
{
- StormDuration = new StochastConfiguration
- {
- VariationCoefficient = new Random(21).NextDouble()
- }
+ StormDuration = stochastConfiguration
};
// Call
@@ -321,24 +331,34 @@
}
[Test]
- public void ValidateStochasts_ModelFactorSuperCriticalFlowWithStandardDeviation_ReturnsFalseLogsError()
+ [TestCase(true, false)]
+ [TestCase(false, true)]
+ [TestCase(true, true)]
+ public void ValidateStochasts_ModelFactorSuperCriticalFlowWithStandardDeviation_ReturnsFalseLogsError(bool standardDeviation, bool variationCoefficient)
{
// Setup
const string calculationName = "calculation";
const string expectedMessage = "{0} Berekening '{1}' is overgeslagen.";
- string error = "Er kan geen standaardafwijking voor stochast 'modelfactoroverloopdebiet' opgegeven worden.";
+ string error = "Er kan geen spreiding voor stochast 'modelfactoroverloopdebiet' opgegeven worden.";
var mocks = new MockRepository();
var log = mocks.StrictMock();
log.Expect(l => l.ErrorFormat(expectedMessage, error, calculationName));
mocks.ReplayAll();
+ var stochastConfiguration = new StochastConfiguration();
+ if (standardDeviation)
+ {
+ stochastConfiguration.StandardDeviation = new Random(21).NextDouble();
+ }
+ if (variationCoefficient)
+ {
+ stochastConfiguration.VariationCoefficient = new Random(21).NextDouble();
+ }
+
var configuration = new TestStructuresCalculationConfiguration(calculationName)
{
- ModelFactorSuperCriticalFlow = new StochastConfiguration()
- {
- StandardDeviation = new Random(21).NextDouble()
- }
+ ModelFactorSuperCriticalFlow = stochastConfiguration
};
// Call
@@ -374,7 +394,8 @@
}
}
- public class TestStructuresCalculationConfiguration : StructuresCalculationConfiguration {
+ public class TestStructuresCalculationConfiguration : StructuresCalculationConfiguration
+ {
public TestStructuresCalculationConfiguration(string name) : base(name) {}
}
}
\ No newline at end of file
Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/Configurations/HeightStructuresCalculationConfigurationImporterTest.cs
===================================================================
diff -u -r924f2389eed79b61cb12b8042fe23b9a0499e3b5 -r4e27904f8aee7ae9723f57336764c585a3b9300d
--- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/Configurations/HeightStructuresCalculationConfigurationImporterTest.cs (.../HeightStructuresCalculationConfigurationImporterTest.cs) (revision 924f2389eed79b61cb12b8042fe23b9a0499e3b5)
+++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/Configurations/HeightStructuresCalculationConfigurationImporterTest.cs (.../HeightStructuresCalculationConfigurationImporterTest.cs) (revision 4e27904f8aee7ae9723f57336764c585a3b9300d)
@@ -106,9 +106,13 @@
[Test]
[SetCulture("nl-NL")]
[TestCase("validConfigurationModelFactorSuperCriticalFlowStandardDeviation.xml",
- "Er kan geen standaardafwijking voor stochast 'modelfactoroverloopdebiet' opgegeven worden.")]
+ "Er kan geen spreiding voor stochast 'modelfactoroverloopdebiet' opgegeven worden.")]
+ [TestCase("validConfigurationModelFactorSuperCriticalFlowVariationCoefficient.xml",
+ "Er kan geen spreiding voor stochast 'modelfactoroverloopdebiet' opgegeven worden.")]
[TestCase("validConfigurationStormDurationVariationCoefficient.xml",
- "Er kan geen variatiecoëfficiënt voor stochast 'stormduur' opgegeven worden.")]
+ "Er kan geen spreiding voor stochast 'stormduur' opgegeven worden.")]
+ [TestCase("validConfigurationStormDurationStandardDeviation.xml",
+ "Er kan geen spreiding voor stochast 'stormduur' opgegeven worden.")]
[TestCase("validConfigurationFailureProbabilityStructureErosionWithoutStructure.xml",
"Er is geen kunstwerk opgegeven om faalkans gegeven erosie bodem aan toe te voegen.")]
[TestCase("validConfigurationOrientationWithoutStructure.xml",
@@ -150,12 +154,8 @@
"Indien voor parameter 'breedtebodembescherming' de spreiding wordt opgegeven, moet dit door middel van een standaardafwijking. Voor berekening 'Berekening 1' is een variatiecoëfficiënt gevonden.")]
[TestCase("validConfigurationLevelCrestStructureVariationCoefficient.xml",
"Indien voor parameter 'kerendehoogte' de spreiding wordt opgegeven, moet dit door middel van een standaardafwijking. Voor berekening 'Berekening 1' is een variatiecoëfficiënt gevonden.")]
- [TestCase("validConfigurationModelFactorSuperCriticalFlowVariationCoefficient.xml",
- "Indien voor parameter 'modelfactoroverloopdebiet' de spreiding wordt opgegeven, moet dit door middel van een standaardafwijking. Voor berekening 'Berekening 1' is een variatiecoëfficiënt gevonden.")]
[TestCase("validConfigurationStorageStructureAreaStandardDeviation.xml",
"Indien voor parameter 'kombergendoppervlak' de spreiding wordt opgegeven, moet dit door middel van een variatiecoëfficiënt. Voor berekening 'Berekening 1' is een standaardafwijking gevonden.")]
- [TestCase("validConfigurationStormDurationStandardDeviation.xml",
- "Indien voor parameter 'stormduur' de spreiding wordt opgegeven, moet dit door middel van een variatiecoëfficiënt. Voor berekening 'Berekening 1' is een standaardafwijking gevonden.")]
[TestCase("validConfigurationWidthFlowAperturesVariationCoefficient.xml",
"Indien voor parameter 'breedtedoorstroomopening' de spreiding wordt opgegeven, moet dit door middel van een standaardafwijking. Voor berekening 'Berekening 1' is een variatiecoëfficiënt gevonden.")]
public void Import_ValidConfigurationInvalidData_LogMessageAndContinueImport(string file, string expectedErrorMessage)