Index: Ringtoets/Common/src/Ringtoets.Common.Data/DikeProfiles/IHasForeshoreProfile.cs
===================================================================
diff -u -r89bea52ae1b4639721b93bdd4a537f36ec6d6b9c -r9a63dd4cf6589ffe683d8e1eb3694afced6efc78
--- Ringtoets/Common/src/Ringtoets.Common.Data/DikeProfiles/IHasForeshoreProfile.cs (.../IHasForeshoreProfile.cs) (revision 89bea52ae1b4639721b93bdd4a537f36ec6d6b9c)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/DikeProfiles/IHasForeshoreProfile.cs (.../IHasForeshoreProfile.cs) (revision 9a63dd4cf6589ffe683d8e1eb3694afced6efc78)
@@ -39,13 +39,13 @@
/// is not the case, or if there is no
/// assigned.
///
- bool IsForeshoreProfileParametersSynchronized { get; }
+ bool IsForeshoreProfileInputSynchronized { get; }
///
/// Applies the properties of the to
/// the parameters of the instance of .
///
/// When no foreshore profile is present, the input parameters are set to default values.
- void SynchronizeForeshoreProfileParameters();
+ void SynchronizeForeshoreProfileInput();
}
}
\ No newline at end of file
Index: Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresInputBase.cs
===================================================================
diff -u -r89bea52ae1b4639721b93bdd4a537f36ec6d6b9c -r9a63dd4cf6589ffe683d8e1eb3694afced6efc78
--- Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresInputBase.cs (.../StructuresInputBase.cs) (revision 89bea52ae1b4639721b93bdd4a537f36ec6d6b9c)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresInputBase.cs (.../StructuresInputBase.cs) (revision 9a63dd4cf6589ffe683d8e1eb3694afced6efc78)
@@ -83,7 +83,7 @@
widthFlowApertures = new NormalDistribution(2);
SetDefaultCommonStructureSchematizationProperties();
- SynchronizeForeshoreProfileParameters();
+ SynchronizeForeshoreProfileInput();
}
#region Model factors
@@ -350,7 +350,7 @@
set
{
foreshoreProfile = value;
- SynchronizeForeshoreProfileParameters();
+ SynchronizeForeshoreProfileInput();
}
}
@@ -380,7 +380,7 @@
Structure = null;
}
- public bool IsForeshoreProfileParametersSynchronized
+ public bool IsForeshoreProfileInputSynchronized
{
get
{
@@ -398,7 +398,7 @@
}
}
- public void SynchronizeForeshoreProfileParameters()
+ public void SynchronizeForeshoreProfileInput()
{
if (foreshoreProfile == null)
{
Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Helpers/SynchronizeCalculationWithForeshoreProfileHelper.cs
===================================================================
diff -u -rb7c78a363e31e9911179086d4aa73561deb6b4d4 -r9a63dd4cf6589ffe683d8e1eb3694afced6efc78
--- Ringtoets/Common/src/Ringtoets.Common.Forms/Helpers/SynchronizeCalculationWithForeshoreProfileHelper.cs (.../SynchronizeCalculationWithForeshoreProfileHelper.cs) (revision b7c78a363e31e9911179086d4aa73561deb6b4d4)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/Helpers/SynchronizeCalculationWithForeshoreProfileHelper.cs (.../SynchronizeCalculationWithForeshoreProfileHelper.cs) (revision 9a63dd4cf6589ffe683d8e1eb3694afced6efc78)
@@ -43,12 +43,12 @@
public static void UpdateForeshoreProfileDerivedCalculationInput(ICalculation calculation)
where TInput : ICalculationInput, IHasForeshoreProfile
{
- if (calculation.InputParameters.IsForeshoreProfileParametersSynchronized)
+ if (calculation.InputParameters.IsForeshoreProfileInputSynchronized)
{
return;
}
- calculation.InputParameters.SynchronizeForeshoreProfileParameters();
+ calculation.InputParameters.SynchronizeForeshoreProfileInput();
var affectedObjects = new List
{
Index: Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/RingtoetsContextMenuItemFactory.cs
===================================================================
diff -u -ra15e6824491a708be9c960aaa119b79a2ee3274d -r9a63dd4cf6589ffe683d8e1eb3694afced6efc78
--- Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/RingtoetsContextMenuItemFactory.cs (.../RingtoetsContextMenuItemFactory.cs) (revision a15e6824491a708be9c960aaa119b79a2ee3274d)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/RingtoetsContextMenuItemFactory.cs (.../RingtoetsContextMenuItemFactory.cs) (revision 9a63dd4cf6589ffe683d8e1eb3694afced6efc78)
@@ -386,7 +386,7 @@
where TCalculationInput : ICalculationInput, IHasForeshoreProfile
{
TCalculationInput input = calculation.InputParameters;
- bool hasForeshoreProfile = input.ForeshoreProfile != null && !input.IsForeshoreProfileParametersSynchronized;
+ bool hasForeshoreProfile = input.ForeshoreProfile != null && !input.IsForeshoreProfileInputSynchronized;
string toolTipMessage = hasForeshoreProfile
? Resources.CreateUpdateForshoreProfileOfCalculationItem_Update_calculation_with_ForeshoreProfile_ToolTip
: Resources.CreateUpdateForshoreProfileOfCalculationItem_Update_calculation_no_ForeshoreProfile_ToolTip;
@@ -431,7 +431,7 @@
{
ICalculation[] calculationsWithForeshoreProfileChanges = calculations.Where(
c => c.InputParameters.ForeshoreProfile != null
- && !c.InputParameters.IsForeshoreProfileParametersSynchronized).ToArray();
+ && !c.InputParameters.IsForeshoreProfileInputSynchronized).ToArray();
bool hasForeshoreProfileChanges = calculationsWithForeshoreProfileChanges.Any();
Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/Structures/StructuresInputBaseTest.cs
===================================================================
diff -u -r89bea52ae1b4639721b93bdd4a537f36ec6d6b9c -r9a63dd4cf6589ffe683d8e1eb3694afced6efc78
--- Ringtoets/Common/test/Ringtoets.Common.Data.Test/Structures/StructuresInputBaseTest.cs (.../StructuresInputBaseTest.cs) (revision 89bea52ae1b4639721b93bdd4a537f36ec6d6b9c)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/Structures/StructuresInputBaseTest.cs (.../StructuresInputBaseTest.cs) (revision 9a63dd4cf6589ffe683d8e1eb3694afced6efc78)
@@ -549,7 +549,7 @@
});
// Precondition
- Assert.IsFalse(input.IsForeshoreProfileParametersSynchronized);
+ Assert.IsFalse(input.IsForeshoreProfileInputSynchronized);
// Call
input.ForeshoreProfile = foreshoreProfile;
@@ -562,7 +562,7 @@
Assert.AreEqual(withValidForeshore, input.UseForeshore);
CollectionAssert.AreEqual(foreshoreProfile.Geometry, input.ForeshoreGeometry);
Assert.AreSame(originalHydraulicBoundaryLocation, input.HydraulicBoundaryLocation);
- Assert.IsTrue(input.IsForeshoreProfileParametersSynchronized);
+ Assert.IsTrue(input.IsForeshoreProfileInputSynchronized);
}
[Test]
@@ -590,7 +590,7 @@
input.ForeshoreProfile = foreshoreProfile;
// Precondition
- Assert.IsTrue(input.IsForeshoreProfileParametersSynchronized);
+ Assert.IsTrue(input.IsForeshoreProfileInputSynchronized);
Assert.AreSame(foreshoreProfile, input.ForeshoreProfile);
Assert.IsTrue(input.UseBreakWater);
Assert.AreNotEqual(originalBreakWaterType, input.BreakWater.Type);
@@ -603,7 +603,7 @@
input.ForeshoreProfile = null;
// Assert
- Assert.IsFalse(input.IsForeshoreProfileParametersSynchronized);
+ Assert.IsFalse(input.IsForeshoreProfileInputSynchronized);
Assert.IsFalse(input.UseBreakWater);
Assert.AreEqual(originalBreakWaterType, input.BreakWater.Type);
Assert.AreEqual(originalBreakWaterHeight, input.BreakWater.Height);
Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestCalculationWithForeshoreProfile.cs
===================================================================
diff -u -r0e1d04a42ec35249482d25d398ed9dce132e0155 -r9a63dd4cf6589ffe683d8e1eb3694afced6efc78
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestCalculationWithForeshoreProfile.cs (.../TestCalculationWithForeshoreProfile.cs) (revision 0e1d04a42ec35249482d25d398ed9dce132e0155)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestCalculationWithForeshoreProfile.cs (.../TestCalculationWithForeshoreProfile.cs) (revision 9a63dd4cf6589ffe683d8e1eb3694afced6efc78)
@@ -128,8 +128,8 @@
}
public ForeshoreProfile ForeshoreProfile { get; set; }
- public bool IsForeshoreProfileParametersSynchronized { get; }
- public void SynchronizeForeshoreProfileParameters()
+ public bool IsForeshoreProfileInputSynchronized { get; }
+ public void SynchronizeForeshoreProfileInput()
{
throw new NotImplementedException();
}
Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Helpers/SynchronizeCalculationWithForeshoreProfileHelperTest.cs
===================================================================
diff -u -rb7c78a363e31e9911179086d4aa73561deb6b4d4 -r9a63dd4cf6589ffe683d8e1eb3694afced6efc78
--- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Helpers/SynchronizeCalculationWithForeshoreProfileHelperTest.cs (.../SynchronizeCalculationWithForeshoreProfileHelperTest.cs) (revision b7c78a363e31e9911179086d4aa73561deb6b4d4)
+++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Helpers/SynchronizeCalculationWithForeshoreProfileHelperTest.cs (.../SynchronizeCalculationWithForeshoreProfileHelperTest.cs) (revision 9a63dd4cf6589ffe683d8e1eb3694afced6efc78)
@@ -36,7 +36,7 @@
// Setup
var mocks = new MockRepository();
var calculationInputMock = mocks.StrictMock();
- calculationInputMock.Expect(ci => ci.IsForeshoreProfileParametersSynchronized).Return(true);
+ calculationInputMock.Expect(ci => ci.IsForeshoreProfileInputSynchronized).Return(true);
var calculationMock = mocks.StrictMock>();
calculationMock.Stub(c => c.InputParameters).Return(calculationInputMock);
@@ -57,8 +57,8 @@
// Setup
var mocks = new MockRepository();
var calculationInputMock = mocks.StrictMock();
- calculationInputMock.Expect(ci => ci.IsForeshoreProfileParametersSynchronized).Return(false);
- calculationInputMock.Expect(ci => ci.SynchronizeForeshoreProfileParameters());
+ calculationInputMock.Expect(ci => ci.IsForeshoreProfileInputSynchronized).Return(false);
+ calculationInputMock.Expect(ci => ci.SynchronizeForeshoreProfileInput());
calculationInputMock.Expect(ci => ci.NotifyObservers());
var calculationMock = mocks.StrictMock>();
Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsContextMenuBuilderTest.cs
===================================================================
diff -u -ra15e6824491a708be9c960aaa119b79a2ee3274d -r9a63dd4cf6589ffe683d8e1eb3694afced6efc78
--- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsContextMenuBuilderTest.cs (.../RingtoetsContextMenuBuilderTest.cs) (revision a15e6824491a708be9c960aaa119b79a2ee3274d)
+++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsContextMenuBuilderTest.cs (.../RingtoetsContextMenuBuilderTest.cs) (revision 9a63dd4cf6589ffe683d8e1eb3694afced6efc78)
@@ -1646,7 +1646,7 @@
var calculationMock = mocks.StrictMock>();
var input = mocks.StrictMock();
input.Expect(i => i.ForeshoreProfile).Return(new TestForeshoreProfile());
- input.Expect(i => i.IsForeshoreProfileParametersSynchronized).Return(synchronized);
+ input.Expect(i => i.IsForeshoreProfileInputSynchronized).Return(synchronized);
calculationMock.Expect(c => c.InputParameters).Return(input);
var inquiryHelperMock = mocks.StrictMock();
mocks.ReplayAll();
@@ -1675,7 +1675,7 @@
TestHelper.AssertContextMenuStripContainsItem(result, 0,
"&Bijwerken voorlandprofiel...",
synchronized
- ? "Geselecteerd voorlandprofiel heeft geen wijzingingen om bij te werken."
+ ? "Geselecteerd voorlandprofiel heeft geen wijzigingen om bij te werken."
: "Berekening bijwerken waar een voorlandprofiel geselecteerd is.",
RingtoetsFormsResources.UpdateItemIcon,
!synchronized);
@@ -1723,7 +1723,7 @@
Assert.AreEqual(1, result.Items.Count);
TestHelper.AssertContextMenuStripContainsItem(result, 0,
"&Bijwerken voorlandprofiel...",
- "Geselecteerd voorlandprofiel heeft geen wijzingingen om bij te werken.",
+ "Geselecteerd voorlandprofiel heeft geen wijzigingen om bij te werken.",
RingtoetsFormsResources.UpdateItemIcon,
false);
}
@@ -1752,13 +1752,13 @@
var calculationMock = mocks.StrictMock>();
var inputMock = mocks.StrictMock();
inputMock.Expect(i => i.ForeshoreProfile).Return(new TestForeshoreProfile());
- inputMock.Expect(i => i.IsForeshoreProfileParametersSynchronized).Return(synchronized);
+ inputMock.Expect(i => i.IsForeshoreProfileInputSynchronized).Return(synchronized);
calculationMock.Stub(c => c.InputParameters).Return(inputMock);
var calculationWithoutChangesMock = mocks.StrictMock>();
var inputWithoutChangesMock = mocks.StrictMock();
inputWithoutChangesMock.Stub(ci => ci.ForeshoreProfile).Return(new TestForeshoreProfile());
- inputWithoutChangesMock.Stub(ci => ci.IsForeshoreProfileParametersSynchronized).Return(true);
+ inputWithoutChangesMock.Stub(ci => ci.IsForeshoreProfileInputSynchronized).Return(true);
calculationWithoutChangesMock.Stub(c => c.InputParameters).Return(inputWithoutChangesMock);
var inquiryHelperMock = mocks.StrictMock();
@@ -1820,7 +1820,7 @@
var calculationWithoutChangesMock = mocks.StrictMock>();
var inputWithoutChangesMock = mocks.StrictMock();
inputWithoutChangesMock.Stub(ci => ci.ForeshoreProfile).Return(new TestForeshoreProfile());
- inputWithoutChangesMock.Stub(ci => ci.IsForeshoreProfileParametersSynchronized).Return(true);
+ inputWithoutChangesMock.Stub(ci => ci.IsForeshoreProfileInputSynchronized).Return(true);
calculationWithoutChangesMock.Stub(c => c.InputParameters).Return(inputWithoutChangesMock);
var inquiryHelperMock = mocks.StrictMock();
Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsContextMenuItemFactoryTest.cs
===================================================================
diff -u -ra15e6824491a708be9c960aaa119b79a2ee3274d -r9a63dd4cf6589ffe683d8e1eb3694afced6efc78
--- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsContextMenuItemFactoryTest.cs (.../RingtoetsContextMenuItemFactoryTest.cs) (revision a15e6824491a708be9c960aaa119b79a2ee3274d)
+++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/TreeNodeInfos/RingtoetsContextMenuItemFactoryTest.cs (.../RingtoetsContextMenuItemFactoryTest.cs) (revision 9a63dd4cf6589ffe683d8e1eb3694afced6efc78)
@@ -615,7 +615,7 @@
// Assert
Assert.AreEqual("&Bijwerken voorlandprofiel...", toolStripItem.Text);
- Assert.AreEqual("Geselecteerd voorlandprofiel heeft geen wijzingingen om bij te werken.", toolStripItem.ToolTipText);
+ Assert.AreEqual("Geselecteerd voorlandprofiel heeft geen wijzigingen om bij te werken.", toolStripItem.ToolTipText);
TestHelper.AssertImagesAreEqual(RingtoetsFormsResources.UpdateItemIcon, toolStripItem.Image);
Assert.IsFalse(toolStripItem.Enabled);
mocks.VerifyAll();
@@ -629,7 +629,7 @@
var calculationMock = mocks.StrictMock>();
var input = mocks.StrictMock();
input.Expect(i => i.ForeshoreProfile).Return(new TestForeshoreProfile());
- input.Expect(i => i.IsForeshoreProfileParametersSynchronized).Return(false);
+ input.Expect(i => i.IsForeshoreProfileInputSynchronized).Return(false);
calculationMock.Expect(c => c.InputParameters).Return(input);
var inquiryHelperMock = mocks.StrictMock();
mocks.ReplayAll();
@@ -655,7 +655,7 @@
var calculationMock = mocks.StrictMock>();
var input = mocks.StrictMock();
input.Expect(i => i.ForeshoreProfile).Return(new TestForeshoreProfile());
- input.Expect(i => i.IsForeshoreProfileParametersSynchronized).Return(false);
+ input.Expect(i => i.IsForeshoreProfileInputSynchronized).Return(false);
calculationMock.Expect(c => c.InputParameters).Return(input);
calculationMock.Expect(c => c.HasOutput).Return(false);
var inquiryHelperMock = mocks.StrictMock();
@@ -688,7 +688,7 @@
var calculationMock = mocks.StrictMock>();
var input = mocks.StrictMock();
input.Expect(i => i.ForeshoreProfile).Return(new TestForeshoreProfile());
- input.Expect(i => i.IsForeshoreProfileParametersSynchronized).Return(false);
+ input.Expect(i => i.IsForeshoreProfileInputSynchronized).Return(false);
calculationMock.Expect(c => c.InputParameters).Return(input);
calculationMock.Expect(c => c.HasOutput).Return(true);
var inquiryHelperMock = mocks.StrictMock();
@@ -722,7 +722,7 @@
var calculationMock = mocks.StrictMock>();
var input = mocks.StrictMock();
input.Expect(i => i.ForeshoreProfile).Return(new TestForeshoreProfile());
- input.Expect(i => i.IsForeshoreProfileParametersSynchronized).Return(false);
+ input.Expect(i => i.IsForeshoreProfileInputSynchronized).Return(false);
calculationMock.Expect(c => c.InputParameters).Return(input);
calculationMock.Expect(c => c.HasOutput).Return(true);
var inquiryHelperMock = mocks.StrictMock();
@@ -782,7 +782,7 @@
var calculationMock = mocks.StrictMock>();
var inputMock = mocks.StrictMock();
inputMock.Stub(ci => ci.ForeshoreProfile).Return(new TestForeshoreProfile());
- inputMock.Stub(ci => ci.IsForeshoreProfileParametersSynchronized).Return(true);
+ inputMock.Stub(ci => ci.IsForeshoreProfileInputSynchronized).Return(true);
calculationMock.Stub(c => c.InputParameters).Return(inputMock);
var inquiryHelperMock = mocks.StrictMock();
@@ -812,13 +812,13 @@
var calculationMock = mocks.StrictMock>();
var input = mocks.StrictMock();
input.Expect(i => i.ForeshoreProfile).Return(new TestForeshoreProfile());
- input.Expect(i => i.IsForeshoreProfileParametersSynchronized).Return(false);
+ input.Expect(i => i.IsForeshoreProfileInputSynchronized).Return(false);
calculationMock.Stub(c => c.InputParameters).Return(input);
var calculationWithoutChangesMock = mocks.StrictMock>();
var inputWithoutChangesMock = mocks.StrictMock();
inputWithoutChangesMock.Stub(ci => ci.ForeshoreProfile).Return(new TestForeshoreProfile());
- inputWithoutChangesMock.Stub(ci => ci.IsForeshoreProfileParametersSynchronized).Return(true);
+ inputWithoutChangesMock.Stub(ci => ci.IsForeshoreProfileInputSynchronized).Return(true);
calculationWithoutChangesMock.Stub(c => c.InputParameters).Return(inputWithoutChangesMock);
var inquiryHelperMock = mocks.StrictMock();
@@ -849,14 +849,14 @@
var calculationMock = mocks.StrictMock>();
var input = mocks.StrictMock();
input.Expect(i => i.ForeshoreProfile).Return(new TestForeshoreProfile());
- input.Expect(i => i.IsForeshoreProfileParametersSynchronized).Return(false);
+ input.Expect(i => i.IsForeshoreProfileInputSynchronized).Return(false);
calculationMock.Stub(c => c.InputParameters).Return(input);
calculationMock.Expect(c => c.HasOutput).Return(false);
var calculationWithoutChangesMock = mocks.StrictMock>();
var inputWithoutChangesMock = mocks.StrictMock();
inputWithoutChangesMock.Stub(ci => ci.ForeshoreProfile).Return(new TestForeshoreProfile());
- inputWithoutChangesMock.Stub(ci => ci.IsForeshoreProfileParametersSynchronized).Return(true);
+ inputWithoutChangesMock.Stub(ci => ci.IsForeshoreProfileInputSynchronized).Return(true);
calculationWithoutChangesMock.Stub(c => c.InputParameters).Return(inputWithoutChangesMock);
var inquiryHelperMock = mocks.StrictMock();
@@ -893,14 +893,14 @@
var calculationMock = mocks.StrictMock>();
var inputMock = mocks.StrictMock();
inputMock.Expect(i => i.ForeshoreProfile).Return(new TestForeshoreProfile());
- inputMock.Expect(i => i.IsForeshoreProfileParametersSynchronized).Return(false);
+ inputMock.Expect(i => i.IsForeshoreProfileInputSynchronized).Return(false);
calculationMock.Stub(c => c.InputParameters).Return(inputMock);
calculationMock.Expect(c => c.HasOutput).Return(true);
var calculationWithoutChangesMock = mocks.StrictMock>();
var inputWithoutChangesMock = mocks.StrictMock();
inputWithoutChangesMock.Stub(ci => ci.ForeshoreProfile).Return(new TestForeshoreProfile());
- inputWithoutChangesMock.Stub(ci => ci.IsForeshoreProfileParametersSynchronized).Return(true);
+ inputWithoutChangesMock.Stub(ci => ci.IsForeshoreProfileInputSynchronized).Return(true);
calculationWithoutChangesMock.Stub(c => c.InputParameters).Return(inputWithoutChangesMock);
var inquiryHelperMock = mocks.StrictMock();
@@ -938,14 +938,14 @@
var calculationMock = mocks.StrictMock>();
var input = mocks.StrictMock();
input.Expect(i => i.ForeshoreProfile).Return(new TestForeshoreProfile());
- input.Expect(i => i.IsForeshoreProfileParametersSynchronized).Return(false);
+ input.Expect(i => i.IsForeshoreProfileInputSynchronized).Return(false);
calculationMock.Stub(c => c.InputParameters).Return(input);
calculationMock.Expect(c => c.HasOutput).Return(true);
var calculationWithoutChangesMock = mocks.StrictMock>();
var inputWithoutChangesMock = mocks.StrictMock();
inputWithoutChangesMock.Stub(ci => ci.ForeshoreProfile).Return(new TestForeshoreProfile());
- inputWithoutChangesMock.Stub(ci => ci.IsForeshoreProfileParametersSynchronized).Return(true);
+ inputWithoutChangesMock.Stub(ci => ci.IsForeshoreProfileInputSynchronized).Return(true);
calculationWithoutChangesMock.Stub(c => c.InputParameters).Return(inputWithoutChangesMock);
var inquiryHelperMock = mocks.StrictMock();
Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs
===================================================================
diff -u -r69edbc24f85afa7054f2d3c1e68d06b502f5a2ae -r9a63dd4cf6589ffe683d8e1eb3694afced6efc78
--- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision 69edbc24f85afa7054f2d3c1e68d06b502f5a2ae)
+++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision 9a63dd4cf6589ffe683d8e1eb3694afced6efc78)
@@ -513,7 +513,7 @@
TestHelper.AssertContextMenuStripContainsItem(menu, contextMenuUpdateForeshoreProfileIndex,
"&Bijwerken voorlandprofiel...",
- "Geselecteerd voorlandprofiel heeft geen wijzingingen om bij te werken.",
+ "Geselecteerd voorlandprofiel heeft geen wijzigingen om bij te werken.",
RingtoetsCommonFormsResources.UpdateItemIcon,
false);
Index: Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInput.cs
===================================================================
diff -u -rfaa45d14b96d0433ec561a39635ad6285b1ad5e3 -r9a63dd4cf6589ffe683d8e1eb3694afced6efc78
--- Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInput.cs (.../WaveConditionsInput.cs) (revision faa45d14b96d0433ec561a39635ad6285b1ad5e3)
+++ Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInput.cs (.../WaveConditionsInput.cs) (revision 9a63dd4cf6589ffe683d8e1eb3694afced6efc78)
@@ -64,7 +64,7 @@
upperBoundaryWaterLevels = new RoundedDouble(2, double.NaN);
lowerBoundaryWaterLevels = new RoundedDouble(2, double.NaN);
- SynchronizeForeshoreProfileParameters();
+ SynchronizeForeshoreProfileInput();
}
///
@@ -252,11 +252,11 @@
set
{
foreshoreProfile = value;
- SynchronizeForeshoreProfileParameters();
+ SynchronizeForeshoreProfileInput();
}
}
- public bool IsForeshoreProfileParametersSynchronized
+ public bool IsForeshoreProfileInputSynchronized
{
get
{
@@ -291,7 +291,7 @@
}
}
- public void SynchronizeForeshoreProfileParameters()
+ public void SynchronizeForeshoreProfileInput()
{
if (foreshoreProfile == null)
{
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.Data.Test/WaveConditionsInputTest.cs
===================================================================
diff -u -rfaa45d14b96d0433ec561a39635ad6285b1ad5e3 -r9a63dd4cf6589ffe683d8e1eb3694afced6efc78
--- Ringtoets/Revetment/test/Ringtoets.Revetment.Data.Test/WaveConditionsInputTest.cs (.../WaveConditionsInputTest.cs) (revision faa45d14b96d0433ec561a39635ad6285b1ad5e3)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.Data.Test/WaveConditionsInputTest.cs (.../WaveConditionsInputTest.cs) (revision 9a63dd4cf6589ffe683d8e1eb3694afced6efc78)
@@ -213,13 +213,13 @@
});
// Precondition
- Assert.IsFalse(input.IsForeshoreProfileParametersSynchronized);
+ Assert.IsFalse(input.IsForeshoreProfileInputSynchronized);
// Call
input.ForeshoreProfile = foreshoreProfile;
// Assert
- Assert.IsTrue(input.IsForeshoreProfileParametersSynchronized);
+ Assert.IsTrue(input.IsForeshoreProfileInputSynchronized);
Assert.AreSame(foreshoreProfile, input.ForeshoreProfile);
Assert.AreEqual(withBreakWater, input.UseBreakWater);
Assert.AreEqual(withBreakWater ? foreshoreProfile.BreakWater.Type : originalBreakWaterType, input.BreakWater.Type);
@@ -256,7 +256,7 @@
input.ForeshoreProfile = foreshoreProfile;
// Precondition
- Assert.IsTrue(input.IsForeshoreProfileParametersSynchronized);
+ Assert.IsTrue(input.IsForeshoreProfileInputSynchronized);
Assert.AreSame(foreshoreProfile, input.ForeshoreProfile);
Assert.IsTrue(input.UseBreakWater);
Assert.AreNotEqual(originalBreakWaterType, input.BreakWater.Type);
@@ -269,7 +269,7 @@
input.ForeshoreProfile = null;
// Assert
- Assert.IsFalse(input.IsForeshoreProfileParametersSynchronized);
+ Assert.IsFalse(input.IsForeshoreProfileInputSynchronized);
Assert.IsFalse(input.UseBreakWater);
Assert.AreEqual(originalBreakWaterType, input.BreakWater.Type);
Assert.AreEqual(originalBreakWaterHeight, input.BreakWater.Height);
Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs
===================================================================
diff -u -r69edbc24f85afa7054f2d3c1e68d06b502f5a2ae -r9a63dd4cf6589ffe683d8e1eb3694afced6efc78
--- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision 69edbc24f85afa7054f2d3c1e68d06b502f5a2ae)
+++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision 9a63dd4cf6589ffe683d8e1eb3694afced6efc78)
@@ -497,7 +497,7 @@
TestHelper.AssertContextMenuStripContainsItem(menu, contextMenuUpdateForeshoreProfileIndex,
"&Bijwerken voorlandprofiel...",
- "Geselecteerd voorlandprofiel heeft geen wijzingingen om bij te werken.",
+ "Geselecteerd voorlandprofiel heeft geen wijzigingen om bij te werken.",
RingtoetsCommonFormsResources.UpdateItemIcon,
false);
Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs
===================================================================
diff -u -r69edbc24f85afa7054f2d3c1e68d06b502f5a2ae -r9a63dd4cf6589ffe683d8e1eb3694afced6efc78
--- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision 69edbc24f85afa7054f2d3c1e68d06b502f5a2ae)
+++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision 9a63dd4cf6589ffe683d8e1eb3694afced6efc78)
@@ -491,7 +491,7 @@
TestHelper.AssertContextMenuStripContainsItem(menu, contextMenuUpdateForeshoreProfileIndex,
"&Bijwerken voorlandprofiel...",
- "Geselecteerd voorlandprofiel heeft geen wijzingingen om bij te werken.",
+ "Geselecteerd voorlandprofiel heeft geen wijzigingen om bij te werken.",
RingtoetsCommonFormsResources.UpdateItemIcon,
false);