Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -r65991df4e411780df91b7005b669d41b51170b3b -r41da80335e9db4b38a470de5b247f759ca497997 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresCalculationContextTreeNodeInfoTest.cs (.../HeightStructuresCalculationContextTreeNodeInfoTest.cs) (revision 65991df4e411780df91b7005b669d41b51170b3b) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresCalculationContextTreeNodeInfoTest.cs (.../HeightStructuresCalculationContextTreeNodeInfoTest.cs) (revision 41da80335e9db4b38a470de5b247f759ca497997) @@ -350,7 +350,8 @@ contextMenuUpdateStructureIndex, "&Bijwerken kunstwerk...", "Er zijn geen wijzigingen om bij te werken.", - RingtoetsCommonFormsResources.UpdateItemIcon, false); + RingtoetsCommonFormsResources.UpdateItemIcon, + false); } } } @@ -437,7 +438,6 @@ menu.Items[contextMenuUpdateStructureIndex].PerformClick(); // Then - Assert.IsFalse(calculation.HasOutput); Assert.IsTrue(calculation.InputParameters.IsStructureInputSynchronized); // Note: observer assertions are verified in the TearDown() @@ -982,18 +982,11 @@ using (ContextMenuStrip contextMenuStrip = info.ContextMenuStrip(nodeData, null, treeViewControl)) { - // Precondition - TestHelper.AssertContextMenuStripContainsItem(contextMenuStrip, - contextMenuUpdateForeshoreProfileIndex, - "&Bijwerken voorlandprofiel...", - "Berekening bijwerken met het voorlandprofiel.", - RingtoetsCommonFormsResources.UpdateItemIcon); - // When contextMenuStrip.Items[contextMenuUpdateForeshoreProfileIndex].PerformClick(); // Then - Assert.IsTrue(calculation.InputParameters.UseBreakWater); + Assert.IsTrue(calculation.InputParameters.IsForeshoreProfileInputSynchronized); } } }