Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/TreeNodeInfos/HeightStructuresCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -r8245c9add5586e4e544ab41195fb0af2b2a459e9 -rab20c4eb4ca81bd3845d50210d2bdb301177af6a --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/TreeNodeInfos/HeightStructuresCalculationContextTreeNodeInfoTest.cs (.../HeightStructuresCalculationContextTreeNodeInfoTest.cs) (revision 8245c9add5586e4e544ab41195fb0af2b2a459e9) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/TreeNodeInfos/HeightStructuresCalculationContextTreeNodeInfoTest.cs (.../HeightStructuresCalculationContextTreeNodeInfoTest.cs) (revision ab20c4eb4ca81bd3845d50210d2bdb301177af6a) @@ -39,6 +39,7 @@ using Ringtoets.Common.Data.Calculation; using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.Common.Data.Probability; +using Ringtoets.Common.Data.Structures; using Ringtoets.Common.Forms.PresentationObjects; using Ringtoets.HeightStructures.Data; using Ringtoets.HeightStructures.Data.TestUtil; @@ -118,7 +119,7 @@ mocks.ReplayAll(); var failureMechanism = new HeightStructuresFailureMechanism(); - var calculation = new HeightStructuresCalculation(); + var calculation = new StructuresCalculation(); var calculationContext = new HeightStructuresCalculationContext(calculation, failureMechanism, assessmentSectionStub); // Call @@ -146,7 +147,7 @@ mocks.ReplayAll(); var failureMechanism = new HeightStructuresFailureMechanism(); - var calculation = new HeightStructuresCalculation + var calculation = new StructuresCalculation { Output = new TestHeightStructuresOutput() }; @@ -178,7 +179,7 @@ var guiMock = mocks.StrictMock(); var failureMechanism = new HeightStructuresFailureMechanism(); var assessmentSectionStub = mocks.Stub(); - var calculation = new HeightStructuresCalculation(); + var calculation = new StructuresCalculation(); var nodeData = new HeightStructuresCalculationContext(calculation, failureMechanism, assessmentSectionStub); var menuBuilderMock = mocks.StrictMock(); @@ -217,7 +218,7 @@ var guiMock = mocks.StrictMock(); var failureMechanism = new HeightStructuresFailureMechanism(); var assessmentSectionStub = mocks.Stub(); - var calculation = new HeightStructuresCalculation(); + var calculation = new StructuresCalculation(); var nodeData = new HeightStructuresCalculationContext(calculation, failureMechanism, assessmentSectionStub); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); @@ -262,7 +263,7 @@ // Setup var failureMechanism = new HeightStructuresFailureMechanism(); var assessmentSectionStub = mocks.Stub(); - var calculation = new HeightStructuresCalculation(); + var calculation = new StructuresCalculation(); var nodeData = new HeightStructuresCalculationContext(calculation, failureMechanism, assessmentSectionStub); var guiMock = mocks.StrictMock(); @@ -302,7 +303,7 @@ var assessmentSectionStub = mocks.Stub(); - var calculation = new HeightStructuresCalculation(); + var calculation = new StructuresCalculation(); var nodeData = new HeightStructuresCalculationContext(calculation, failureMechanism, assessmentSectionStub); using (var treeViewControl = new TreeViewControl()) @@ -340,7 +341,7 @@ var assessmentSectionStub = mocks.Stub(); - var calculation = new HeightStructuresCalculation(); + var calculation = new StructuresCalculation(); var nodeData = new HeightStructuresCalculationContext(calculation, failureMechanism, assessmentSectionStub); using (var treeViewControl = new TreeViewControl()) @@ -389,7 +390,7 @@ var assessmentSectionStub = mocks.Stub(); - var calculation = new HeightStructuresCalculation(); + var calculation = new StructuresCalculation(); var nodeData = new HeightStructuresCalculationContext(calculation, failureMechanism, assessmentSectionStub); using (var treeViewControl = new TreeViewControl()) @@ -420,7 +421,7 @@ // Setup var failureMechanism = new HeightStructuresFailureMechanism(); var assessmentSectionStub = mocks.Stub(); - var calculation = new HeightStructuresCalculation(); + var calculation = new StructuresCalculation(); var nodeData = new HeightStructuresCalculationContext(calculation, failureMechanism, assessmentSectionStub); var guiMock = mocks.StrictMock(); @@ -460,7 +461,7 @@ var assessmentSectionStub = mocks.Stub(); - var calculation = new HeightStructuresCalculation(); + var calculation = new StructuresCalculation(); var nodeData = new HeightStructuresCalculationContext(calculation, failureMechanism, assessmentSectionStub); using (var treeViewControl = new TreeViewControl()) @@ -498,7 +499,7 @@ var assessmentSectionStub = mocks.Stub(); - var calculation = new HeightStructuresCalculation(); + var calculation = new StructuresCalculation(); var nodeData = new HeightStructuresCalculationContext(calculation, failureMechanism, assessmentSectionStub); using (var treeViewControl = new TreeViewControl()) @@ -547,7 +548,7 @@ var assessmentSectionStub = mocks.Stub(); - var calculation = new HeightStructuresCalculation(); + var calculation = new StructuresCalculation(); var nodeData = new HeightStructuresCalculationContext(calculation, failureMechanism, assessmentSectionStub); using (var treeViewControl = new TreeViewControl()) @@ -730,7 +731,7 @@ // Setup var group = new CalculationGroup(); var failureMechanism = new HeightStructuresFailureMechanism(); - var elementToBeRemoved = new HeightStructuresCalculation(); + var elementToBeRemoved = new StructuresCalculation(); var observerMock = mocks.StrictMock(); var assessmentSectionStub = mocks.Stub(); var calculationContext = new HeightStructuresCalculationContext(elementToBeRemoved, @@ -745,7 +746,7 @@ mocks.ReplayAll(); group.Children.Add(elementToBeRemoved); - group.Children.Add(new HeightStructuresCalculation()); + group.Children.Add(new StructuresCalculation()); group.Attach(observerMock); // Precondition @@ -766,7 +767,7 @@ // Setup var group = new CalculationGroup(); var failureMechanism = new HeightStructuresFailureMechanism(); - var elementToBeRemoved = new HeightStructuresCalculation(); + var elementToBeRemoved = new StructuresCalculation(); var assessmentSectionStub = mocks.Stub(); var calculationContext = new HeightStructuresCalculationContext(elementToBeRemoved, failureMechanism,