Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/AssessmentSectionCreateExtensions.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/AssessmentSectionCreateExtensions.cs (.../AssessmentSectionCreateExtensions.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/AssessmentSectionCreateExtensions.cs (.../AssessmentSectionCreateExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -70,7 +70,7 @@ Id = section.Id.DeepClone(), Name = section.Name.DeepClone(), Composition = (short) section.Composition, - Comments = section.Comments.Comments.DeepClone(), + Comments = section.Comments.Body.DeepClone(), Norm = section.FailureMechanismContribution.Norm, Order = order }; Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsCalculationCreateExtensions.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsCalculationCreateExtensions.cs (.../GrassCoverErosionInwardsCalculationCreateExtensions.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsCalculationCreateExtensions.cs (.../GrassCoverErosionInwardsCalculationCreateExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -52,7 +52,7 @@ var entity = new GrassCoverErosionInwardsCalculationEntity { Name = calculation.Name.DeepClone(), - Comments = calculation.Comments.Comments.DeepClone(), + Comments = calculation.Comments.Body.DeepClone(), Order = order }; SetInputValues(entity, calculation.InputParameters, registry); Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationCreateExtensions.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationCreateExtensions.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationCreateExtensions.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationCreateExtensions.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationCreateExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -55,7 +55,7 @@ { Order = order, Name = calculation.Name.DeepClone(), - Comments = calculation.Comments.Comments.DeepClone(), + Comments = calculation.Comments.Body.DeepClone(), }; SetInputParameters(entity, calculation, registry); Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/IFailureMechanismCreateExtensions.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/IFailureMechanismCreateExtensions.cs (.../IFailureMechanismCreateExtensions.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/IFailureMechanismCreateExtensions.cs (.../IFailureMechanismCreateExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -50,9 +50,9 @@ { FailureMechanismType = (short) type, IsRelevant = Convert.ToByte(mechanism.IsRelevant), - InputComments = mechanism.InputComments.Comments.DeepClone(), - OutputComments = mechanism.OutputComments.Comments.DeepClone(), - NotRelevantComments = mechanism.NotRelevantComments.Comments.DeepClone() + InputComments = mechanism.InputComments.Body.DeepClone(), + OutputComments = mechanism.OutputComments.Body.DeepClone(), + NotRelevantComments = mechanism.NotRelevantComments.Body.DeepClone() }; mechanism.AddEntitiesForFailureMechanismSections(registry, entity); Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/Piping/PipingCalculationScenarioCreateExtensions.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/Piping/PipingCalculationScenarioCreateExtensions.cs (.../PipingCalculationScenarioCreateExtensions.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/Piping/PipingCalculationScenarioCreateExtensions.cs (.../PipingCalculationScenarioCreateExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -52,7 +52,7 @@ RelevantForScenario = Convert.ToByte(calculation.IsRelevant), ScenarioContribution = calculation.Contribution.Value.ToNaNAsNull(), Name = calculation.Name.DeepClone(), - Comments = calculation.Comments.Comments.DeepClone(), + Comments = calculation.Comments.Body.DeepClone(), Order = order }; SetInputParametersToEntity(entity, calculation.InputParameters, registry); Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationCreateExtensions.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationCreateExtensions.cs (.../StabilityStoneCoverWaveConditionsCalculationCreateExtensions.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationCreateExtensions.cs (.../StabilityStoneCoverWaveConditionsCalculationCreateExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -53,7 +53,7 @@ { Order = order, Name = calculation.Name.DeepClone(), - Comments = calculation.Comments.Comments.DeepClone() + Comments = calculation.Comments.Body.DeepClone() }; SetInputParameters(entity, calculation, registry); Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StructuresCalculationCreateExtensions.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StructuresCalculationCreateExtensions.cs (.../StructuresCalculationCreateExtensions.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StructuresCalculationCreateExtensions.cs (.../StructuresCalculationCreateExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -109,7 +109,7 @@ var entity = new ClosingStructuresCalculationEntity { Name = calculation.Name.DeepClone(), - Comments = calculation.Comments.Comments.DeepClone(), + Comments = calculation.Comments.Body.DeepClone(), Order = order }; SetInputValues(entity, calculation.InputParameters, registry); @@ -193,7 +193,7 @@ var entity = new HeightStructuresCalculationEntity { Name = calculation.Name.DeepClone(), - Comments = calculation.Comments.Comments.DeepClone(), + Comments = calculation.Comments.Body.DeepClone(), Order = order }; SetInputValues(entity, calculation.InputParameters, registry); @@ -254,7 +254,7 @@ var entity = new StabilityPointStructuresCalculationEntity { Name = calculation.Name.DeepClone(), - Comments = calculation.Comments.Comments.DeepClone(), + Comments = calculation.Comments.Body.DeepClone(), Order = order }; SetInputValues(entity, calculation.InputParameters, registry); Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationCreateExtensions.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationCreateExtensions.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationCreateExtensions.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationCreateExtensions.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationCreateExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -54,7 +54,7 @@ { Order = order, Name = calculation.Name.DeepClone(), - Comments = calculation.Comments.Comments.DeepClone() + Comments = calculation.Comments.Body.DeepClone() }; SetInputParameters(entity, calculation, registry); Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/AssessmentSectionEntityReadExtensions.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/AssessmentSectionEntityReadExtensions.cs (.../AssessmentSectionEntityReadExtensions.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/AssessmentSectionEntityReadExtensions.cs (.../AssessmentSectionEntityReadExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -56,7 +56,7 @@ Name = entity.Name, Comments = { - Comments = entity.Comments + Body = entity.Comments }, FailureMechanismContribution = { Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ClosingStructures/ClosingStructuresCalculationEntityReadExtensions.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ClosingStructures/ClosingStructuresCalculationEntityReadExtensions.cs (.../ClosingStructuresCalculationEntityReadExtensions.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ClosingStructures/ClosingStructuresCalculationEntityReadExtensions.cs (.../ClosingStructuresCalculationEntityReadExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -59,7 +59,7 @@ Name = entity.Name, Comments = { - Comments = entity.Comments + Body = entity.Comments } }; ReadInputParameters(calculation.InputParameters, entity, collector); Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/FailureMechanismEntityReadExtensions.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/FailureMechanismEntityReadExtensions.cs (.../FailureMechanismEntityReadExtensions.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/FailureMechanismEntityReadExtensions.cs (.../FailureMechanismEntityReadExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -67,9 +67,9 @@ ReadConversionCollector collector) { failureMechanism.IsRelevant = Convert.ToBoolean(entity.IsRelevant); - failureMechanism.InputComments.Comments = entity.InputComments; - failureMechanism.OutputComments.Comments = entity.OutputComments; - failureMechanism.NotRelevantComments.Comments = entity.NotRelevantComments; + failureMechanism.InputComments.Body = entity.InputComments; + failureMechanism.OutputComments.Body = entity.OutputComments; + failureMechanism.NotRelevantComments.Body = entity.NotRelevantComments; entity.ReadFailureMechanismSections(failureMechanism, collector); } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsCalculationEntityReadExtensions.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsCalculationEntityReadExtensions.cs (.../GrassCoverErosionInwardsCalculationEntityReadExtensions.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsCalculationEntityReadExtensions.cs (.../GrassCoverErosionInwardsCalculationEntityReadExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -60,7 +60,7 @@ Name = entity.Name, Comments = { - Comments = entity.Comments + Body = entity.Comments } }; ReadInput(calculation.InputParameters, entity, collector); Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationEntityReadExtensions.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationEntityReadExtensions.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationEntityReadExtensions.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationEntityReadExtensions.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationEntityReadExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -57,7 +57,7 @@ Name = entity.Name, Comments = { - Comments = entity.Comments + Body = entity.Comments } }; ReadCalculationInputs(calculation.InputParameters, entity, collector); Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/HeightStructures/HeightStructuresCalculationEntityReadExtensions.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/HeightStructures/HeightStructuresCalculationEntityReadExtensions.cs (.../HeightStructuresCalculationEntityReadExtensions.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/HeightStructures/HeightStructuresCalculationEntityReadExtensions.cs (.../HeightStructuresCalculationEntityReadExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -59,7 +59,7 @@ Name = entity.Name, Comments = { - Comments = entity.Comments + Body = entity.Comments } }; ReadInputParameters(calculation.InputParameters, entity, collector); Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/PipingCalculationEntityReadExtensions.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/PipingCalculationEntityReadExtensions.cs (.../PipingCalculationEntityReadExtensions.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/PipingCalculationEntityReadExtensions.cs (.../PipingCalculationEntityReadExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -56,7 +56,7 @@ Name = entity.Name, Comments = { - Comments = entity.Comments + Body = entity.Comments } }; ReadInputParameters(calculation.InputParameters, entity, collector); Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StabilityPointStructures/StabilityPointStructuresCalculationEntityReadExtensions.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StabilityPointStructures/StabilityPointStructuresCalculationEntityReadExtensions.cs (.../StabilityPointStructuresCalculationEntityReadExtensions.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StabilityPointStructures/StabilityPointStructuresCalculationEntityReadExtensions.cs (.../StabilityPointStructuresCalculationEntityReadExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -59,7 +59,7 @@ Name = entity.Name, Comments = { - Comments = entity.Comments + Body = entity.Comments } }; ReadInputParameters(calculation.InputParameters, entity, collector); Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationEntityReadExtensions.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationEntityReadExtensions.cs (.../StabilityStoneCoverWaveConditionsCalculationEntityReadExtensions.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationEntityReadExtensions.cs (.../StabilityStoneCoverWaveConditionsCalculationEntityReadExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -58,7 +58,7 @@ Name = entity.Name, Comments = { - Comments = entity.Comments + Body = entity.Comments } }; ReadCalculationInputs(calculation.InputParameters, entity, collector); Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationEntityReadExtensions.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationEntityReadExtensions.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationEntityReadExtensions.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationEntityReadExtensions.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationEntityReadExtensions.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -57,7 +57,7 @@ Name = entity.Name, Comments = { - Comments = entity.Comments + Body = entity.Comments } }; ReadInputParameters(calculation.InputParameters, entity, collector); Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/AssessmentSectionCreateExtensionsTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/AssessmentSectionCreateExtensionsTest.cs (.../AssessmentSectionCreateExtensionsTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/AssessmentSectionCreateExtensionsTest.cs (.../AssessmentSectionCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -70,7 +70,7 @@ Name = testName, Comments = { - Comments = comments + Body = comments }, FailureMechanismContribution = { @@ -129,7 +129,7 @@ Name = originalName, Comments = { - Comments = originalComments + Body = originalComments } }; Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/ClosingStructures/ClosingStructuresFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/ClosingStructures/ClosingStructuresFailureMechanismCreateExtensionsTest.cs (.../ClosingStructuresFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/ClosingStructures/ClosingStructuresFailureMechanismCreateExtensionsTest.cs (.../ClosingStructuresFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -62,15 +62,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" }, GeneralInput = { @@ -86,9 +86,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.ReliabilityClosingOfStructure, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); ClosingStructureFailureMechanismMetaEntity metaEntity = entity.ClosingStructureFailureMechanismMetaEntities.First(); Assert.AreEqual(failureMechanism.GeneralInput.N2A, metaEntity.N2A); @@ -105,15 +105,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -124,13 +124,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/DuneErosion/DuneErosionFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/DuneErosion/DuneErosionFailureMechanismCreateExtensionsTest.cs (.../DuneErosionFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/DuneErosion/DuneErosionFailureMechanismCreateExtensionsTest.cs (.../DuneErosionFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -58,15 +58,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" } }; var registry = new PersistenceRegistry(); @@ -78,9 +78,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.DuneErosion, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] @@ -94,15 +94,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -113,13 +113,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsCalculationCreateExtensionsTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsCalculationCreateExtensionsTest.cs (.../GrassCoverErosionInwardsCalculationCreateExtensionsTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsCalculationCreateExtensionsTest.cs (.../GrassCoverErosionInwardsCalculationCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -62,7 +62,7 @@ Name = name, Comments = { - Comments = comment + Body = comment }, InputParameters = { @@ -125,7 +125,7 @@ Name = name, Comments = { - Comments = comment + Body = comment } }; Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsFailureMechanismCreateExtensionsTest.cs (.../GrassCoverErosionInwardsFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsFailureMechanismCreateExtensionsTest.cs (.../GrassCoverErosionInwardsFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -61,15 +61,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" }, GeneralInput = { @@ -85,9 +85,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.GrassRevetmentTopErosionAndInwards, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); Assert.AreEqual(1, entity.GrassCoverErosionInwardsFailureMechanismMetaEntities.Count); GrassCoverErosionInwardsFailureMechanismMetaEntity generalInputEntity = entity.GrassCoverErosionInwardsFailureMechanismMetaEntities.First(); @@ -105,15 +105,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -124,13 +124,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsFailureMechanismCreateExtensionsTest.cs (.../GrassCoverErosionOutwardsFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsFailureMechanismCreateExtensionsTest.cs (.../GrassCoverErosionOutwardsFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -61,15 +61,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" } }; var registry = new PersistenceRegistry(); @@ -81,9 +81,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.GrassRevetmentErosionOutwards, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] @@ -97,15 +97,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -116,13 +116,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationCreateExtensionsTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationCreateExtensionsTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationCreateExtensionsTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationCreateExtensionsTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -92,7 +92,7 @@ Name = name, Comments = { - Comments = comments + Body = comments }, InputParameters = { @@ -144,7 +144,7 @@ Name = name, Comments = { - Comments = comments + Body = comments } }; Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverSlipOffInwards/GrassCoverSlipOffInwardsFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverSlipOffInwards/GrassCoverSlipOffInwardsFailureMechanismCreateExtensionsTest.cs (.../GrassCoverSlipOffInwardsFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverSlipOffInwards/GrassCoverSlipOffInwardsFailureMechanismCreateExtensionsTest.cs (.../GrassCoverSlipOffInwardsFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -58,15 +58,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" } }; var registry = new PersistenceRegistry(); @@ -78,9 +78,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.GrassRevetmentSlidingInwards, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] @@ -94,15 +94,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -113,13 +113,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverSlipOffOutwards/GrassCoverSlipOffOutwardsFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverSlipOffOutwards/GrassCoverSlipOffOutwardsFailureMechanismCreateExtensionsTest.cs (.../GrassCoverSlipOffOutwardsFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverSlipOffOutwards/GrassCoverSlipOffOutwardsFailureMechanismCreateExtensionsTest.cs (.../GrassCoverSlipOffOutwardsFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -58,15 +58,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" } }; var registry = new PersistenceRegistry(); @@ -78,9 +78,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.GrassRevetmentSlidingOutwards, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] @@ -94,15 +94,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -113,13 +113,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/HeightStructures/HeightStructuresFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/HeightStructures/HeightStructuresFailureMechanismCreateExtensionsTest.cs (.../HeightStructuresFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/HeightStructures/HeightStructuresFailureMechanismCreateExtensionsTest.cs (.../HeightStructuresFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -61,15 +61,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" }, GeneralInput = { @@ -85,9 +85,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.StructureHeight, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); HeightStructuresFailureMechanismMetaEntity metaEntity = entity.HeightStructuresFailureMechanismMetaEntities.First(); Assert.AreEqual(failureMechanism.GeneralInput.N, metaEntity.N); @@ -104,15 +104,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -123,13 +123,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/IFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/IFailureMechanismCreateExtensionsTest.cs (.../IFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/IFailureMechanismCreateExtensionsTest.cs (.../IFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -97,9 +97,9 @@ const string originalOutput = "Some output text"; const string originalNotRelevantText = "Really not relevant"; IFailureMechanism failureMechanism = new TestFailureMechanism("a", "cool"); - failureMechanism.InputComments.Comments = originalInput; - failureMechanism.OutputComments.Comments = originalOutput; - failureMechanism.NotRelevantComments.Comments = originalNotRelevantText; + failureMechanism.InputComments.Body = originalInput; + failureMechanism.OutputComments.Body = originalOutput; + failureMechanism.NotRelevantComments.Body = originalNotRelevantText; var registry = new PersistenceRegistry(); @@ -109,13 +109,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } } } \ No newline at end of file Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacrostabilityInwards/MacrostabilityInwardsFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacrostabilityInwards/MacrostabilityInwardsFailureMechanismCreateExtensionsTest.cs (.../MacrostabilityInwardsFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacrostabilityInwards/MacrostabilityInwardsFailureMechanismCreateExtensionsTest.cs (.../MacrostabilityInwardsFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -58,15 +58,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" } }; var registry = new PersistenceRegistry(); @@ -78,9 +78,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.MacrostabilityInwards, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] @@ -94,15 +94,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -113,13 +113,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacrostabilityOutwards/MacrostabilityOutwardsFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacrostabilityOutwards/MacrostabilityOutwardsFailureMechanismCreateExtensionsTest.cs (.../MacrostabilityOutwardsFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacrostabilityOutwards/MacrostabilityOutwardsFailureMechanismCreateExtensionsTest.cs (.../MacrostabilityOutwardsFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -58,15 +58,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" } }; var registry = new PersistenceRegistry(); @@ -78,9 +78,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.MacrostabilityOutwards, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] @@ -94,15 +94,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -113,13 +113,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Microstability/MicrostabilityFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Microstability/MicrostabilityFailureMechanismCreateExtensionsTest.cs (.../MicrostabilityFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Microstability/MicrostabilityFailureMechanismCreateExtensionsTest.cs (.../MicrostabilityFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -58,15 +58,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" } }; var registry = new PersistenceRegistry(); @@ -78,9 +78,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.Microstability, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] @@ -94,15 +94,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -113,13 +113,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingCalculationScenarioCreateExtensionsTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingCalculationScenarioCreateExtensionsTest.cs (.../PipingCalculationScenarioCreateExtensionsTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingCalculationScenarioCreateExtensionsTest.cs (.../PipingCalculationScenarioCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -69,7 +69,7 @@ Name = name, Comments = { - Comments = comments + Body = comments }, InputParameters = { @@ -144,7 +144,7 @@ Name = name, Comments = { - Comments = comments + Body = comments } }; Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingFailureMechanismCreateExtensionsTest.cs (.../PipingFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingFailureMechanismCreateExtensionsTest.cs (.../PipingFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -61,15 +61,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" }, PipingProbabilityAssessmentInput = { @@ -85,9 +85,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.Piping, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); CollectionAssert.IsEmpty(entity.StochasticSoilModelEntities); var failureMechanismMetaEntity = entity.PipingFailureMechanismMetaEntities.ToArray()[0]; @@ -105,15 +105,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -124,13 +124,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/PipingStructure/PipingStructureFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/PipingStructure/PipingStructureFailureMechanismCreateExtensionsTest.cs (.../PipingStructureFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/PipingStructure/PipingStructureFailureMechanismCreateExtensionsTest.cs (.../PipingStructureFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -58,15 +58,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" } }; var registry = new PersistenceRegistry(); @@ -78,9 +78,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.PipingAtStructure, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] @@ -94,15 +94,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -113,13 +113,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StabilityPointStructures/StabilityPointStructuresFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StabilityPointStructures/StabilityPointStructuresFailureMechanismCreateExtensionsTest.cs (.../StabilityPointStructuresFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StabilityPointStructures/StabilityPointStructuresFailureMechanismCreateExtensionsTest.cs (.../StabilityPointStructuresFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -62,15 +62,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" }, GeneralInput = { @@ -86,9 +86,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.StabilityPointStructures, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); var metaEntity = entity.StabilityPointStructuresFailureMechanismMetaEntities.First(); Assert.AreEqual(failureMechanism.GeneralInput.N, metaEntity.N); @@ -105,15 +105,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -124,13 +124,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StabilityStoneCover/StabilityStoneCoverFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StabilityStoneCover/StabilityStoneCoverFailureMechanismCreateExtensionsTest.cs (.../StabilityStoneCoverFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StabilityStoneCover/StabilityStoneCoverFailureMechanismCreateExtensionsTest.cs (.../StabilityStoneCoverFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -60,15 +60,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" } }; var registry = new PersistenceRegistry(); @@ -80,9 +80,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.StabilityStoneRevetment, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] @@ -96,15 +96,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -115,13 +115,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationCreateExtensionsTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationCreateExtensionsTest.cs (.../StabilityStoneCoverWaveConditionsCalculationCreateExtensionsTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationCreateExtensionsTest.cs (.../StabilityStoneCoverWaveConditionsCalculationCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -92,7 +92,7 @@ Name = name, Comments = { - Comments = comments + Body = comments }, InputParameters = { @@ -144,7 +144,7 @@ Name = name, Comments = { - Comments = comments + Body = comments } }; Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StrengthStabilityLengthwise/StrengthStabilityLengthwiseConstructionFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StrengthStabilityLengthwise/StrengthStabilityLengthwiseConstructionFailureMechanismCreateExtensionsTest.cs (.../StrengthStabilityLengthwiseConstructionFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StrengthStabilityLengthwise/StrengthStabilityLengthwiseConstructionFailureMechanismCreateExtensionsTest.cs (.../StrengthStabilityLengthwiseConstructionFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -58,15 +58,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" } }; var registry = new PersistenceRegistry(); @@ -78,9 +78,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.StrengthAndStabilityParallelConstruction, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] @@ -94,15 +94,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -113,13 +113,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StructuresCalculationCreateExtensionsTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StructuresCalculationCreateExtensionsTest.cs (.../StructuresCalculationCreateExtensionsTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StructuresCalculationCreateExtensionsTest.cs (.../StructuresCalculationCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -72,7 +72,7 @@ Name = name, Comments = { - Comments = comments + Body = comments }, InputParameters = { @@ -264,7 +264,7 @@ Name = name, Comments = { - Comments = comment + Body = comment } }; @@ -404,7 +404,7 @@ Name = "A", Comments = { - Comments = "B" + Body = "B" }, InputParameters = { @@ -493,7 +493,7 @@ // Assert Assert.AreEqual(calculation.Name, entity.Name); - Assert.AreEqual(calculation.Comments.Comments, entity.Comments); + Assert.AreEqual(calculation.Comments.Body, entity.Comments); ClosingStructuresInput inputParameters = calculation.InputParameters; Assert.AreEqual(inputParameters.StormDuration.Mean.Value, entity.StormDurationMean); @@ -769,7 +769,7 @@ Name = "A", Comments = { - Comments = "B" + Body = "B" }, InputParameters = { @@ -910,7 +910,7 @@ // Assert Assert.AreEqual(calculation.Name, entity.Name); - Assert.AreEqual(calculation.Comments.Comments, entity.Comments); + Assert.AreEqual(calculation.Comments.Body, entity.Comments); StabilityPointStructuresInput inputParameters = calculation.InputParameters; Assert.AreEqual(inputParameters.StormDuration.Mean.Value, entity.StormDurationMean); Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/TechnicalInnovation/TechnicalInnovationFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/TechnicalInnovation/TechnicalInnovationFailureMechanismCreateExtensionsTest.cs (.../TechnicalInnovationFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/TechnicalInnovation/TechnicalInnovationFailureMechanismCreateExtensionsTest.cs (.../TechnicalInnovationFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -58,15 +58,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" } }; var registry = new PersistenceRegistry(); @@ -78,9 +78,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.TechnicalInnovations, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] @@ -94,15 +94,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -113,13 +113,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/WaterPressureAsphaltCover/WaterPressureAsphaltCoverFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/WaterPressureAsphaltCover/WaterPressureAsphaltCoverFailureMechanismCreateExtensionsTest.cs (.../WaterPressureAsphaltCoverFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/WaterPressureAsphaltCover/WaterPressureAsphaltCoverFailureMechanismCreateExtensionsTest.cs (.../WaterPressureAsphaltCoverFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -58,15 +58,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" } }; var registry = new PersistenceRegistry(); @@ -78,9 +78,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.WaterOverpressureAsphaltRevetment, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] @@ -94,15 +94,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -113,13 +113,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverFailureMechanismCreateExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverFailureMechanismCreateExtensionsTest.cs (.../WaveImpactAsphaltCoverFailureMechanismCreateExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverFailureMechanismCreateExtensionsTest.cs (.../WaveImpactAsphaltCoverFailureMechanismCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -60,15 +60,15 @@ IsRelevant = isRelevant, InputComments = { - Comments = "Some input text" + Body = "Some input text" }, OutputComments = { - Comments = "Some output text" + Body = "Some output text" }, NotRelevantComments = { - Comments = "Really not relevant" + Body = "Really not relevant" } }; var registry = new PersistenceRegistry(); @@ -80,9 +80,9 @@ Assert.IsNotNull(entity); Assert.AreEqual((short) FailureMechanismType.WaveImpactOnAsphaltRevetment, entity.FailureMechanismType); Assert.AreEqual(Convert.ToByte(isRelevant), entity.IsRelevant); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] @@ -96,15 +96,15 @@ { InputComments = { - Comments = originalInput + Body = originalInput }, OutputComments = { - Comments = originalOutput + Body = originalOutput }, NotRelevantComments = { - Comments = originalNotRelevantText + Body = originalNotRelevantText } }; var registry = new PersistenceRegistry(); @@ -115,13 +115,13 @@ // Assert Assert.AreNotSame(originalInput, entity.InputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.InputComments.Comments, entity.InputComments); + Assert.AreEqual(failureMechanism.InputComments.Body, entity.InputComments); Assert.AreNotSame(originalOutput, entity.OutputComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.OutputComments.Comments, entity.OutputComments); + Assert.AreEqual(failureMechanism.OutputComments.Body, entity.OutputComments); Assert.AreNotSame(originalNotRelevantText, entity.NotRelevantComments, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(failureMechanism.NotRelevantComments.Comments, entity.NotRelevantComments); + Assert.AreEqual(failureMechanism.NotRelevantComments.Body, entity.NotRelevantComments); } [Test] Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationCreateExtensionsTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationCreateExtensionsTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationCreateExtensionsTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationCreateExtensionsTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationCreateExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -92,7 +92,7 @@ Name = name, Comments = { - Comments = comments + Body = comments }, InputParameters = { @@ -143,7 +143,7 @@ Name = name, Comments = { - Comments = comments + Body = comments } }; Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/IntegrationTests/StorageSqLiteIntegrationTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/IntegrationTests/StorageSqLiteIntegrationTest.cs (.../StorageSqLiteIntegrationTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/IntegrationTests/StorageSqLiteIntegrationTest.cs (.../StorageSqLiteIntegrationTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -836,9 +836,9 @@ Assert.AreEqual(expectedRoughnessPoint.Roughness, actualRoughnessPoint.Roughness); } - private static void AssertComments(Commentable expectedComments, Commentable actualComments) + private static void AssertComments(Comment expectedComments, Comment actualComments) { - Assert.AreEqual(expectedComments.Comments, actualComments.Comments); + Assert.AreEqual(expectedComments.Body, actualComments.Body); } private static void AssertStructureInputBase(StructuresInputBase expectedInput, Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/AssessmentSectionEntityReadExtensionsTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/AssessmentSectionEntityReadExtensionsTest.cs (.../AssessmentSectionEntityReadExtensionsTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/AssessmentSectionEntityReadExtensionsTest.cs (.../AssessmentSectionEntityReadExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -80,7 +80,7 @@ Assert.IsNotNull(section); Assert.AreEqual(testId, section.Id); Assert.AreEqual(testName, section.Name); - Assert.AreEqual(comments, section.Comments.Comments); + Assert.AreEqual(comments, section.Comments.Body); Assert.AreEqual(norm, section.FailureMechanismContribution.Norm); Assert.AreEqual(assessmentSectionComposition, section.Composition); Assert.IsNull(section.HydraulicBoundaryDatabase); @@ -191,9 +191,9 @@ // Assert Assert.AreEqual(isRelevant, section.PipingFailureMechanism.IsRelevant); - Assert.AreEqual(inputComments, section.PipingFailureMechanism.InputComments.Comments); - Assert.AreEqual(outputComments, section.PipingFailureMechanism.OutputComments.Comments); - Assert.AreEqual(notRelevantComments, section.PipingFailureMechanism.NotRelevantComments.Comments); + Assert.AreEqual(inputComments, section.PipingFailureMechanism.InputComments.Body); + Assert.AreEqual(outputComments, section.PipingFailureMechanism.OutputComments.Body); + Assert.AreEqual(notRelevantComments, section.PipingFailureMechanism.NotRelevantComments.Body); Assert.AreEqual(parameterA, section.PipingFailureMechanism.PipingProbabilityAssessmentInput.A); } @@ -372,9 +372,9 @@ // Assert Assert.AreEqual(isRelevant, section.GrassCoverErosionInwards.IsRelevant); - Assert.AreEqual(originalInput, section.GrassCoverErosionInwards.InputComments.Comments); - Assert.AreEqual(originalOutput, section.GrassCoverErosionInwards.OutputComments.Comments); - Assert.AreEqual(originalNotRelevantText, section.GrassCoverErosionInwards.NotRelevantComments.Comments); + Assert.AreEqual(originalInput, section.GrassCoverErosionInwards.InputComments.Body); + Assert.AreEqual(originalOutput, section.GrassCoverErosionInwards.OutputComments.Body); + Assert.AreEqual(originalNotRelevantText, section.GrassCoverErosionInwards.NotRelevantComments.Body); Assert.AreEqual(n, section.GrassCoverErosionInwards.GeneralInput.N); } @@ -489,9 +489,9 @@ // Assert Assert.AreEqual(isRelevant, section.GrassCoverErosionOutwards.IsRelevant); - Assert.AreEqual(inputComments, section.GrassCoverErosionOutwards.InputComments.Comments); - Assert.AreEqual(outputComments, section.GrassCoverErosionOutwards.OutputComments.Comments); - Assert.AreEqual(notRelevantComments, section.GrassCoverErosionOutwards.NotRelevantComments.Comments); + Assert.AreEqual(inputComments, section.GrassCoverErosionOutwards.InputComments.Body); + Assert.AreEqual(outputComments, section.GrassCoverErosionOutwards.OutputComments.Body); + Assert.AreEqual(notRelevantComments, section.GrassCoverErosionOutwards.NotRelevantComments.Body); Assert.AreEqual(n, section.GrassCoverErosionOutwards.GeneralInput.N); } @@ -618,9 +618,9 @@ // Assert Assert.AreEqual(isRelevant, section.StabilityStoneCover.IsRelevant); - Assert.AreEqual(inputComments, section.StabilityStoneCover.InputComments.Comments); - Assert.AreEqual(outputComments, section.StabilityStoneCover.OutputComments.Comments); - Assert.AreEqual(notRelevantComments, section.StabilityStoneCover.NotRelevantComments.Comments); + Assert.AreEqual(inputComments, section.StabilityStoneCover.InputComments.Body); + Assert.AreEqual(outputComments, section.StabilityStoneCover.OutputComments.Body); + Assert.AreEqual(notRelevantComments, section.StabilityStoneCover.NotRelevantComments.Body); } [Test] @@ -735,9 +735,9 @@ // Assert Assert.AreEqual(isRelevant, section.WaveImpactAsphaltCover.IsRelevant); - Assert.AreEqual(inputComments, section.WaveImpactAsphaltCover.InputComments.Comments); - Assert.AreEqual(outputComments, section.WaveImpactAsphaltCover.OutputComments.Comments); - Assert.AreEqual(notRelevantComments, section.WaveImpactAsphaltCover.NotRelevantComments.Comments); + Assert.AreEqual(inputComments, section.WaveImpactAsphaltCover.InputComments.Body); + Assert.AreEqual(outputComments, section.WaveImpactAsphaltCover.OutputComments.Body); + Assert.AreEqual(notRelevantComments, section.WaveImpactAsphaltCover.NotRelevantComments.Body); } [Test] @@ -856,9 +856,9 @@ // Assert Assert.AreEqual(isRelevant, section.HeightStructures.IsRelevant); - Assert.AreEqual(inputComments, section.HeightStructures.InputComments.Comments); - Assert.AreEqual(outputComments, section.HeightStructures.OutputComments.Comments); - Assert.AreEqual(notRelevantComments, section.HeightStructures.NotRelevantComments.Comments); + Assert.AreEqual(inputComments, section.HeightStructures.InputComments.Body); + Assert.AreEqual(outputComments, section.HeightStructures.OutputComments.Body); + Assert.AreEqual(notRelevantComments, section.HeightStructures.NotRelevantComments.Body); } [Test] @@ -897,9 +897,9 @@ // Assert Assert.AreEqual(isRelevant, section.ClosingStructures.IsRelevant); - Assert.AreEqual(inputComments, section.ClosingStructures.InputComments.Comments); - Assert.AreEqual(outputComments, section.ClosingStructures.OutputComments.Comments); - Assert.AreEqual(notRelevantComments, section.ClosingStructures.NotRelevantComments.Comments); + Assert.AreEqual(inputComments, section.ClosingStructures.InputComments.Body); + Assert.AreEqual(outputComments, section.ClosingStructures.OutputComments.Body); + Assert.AreEqual(notRelevantComments, section.ClosingStructures.NotRelevantComments.Body); } [Test] @@ -938,9 +938,9 @@ // Assert Assert.AreEqual(isRelevant, section.StabilityPointStructures.IsRelevant); - Assert.AreEqual(inputComments, section.StabilityPointStructures.InputComments.Comments); - Assert.AreEqual(outputComments, section.StabilityPointStructures.OutputComments.Comments); - Assert.AreEqual(notRelevantComments, section.StabilityPointStructures.NotRelevantComments.Comments); + Assert.AreEqual(inputComments, section.StabilityPointStructures.InputComments.Body); + Assert.AreEqual(outputComments, section.StabilityPointStructures.OutputComments.Body); + Assert.AreEqual(notRelevantComments, section.StabilityPointStructures.NotRelevantComments.Body); } [Test] @@ -1039,9 +1039,9 @@ string expectedNotRelevantComments, IFailureMechanism failureMechanism) { Assert.AreEqual(expectedIsRelevant, failureMechanism.IsRelevant); - Assert.AreEqual(expectedInputComments, failureMechanism.InputComments.Comments); - Assert.AreEqual(expectedOutputComments, failureMechanism.OutputComments.Comments); - Assert.AreEqual(expectedNotRelevantComments, failureMechanism.NotRelevantComments.Comments); + Assert.AreEqual(expectedInputComments, failureMechanism.InputComments.Body); + Assert.AreEqual(expectedOutputComments, failureMechanism.OutputComments.Body); + Assert.AreEqual(expectedNotRelevantComments, failureMechanism.NotRelevantComments.Body); Assert.AreEqual(expectedSectionCount, failureMechanism.Sections.Count()); } Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/ClosingStructures/ClosingStructuresCalculationEntityReadExtensionsTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/ClosingStructures/ClosingStructuresCalculationEntityReadExtensionsTest.cs (.../ClosingStructuresCalculationEntityReadExtensionsTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/ClosingStructures/ClosingStructuresCalculationEntityReadExtensionsTest.cs (.../ClosingStructuresCalculationEntityReadExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -119,7 +119,7 @@ // Assert Assert.AreEqual(entity.Name, calculation.Name); - Assert.AreEqual(entity.Comments, calculation.Comments.Comments); + Assert.AreEqual(entity.Comments, calculation.Comments.Body); ClosingStructuresInput inputParameters = calculation.InputParameters; Assert.IsNull(inputParameters.ForeshoreProfile); Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/FailureMechanismEntityReadExtensionsTest.cs =================================================================== diff -u -r8e310b99d8873ca1a46282c54302acb1d1678dab -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/FailureMechanismEntityReadExtensionsTest.cs (.../FailureMechanismEntityReadExtensionsTest.cs) (revision 8e310b99d8873ca1a46282c54302acb1d1678dab) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/FailureMechanismEntityReadExtensionsTest.cs (.../FailureMechanismEntityReadExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -66,9 +66,9 @@ // Assert Assert.IsEmpty(failureMechanism.Sections); Assert.AreEqual(isRelevant, failureMechanism.IsRelevant); - Assert.AreEqual(entity.InputComments, failureMechanism.InputComments.Comments); - Assert.AreEqual(entity.OutputComments, failureMechanism.OutputComments.Comments); - Assert.AreEqual(entity.NotRelevantComments, failureMechanism.NotRelevantComments.Comments); + Assert.AreEqual(entity.InputComments, failureMechanism.InputComments.Body); + Assert.AreEqual(entity.OutputComments, failureMechanism.OutputComments.Body); + Assert.AreEqual(entity.NotRelevantComments, failureMechanism.NotRelevantComments.Body); Assert.IsEmpty(failureMechanism.Sections); } @@ -168,9 +168,9 @@ // Assert Assert.IsNotNull(failureMechanism); Assert.AreEqual(isRelevant, failureMechanism.IsRelevant); - Assert.AreEqual(entity.InputComments, failureMechanism.InputComments.Comments); - Assert.AreEqual(entity.OutputComments, failureMechanism.OutputComments.Comments); - Assert.AreEqual(entity.NotRelevantComments, failureMechanism.NotRelevantComments.Comments); + Assert.AreEqual(entity.InputComments, failureMechanism.InputComments.Body); + Assert.AreEqual(entity.OutputComments, failureMechanism.OutputComments.Body); + Assert.AreEqual(entity.NotRelevantComments, failureMechanism.NotRelevantComments.Body); Assert.IsEmpty(failureMechanism.StochasticSoilModels); Assert.IsEmpty(failureMechanism.Sections); @@ -360,9 +360,9 @@ // Assert Assert.IsNotNull(failureMechanism); Assert.AreEqual(isRelevant, failureMechanism.IsRelevant); - Assert.AreEqual(entity.InputComments, failureMechanism.InputComments.Comments); - Assert.AreEqual(entity.OutputComments, failureMechanism.OutputComments.Comments); - Assert.AreEqual(entity.NotRelevantComments, failureMechanism.NotRelevantComments.Comments); + Assert.AreEqual(entity.InputComments, failureMechanism.InputComments.Body); + Assert.AreEqual(entity.OutputComments, failureMechanism.OutputComments.Body); + Assert.AreEqual(entity.NotRelevantComments, failureMechanism.NotRelevantComments.Body); Assert.IsEmpty(failureMechanism.Sections); Assert.AreEqual(3, failureMechanism.GeneralInput.N); @@ -525,9 +525,9 @@ // Assert Assert.IsNotNull(failureMechanism); Assert.AreEqual(isRelevant, failureMechanism.IsRelevant); - Assert.AreEqual(entity.InputComments, failureMechanism.InputComments.Comments); - Assert.AreEqual(entity.OutputComments, failureMechanism.OutputComments.Comments); - Assert.AreEqual(entity.NotRelevantComments, failureMechanism.NotRelevantComments.Comments); + Assert.AreEqual(entity.InputComments, failureMechanism.InputComments.Body); + Assert.AreEqual(entity.OutputComments, failureMechanism.OutputComments.Body); + Assert.AreEqual(entity.NotRelevantComments, failureMechanism.NotRelevantComments.Body); Assert.IsEmpty(failureMechanism.Sections); Assert.AreEqual(3, failureMechanism.GeneralInput.N); Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsCalculationEntityReadExtensionsTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsCalculationEntityReadExtensionsTest.cs (.../GrassCoverErosionInwardsCalculationEntityReadExtensionsTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsCalculationEntityReadExtensionsTest.cs (.../GrassCoverErosionInwardsCalculationEntityReadExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -80,7 +80,7 @@ // Assert Assert.AreEqual(entity.Name, calculation.Name); - Assert.AreEqual(entity.Comments, calculation.Comments.Comments); + Assert.AreEqual(entity.Comments, calculation.Comments.Body); GrassCoverErosionInwardsInput input = calculation.InputParameters; Assert.AreEqual(entity.Orientation, input.Orientation.Value); @@ -139,7 +139,7 @@ // Assert Assert.IsNull(calculation.Name); - Assert.IsNull(calculation.Comments.Comments); + Assert.IsNull(calculation.Comments.Body); GrassCoverErosionInwardsInput input = calculation.InputParameters; Assert.IsNaN(input.Orientation); Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationEntityReadExtensionsTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationEntityReadExtensionsTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationEntityReadExtensionsTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationEntityReadExtensionsTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationEntityReadExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -141,7 +141,7 @@ // Assert Assert.AreEqual(name, calculation.Name); - Assert.AreEqual(comments, calculation.Comments.Comments); + Assert.AreEqual(comments, calculation.Comments.Body); Assert.AreEqual(useBreakWater, calculation.InputParameters.UseBreakWater); Assert.AreEqual(breakWaterType, calculation.InputParameters.BreakWater.Type); AssertRoundedDouble(breakWaterHeight, calculation.InputParameters.BreakWater.Height); Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/HeightStructures/HeightStructuresCalculationEntityReadExtensionsTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/HeightStructures/HeightStructuresCalculationEntityReadExtensionsTest.cs (.../HeightStructuresCalculationEntityReadExtensionsTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/HeightStructures/HeightStructuresCalculationEntityReadExtensionsTest.cs (.../HeightStructuresCalculationEntityReadExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -108,7 +108,7 @@ // Assert Assert.AreEqual(name, calculation.Name); - Assert.AreEqual(comments, calculation.Comments.Comments); + Assert.AreEqual(comments, calculation.Comments.Body); HeightStructuresInput input = calculation.InputParameters; Assert.IsFalse(input.UseForeshore); Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/Piping/PipingCalculationEntityReadExtensionsTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/Piping/PipingCalculationEntityReadExtensionsTest.cs (.../PipingCalculationEntityReadExtensionsTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/Piping/PipingCalculationEntityReadExtensionsTest.cs (.../PipingCalculationEntityReadExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -84,7 +84,7 @@ Assert.AreEqual(isRelevant, calculation.IsRelevant); Assert.AreEqual(contribution, calculation.Contribution, 1e-6); Assert.AreEqual(name, calculation.Name); - Assert.AreEqual(comments, calculation.Comments.Comments); + Assert.AreEqual(comments, calculation.Comments.Body); Assert.AreEqual(generalInputParameters.BeddingAngle, calculation.InputParameters.BeddingAngle); Assert.AreEqual(generalInputParameters.CriticalHeaveGradient, calculation.InputParameters.CriticalHeaveGradient); Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/StabilityPointStructures/StabilityPointStructuresCalculationEntityReadExtensionsTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/StabilityPointStructures/StabilityPointStructuresCalculationEntityReadExtensionsTest.cs (.../StabilityPointStructuresCalculationEntityReadExtensionsTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/StabilityPointStructures/StabilityPointStructuresCalculationEntityReadExtensionsTest.cs (.../StabilityPointStructuresCalculationEntityReadExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -141,7 +141,7 @@ // Assert Assert.AreEqual(entity.Name, calculation.Name); - Assert.AreEqual(entity.Comments, calculation.Comments.Comments); + Assert.AreEqual(entity.Comments, calculation.Comments.Body); StabilityPointStructuresInput inputParameters = calculation.InputParameters; Assert.IsNull(inputParameters.ForeshoreProfile); Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationEntityReadExtensionsTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationEntityReadExtensionsTest.cs (.../StabilityStoneCoverWaveConditionsCalculationEntityReadExtensionsTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationEntityReadExtensionsTest.cs (.../StabilityStoneCoverWaveConditionsCalculationEntityReadExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -141,7 +141,7 @@ // Assert Assert.AreEqual(name, calculation.Name); - Assert.AreEqual(comments, calculation.Comments.Comments); + Assert.AreEqual(comments, calculation.Comments.Body); Assert.AreEqual(useBreakWater, calculation.InputParameters.UseBreakWater); Assert.AreEqual(breakWaterType, calculation.InputParameters.BreakWater.Type); AssertRoundedDouble(breakWaterHeight, calculation.InputParameters.BreakWater.Height); Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationEntityReadExtensionsTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationEntityReadExtensionsTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationEntityReadExtensionsTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationEntityReadExtensionsTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationEntityReadExtensionsTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -141,7 +141,7 @@ // Assert Assert.AreEqual(name, calculation.Name); - Assert.AreEqual(comments, calculation.Comments.Comments); + Assert.AreEqual(comments, calculation.Comments.Body); Assert.AreEqual(useBreakWater, calculation.InputParameters.UseBreakWater); Assert.AreEqual(breakWaterType, calculation.InputParameters.BreakWater.Type); AssertRoundedDouble(breakWaterHeight, calculation.InputParameters.BreakWater.Height); Index: Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs (.../RingtoetsProjectTestHelper.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs (.../RingtoetsProjectTestHelper.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -367,7 +367,7 @@ Name = "Calculation 1", Comments = { - Comments = "Fully configured for greatness!" + Body = "Fully configured for greatness!" }, InputParameters = { @@ -626,7 +626,7 @@ Contribution = (RoundedDouble) 1.0, Comments = { - Comments = "Nice comment about this calculation!" + Body = "Nice comment about this calculation!" }, InputParameters = { @@ -684,7 +684,7 @@ Contribution = (RoundedDouble) 0.5, Comments = { - Comments = "Another great comment" + Body = "Another great comment" }, InputParameters = { @@ -823,7 +823,7 @@ Name = "Calculation 1", Comments = { - Comments = "Comments for Calculation 1" + Body = "Comments for Calculation 1" }, InputParameters = { @@ -859,7 +859,7 @@ Name = "Calculation 2", Comments = { - Comments = "Comments about Calculation 2" + Body = "Comments about Calculation 2" } }); } @@ -904,7 +904,7 @@ Name = "Calculation 1", Comments = { - Comments = "Comments for Calculation 1" + Body = "Comments for Calculation 1" }, InputParameters = { @@ -937,7 +937,7 @@ Name = "Calculation 2", Comments = { - Comments = "Comments for Calculation 2" + Body = "Comments for Calculation 2" }, InputParameters = { @@ -993,7 +993,7 @@ Name = "Calculation 1", Comments = { - Comments = "Comments for Calculation 1" + Body = "Comments for Calculation 1" }, InputParameters = { @@ -1026,7 +1026,7 @@ Name = "Calculation 2", Comments = { - Comments = "Comments for Calculation 2" + Body = "Comments for Calculation 2" }, InputParameters = { @@ -1086,7 +1086,7 @@ Name = "Calculation 1", Comments = { - Comments = "Comments for Calculation 1" + Body = "Comments for Calculation 1" }, InputParameters = { @@ -1119,7 +1119,7 @@ Name = "Calculation 2", Comments = { - Comments = "Comments for Calculation 2" + Body = "Comments for Calculation 2" }, InputParameters = { Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil.Test/TestClosingStructureCalculationTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil.Test/TestClosingStructureCalculationTest.cs (.../TestClosingStructureCalculationTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil.Test/TestClosingStructureCalculationTest.cs (.../TestClosingStructureCalculationTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -41,7 +41,7 @@ Assert.IsInstanceOf>(calculation); Assert.AreEqual("Nieuwe berekening", calculation.Name); Assert.IsNotNull(calculation.InputParameters); - Assert.IsNull(calculation.Comments.Comments); + Assert.IsNull(calculation.Comments.Body); Assert.IsFalse(calculation.HasOutput); Assert.IsNotNull(calculation.InputParameters.Structure); Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismViewTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismViewTest.cs (.../ClosingStructuresFailureMechanismViewTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismViewTest.cs (.../ClosingStructuresFailureMechanismViewTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -813,7 +813,7 @@ { public string Id { get; set; } public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public AssessmentSectionComposition Composition { get; private set; } public ReferenceLine ReferenceLine { get; set; } public FailureMechanismContribution FailureMechanismContribution { get; private set; } Index: Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/IAssessmentSection.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/IAssessmentSection.cs (.../IAssessmentSection.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/IAssessmentSection.cs (.../IAssessmentSection.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -45,7 +45,7 @@ /// /// Gets the comments associated with the assessment section. /// - Commentable Comments { get; } + Comment Comments { get; } /// /// Gets the composition of the assessment section, i.e. what type of elements can Index: Ringtoets/Common/src/Ringtoets.Common.Data/Calculation/ICalculation.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/src/Ringtoets.Common.Data/Calculation/ICalculation.cs (.../ICalculation.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/Common/src/Ringtoets.Common.Data/Calculation/ICalculation.cs (.../ICalculation.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -39,6 +39,6 @@ /// /// Gets the comments associated with the calculation. /// - Commentable Comments { get; } + Comment Comments { get; } } } \ No newline at end of file Index: Ringtoets/Common/src/Ringtoets.Common.Data/Comment.cs =================================================================== diff -u --- Ringtoets/Common/src/Ringtoets.Common.Data/Comment.cs (revision 0) +++ Ringtoets/Common/src/Ringtoets.Common.Data/Comment.cs (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -0,0 +1,34 @@ +// 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. + +namespace Ringtoets.Common.Data +{ + /// + /// This class represents an object about which some comments can be assigned. + /// + public class Comment + { + /// + /// Gets or sets the comment body associated with the data object. + /// + public string Body { get; set; } + } +} \ No newline at end of file Fisheye: Tag b4e3629ea2130359117dd403af8db3c8ae0c680b refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.Data/Commentable.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/Common/src/Ringtoets.Common.Data/FailureMechanism/FailureMechanismBase.cs =================================================================== diff -u -r72461cdacfbdea841fdf089e517e65b0e1f64a00 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/src/Ringtoets.Common.Data/FailureMechanism/FailureMechanismBase.cs (.../FailureMechanismBase.cs) (revision 72461cdacfbdea841fdf089e517e65b0e1f64a00) +++ Ringtoets/Common/src/Ringtoets.Common.Data/FailureMechanism/FailureMechanismBase.cs (.../FailureMechanismBase.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -57,9 +57,9 @@ Code = failureMechanismCode; sections = new List(); IsRelevant = true; - InputComments = new Commentable(); - OutputComments = new Commentable(); - NotRelevantComments = new Commentable(); + InputComments = new Comment(); + OutputComments = new Comment(); + NotRelevantComments = new Comment(); } public double Contribution @@ -92,11 +92,11 @@ } } - public Commentable InputComments { get; private set; } + public Comment InputComments { get; private set; } - public Commentable OutputComments { get; private set; } + public Comment OutputComments { get; private set; } - public Commentable NotRelevantComments { get; private set; } + public Comment NotRelevantComments { get; private set; } public bool IsRelevant { get; set; } Index: Ringtoets/Common/src/Ringtoets.Common.Data/FailureMechanism/IFailureMechanism.cs =================================================================== diff -u -r72461cdacfbdea841fdf089e517e65b0e1f64a00 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/src/Ringtoets.Common.Data/FailureMechanism/IFailureMechanism.cs (.../IFailureMechanism.cs) (revision 72461cdacfbdea841fdf089e517e65b0e1f64a00) +++ Ringtoets/Common/src/Ringtoets.Common.Data/FailureMechanism/IFailureMechanism.cs (.../IFailureMechanism.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -51,17 +51,17 @@ /// /// Gets the comments associated with the input of the data object. /// - Commentable InputComments { get; } + Comment InputComments { get; } /// /// Gets the comments associated with the output of the data object. /// - Commentable OutputComments { get; } + Comment OutputComments { get; } /// /// Gets the comments associated when the failure mechanism is set to be not relevant. /// - Commentable NotRelevantComments { get; } + Comment NotRelevantComments { get; } /// /// Gets or sets a value indicating whether this failure mechanism is relevant. Index: Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj =================================================================== diff -u -rc0d30f326bbc7308be94ba7a77ee37744cb7bee5 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj (.../Ringtoets.Common.Data.csproj) (revision c0d30f326bbc7308be94ba7a77ee37744cb7bee5) +++ Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj (.../Ringtoets.Common.Data.csproj) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -42,7 +42,7 @@ - + Index: Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresCalculation.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresCalculation.cs (.../StructuresCalculation.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresCalculation.cs (.../StructuresCalculation.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -38,7 +38,7 @@ { InputParameters = new T(); Name = Resources.Calculation_DefaultName; - Comments = new Commentable(); + Comments = new Comment(); } /// @@ -54,7 +54,7 @@ public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public bool HasOutput { Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PresentationObjects/CommentContext.cs =================================================================== diff -u -rc0d30f326bbc7308be94ba7a77ee37744cb7bee5 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/src/Ringtoets.Common.Forms/PresentationObjects/CommentContext.cs (.../CommentContext.cs) (revision c0d30f326bbc7308be94ba7a77ee37744cb7bee5) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/PresentationObjects/CommentContext.cs (.../CommentContext.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -26,16 +26,16 @@ namespace Ringtoets.Common.Forms.PresentationObjects { /// - /// This class is a presentation object for the comment of . + /// This class is a presentation object for the comment of . /// - public class CommentContext : WrappedObjectContextBase + public class CommentContext : WrappedObjectContextBase { /// /// Creates a new instance of . /// - /// The commentable item to wrap. - /// Thrown when + /// The comment item to wrap. + /// Thrown when /// is null. - public CommentContext(Commentable wrappedCommentable) : base(wrappedCommentable) {} + public CommentContext(Comment wrappedComment) : base(wrappedComment) {} } } \ No newline at end of file Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Views/CommentView.cs =================================================================== diff -u -rc0d30f326bbc7308be94ba7a77ee37744cb7bee5 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/src/Ringtoets.Common.Forms/Views/CommentView.cs (.../CommentView.cs) (revision c0d30f326bbc7308be94ba7a77ee37744cb7bee5) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Views/CommentView.cs (.../CommentView.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -31,7 +31,7 @@ /// public partial class CommentView : UserControl, IView { - private Commentable data; + private Comment data; /// /// Creates a new instance of . @@ -51,11 +51,11 @@ } set { - data = value as Commentable; + data = value as Comment; if (data != null) { - richTextBoxControl.Rtf = data.Comments; + richTextBoxControl.Rtf = data.Body; } } } @@ -69,7 +69,7 @@ { if (data != null) { - data.Comments = richTextBoxControl.Rtf; + data.Body = richTextBoxControl.Rtf; } } } Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/CommentTest.cs =================================================================== diff -u --- Ringtoets/Common/test/Ringtoets.Common.Data.Test/CommentTest.cs (revision 0) +++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/CommentTest.cs (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -0,0 +1,39 @@ +// 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. + +using NUnit.Framework; + +namespace Ringtoets.Common.Data.Test +{ + [TestFixture] + public class CommentTest + { + [Test] + public void Constructor_ReturnExpectedValues() + { + // Call + var comment = new Comment(); + + // Assert + Assert.IsNull(comment.Body); + } + } +} \ No newline at end of file Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/Ringtoets.Common.Data.Test.csproj =================================================================== diff -u -re4e785f127ce9a2d0d1734c1b51e02d910a31bbe -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/test/Ringtoets.Common.Data.Test/Ringtoets.Common.Data.Test.csproj (.../Ringtoets.Common.Data.Test.csproj) (revision e4e785f127ce9a2d0d1734c1b51e02d910a31bbe) +++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/Ringtoets.Common.Data.Test.csproj (.../Ringtoets.Common.Data.Test.csproj) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -56,6 +56,7 @@ + Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/Structures/StructuresCalculationTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/test/Ringtoets.Common.Data.Test/Structures/StructuresCalculationTest.cs (.../StructuresCalculationTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/Structures/StructuresCalculationTest.cs (.../StructuresCalculationTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -40,7 +40,7 @@ Assert.IsInstanceOf(calculation); Assert.AreEqual("Nieuwe berekening", calculation.Name); Assert.IsNotNull(calculation.InputParameters); - Assert.IsNull(calculation.Comments.Comments); + Assert.IsNull(calculation.Comments.Body); Assert.IsFalse(calculation.HasOutput); Assert.IsNull(calculation.Output); } @@ -120,10 +120,10 @@ var calculation = new TestStructuresCalculation(); // Call - calculation.Comments.Comments = comments; + calculation.Comments.Body = comments; // Assert - Assert.AreEqual(comments, calculation.Comments.Comments); + Assert.AreEqual(comments, calculation.Comments.Body); } private class TestStructuresCalculation : StructuresCalculation {} Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Helpers/FailureMechanismSectionResultRowHelperTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Helpers/FailureMechanismSectionResultRowHelperTest.cs (.../FailureMechanismSectionResultRowHelperTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Helpers/FailureMechanismSectionResultRowHelperTest.cs (.../FailureMechanismSectionResultRowHelperTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -80,7 +80,7 @@ private class CalculationWithOutput : ICalculation { public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public bool HasOutput { @@ -99,7 +99,7 @@ private class CalculationWithoutOutput : ICalculation { public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public bool HasOutput { Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PresentationObjects/CommentContextTest.cs =================================================================== diff -u -rc0d30f326bbc7308be94ba7a77ee37744cb7bee5 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PresentationObjects/CommentContextTest.cs (.../CommentContextTest.cs) (revision c0d30f326bbc7308be94ba7a77ee37744cb7bee5) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PresentationObjects/CommentContextTest.cs (.../CommentContextTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -32,7 +32,7 @@ public void Constructor_DefaultValues() { // Setup - var comment = new Commentable(); + var comment = new Comment(); // Call var context = new CommentContext(comment); Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsContextMenuBuilderTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsContextMenuBuilderTest.cs (.../RingtoetsContextMenuBuilderTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsContextMenuBuilderTest.cs (.../RingtoetsContextMenuBuilderTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -1609,7 +1609,7 @@ public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public bool HasOutput { Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsContextMenuItemFactoryTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsContextMenuItemFactoryTest.cs (.../RingtoetsContextMenuItemFactoryTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsContextMenuItemFactoryTest.cs (.../RingtoetsContextMenuItemFactoryTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -1353,7 +1353,7 @@ public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public bool HasOutput { Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsTreeNodeInfoFactoryTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsTreeNodeInfoFactoryTest.cs (.../RingtoetsTreeNodeInfoFactoryTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsTreeNodeInfoFactoryTest.cs (.../RingtoetsTreeNodeInfoFactoryTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -1181,7 +1181,7 @@ public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public bool HasOutput { Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/CommentViewTest.cs =================================================================== diff -u -rc0d30f326bbc7308be94ba7a77ee37744cb7bee5 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/CommentViewTest.cs (.../CommentViewTest.cs) (revision c0d30f326bbc7308be94ba7a77ee37744cb7bee5) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/CommentViewTest.cs (.../CommentViewTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -52,7 +52,7 @@ public void Data_Comment_DataSet() { // Setup - var data = new Commentable(); + var data = new Comment(); using (var view = new CommentView()) { @@ -87,9 +87,9 @@ const string expectedText = ""; var validRtfString = GetValidRtfString(expectedText); - var data = new Commentable + var data = new Comment { - Comments = validRtfString + Body = validRtfString }; using (var view = new CommentView()) @@ -105,10 +105,10 @@ } [Test] - public void RichTextEditorOnTextChanged_Always_SetsComments() + public void RichTextEditorOnTextChanged_Always_SetsComment() { // Setup - var data = new Commentable(); + var data = new Comment(); using (var form = new Form()) using (var view = new CommentView()) @@ -120,7 +120,7 @@ view.Data = data; // Precondition - Assert.AreEqual(GetValidRtfString(""), data.Comments); + Assert.AreEqual(GetValidRtfString(""), data.Body); var expectedText = ""; var validRtfString = GetValidRtfString(expectedText); @@ -131,7 +131,7 @@ richTextBoxControl.Rtf = validRtfString; // Assert - Assert.AreEqual(validRtfString, data.Comments); + Assert.AreEqual(validRtfString, data.Body); } } Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/FailureMechanismViewTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/FailureMechanismViewTest.cs (.../FailureMechanismViewTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/FailureMechanismViewTest.cs (.../FailureMechanismViewTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -525,7 +525,7 @@ { public string Id { get; set; } public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public AssessmentSectionComposition Composition { get; private set; } public ReferenceLine ReferenceLine { get; set; } public FailureMechanismContribution FailureMechanismContribution { get; private set; } Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationsViewTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationsViewTest.cs (.../HydraulicBoundaryLocationsViewTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationsViewTest.cs (.../HydraulicBoundaryLocationsViewTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -362,7 +362,7 @@ private class TestAssessmentSection : Observable, IAssessmentSection { - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public string Id { get; set; } Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsCalculation.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsCalculation.cs (.../GrassCoverErosionInwardsCalculation.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsCalculation.cs (.../GrassCoverErosionInwardsCalculation.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -39,7 +39,7 @@ { Name = RingtoetsCommonDataResources.Calculation_DefaultName; InputParameters = new GrassCoverErosionInwardsInput(); - Comments = new Commentable(); + Comments = new Comment(); } /// @@ -52,7 +52,7 @@ /// public GrassCoverErosionInwardsOutput Output { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public string Name { get; set; } Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsCalculationTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsCalculationTest.cs (.../GrassCoverErosionInwardsCalculationTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsCalculationTest.cs (.../GrassCoverErosionInwardsCalculationTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -42,7 +42,7 @@ Assert.AreEqual("Nieuwe berekening", calculation.Name); Assert.IsNotNull(calculation.InputParameters); Assert.IsFalse(calculation.HasOutput); - Assert.IsNull(calculation.Comments.Comments); + Assert.IsNull(calculation.Comments.Body); Assert.IsNull(calculation.Output); Assert.IsNull(calculation.InputParameters.DikeProfile); } @@ -73,10 +73,10 @@ var calculation = new GrassCoverErosionInwardsCalculation(); // Call - calculation.Comments.Comments = comments; + calculation.Comments.Body = comments; // Assert - Assert.AreEqual(comments, calculation.Comments.Comments); + Assert.AreEqual(comments, calculation.Comments.Body); } [Test] Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsFailureMechanismViewTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsFailureMechanismViewTest.cs (.../GrassCoverErosionInwardsFailureMechanismViewTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsFailureMechanismViewTest.cs (.../GrassCoverErosionInwardsFailureMechanismViewTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -810,7 +810,7 @@ { public string Id { get; set; } public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public AssessmentSectionComposition Composition { get; private set; } public ReferenceLine ReferenceLine { get; set; } public FailureMechanismContribution FailureMechanismContribution { get; private set; } Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GrassCoverErosionOutwardsWaveConditionsCalculation.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GrassCoverErosionOutwardsWaveConditionsCalculation.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculation.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GrassCoverErosionOutwardsWaveConditionsCalculation.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculation.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -39,7 +39,7 @@ { Name = RingtoetsCommonDataResources.Calculation_DefaultName; InputParameters = new WaveConditionsInput(); - Comments = new Commentable(); + Comments = new Comment(); } /// @@ -54,7 +54,7 @@ public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public bool HasOutput { Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Data.Test/GrassCoverErosionOutwardsWaveConditionsCalculationTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Data.Test/GrassCoverErosionOutwardsWaveConditionsCalculationTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Data.Test/GrassCoverErosionOutwardsWaveConditionsCalculationTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -44,7 +44,7 @@ Assert.AreEqual(RingtoetsCommonDataResources.Calculation_DefaultName, calculation.Name); Assert.IsNotNull(calculation.InputParameters); Assert.IsFalse(calculation.HasOutput); - Assert.IsNull(calculation.Comments.Comments); + Assert.IsNull(calculation.Comments.Body); Assert.IsNull(calculation.Output); Assert.IsNull(calculation.InputParameters.ForeshoreProfile); } Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsFailureMechanismViewTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsFailureMechanismViewTest.cs (.../GrassCoverErosionOutwardsFailureMechanismViewTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsFailureMechanismViewTest.cs (.../GrassCoverErosionOutwardsFailureMechanismViewTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -745,7 +745,7 @@ { public string Id { get; set; } public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public AssessmentSectionComposition Composition { get; private set; } public ReferenceLine ReferenceLine { get; set; } public FailureMechanismContribution FailureMechanismContribution { get; private set; } Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.TestUtil.Test/TestHeightStructuresCalculationTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.TestUtil.Test/TestHeightStructuresCalculationTest.cs (.../TestHeightStructuresCalculationTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.TestUtil.Test/TestHeightStructuresCalculationTest.cs (.../TestHeightStructuresCalculationTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -37,7 +37,7 @@ Assert.IsInstanceOf>(calculation); Assert.AreEqual("Nieuwe berekening", calculation.Name); Assert.IsNotNull(calculation.InputParameters); - Assert.IsNull(calculation.Comments.Comments); + Assert.IsNull(calculation.Comments.Body); Assert.IsFalse(calculation.HasOutput); Assert.IsNotNull(calculation.InputParameters.Structure); Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismViewTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismViewTest.cs (.../HeightStructuresFailureMechanismViewTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismViewTest.cs (.../HeightStructuresFailureMechanismViewTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -812,7 +812,7 @@ { public string Id { get; set; } public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public AssessmentSectionComposition Composition { get; private set; } public ReferenceLine ReferenceLine { get; set; } public FailureMechanismContribution FailureMechanismContribution { get; private set; } Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/AssessmentSection.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Integration/src/Ringtoets.Integration.Data/AssessmentSection.cs (.../AssessmentSection.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/Integration/src/Ringtoets.Integration.Data/AssessmentSection.cs (.../AssessmentSection.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -56,7 +56,7 @@ public AssessmentSection(AssessmentSectionComposition composition) { Name = Resources.AssessmentSection_DisplayName; - Comments = new Commentable(); + Comments = new Comment(); PipingFailureMechanism = new PipingFailureMechanism(); GrassCoverErosionInwards = new GrassCoverErosionInwardsFailureMechanism(); @@ -176,7 +176,7 @@ public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public AssessmentSectionComposition Composition { get; private set; } Index: Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs =================================================================== diff -u -rc0d30f326bbc7308be94ba7a77ee37744cb7bee5 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs (.../RingtoetsPlugin.cs) (revision c0d30f326bbc7308be94ba7a77ee37744cb7bee5) +++ Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs (.../RingtoetsPlugin.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -390,7 +390,7 @@ MacrostabilityOutwardsFailureMechanismSectionResult, MacrostabilityOutwardsResultView>(); - yield return new ViewInfo + yield return new ViewInfo { GetViewName = (view, context) => RingtoetsIntegrationPluginResources.Comment_DisplayName, GetViewData = context => context.WrappedData, @@ -977,8 +977,8 @@ var calculationGroupContext = o as ICalculationContext; if (calculationGroupContext != null) { - return GetCommentableElements(calculationGroupContext.WrappedData) - .Any(commentableElement => ReferenceEquals(commentView.Data, commentableElement)); + return GetCommentElements(calculationGroupContext.WrappedData) + .Any(commentElement => ReferenceEquals(commentView.Data, commentElement)); } var calculationContext = o as ICalculationContext; @@ -1001,42 +1001,42 @@ if (failureMechanism != null) { - return GetCommentableElements(failureMechanism) - .Any(commentableElement => ReferenceEquals(commentView.Data, commentableElement)); + return GetCommentElements(failureMechanism) + .Any(commentElement => ReferenceEquals(commentView.Data, commentElement)); } var assessmentSection = o as IAssessmentSection; if (assessmentSection != null) { - return GetCommentableElements(assessmentSection) - .Any(commentableElement => ReferenceEquals(commentView.Data, commentableElement)); + return GetCommentElements(assessmentSection) + .Any(commentElement => ReferenceEquals(commentView.Data, commentElement)); } return false; } - private static IEnumerable GetCommentableElements(CalculationGroup calculationGroup) + private static IEnumerable GetCommentElements(CalculationGroup calculationGroup) { return calculationGroup.GetCalculations().Select(c => c.Comments); } - private static IEnumerable GetCommentableElements(IAssessmentSection assessmentSection) + private static IEnumerable GetCommentElements(IAssessmentSection assessmentSection) { yield return assessmentSection.Comments; - foreach (var commentable in assessmentSection.GetFailureMechanisms().SelectMany(GetCommentableElements)) + foreach (Comment comment in assessmentSection.GetFailureMechanisms().SelectMany(GetCommentElements)) { - yield return commentable; + yield return comment; } } - private static IEnumerable GetCommentableElements(IFailureMechanism failureMechanism) + private static IEnumerable GetCommentElements(IFailureMechanism failureMechanism) { yield return failureMechanism.InputComments; yield return failureMechanism.OutputComments; yield return failureMechanism.NotRelevantComments; - foreach (ICalculation commentableCalculation in failureMechanism.Calculations) + foreach (ICalculation calculation in failureMechanism.Calculations) { - yield return commentableCalculation.Comments; + yield return calculation.Comments; } } Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/AssessmentSectionTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/AssessmentSectionTest.cs (.../AssessmentSectionTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/AssessmentSectionTest.cs (.../AssessmentSectionTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -111,7 +111,7 @@ Assert.IsInstanceOf(section); Assert.AreEqual("Traject", section.Name); - Assert.IsNull(section.Comments.Comments); + Assert.IsNull(section.Comments.Body); Assert.IsNull(section.ReferenceLine); Assert.AreEqual(composition, section.Composition); Assert.IsInstanceOf(section.FailureMechanismContribution); @@ -171,10 +171,10 @@ const string newValue = "new comment value"; // Call - section.Comments.Comments = newValue; + section.Comments.Body = newValue; // Assert - Assert.AreEqual(newValue, section.Comments.Comments); + Assert.AreEqual(newValue, section.Comments.Body); } [Test] Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/CalculationContextPropertiesTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/CalculationContextPropertiesTest.cs (.../CalculationContextPropertiesTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/CalculationContextPropertiesTest.cs (.../CalculationContextPropertiesTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -144,7 +144,7 @@ { public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public bool HasOutput { Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/CommentContextTreeNodeInfoTest.cs =================================================================== diff -u -rc0d30f326bbc7308be94ba7a77ee37744cb7bee5 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/CommentContextTreeNodeInfoTest.cs (.../CommentContextTreeNodeInfoTest.cs) (revision c0d30f326bbc7308be94ba7a77ee37744cb7bee5) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/CommentContextTreeNodeInfoTest.cs (.../CommentContextTreeNodeInfoTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -79,7 +79,7 @@ public void Text_Always_ReturnsName() { // Setup - var comment = new Commentable(); + var comment = new Comment(); using (var plugin = new RingtoetsPlugin()) { @@ -99,7 +99,7 @@ public void Image_Always_ReturnsSetImage() { // Setup - var comment = new Commentable(); + var comment = new Comment(); using (var plugin = new RingtoetsPlugin()) { Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismContextTreeNodeInfoTest.cs =================================================================== diff -u -rc0d30f326bbc7308be94ba7a77ee37744cb7bee5 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismContextTreeNodeInfoTest.cs (.../FailureMechanismContextTreeNodeInfoTest.cs) (revision c0d30f326bbc7308be94ba7a77ee37744cb7bee5) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismContextTreeNodeInfoTest.cs (.../FailureMechanismContextTreeNodeInfoTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -506,8 +506,8 @@ var failureMechanism = mocks.StrictMultiMock>(typeof(IFailureMechanism)); failureMechanism.Expect(fm => ((IFailureMechanism) fm).IsRelevant).Return(true); failureMechanism.Expect(fm => fm.SectionResults).Return(new List()).Repeat.Any(); - failureMechanism.Expect(fm => ((IFailureMechanism) fm).InputComments).Return(new Commentable()); - failureMechanism.Expect(fm => ((IFailureMechanism) fm).OutputComments).Return(new Commentable()); + failureMechanism.Expect(fm => ((IFailureMechanism) fm).InputComments).Return(new Comment()); + failureMechanism.Expect(fm => ((IFailureMechanism) fm).OutputComments).Return(new Comment()); var failureMechanismContext = mocks.Stub>(failureMechanism, assessmentSection); mocks.ReplayAll(); Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssessmentSectionViewTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssessmentSectionViewTest.cs (.../AssessmentSectionViewTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssessmentSectionViewTest.cs (.../AssessmentSectionViewTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -373,7 +373,7 @@ public AssessmentSectionComposition Composition { get; private set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public ReferenceLine ReferenceLine { get; set; } Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/DesignWaterLevelLocationsViewTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/DesignWaterLevelLocationsViewTest.cs (.../DesignWaterLevelLocationsViewTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/DesignWaterLevelLocationsViewTest.cs (.../DesignWaterLevelLocationsViewTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -354,7 +354,7 @@ FailureMechanismContribution = new FailureMechanismContribution(Enumerable.Empty(), 0, 300000); } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public string Id { get; set; } public string Name { get; set; } public AssessmentSectionComposition Composition { get; private set; } Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/WaveHeightLocationsViewTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/WaveHeightLocationsViewTest.cs (.../WaveHeightLocationsViewTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/WaveHeightLocationsViewTest.cs (.../WaveHeightLocationsViewTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -324,7 +324,7 @@ FailureMechanismContribution = new FailureMechanismContribution(Enumerable.Empty(), 0, 300000); } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public string Id { get; set; } public string Name { get; set; } public AssessmentSectionComposition Composition { get; private set; } Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/RingtoetsPluginTest.cs =================================================================== diff -u -rc0d30f326bbc7308be94ba7a77ee37744cb7bee5 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/RingtoetsPluginTest.cs (.../RingtoetsPluginTest.cs) (revision c0d30f326bbc7308be94ba7a77ee37744cb7bee5) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/RingtoetsPluginTest.cs (.../RingtoetsPluginTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -425,7 +425,7 @@ PluginTestHelper.AssertViewInfoDefined( viewInfos, typeof(CommentContext), - typeof(Commentable), + typeof(Comment), typeof(CommentView)); } } Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/CommentViewInfoTest.cs =================================================================== diff -u -rc0d30f326bbc7308be94ba7a77ee37744cb7bee5 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/CommentViewInfoTest.cs (.../CommentViewInfoTest.cs) (revision c0d30f326bbc7308be94ba7a77ee37744cb7bee5) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/CommentViewInfoTest.cs (.../CommentViewInfoTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -66,7 +66,7 @@ public void GetViewName_Always_ReturnsViewName() { // Setup - var comment = new Commentable(); + var comment = new Comment(); var viewMock = mocks.StrictMock(); mocks.ReplayAll(); @@ -83,7 +83,7 @@ public void GetViewData_Always_ReturnsComment() { // Setup - var comment = new Commentable(); + var comment = new Comment(); var contextMock = mocks.StrictMock(comment); mocks.ReplayAll(); @@ -122,7 +122,7 @@ var viewDataType = info.ViewDataType; // Assert - Assert.AreEqual(typeof(Commentable), viewDataType); + Assert.AreEqual(typeof(Comment), viewDataType); } [Test] @@ -139,7 +139,7 @@ public void CloseForData_ObjectIsNotObjectOfInterest_ReturnFalse() { // Setup - var comment = new Commentable(); + var comment = new Comment(); mocks.ReplayAll(); using (var view = new CommentView @@ -162,7 +162,7 @@ // Setup var assessmentSection = mocks.Stub(); assessmentSection.Stub(s => s.GetFailureMechanisms()).Return(Enumerable.Empty()); - assessmentSection.Stub(s => s.Comments).Return(new Commentable()); + assessmentSection.Stub(s => s.Comments).Return(new Comment()); mocks.ReplayAll(); using (var view = new CommentView @@ -185,11 +185,11 @@ // Setup var deletedAssessmentSection = mocks.Stub(); deletedAssessmentSection.Stub(s => s.GetFailureMechanisms()).Return(Enumerable.Empty()); - deletedAssessmentSection.Stub(s => s.Comments).Return(new Commentable()); + deletedAssessmentSection.Stub(s => s.Comments).Return(new Comment()); var viewDataAssessmentSection = mocks.Stub(); viewDataAssessmentSection.Stub(s => s.GetFailureMechanisms()).Return(Enumerable.Empty()); - viewDataAssessmentSection.Stub(s => s.Comments).Return(new Commentable()); + viewDataAssessmentSection.Stub(s => s.Comments).Return(new Comment()); mocks.ReplayAll(); using (var view = new CommentView @@ -211,23 +211,23 @@ { // Setup var calculation = mocks.Stub(); - calculation.Stub(s => s.Comments).Return(new Commentable()); + calculation.Stub(s => s.Comments).Return(new Comment()); var failureMechanism = mocks.Stub(); failureMechanism.Stub(fm => fm.Calculations).Return(new[] { calculation }); - failureMechanism.Stub(fm => fm.InputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.OutputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Commentable()); + failureMechanism.Stub(fm => fm.InputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.OutputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Comment()); var assessmentSection = mocks.Stub(); assessmentSection.Stub(s => s.GetFailureMechanisms()).Return(new[] { failureMechanism }); - assessmentSection.Stub(s => s.Comments).Return(new Commentable()); + assessmentSection.Stub(s => s.Comments).Return(new Comment()); mocks.ReplayAll(); using (var view = new CommentView @@ -249,7 +249,7 @@ { // Setup var viewDataCalculation = mocks.Stub(); - viewDataCalculation.Stub(s => s.Comments).Return(new Commentable()); + viewDataCalculation.Stub(s => s.Comments).Return(new Comment()); var deletedCalculation = mocks.Stub(); @@ -258,16 +258,16 @@ { deletedCalculation }); - deletedfailureMechanism.Stub(fm => fm.InputComments).Return(new Commentable()); - deletedfailureMechanism.Stub(fm => fm.OutputComments).Return(new Commentable()); - deletedfailureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Commentable()); + deletedfailureMechanism.Stub(fm => fm.InputComments).Return(new Comment()); + deletedfailureMechanism.Stub(fm => fm.OutputComments).Return(new Comment()); + deletedfailureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Comment()); var deletedAssessmentSection = mocks.Stub(); deletedAssessmentSection.Stub(s => s.GetFailureMechanisms()).Return(new[] { deletedfailureMechanism }); - deletedAssessmentSection.Stub(s => s.Comments).Return(new Commentable()); + deletedAssessmentSection.Stub(s => s.Comments).Return(new Comment()); mocks.ReplayAll(); using (var view = new CommentView @@ -285,28 +285,28 @@ } [Test] - public void CloseForData_ViewDataIsInputCommentableOfDeletedAssessmentSection_ReturnTrue() + public void CloseForData_ViewDataIsInputCommentOfDeletedAssessmentSection_ReturnTrue() { // Setup - var commentable = new Commentable(); + var comment = new Comment(); var failureMechanism = mocks.Stub(); failureMechanism.Stub(fm => fm.Calculations).Return(Enumerable.Empty()); - failureMechanism.Stub(fm => fm.InputComments).Return(commentable); - failureMechanism.Stub(fm => fm.OutputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Commentable()); + failureMechanism.Stub(fm => fm.InputComments).Return(comment); + failureMechanism.Stub(fm => fm.OutputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Comment()); var assessmentSection = mocks.Stub(); assessmentSection.Stub(s => s.GetFailureMechanisms()).Return(new[] { failureMechanism }); - assessmentSection.Stub(s => s.Comments).Return(new Commentable()); + assessmentSection.Stub(s => s.Comments).Return(new Comment()); mocks.ReplayAll(); using (var view = new CommentView { - Data = commentable + Data = comment }) { // Call @@ -319,28 +319,28 @@ } [Test] - public void CloseForData_ViewDataIsCommentableButNotOfDeletedAssessmentSection_ReturnFalse() + public void CloseForData_ViewDataIsCommentButNotOfDeletedAssessmentSection_ReturnFalse() { // Setup - var viewDataCommentable = new Commentable(); + var viewDataComment = new Comment(); var failureMechanism = mocks.Stub(); failureMechanism.Stub(fm => fm.Calculations).Return(Enumerable.Empty()); - failureMechanism.Stub(fm => fm.InputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.OutputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Commentable()); + failureMechanism.Stub(fm => fm.InputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.OutputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Comment()); var assessmentSection = mocks.Stub(); assessmentSection.Stub(s => s.GetFailureMechanisms()).Return(new[] { failureMechanism }); - assessmentSection.Stub(s => s.Comments).Return(new Commentable()); + assessmentSection.Stub(s => s.Comments).Return(new Comment()); mocks.ReplayAll(); using (var view = new CommentView { - Data = viewDataCommentable + Data = viewDataComment }) { // Call @@ -353,28 +353,28 @@ } [Test] - public void CloseForData_ViewDataIsOutputCommentableOfDeletedAssessmentSection_ReturnTrue() + public void CloseForData_ViewDataIsOutputCommentOfDeletedAssessmentSection_ReturnTrue() { // Setup - var commentable = new Commentable(); + var comment = new Comment(); var failureMechanism = mocks.Stub(); failureMechanism.Stub(fm => fm.Calculations).Return(Enumerable.Empty()); - failureMechanism.Stub(fm => fm.InputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.OutputComments).Return(commentable); - failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Commentable()); + failureMechanism.Stub(fm => fm.InputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.OutputComments).Return(comment); + failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Comment()); var assessmentSection = mocks.Stub(); assessmentSection.Stub(s => s.GetFailureMechanisms()).Return(new[] { failureMechanism }); - assessmentSection.Stub(s => s.Comments).Return(new Commentable()); + assessmentSection.Stub(s => s.Comments).Return(new Comment()); mocks.ReplayAll(); using (var view = new CommentView { - Data = commentable + Data = comment }) { // Call @@ -387,28 +387,28 @@ } [Test] - public void CloseForData_ViewDataIsNotRelevantCommentableOfDeletedAssessmentSection_ReturnTrue() + public void CloseForData_ViewDataIsNotRelevantCommentOfDeletedAssessmentSection_ReturnTrue() { // Setup - var commentable = new Commentable(); + var comment = new Comment(); var failureMechanism = mocks.Stub(); failureMechanism.Stub(fm => fm.Calculations).Return(Enumerable.Empty()); - failureMechanism.Stub(fm => fm.InputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.OutputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.NotRelevantComments).Return(commentable); + failureMechanism.Stub(fm => fm.InputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.OutputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.NotRelevantComments).Return(comment); var assessmentSection = mocks.Stub(); assessmentSection.Stub(s => s.GetFailureMechanisms()).Return(new[] { failureMechanism }); - assessmentSection.Stub(s => s.Comments).Return(new Commentable()); + assessmentSection.Stub(s => s.Comments).Return(new Comment()); mocks.ReplayAll(); using (var view = new CommentView { - Data = commentable + Data = comment }) { // Call @@ -425,7 +425,7 @@ { // Setup var calculation = mocks.Stub(); - calculation.Stub(s => s.Comments).Return(new Commentable()); + calculation.Stub(s => s.Comments).Return(new Comment()); var failureMechanism = mocks.Stub(); var failureMechanismContext = mocks.Stub>(); @@ -434,9 +434,9 @@ { calculation }); - failureMechanism.Stub(fm => fm.InputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.OutputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Commentable()); + failureMechanism.Stub(fm => fm.InputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.OutputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Comment()); mocks.ReplayAll(); @@ -459,9 +459,9 @@ { // Setup var viewDataCalculation = mocks.Stub(); - viewDataCalculation.Stub(s => s.Comments).Return(new Commentable()); + viewDataCalculation.Stub(s => s.Comments).Return(new Comment()); var deletedCalculation = mocks.Stub(); - deletedCalculation.Stub(s => s.Comments).Return(new Commentable()); + deletedCalculation.Stub(s => s.Comments).Return(new Comment()); var deletedfailureMechanism = mocks.Stub(); var failureMechanismContext = mocks.Stub>(); @@ -471,9 +471,9 @@ { deletedCalculation }); - deletedfailureMechanism.Stub(fm => fm.InputComments).Return(new Commentable()); - deletedfailureMechanism.Stub(fm => fm.OutputComments).Return(new Commentable()); - deletedfailureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Commentable()); + deletedfailureMechanism.Stub(fm => fm.InputComments).Return(new Comment()); + deletedfailureMechanism.Stub(fm => fm.OutputComments).Return(new Comment()); + deletedfailureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Comment()); mocks.ReplayAll(); @@ -496,16 +496,16 @@ { // Setup var calculation = mocks.Stub(); - calculation.Stub(s => s.Comments).Return(new Commentable()); + calculation.Stub(s => s.Comments).Return(new Comment()); var failureMechanism = mocks.Stub(); failureMechanism.Stub(fm => fm.Calculations).Return(new[] { calculation }); - failureMechanism.Stub(fm => fm.InputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.OutputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Commentable()); + failureMechanism.Stub(fm => fm.InputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.OutputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Comment()); mocks.ReplayAll(); @@ -528,7 +528,7 @@ { // Setup var viewDataCalculation = mocks.Stub(); - viewDataCalculation.Stub(s => s.Comments).Return(new Commentable()); + viewDataCalculation.Stub(s => s.Comments).Return(new Comment()); var deletedCalculation = mocks.Stub(); var failureMechanism = mocks.Stub(); @@ -537,9 +537,9 @@ { deletedCalculation }); - failureMechanism.Stub(fm => fm.InputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.OutputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Commentable()); + failureMechanism.Stub(fm => fm.InputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.OutputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Comment()); mocks.ReplayAll(); @@ -558,22 +558,22 @@ } [Test] - public void CloseForData_ViewDataIsCommentableButNotOfDeletedFailureMechanism_ReturnFalse() + public void CloseForData_ViewDataIsCommentButNotOfDeletedFailureMechanism_ReturnFalse() { // Setup - var viewDataCommentable = new Commentable(); + var viewDataComment = new Comment(); var failureMechanism = mocks.Stub(); failureMechanism.Stub(fm => fm.Calculations).Return(Enumerable.Empty()); - failureMechanism.Stub(fm => fm.InputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.OutputComments).Return(new Commentable()); - failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Commentable()); + failureMechanism.Stub(fm => fm.InputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.OutputComments).Return(new Comment()); + failureMechanism.Stub(fm => fm.NotRelevantComments).Return(new Comment()); mocks.ReplayAll(); using (var view = new CommentView { - Data = viewDataCommentable + Data = viewDataComment }) { // Call @@ -590,7 +590,7 @@ { // Setup var viewDataCalculation = mocks.Stub(); - viewDataCalculation.Stub(c => c.Comments).Return(new Commentable()); + viewDataCalculation.Stub(c => c.Comments).Return(new Comment()); var deletedCalculationContext = mocks.StrictMock>(); deletedCalculationContext.Expect(c => c.WrappedData).Return(viewDataCalculation); @@ -616,9 +616,9 @@ { // Setup var calculation = mocks.Stub(); - calculation.Stub(s => s.Comments).Return(new Commentable()); + calculation.Stub(s => s.Comments).Return(new Comment()); var viewDataCalculation = mocks.Stub(); - viewDataCalculation.Stub(s => s.Comments).Return(new Commentable()); + viewDataCalculation.Stub(s => s.Comments).Return(new Comment()); var deletedCalculationContext = mocks.StrictMock>(); deletedCalculationContext.Expect(c => c.WrappedData).Return(calculation); @@ -645,7 +645,7 @@ { // Setup var viewDataCalculation = mocks.Stub(); - viewDataCalculation.Stub(s => s.Comments).Return(new Commentable()); + viewDataCalculation.Stub(s => s.Comments).Return(new Comment()); var deletedGroupContext = mocks.StrictMock>(); var deletedGroup = new CalculationGroup { @@ -678,9 +678,9 @@ { // Setup var viewDataCalculation = mocks.Stub(); - viewDataCalculation.Stub(s => s.Comments).Return(new Commentable()); + viewDataCalculation.Stub(s => s.Comments).Return(new Comment()); var deletedCalculation = mocks.Stub(); - deletedCalculation.Stub(s => s.Comments).Return(new Commentable()); + deletedCalculation.Stub(s => s.Comments).Return(new Comment()); var deletedGroupContext = mocks.StrictMock>(); var deletedGroup = new CalculationGroup { Index: Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingCalculation.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingCalculation.cs (.../PipingCalculation.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingCalculation.cs (.../PipingCalculation.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -42,7 +42,7 @@ { Name = RingtoetsCommonDataResources.Calculation_DefaultName; InputParameters = new PipingInput(generalInputParameters); - Comments = new Commentable(); + Comments = new Comment(); } /// @@ -70,7 +70,7 @@ } } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public void ClearOutput() { Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingCalculationTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingCalculationTest.cs (.../PipingCalculationTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingCalculationTest.cs (.../PipingCalculationTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -57,7 +57,7 @@ Assert.IsInstanceOf(calculation.InputParameters); Assert.IsFalse(calculation.HasOutput); - Assert.IsNull(calculation.Comments.Comments); + Assert.IsNull(calculation.Comments.Body); Assert.IsNull(calculation.Output); Assert.IsNull(calculation.SemiProbabilisticOutput); } Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingFailureMechanismViewTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingFailureMechanismViewTest.cs (.../PipingFailureMechanismViewTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingFailureMechanismViewTest.cs (.../PipingFailureMechanismViewTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -867,7 +867,7 @@ { public string Id { get; set; } public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public AssessmentSectionComposition Composition { get; private set; } public ReferenceLine ReferenceLine { get; set; } public FailureMechanismContribution FailureMechanismContribution { get; private set; } Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.TestUtil.Test/TestStabilityPointStructuresCalculationTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.TestUtil.Test/TestStabilityPointStructuresCalculationTest.cs (.../TestStabilityPointStructuresCalculationTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.TestUtil.Test/TestStabilityPointStructuresCalculationTest.cs (.../TestStabilityPointStructuresCalculationTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -41,7 +41,7 @@ Assert.IsInstanceOf>(calculation); Assert.AreEqual("Nieuwe berekening", calculation.Name); Assert.IsNotNull(calculation.InputParameters); - Assert.IsNull(calculation.Comments.Comments); + Assert.IsNull(calculation.Comments.Body); Assert.IsFalse(calculation.HasOutput); Assert.IsNotNull(calculation.InputParameters.Structure); Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Forms.Test/Views/StabilityPointStructuresFailureMechanismViewTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Forms.Test/Views/StabilityPointStructuresFailureMechanismViewTest.cs (.../StabilityPointStructuresFailureMechanismViewTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Forms.Test/Views/StabilityPointStructuresFailureMechanismViewTest.cs (.../StabilityPointStructuresFailureMechanismViewTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -812,7 +812,7 @@ { public string Id { get; set; } public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public AssessmentSectionComposition Composition { get; private set; } public ReferenceLine ReferenceLine { get; set; } public FailureMechanismContribution FailureMechanismContribution { get; private set; } Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/StabilityStoneCoverWaveConditionsCalculation.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/StabilityStoneCoverWaveConditionsCalculation.cs (.../StabilityStoneCoverWaveConditionsCalculation.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/StabilityStoneCoverWaveConditionsCalculation.cs (.../StabilityStoneCoverWaveConditionsCalculation.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -39,7 +39,7 @@ { Name = RingtoetsCommonDataResources.Calculation_DefaultName; InputParameters = new WaveConditionsInput(); - Comments = new Commentable(); + Comments = new Comment(); } /// @@ -54,7 +54,7 @@ public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public bool HasOutput { Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Data.Test/StabilityStoneCoverWaveConditionsCalculationTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Data.Test/StabilityStoneCoverWaveConditionsCalculationTest.cs (.../StabilityStoneCoverWaveConditionsCalculationTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Data.Test/StabilityStoneCoverWaveConditionsCalculationTest.cs (.../StabilityStoneCoverWaveConditionsCalculationTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -43,7 +43,7 @@ Assert.AreEqual("Nieuwe berekening", calculation.Name); Assert.IsNotNull(calculation.InputParameters); Assert.IsFalse(calculation.HasOutput); - Assert.IsNull(calculation.Comments.Comments); + Assert.IsNull(calculation.Comments.Body); Assert.IsNull(calculation.Output); Assert.IsNull(calculation.InputParameters.ForeshoreProfile); } Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/Views/StabilityStoneCoverFailureMechanismViewTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/Views/StabilityStoneCoverFailureMechanismViewTest.cs (.../StabilityStoneCoverFailureMechanismViewTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/Views/StabilityStoneCoverFailureMechanismViewTest.cs (.../StabilityStoneCoverFailureMechanismViewTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -745,7 +745,7 @@ { public string Id { get; set; } public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public AssessmentSectionComposition Composition { get; private set; } public ReferenceLine ReferenceLine { get; set; } public FailureMechanismContribution FailureMechanismContribution { get; private set; } Index: Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Data/WaveImpactAsphaltCoverWaveConditionsCalculation.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Data/WaveImpactAsphaltCoverWaveConditionsCalculation.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculation.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Data/WaveImpactAsphaltCoverWaveConditionsCalculation.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculation.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -39,7 +39,7 @@ { Name = RingtoetsCommonDataResources.Calculation_DefaultName; InputParameters = new WaveConditionsInput(); - Comments = new Commentable(); + Comments = new Comment(); } /// @@ -54,7 +54,7 @@ public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public bool HasOutput { Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Data.Test/WaveImpactAsphaltCoverWaveConditionsCalculationTest.cs =================================================================== diff -u -r7c3056aafbb670d79d239ef3d38e9d942bc33498 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Data.Test/WaveImpactAsphaltCoverWaveConditionsCalculationTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationTest.cs) (revision 7c3056aafbb670d79d239ef3d38e9d942bc33498) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Data.Test/WaveImpactAsphaltCoverWaveConditionsCalculationTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -43,7 +43,7 @@ Assert.AreEqual("Nieuwe berekening", calculation.Name); Assert.IsNotNull(calculation.InputParameters); Assert.IsFalse(calculation.HasOutput); - Assert.IsNull(calculation.Comments.Comments); + Assert.IsNull(calculation.Comments.Body); Assert.IsNull(calculation.Output); Assert.IsNull(calculation.InputParameters.ForeshoreProfile); } Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/Views/WaveImpactAsphaltCoverFailureMechanismViewTest.cs =================================================================== diff -u -reef76311cf166ff9bf9f08b3c5ca879307b7f7d7 -rb4e3629ea2130359117dd403af8db3c8ae0c680b --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/Views/WaveImpactAsphaltCoverFailureMechanismViewTest.cs (.../WaveImpactAsphaltCoverFailureMechanismViewTest.cs) (revision eef76311cf166ff9bf9f08b3c5ca879307b7f7d7) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/Views/WaveImpactAsphaltCoverFailureMechanismViewTest.cs (.../WaveImpactAsphaltCoverFailureMechanismViewTest.cs) (revision b4e3629ea2130359117dd403af8db3c8ae0c680b) @@ -745,7 +745,7 @@ { public string Id { get; set; } public string Name { get; set; } - public Commentable Comments { get; private set; } + public Comment Comments { get; private set; } public AssessmentSectionComposition Composition { get; private set; } public ReferenceLine ReferenceLine { get; set; } public FailureMechanismContribution FailureMechanismContribution { get; private set; }