Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfile/SoilProfile1DReader.cs =================================================================== diff -u -r980449901d9470be8933a1cc8f8cb3a874b710df -rcc4c82e26b2448cd0975bc965a4a6f1faa0c1b11 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfile/SoilProfile1DReader.cs (.../SoilProfile1DReader.cs) (revision 980449901d9470be8933a1cc8f8cb3a874b710df) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfile/SoilProfile1DReader.cs (.../SoilProfile1DReader.cs) (revision cc4c82e26b2448cd0975bc965a4a6f1faa0c1b11) @@ -103,19 +103,7 @@ { IsAquifer = properties.IsAquifer, MaterialName = properties.MaterialName, - Color = properties.Color, - BelowPhreaticLevelDistribution = properties.BelowPhreaticLevelDistribution, - BelowPhreaticLevelShift = properties.BelowPhreaticLevelShift, - BelowPhreaticLevelMean = properties.BelowPhreaticLevelMean, - BelowPhreaticLevelDeviation = properties.BelowPhreaticLevelDeviation, - DiameterD70Distribution = properties.DiameterD70Distribution, - DiameterD70Shift = properties.DiameterD70Shift, - DiameterD70Mean = properties.DiameterD70Mean, - DiameterD70CoefficientOfVariation = properties.DiameterD70CoefficientOfVariation, - PermeabilityDistribution = properties.PermeabilityDistribution, - PermeabilityShift = properties.PermeabilityShift, - PermeabilityMean = properties.PermeabilityMean, - PermeabilityCoefficientOfVariation = properties.PermeabilityCoefficientOfVariation + Color = properties.Color }; return pipingSoilLayer; } Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfile/SoilProfile2DReader.cs =================================================================== diff -u -r980449901d9470be8933a1cc8f8cb3a874b710df -rcc4c82e26b2448cd0975bc965a4a6f1faa0c1b11 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfile/SoilProfile2DReader.cs (.../SoilProfile2DReader.cs) (revision 980449901d9470be8933a1cc8f8cb3a874b710df) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfile/SoilProfile2DReader.cs (.../SoilProfile2DReader.cs) (revision cc4c82e26b2448cd0975bc965a4a6f1faa0c1b11) @@ -114,21 +114,6 @@ soilLayer.IsAquifer = properties.IsAquifer; soilLayer.MaterialName = properties.MaterialName; soilLayer.Color = properties.Color; - - soilLayer.BelowPhreaticLevelDistribution = properties.BelowPhreaticLevelDistribution; - soilLayer.BelowPhreaticLevelShift = properties.BelowPhreaticLevelShift; - soilLayer.BelowPhreaticLevelMean = properties.BelowPhreaticLevelMean; - soilLayer.BelowPhreaticLevelDeviation = properties.BelowPhreaticLevelDeviation; - - soilLayer.DiameterD70Distribution = properties.DiameterD70Distribution; - soilLayer.DiameterD70Shift = properties.DiameterD70Shift; - soilLayer.DiameterD70Mean = properties.DiameterD70Mean; - soilLayer.DiameterD70CoefficientOfVariation = properties.DiameterD70CoefficientOfVariation; - - soilLayer.PermeabilityDistribution = properties.PermeabilityDistribution; - soilLayer.PermeabilityShift = properties.PermeabilityShift; - soilLayer.PermeabilityMean = properties.PermeabilityMean; - soilLayer.PermeabilityCoefficientOfVariation = properties.PermeabilityCoefficientOfVariation; } return soilLayer; } Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.IO.Test/SoilProfile/SoilProfile1DReaderTest.cs =================================================================== diff -u -r980449901d9470be8933a1cc8f8cb3a874b710df -rcc4c82e26b2448cd0975bc965a4a6f1faa0c1b11 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.IO.Test/SoilProfile/SoilProfile1DReaderTest.cs (.../SoilProfile1DReaderTest.cs) (revision 980449901d9470be8933a1cc8f8cb3a874b710df) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.IO.Test/SoilProfile/SoilProfile1DReaderTest.cs (.../SoilProfile1DReaderTest.cs) (revision cc4c82e26b2448cd0975bc965a4a6f1faa0c1b11) @@ -176,13 +176,6 @@ Assert.AreEqual(Color.Empty, macroStabilityInwardsSoilLayer.Color); Assert.IsFalse(macroStabilityInwardsSoilLayer.IsAquifer); - Assert.IsNaN(macroStabilityInwardsSoilLayer.BelowPhreaticLevelMean); - Assert.IsNaN(macroStabilityInwardsSoilLayer.BelowPhreaticLevelDeviation); - Assert.IsNaN(macroStabilityInwardsSoilLayer.DiameterD70Mean); - Assert.IsNaN(macroStabilityInwardsSoilLayer.DiameterD70CoefficientOfVariation); - Assert.IsNaN(macroStabilityInwardsSoilLayer.PermeabilityMean); - Assert.IsNaN(macroStabilityInwardsSoilLayer.PermeabilityCoefficientOfVariation); - mocks.VerifyAll(); } @@ -200,9 +193,7 @@ // Assert string message = Assert.Throws(test).Message; - string expected = string.Format( - "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter '{0}' is niet verschoven lognormaal verdeeld.", - "Verzadigd gewicht"); + const string expected = "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter 'Verzadigd gewicht' is niet verschoven lognormaal verdeeld."; Assert.AreEqual(expected, message); mocks.VerifyAll(); } @@ -221,9 +212,7 @@ // Assert string message = Assert.Throws(test).Message; - string expected = string.Format( - "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter '{0}' is niet lognormaal verdeeld.", - "Korrelgrootte"); + const string expected = "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter 'Korrelgrootte' is niet lognormaal verdeeld."; Assert.AreEqual(expected, message); mocks.VerifyAll(); } @@ -243,9 +232,7 @@ // Assert string message = Assert.Throws(test).Message; - string expected = string.Format( - "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter '{0}' is niet lognormaal verdeeld.", - "Korrelgrootte"); + const string expected = "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter 'Korrelgrootte' is niet lognormaal verdeeld."; Assert.AreEqual(expected, message); mocks.VerifyAll(); } @@ -264,9 +251,7 @@ // Assert string message = Assert.Throws(test).Message; - string expected = string.Format( - "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter '{0}' is niet lognormaal verdeeld.", - "Doorlatendheid"); + const string expected = "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter 'Doorlatendheid' is niet lognormaal verdeeld."; Assert.AreEqual(expected, message); mocks.VerifyAll(); } @@ -286,9 +271,7 @@ // Assert string message = Assert.Throws(test).Message; - string expected = string.Format( - "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter '{0}' is niet lognormaal verdeeld.", - "Doorlatendheid"); + const string expected = "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter 'Doorlatendheid' is niet lognormaal verdeeld."; Assert.AreEqual(expected, message); mocks.VerifyAll(); } @@ -343,14 +326,7 @@ Assert.IsTrue(macroStabilityInwardsSoilLayer.IsAquifer); Assert.AreEqual(materialName, macroStabilityInwardsSoilLayer.MaterialName); Assert.AreEqual(color, macroStabilityInwardsSoilLayer.Color); - - Assert.AreEqual(belowPhreaticLevelMean, macroStabilityInwardsSoilLayer.BelowPhreaticLevelMean); - Assert.AreEqual(belowPhreaticLevelDeviation, macroStabilityInwardsSoilLayer.BelowPhreaticLevelDeviation); - Assert.AreEqual(diameterD70Mean, macroStabilityInwardsSoilLayer.DiameterD70Mean); - Assert.AreEqual(diameterD70CoefficientOfVariation, macroStabilityInwardsSoilLayer.DiameterD70CoefficientOfVariation); - Assert.AreEqual(permeabilityMean, macroStabilityInwardsSoilLayer.PermeabilityMean); - Assert.AreEqual(permeabilityCoefficientOfVariation, macroStabilityInwardsSoilLayer.PermeabilityCoefficientOfVariation); - + mocks.VerifyAll(); } Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.IO.Test/SoilProfile/SoilProfile2DReaderTest.cs =================================================================== diff -u -r980449901d9470be8933a1cc8f8cb3a874b710df -rcc4c82e26b2448cd0975bc965a4a6f1faa0c1b11 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.IO.Test/SoilProfile/SoilProfile2DReaderTest.cs (.../SoilProfile2DReaderTest.cs) (revision 980449901d9470be8933a1cc8f8cb3a874b710df) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.IO.Test/SoilProfile/SoilProfile2DReaderTest.cs (.../SoilProfile2DReaderTest.cs) (revision cc4c82e26b2448cd0975bc965a4a6f1faa0c1b11) @@ -249,13 +249,6 @@ Assert.IsEmpty(macroStabilityInwardsSoilLayer.MaterialName); Assert.AreEqual(Color.Empty, macroStabilityInwardsSoilLayer.Color); - Assert.IsNaN(macroStabilityInwardsSoilLayer.BelowPhreaticLevelMean); - Assert.IsNaN(macroStabilityInwardsSoilLayer.BelowPhreaticLevelDeviation); - Assert.IsNaN(macroStabilityInwardsSoilLayer.DiameterD70Mean); - Assert.IsNaN(macroStabilityInwardsSoilLayer.DiameterD70CoefficientOfVariation); - Assert.IsNaN(macroStabilityInwardsSoilLayer.PermeabilityMean); - Assert.IsNaN(macroStabilityInwardsSoilLayer.PermeabilityCoefficientOfVariation); - mocks.VerifyAll(); } @@ -308,14 +301,7 @@ Assert.IsTrue(macroStabilityInwardsSoilLayer.IsAquifer); Assert.AreEqual(materialName, macroStabilityInwardsSoilLayer.MaterialName); Assert.AreEqual(color, macroStabilityInwardsSoilLayer.Color); - - Assert.AreEqual(belowPhreaticLevelMean, macroStabilityInwardsSoilLayer.BelowPhreaticLevelMean); - Assert.AreEqual(belowPhreaticLevelDeviation, macroStabilityInwardsSoilLayer.BelowPhreaticLevelDeviation); - Assert.AreEqual(diameterD70Mean, macroStabilityInwardsSoilLayer.DiameterD70Mean); - Assert.AreEqual(diameterD70CoefficientOfVariation, macroStabilityInwardsSoilLayer.DiameterD70CoefficientOfVariation); - Assert.AreEqual(permeabilityMean, macroStabilityInwardsSoilLayer.PermeabilityMean); - Assert.AreEqual(permeabilityCoefficientOfVariation, macroStabilityInwardsSoilLayer.PermeabilityCoefficientOfVariation); - + mocks.VerifyAll(); } @@ -335,9 +321,7 @@ // Assert string message = Assert.Throws(test).Message; - string expected = string.Format( - "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter '{0}' is niet verschoven lognormaal verdeeld.", - "Verzadigd gewicht"); + const string expected = "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter 'Verzadigd gewicht' is niet verschoven lognormaal verdeeld."; Assert.AreEqual(expected, message); mocks.VerifyAll(); } @@ -358,9 +342,7 @@ // Assert string message = Assert.Throws(test).Message; - string expected = string.Format( - "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter '{0}' is niet lognormaal verdeeld.", - "Korrelgrootte"); + const string expected = "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter 'Korrelgrootte' is niet lognormaal verdeeld."; Assert.AreEqual(expected, message); mocks.VerifyAll(); } @@ -382,9 +364,7 @@ // Assert string message = Assert.Throws(test).Message; - string expected = string.Format( - "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter '{0}' is niet lognormaal verdeeld.", - "Korrelgrootte"); + const string expected = "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter 'Korrelgrootte' is niet lognormaal verdeeld."; Assert.AreEqual(expected, message); mocks.VerifyAll(); } @@ -405,9 +385,7 @@ // Assert string message = Assert.Throws(test).Message; - string expected = string.Format( - "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter '{0}' is niet lognormaal verdeeld.", - "Doorlatendheid"); + const string expected = "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter 'Doorlatendheid' is niet lognormaal verdeeld."; Assert.AreEqual(expected, message); mocks.VerifyAll(); } @@ -429,9 +407,7 @@ // Assert string message = Assert.Throws(test).Message; - string expected = string.Format( - "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter '{0}' is niet lognormaal verdeeld.", - "Doorlatendheid"); + const string expected = "Fout bij het lezen van bestand '' (ondergrondschematisatie ''): parameter 'Doorlatendheid' is niet lognormaal verdeeld."; Assert.AreEqual(expected, message); mocks.VerifyAll(); }