Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresFailureMechanism.cs =================================================================== diff -u -r13aca975c179d9609126daac3b96d59c3183be34 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresFailureMechanism.cs (.../StabilityPointStructuresFailureMechanism.cs) (revision 13aca975c179d9609126daac3b96d59c3183be34) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresFailureMechanism.cs (.../StabilityPointStructuresFailureMechanism.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -58,14 +58,6 @@ ForeshoreProfiles = new ForeshoreProfileCollection(); } - public override IEnumerable Calculations - { - get - { - return CalculationsGroup.GetCalculations().Cast>(); - } - } - /// /// Gets the general stability point structures calculation input parameters that apply to each calculation. /// @@ -81,6 +73,16 @@ /// public ForeshoreProfileCollection ForeshoreProfiles { get; } + public CalculationGroup CalculationsGroup { get; } + + public override IEnumerable Calculations + { + get + { + return CalculationsGroup.GetCalculations().Cast>(); + } + } + public IObservableEnumerable SectionResults { get @@ -89,8 +91,6 @@ } } - public CalculationGroup CalculationsGroup { get; } - protected override void AddSectionResult(FailureMechanismSection section) { base.AddSectionResult(section); Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs =================================================================== diff -u -r61d40fcfe715efa13eeeaec3f89b59d0e01b10b4 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs (.../StabilityPointStructuresInput.cs) (revision 61d40fcfe715efa13eeeaec3f89b59d0e01b10b4) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs (.../StabilityPointStructuresInput.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -621,6 +621,7 @@ throw new ArgumentOutOfRangeException(nameof(LevellingCount), Resources.StabilityPointStructuresInput_LevellingCount_must_be_equal_or_greater_to_zero); } + levellingCount = value; } } Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Forms/PresentationObjects/StabilityPointStructuresContext.cs =================================================================== diff -u -r23a31dd663977ebcc7fcf4c330fc3d980c953624 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Forms/PresentationObjects/StabilityPointStructuresContext.cs (.../StabilityPointStructuresContext.cs) (revision 23a31dd663977ebcc7fcf4c330fc3d980c953624) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Forms/PresentationObjects/StabilityPointStructuresContext.cs (.../StabilityPointStructuresContext.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -50,6 +50,7 @@ { throw new ArgumentNullException(nameof(assessmentSection)); } + if (failureMechanism == null) { throw new ArgumentNullException(nameof(failureMechanism)); Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Forms/Views/StabilityPointStructuresScenarioRow.cs =================================================================== diff -u -re3df14668605bd01c38378a286dec8f72b2fd601 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Forms/Views/StabilityPointStructuresScenarioRow.cs (.../StabilityPointStructuresScenarioRow.cs) (revision e3df14668605bd01c38378a286dec8f72b2fd601) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Forms/Views/StabilityPointStructuresScenarioRow.cs (.../StabilityPointStructuresScenarioRow.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -45,6 +45,7 @@ { throw new ArgumentNullException(nameof(sectionResult)); } + this.sectionResult = sectionResult; } Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Configurations/Helpers/ConfigurationStabilityPointStructuresInflowModelTypeConverter.cs =================================================================== diff -u -r92cd864b47e3af83619b7fd4b601c88697696b50 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Configurations/Helpers/ConfigurationStabilityPointStructuresInflowModelTypeConverter.cs (.../ConfigurationStabilityPointStructuresInflowModelTypeConverter.cs) (revision 92cd864b47e3af83619b7fd4b601c88697696b50) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Configurations/Helpers/ConfigurationStabilityPointStructuresInflowModelTypeConverter.cs (.../ConfigurationStabilityPointStructuresInflowModelTypeConverter.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -55,10 +55,12 @@ { return ConvertToString(type); } + if (destinationType == typeof(StabilityPointStructureInflowModelType)) { return ConvertToStabilityPointStructureInflowModelType(type); } + return base.ConvertTo(context, culture, value, destinationType); } @@ -81,17 +83,18 @@ } var inflowModelType = value as StabilityPointStructureInflowModelType?; - if (inflowModelType != null) + if (inflowModelType != null) { if (!Enum.IsDefined(typeof(StabilityPointStructureInflowModelType), inflowModelType)) { throw new InvalidEnumArgumentException(nameof(value), - (int)inflowModelType, + (int) inflowModelType, typeof(StabilityPointStructureInflowModelType)); } return ConvertToConfigurationInflowModelType(inflowModelType.Value); } + return base.ConvertFrom(context, culture, value); } Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Configurations/Helpers/ConfigurationStabilityPointStructuresLoadSchematizationTypeConverter.cs =================================================================== diff -u -r92cd864b47e3af83619b7fd4b601c88697696b50 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Configurations/Helpers/ConfigurationStabilityPointStructuresLoadSchematizationTypeConverter.cs (.../ConfigurationStabilityPointStructuresLoadSchematizationTypeConverter.cs) (revision 92cd864b47e3af83619b7fd4b601c88697696b50) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Configurations/Helpers/ConfigurationStabilityPointStructuresLoadSchematizationTypeConverter.cs (.../ConfigurationStabilityPointStructuresLoadSchematizationTypeConverter.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -47,18 +47,20 @@ if (!Enum.IsDefined(typeof(ConfigurationStabilityPointStructuresLoadSchematizationType), type)) { throw new InvalidEnumArgumentException(nameof(value), - (int)type, + (int) type, typeof(ConfigurationStabilityPointStructuresLoadSchematizationType)); } if (destinationType == typeof(string)) { return ConvertToString(type); } + if (destinationType == typeof(LoadSchematizationType)) { return ConvertToLoadSchematizationType(type); } + return base.ConvertTo(context, culture, value, destinationType); } @@ -79,6 +81,7 @@ { return ConvertToConfigurationStabilityPointStructuresLoadSchematizationType(text); } + var loadSchematizationType = value as LoadSchematizationType?; if (loadSchematizationType != null) { @@ -91,6 +94,7 @@ return ConvertToConfigurationStabilityPointStructuresLoadSchematizationType(loadSchematizationType.Value); } + return base.ConvertFrom(context, culture, value); } Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresImporter.cs =================================================================== diff -u -r575800d75878f201a36f9cb96bc575e25930f0c3 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresImporter.cs (.../StabilityPointStructuresImporter.cs) (revision 575800d75878f201a36f9cb96bc575e25930f0c3) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresImporter.cs (.../StabilityPointStructuresImporter.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -78,6 +78,7 @@ StabilityPointStructure stabilityPointStructure = CreateStabilityPointStructure(structureLocation, stabilityPointStructureParameters); stabilityPointStructures.Add(stabilityPointStructure); } + return stabilityPointStructures; } Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Plugin/FileImporters/StabilityPointStructuresFailureMechanismSectionResultUpdateStrategy.cs =================================================================== diff -u -r8aa75ea54b184b8ef6a1628da85e8f61260fa759 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Plugin/FileImporters/StabilityPointStructuresFailureMechanismSectionResultUpdateStrategy.cs (.../StabilityPointStructuresFailureMechanismSectionResultUpdateStrategy.cs) (revision 8aa75ea54b184b8ef6a1628da85e8f61260fa759) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Plugin/FileImporters/StabilityPointStructuresFailureMechanismSectionResultUpdateStrategy.cs (.../StabilityPointStructuresFailureMechanismSectionResultUpdateStrategy.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -29,7 +29,7 @@ /// An update strategy that can be used to update a instance with data /// from an old instance. /// - public class StabilityPointStructuresFailureMechanismSectionResultUpdateStrategy + public class StabilityPointStructuresFailureMechanismSectionResultUpdateStrategy : IFailureMechanismSectionResultUpdateStrategy { public void UpdateSectionResult(StabilityPointStructuresFailureMechanismSectionResult origin, StabilityPointStructuresFailureMechanismSectionResult target) Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs =================================================================== diff -u -r47f1e7dc57e0b4c5ece458c899b14a2bc52984f8 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs (.../StabilityPointStructuresInputTest.cs) (revision 47f1e7dc57e0b4c5ece458c899b14a2bc52984f8) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs (.../StabilityPointStructuresInputTest.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -1018,7 +1018,6 @@ call, "De waarde voor aantal nivelleringen per jaar moet groter of gelijk zijn aan 0."); } - #endregion #region Helpers Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.TestUtil.Test/StabilityPointStructurePermutationHelperTest.cs =================================================================== diff -u -r6949918830314633db5cc8c16bb2188779fffc93 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.TestUtil.Test/StabilityPointStructurePermutationHelperTest.cs (.../StabilityPointStructurePermutationHelperTest.cs) (revision 6949918830314633db5cc8c16bb2188779fffc93) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.TestUtil.Test/StabilityPointStructurePermutationHelperTest.cs (.../StabilityPointStructurePermutationHelperTest.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -78,9 +78,8 @@ private static void AssertTestNames(IEnumerable testCaseData, string targetName, string testResultDescription) { - IEnumerable testNames = testCaseData - .Select(tcd => tcd.TestName) - .ToArray(); + IEnumerable testNames = testCaseData.Select(tcd => tcd.TestName) + .ToArray(); Assert.AreEqual(testCaseData.Count(), testNames.Distinct().Count()); Assert.IsTrue(testNames.All(tn => tn.StartsWith($"{targetName}_"))); Assert.IsTrue(testNames.All(tn => tn.EndsWith($"_{testResultDescription}"))); @@ -91,10 +90,9 @@ var differentStructures = new List(); var referenceStructure = new TestStabilityPointStructure(); - IEnumerable structures = testCaseData - .Select(tcd => tcd.Arguments[0]) - .OfType() - .ToArray(); + IEnumerable structures = testCaseData.Select(tcd => tcd.Arguments[0]) + .OfType() + .ToArray(); int testCaseDataCount = testCaseData.Count(); Assert.AreEqual(testCaseDataCount, structures.Count()); Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/Configurations/StabilityPointStructuresCalculationStochastAssignerTest.cs =================================================================== diff -u -rf480fb0039a777a577a19bfe3e46db7c643f2607 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/Configurations/StabilityPointStructuresCalculationStochastAssignerTest.cs (.../StabilityPointStructuresCalculationStochastAssignerTest.cs) (revision f480fb0039a777a577a19bfe3e46db7c643f2607) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/Configurations/StabilityPointStructuresCalculationStochastAssignerTest.cs (.../StabilityPointStructuresCalculationStochastAssignerTest.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -315,6 +315,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.AreaFlowApertures = s, nameof(StabilityPointStructuresCalculationConfiguration.AreaFlowApertures), @@ -323,6 +324,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.BankWidth = s, nameof(StabilityPointStructuresCalculationConfiguration.BankWidth), @@ -331,6 +333,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.FlowWidthAtBottomProtection = s, nameof(StabilityPointStructuresCalculationConfiguration.FlowWidthAtBottomProtection), @@ -339,6 +342,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.InsideWaterLevel = s, nameof(StabilityPointStructuresCalculationConfiguration.InsideWaterLevel), @@ -347,6 +351,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.InsideWaterLevelFailureConstruction = s, nameof(StabilityPointStructuresCalculationConfiguration.InsideWaterLevelFailureConstruction), @@ -355,6 +360,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.LevelCrestStructure = s, nameof(StabilityPointStructuresCalculationConfiguration.LevelCrestStructure), @@ -363,6 +369,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.WidthFlowApertures = s, nameof(StabilityPointStructuresCalculationConfiguration.WidthFlowApertures), @@ -371,6 +378,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.ThresholdHeightOpenWeir = s, nameof(StabilityPointStructuresCalculationConfiguration.ThresholdHeightOpenWeir), @@ -379,6 +387,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.CriticalOvertoppingDischarge = s, nameof(StabilityPointStructuresCalculationConfiguration.CriticalOvertoppingDischarge), @@ -387,6 +396,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.ConstructiveStrengthLinearLoadModel = s, nameof(StabilityPointStructuresCalculationConfiguration.ConstructiveStrengthLinearLoadModel), @@ -395,6 +405,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.ConstructiveStrengthQuadraticLoadModel = s, nameof(StabilityPointStructuresCalculationConfiguration.ConstructiveStrengthQuadraticLoadModel), @@ -403,6 +414,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.FailureCollisionEnergy = s, nameof(StabilityPointStructuresCalculationConfiguration.FailureCollisionEnergy), @@ -411,6 +423,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.FlowVelocityStructureClosable = s, nameof(StabilityPointStructuresCalculationConfiguration.FlowVelocityStructureClosable), @@ -419,6 +432,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.ShipMass = s, nameof(StabilityPointStructuresCalculationConfiguration.ShipMass), @@ -427,6 +441,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.ShipVelocity = s, nameof(StabilityPointStructuresCalculationConfiguration.ShipVelocity), @@ -435,6 +450,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.StabilityLinearLoadModel = s, nameof(StabilityPointStructuresCalculationConfiguration.StabilityLinearLoadModel), @@ -443,6 +459,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.StabilityQuadraticLoadModel = s, nameof(StabilityPointStructuresCalculationConfiguration.StabilityQuadraticLoadModel), @@ -451,6 +468,7 @@ { yield return caseData; } + foreach (TestCaseData caseData in StochastConfigurationCases( (c, s) => c.StorageStructureArea = s, nameof(StabilityPointStructuresCalculationConfiguration.StorageStructureArea), Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresImporterTest.cs =================================================================== diff -u -ra940166534b3dd6e778de2e7c8e7e5241f3d3381 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresImporterTest.cs (.../StabilityPointStructuresImporterTest.cs) (revision a940166534b3dd6e778de2e7c8e7e5241f3d3381) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresImporterTest.cs (.../StabilityPointStructuresImporterTest.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -532,7 +532,8 @@ private static string CreateExpectedErrorMessage(string filePath, string structureName, string structureId, IEnumerable messages) { - return string.Format("Fout bij het lezen van bestand '{0}' (Kunstwerk '{1}' ({2})): klik op details voor meer informatie." + Environment.NewLine + return string.Format("Fout bij het lezen van bestand '{0}' (Kunstwerk '{1}' ({2})): klik op details voor meer informatie." + + Environment.NewLine + "Er zijn één of meerdere fouten gevonden waardoor dit kunstwerk niet ingelezen kan worden:" + Environment.NewLine + "{3}", filePath, structureName, structureId, string.Join(Environment.NewLine, messages.Select(msg => "* " + msg))); Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ExportInfos/StabilityPointStructuresCalculationContextExportInfoTest.cs =================================================================== diff -u -rac96d7c315129af851634ed5a4a6800b59ede718 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ExportInfos/StabilityPointStructuresCalculationContextExportInfoTest.cs (.../StabilityPointStructuresCalculationContextExportInfoTest.cs) (revision ac96d7c315129af851634ed5a4a6800b59ede718) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ExportInfos/StabilityPointStructuresCalculationContextExportInfoTest.cs (.../StabilityPointStructuresCalculationContextExportInfoTest.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -81,6 +81,7 @@ // Assert Assert.IsInstanceOf(fileExporter); } + mocks.VerifyAll(); } @@ -123,6 +124,7 @@ // Assert Assert.IsTrue(isEnabled); } + mocks.VerifyAll(); } Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ExportInfos/StabilityPointStructuresCalculationGroupContextExportInfoTest.cs =================================================================== diff -u -rac96d7c315129af851634ed5a4a6800b59ede718 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ExportInfos/StabilityPointStructuresCalculationGroupContextExportInfoTest.cs (.../StabilityPointStructuresCalculationGroupContextExportInfoTest.cs) (revision ac96d7c315129af851634ed5a4a6800b59ede718) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ExportInfos/StabilityPointStructuresCalculationGroupContextExportInfoTest.cs (.../StabilityPointStructuresCalculationGroupContextExportInfoTest.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -81,6 +81,7 @@ // Assert Assert.IsInstanceOf(fileExporter); } + mocks.VerifyAll(); } @@ -123,6 +124,7 @@ // Assert Assert.IsFalse(isEnabled); } + mocks.VerifyAll(); } @@ -163,6 +165,7 @@ // Assert Assert.IsTrue(isEnabled); } + mocks.VerifyAll(); } Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ImportInfos/StabilityPointStructuresCalculationGroupContextImportInfoTest.cs =================================================================== diff -u -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ImportInfos/StabilityPointStructuresCalculationGroupContextImportInfoTest.cs (.../StabilityPointStructuresCalculationGroupContextImportInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ImportInfos/StabilityPointStructuresCalculationGroupContextImportInfoTest.cs (.../StabilityPointStructuresCalculationGroupContextImportInfoTest.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -81,6 +81,7 @@ // Assert Assert.IsInstanceOf(fileImporter); } + mocks.VerifyAll(); } Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ImportInfos/StabilityPointStructuresContextImportInfoTest.cs =================================================================== diff -u -rac96d7c315129af851634ed5a4a6800b59ede718 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ImportInfos/StabilityPointStructuresContextImportInfoTest.cs (.../StabilityPointStructuresContextImportInfoTest.cs) (revision ac96d7c315129af851634ed5a4a6800b59ede718) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ImportInfos/StabilityPointStructuresContextImportInfoTest.cs (.../StabilityPointStructuresContextImportInfoTest.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -71,6 +71,7 @@ // Assert Assert.IsInstanceOf(importer); } + mocks.VerifyAll(); } @@ -163,6 +164,7 @@ // Assert Assert.IsTrue(isEnabled); } + mocks.VerifyAll(); } @@ -190,6 +192,7 @@ // Assert Assert.IsFalse(isEnabled); } + mocks.VerifyAll(); } Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructureTreeNodeInfoTest.cs =================================================================== diff -u -r1bbf51443c907b5f202e80764fa05f2e7f842c04 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructureTreeNodeInfoTest.cs (.../StabilityPointStructureTreeNodeInfoTest.cs) (revision 1bbf51443c907b5f202e80764fa05f2e7f842c04) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructureTreeNodeInfoTest.cs (.../StabilityPointStructureTreeNodeInfoTest.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -128,6 +128,7 @@ // Call info.ContextMenuStrip(null, null, treeViewControl); } + // Assert mocksRepository.VerifyAll(); } Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresContextTreeNodeInfoTest.cs =================================================================== diff -u -r3178e116f5e59e03078d465efeb303c5e232c7bf -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresContextTreeNodeInfoTest.cs (.../StabilityPointStructuresContextTreeNodeInfoTest.cs) (revision 3178e116f5e59e03078d465efeb303c5e232c7bf) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresContextTreeNodeInfoTest.cs (.../StabilityPointStructuresContextTreeNodeInfoTest.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -92,6 +92,7 @@ const string expectedText = "Kunstwerken"; Assert.AreEqual(expectedText, text); } + mocks.VerifyAll(); } @@ -118,6 +119,7 @@ // Assert TestHelper.AssertImagesAreEqual(RingtoetsCommonFormsProperties.GeneralFolderIcon, image); } + mocks.VerifyAll(); } @@ -151,6 +153,7 @@ // Assert Assert.AreEqual(Color.FromKnownColor(KnownColor.ControlText), color); } + mocks.VerifyAll(); } @@ -186,6 +189,7 @@ Assert.AreSame(structure1, children.ElementAt(0)); Assert.AreSame(structure2, children.ElementAt(1)); } + mocks.VerifyAll(); } @@ -215,6 +219,7 @@ // Assert Assert.AreEqual(Color.FromKnownColor(KnownColor.GrayText), color); } + mocks.VerifyAll(); } @@ -250,6 +255,7 @@ // Call info.ContextMenuStrip(null, null, treeViewControl); } + // Assert mocks.VerifyAll(); } Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresInputContextTreeNodeInfoTest.cs =================================================================== diff -u -r1bbf51443c907b5f202e80764fa05f2e7f842c04 -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresInputContextTreeNodeInfoTest.cs (.../StabilityPointStructuresInputContextTreeNodeInfoTest.cs) (revision 1bbf51443c907b5f202e80764fa05f2e7f842c04) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresInputContextTreeNodeInfoTest.cs (.../StabilityPointStructuresInputContextTreeNodeInfoTest.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -144,6 +144,7 @@ // Call info.ContextMenuStrip(null, null, treeViewControl); } + // Assert // Assert expectancies are called in TearDown() } Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresScenariosContextTreeNodeInfoTest.cs =================================================================== diff -u -r3178e116f5e59e03078d465efeb303c5e232c7bf -rc4df491b4c63c9eebccf74b0bc6d4bde5d9f7710 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresScenariosContextTreeNodeInfoTest.cs (.../StabilityPointStructuresScenariosContextTreeNodeInfoTest.cs) (revision 3178e116f5e59e03078d465efeb303c5e232c7bf) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresScenariosContextTreeNodeInfoTest.cs (.../StabilityPointStructuresScenariosContextTreeNodeInfoTest.cs) (revision c4df491b4c63c9eebccf74b0bc6d4bde5d9f7710) @@ -123,6 +123,7 @@ // Call info.ContextMenuStrip(null, null, treeViewControl); } + // Assert // Assert expectancies are called in TearDown() }