Index: Riskeer/ClosingStructures/test/Riskeer.ClosingStructures.Forms.Test/PropertyClasses/ClosingStructuresInputContextPropertiesTest.cs =================================================================== diff -u -rd155d70a26b2cb5463ddadb0b00b5d6ec905a004 -rf720d5b26205c047e03a413ee532fe895429849f --- Riskeer/ClosingStructures/test/Riskeer.ClosingStructures.Forms.Test/PropertyClasses/ClosingStructuresInputContextPropertiesTest.cs (.../ClosingStructuresInputContextPropertiesTest.cs) (revision d155d70a26b2cb5463ddadb0b00b5d6ec905a004) +++ Riskeer/ClosingStructures/test/Riskeer.ClosingStructures.Forms.Test/PropertyClasses/ClosingStructuresInputContextPropertiesTest.cs (.../ClosingStructuresInputContextPropertiesTest.cs) (revision f720d5b26205c047e03a413ee532fe895429849f) @@ -793,6 +793,14 @@ SetPropertyAndVerifyNotificationsAndOutput( properties => properties.DrainCoefficient.Mean = newMean); } + + [Test] + public void DrainCoefficient_StandardDeviationChanged_InputChangedAndObservablesNotified() + { + RoundedDouble newStandardDeviation = new Random(21).NextRoundedDouble(); + SetPropertyAndVerifyNotificationsAndOutput( + properties => properties.DrainCoefficient.StandardDeviation = newStandardDeviation); + } [Test] public void LevelCrestStructureNotClosing_MeanChanged_InputChangedAndObservablesNotified() Index: Riskeer/Migration/src/Riskeer.Migration.Core/EmbeddedResources/DatabaseStructure20.1.sql =================================================================== diff -u -r5221a663706fc35a9cc101eb4af9a8c8bd444878 -rf720d5b26205c047e03a413ee532fe895429849f --- Riskeer/Migration/src/Riskeer.Migration.Core/EmbeddedResources/DatabaseStructure20.1.sql (.../DatabaseStructure20.1.sql) (revision 5221a663706fc35a9cc101eb4af9a8c8bd444878) +++ Riskeer/Migration/src/Riskeer.Migration.Core/EmbeddedResources/DatabaseStructure20.1.sql (.../DatabaseStructure20.1.sql) (revision f720d5b26205c047e03a413ee532fe895429849f) @@ -1,6 +1,6 @@ /* ---------------------------------------------------- */ /* Generated by Enterprise Architect Version 14.1 */ -/* Created On : 18-jan-2021 14:21:32 */ +/* Created On : 21-jan-2021 14:49:47 */ /* DBMS : SQLite */ /* ---------------------------------------------------- */ @@ -716,6 +716,7 @@ 'FailureProbabilityStructureWithErosion' REAL NOT NULL, 'DeviationWaveDirection' REAL NULL, 'DrainCoefficientMean' REAL NULL, + 'DrainCoefficientStandardDeviation' REAL NULL, 'ModelFactorSuperCriticalFlowMean' REAL NULL, 'StormDurationMean' REAL NULL, 'FactorStormDurationOpenStructure' REAL NULL, @@ -1810,6 +1811,7 @@ 'StormDurationMean' REAL NULL, 'FactorStormDurationOpenStructure' REAL NULL, 'DrainCoefficientMean' REAL NULL, + 'DrainCoefficientStandardDeviation' REAL NULL, 'FailureProbabilityStructureWithErosion' REAL NOT NULL, 'ShouldIllustrationPointsBeCalculated' TINYINT (1) NOT NULL, -- true or false 'RelevantForScenario' TINYINT (1) NOT NULL, Index: Riskeer/Migration/src/Riskeer.Migration.Core/EmbeddedResources/Migration_19.1_20.1.sql =================================================================== diff -u -r871d105304d7459807b99b06589e10843a72b001 -rf720d5b26205c047e03a413ee532fe895429849f --- Riskeer/Migration/src/Riskeer.Migration.Core/EmbeddedResources/Migration_19.1_20.1.sql (.../Migration_19.1_20.1.sql) (revision 871d105304d7459807b99b06589e10843a72b001) +++ Riskeer/Migration/src/Riskeer.Migration.Core/EmbeddedResources/Migration_19.1_20.1.sql (.../Migration_19.1_20.1.sql) (revision f720d5b26205c047e03a413ee532fe895429849f) @@ -54,6 +54,7 @@ [FailureProbabilityStructureWithErosion], [DeviationWaveDirection], [DrainCoefficientMean], + [DrainCoefficientStandardDeviation], [ModelFactorSuperCriticalFlowMean], [StormDurationMean], [FactorStormDurationOpenStructure], @@ -101,6 +102,7 @@ [FailureProbabilityStructureWithErosion], [DeviationWaveDirection], [DrainCoefficientMean], + 0.2, [ModelFactorSuperCriticalFlowMean], [StormDurationMean], [FactorStormDurationOpenStructure], @@ -521,6 +523,7 @@ [StormDurationMean], [FactorStormDurationOpenStructure], [DrainCoefficientMean], + [DrainCoefficientStandardDeviation], [FailureProbabilityStructureWithErosion], [ShouldIllustrationPointsBeCalculated], [RelevantForScenario], @@ -587,6 +590,7 @@ [StormDurationMean], [FactorStormDurationOpenStructure], [DrainCoefficientMean], + 0.2, [FailureProbabilityStructureWithErosion], [ShouldIllustrationPointsBeCalculated], CASE Index: Riskeer/Migration/test/Riskeer.Migration.Core.Test/test-data/MigrationTestProject201.risk =================================================================== diff -u -r5221a663706fc35a9cc101eb4af9a8c8bd444878 -rf720d5b26205c047e03a413ee532fe895429849f Binary files differ Index: Riskeer/Migration/test/Riskeer.Migration.Integration.Test/MigrationTo201IntegrationTest.cs =================================================================== diff -u -rdee95c47ef173fe8ff00297f227470004ed11252 -rf720d5b26205c047e03a413ee532fe895429849f --- Riskeer/Migration/test/Riskeer.Migration.Integration.Test/MigrationTo201IntegrationTest.cs (.../MigrationTo201IntegrationTest.cs) (revision dee95c47ef173fe8ff00297f227470004ed11252) +++ Riskeer/Migration/test/Riskeer.Migration.Integration.Test/MigrationTo201IntegrationTest.cs (.../MigrationTo201IntegrationTest.cs) (revision f720d5b26205c047e03a413ee532fe895429849f) @@ -229,6 +229,7 @@ "AND NEW.[FailureProbabilityStructureWithErosion] = OLD.[FailureProbabilityStructureWithErosion] " + "AND NEW.[DeviationWaveDirection] IS OLD.[DeviationWaveDirection] " + "AND NEW.[DrainCoefficientMean] IS OLD.[DrainCoefficientMean] " + + "AND NEW.[DrainCoefficientStandardDeviation] IS 0.2 " + "AND NEW.[ModelFactorSuperCriticalFlowMean] IS OLD.[ModelFactorSuperCriticalFlowMean] " + "AND NEW.[StormDurationMean] IS OLD.[StormDurationMean] " + "AND NEW.[FactorStormDurationOpenStructure] IS OLD.[FactorStormDurationOpenStructure] " + @@ -289,6 +290,7 @@ "AND NEW.[FailureProbabilityStructureWithErosion] = OLD.[FailureProbabilityStructureWithErosion] " + "AND NEW.[DeviationWaveDirection] IS OLD.[DeviationWaveDirection] " + "AND NEW.[DrainCoefficientMean] IS OLD.[DrainCoefficientMean] " + + "AND NEW.[DrainCoefficientStandardDeviation] IS 0.2 " + "AND NEW.[ModelFactorSuperCriticalFlowMean] IS OLD.[ModelFactorSuperCriticalFlowMean] " + "AND NEW.[StormDurationMean] IS OLD.[StormDurationMean] " + "AND NEW.[FactorStormDurationOpenStructure] IS OLD.[FactorStormDurationOpenStructure] " + @@ -508,6 +510,7 @@ "AND NEW.[StormDurationMean] IS OLD.[StormDurationMean] " + "AND NEW.[FactorStormDurationOpenStructure] IS OLD.[FactorStormDurationOpenStructure] " + "AND NEW.[DrainCoefficientMean] IS OLD.[DrainCoefficientMean] " + + "AND NEW.[DrainCoefficientStandardDeviation] IS 0.2 " + "AND NEW.[FailureProbabilityStructureWithErosion] IS OLD.[FailureProbabilityStructureWithErosion] " + "AND NEW.[ShouldIllustrationPointsBeCalculated] = OLD.[ShouldIllustrationPointsBeCalculated] " + "AND NEW.[RelevantForScenario] = 1 " + @@ -587,6 +590,7 @@ "AND NEW.[StormDurationMean] IS OLD.[StormDurationMean] " + "AND NEW.[FactorStormDurationOpenStructure] IS OLD.[FactorStormDurationOpenStructure] " + "AND NEW.[DrainCoefficientMean] IS OLD.[DrainCoefficientMean] " + + "AND NEW.[DrainCoefficientStandardDeviation] IS 0.2 " + "AND NEW.[FailureProbabilityStructureWithErosion] IS OLD.[FailureProbabilityStructureWithErosion] " + "AND NEW.[ShouldIllustrationPointsBeCalculated] = OLD.[ShouldIllustrationPointsBeCalculated] " + "AND NEW.[RelevantForScenario] = 0 " + Index: Riskeer/StabilityPointStructures/test/Riskeer.StabilityPointStructures.Forms.Test/PropertyClasses/StabilityPointStructuresInputContextPropertiesTest.cs =================================================================== diff -u -rd155d70a26b2cb5463ddadb0b00b5d6ec905a004 -rf720d5b26205c047e03a413ee532fe895429849f --- Riskeer/StabilityPointStructures/test/Riskeer.StabilityPointStructures.Forms.Test/PropertyClasses/StabilityPointStructuresInputContextPropertiesTest.cs (.../StabilityPointStructuresInputContextPropertiesTest.cs) (revision d155d70a26b2cb5463ddadb0b00b5d6ec905a004) +++ Riskeer/StabilityPointStructures/test/Riskeer.StabilityPointStructures.Forms.Test/PropertyClasses/StabilityPointStructuresInputContextPropertiesTest.cs (.../StabilityPointStructuresInputContextPropertiesTest.cs) (revision f720d5b26205c047e03a413ee532fe895429849f) @@ -1446,6 +1446,14 @@ SetPropertyAndVerifyNotificationsAndOutput( properties => properties.DrainCoefficient.Mean = newMean); } + + [Test] + public void DrainCoefficient_StandardDeviationChanged_InputChangedAndObservablesNotified() + { + RoundedDouble newStandardDeviation = new Random(21).NextRoundedDouble(); + SetPropertyAndVerifyNotificationsAndOutput( + properties => properties.DrainCoefficient.StandardDeviation = newStandardDeviation); + } [Test] public void LevelCrestStructure_MeanChanged_InputChangedAndObservablesNotified()