Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -r776558d53b8a73cf16bdd5b50ff4d1eeff933b2f -r24da3aa72ccc0776599628c9f971081694048d9a --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs (.../PipingCalculationGroupContextTreeNodeInfoTest.cs) (revision 776558d53b8a73cf16bdd5b50ff4d1eeff933b2f) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs (.../PipingCalculationGroupContextTreeNodeInfoTest.cs) (revision 24da3aa72ccc0776599628c9f971081694048d9a) @@ -54,6 +54,24 @@ [TestFixture] public class PipingCalculationGroupContextTreeNodeInfoTest : NUnitFormTest { + private const int contextMenuAddCalculationGroupIndexRootGroup = 4; + private const int contextMenuAddCalculationIndexRootGroup = 5; + private const int contextMenuRemoveAllChildrenIndexRootGroup = 7; + private const int contextMenuValidateAllIndexRootGroup = 9; + private const int contextMenuCalculateAllIndexRootGroup = 10; + private const int contextMenuClearOutputIndexRootGroup = 11; + private const int contextMenuExpandAllIndexRootGroup = 13; + private const int contextMenuCollapseAllIndexRootGroup = 14; + private const int contextMenuPropertiesIndexRootGroup = 16; + + private const int contextMenuAddCalculationGroupIndexNestedGroup = 0; + private const int contextMenuAddCalculationIndexNestedGroup = 1; + private const int contextMenuValidateAllIndexNestedGroup = 3; + private const int contextMenuCalculateAllIndexNestedGroup = 4; + private const int contextMenuClearOutputNestedGroupIndex = 5; + + private const int customOnlyContextMenuAddGenerateCalculationsIndex = 1; + private const int customOnlyContextMenuRemoveAllChildrenIndex = 6; private MockRepository mocks; private PipingPlugin plugin; private TreeNodeInfo info; @@ -1383,25 +1401,6 @@ base.TearDown(); } - private const int contextMenuAddCalculationGroupIndexRootGroup = 4; - private const int contextMenuAddCalculationIndexRootGroup = 5; - private const int contextMenuRemoveAllChildrenIndexRootGroup = 7; - private const int contextMenuValidateAllIndexRootGroup = 9; - private const int contextMenuCalculateAllIndexRootGroup = 10; - private const int contextMenuClearOutputIndexRootGroup = 11; - private const int contextMenuExpandAllIndexRootGroup = 13; - private const int contextMenuCollapseAllIndexRootGroup = 14; - private const int contextMenuPropertiesIndexRootGroup = 16; - - private const int contextMenuAddCalculationGroupIndexNestedGroup = 0; - private const int contextMenuAddCalculationIndexNestedGroup = 1; - private const int contextMenuValidateAllIndexNestedGroup = 3; - private const int contextMenuCalculateAllIndexNestedGroup = 4; - private const int contextMenuClearOutputNestedGroupIndex = 5; - - private const int customOnlyContextMenuAddGenerateCalculationsIndex = 1; - private const int customOnlyContextMenuRemoveAllChildrenIndex = 6; - /// /// Creates a new instance of with sections and a surface line. ///