Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/DesignWaterLevelLocationsContextPropertyInfoTest.cs =================================================================== diff -u -r82feef3e508c2a4fdae35ce6af4b755a3d0c4160 -r5a54a4db63685bd36cc9b979d2358c32a8a0f405 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/DesignWaterLevelLocationsContextPropertyInfoTest.cs (.../DesignWaterLevelLocationsContextPropertyInfoTest.cs) (revision 82feef3e508c2a4fdae35ce6af4b755a3d0c4160) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/DesignWaterLevelLocationsContextPropertyInfoTest.cs (.../DesignWaterLevelLocationsContextPropertyInfoTest.cs) (revision 5a54a4db63685bd36cc9b979d2358c32a8a0f405) @@ -85,6 +85,7 @@ var context = new DesignWaterLevelLocationsContext(hydraulicBoundaryLocations, assessmentSection, + () => 0.01, hbl => hydraulicBoundaryLocationsLookup[hbl], "Category"); Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/WaveHeightLocationsContextPropertyInfoTest.cs =================================================================== diff -u -r82feef3e508c2a4fdae35ce6af4b755a3d0c4160 -r5a54a4db63685bd36cc9b979d2358c32a8a0f405 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/WaveHeightLocationsContextPropertyInfoTest.cs (.../WaveHeightLocationsContextPropertyInfoTest.cs) (revision 82feef3e508c2a4fdae35ce6af4b755a3d0c4160) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/WaveHeightLocationsContextPropertyInfoTest.cs (.../WaveHeightLocationsContextPropertyInfoTest.cs) (revision 5a54a4db63685bd36cc9b979d2358c32a8a0f405) @@ -85,6 +85,7 @@ var context = new WaveHeightLocationsContext(hydraulicBoundaryLocations, assessmentSection, + () => 0.01, hbl => hydraulicBoundaryLocationsLookup[hbl], "Category"); Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs =================================================================== diff -u -r3cae63a44735f53a20236b660138d6b0fdc2f98f -r5a54a4db63685bd36cc9b979d2358c32a8a0f405 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelLocationsContextTreeNodeInfoTest.cs) (revision 3cae63a44735f53a20236b660138d6b0fdc2f98f) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelLocationsContextTreeNodeInfoTest.cs) (revision 5a54a4db63685bd36cc9b979d2358c32a8a0f405) @@ -98,6 +98,7 @@ const string categoryBoundaryName = "Category"; var context = new DesignWaterLevelLocationsContext(new ObservableList(), assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), categoryBoundaryName); @@ -151,6 +152,7 @@ var nodeData = new DesignWaterLevelLocationsContext(new ObservableList(), assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -185,6 +187,7 @@ var nodeData = new DesignWaterLevelLocationsContext(new ObservableList(), assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -227,6 +230,7 @@ var nodeData = new DesignWaterLevelLocationsContext(assessmentSection.HydraulicBoundaryDatabase.Locations, assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -275,6 +279,7 @@ var nodeData = new DesignWaterLevelLocationsContext(hydraulicBoundaryDatabase.Locations, assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -328,6 +333,7 @@ var context = new DesignWaterLevelLocationsContext(assessmentSection.HydraulicBoundaryDatabase.Locations, assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -399,6 +405,7 @@ var context = new DesignWaterLevelLocationsContext(assessmentSection.HydraulicBoundaryDatabase.Locations, assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -469,6 +476,7 @@ var context = new DesignWaterLevelLocationsContext(assessmentSection.HydraulicBoundaryDatabase.Locations, assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -537,6 +545,7 @@ var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(); var context = new DesignWaterLevelLocationsContext(assessmentSection.HydraulicBoundaryDatabase.Locations, assessmentSection, + () => 0.01, hbl => hydraulicBoundaryLocationCalculation, "Category"); Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightLocationsContextTreeNodeInfoTest.cs =================================================================== diff -u -r3cae63a44735f53a20236b660138d6b0fdc2f98f -r5a54a4db63685bd36cc9b979d2358c32a8a0f405 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightLocationsContextTreeNodeInfoTest.cs (.../WaveHeightLocationsContextTreeNodeInfoTest.cs) (revision 3cae63a44735f53a20236b660138d6b0fdc2f98f) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightLocationsContextTreeNodeInfoTest.cs (.../WaveHeightLocationsContextTreeNodeInfoTest.cs) (revision 5a54a4db63685bd36cc9b979d2358c32a8a0f405) @@ -98,6 +98,7 @@ const string categoryBoundaryName = "Category"; var context = new WaveHeightLocationsContext(new ObservableList(), assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), categoryBoundaryName); @@ -151,6 +152,7 @@ var nodeData = new WaveHeightLocationsContext(new ObservableList(), assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -185,6 +187,7 @@ var nodeData = new WaveHeightLocationsContext(new ObservableList(), assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -227,6 +230,7 @@ var nodeData = new WaveHeightLocationsContext(assessmentSection.HydraulicBoundaryDatabase.Locations, assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -275,6 +279,7 @@ var nodeData = new WaveHeightLocationsContext(hydraulicBoundaryDatabase.Locations, assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -328,6 +333,7 @@ var context = new WaveHeightLocationsContext(assessmentSection.HydraulicBoundaryDatabase.Locations, assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -399,6 +405,7 @@ var context = new WaveHeightLocationsContext(assessmentSection.HydraulicBoundaryDatabase.Locations, assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -469,6 +476,7 @@ var context = new WaveHeightLocationsContext(assessmentSection.HydraulicBoundaryDatabase.Locations, assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -539,6 +547,7 @@ var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(); var context = new WaveHeightLocationsContext(assessmentSection.HydraulicBoundaryDatabase.Locations, assessmentSection, + () => 0.01, hbl => hydraulicBoundaryLocationCalculation, "Category"); Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs =================================================================== diff -u -rbc3e9533de8e4e270211af3ef1821373fe907569 -r5a54a4db63685bd36cc9b979d2358c32a8a0f405 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs (.../DesignWaterLevelLocationsViewInfoTest.cs) (revision bc3e9533de8e4e270211af3ef1821373fe907569) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs (.../DesignWaterLevelLocationsViewInfoTest.cs) (revision 5a54a4db63685bd36cc9b979d2358c32a8a0f405) @@ -120,6 +120,7 @@ ObservableList locations = assessmentSection.HydraulicBoundaryDatabase.Locations; var context = new DesignWaterLevelLocationsContext(locations, assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -159,6 +160,7 @@ var context = new DesignWaterLevelLocationsContext(hydraulicBoundaryLocations, assessmentSection, + () => 0.01, hbl => hydraulicBoundaryLocationsLookup[hbl], "Category"); @@ -200,17 +202,20 @@ gui.Stub(g => g.DocumentViewController).Return(mocks.Stub()); mocks.ReplayAll(); + Func getNormFunc = () => 0.01; var assessmentSection = new ObservableTestAssessmentSectionStub(); var locations = new ObservableList(); + var context = new DesignWaterLevelLocationsContext(locations, assessmentSection, + getNormFunc, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); using (var view = new DesignWaterLevelLocationsView(locations, hbl => new HydraulicBoundaryLocationCalculation(), new ObservableTestAssessmentSectionStub(), - () => 0.01)) + getNormFunc)) using (var ringtoetsPlugin = new RingtoetsPlugin()) { info = ringtoetsPlugin.GetViewInfos().First(tni => tni.ViewType == typeof(DesignWaterLevelLocationsView)); Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/WaveHeightLocationsViewInfoTest.cs =================================================================== diff -u -r82feef3e508c2a4fdae35ce6af4b755a3d0c4160 -r5a54a4db63685bd36cc9b979d2358c32a8a0f405 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/WaveHeightLocationsViewInfoTest.cs (.../WaveHeightLocationsViewInfoTest.cs) (revision 82feef3e508c2a4fdae35ce6af4b755a3d0c4160) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/WaveHeightLocationsViewInfoTest.cs (.../WaveHeightLocationsViewInfoTest.cs) (revision 5a54a4db63685bd36cc9b979d2358c32a8a0f405) @@ -121,6 +121,7 @@ var context = new WaveHeightLocationsContext(locations, assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -160,6 +161,7 @@ var context = new WaveHeightLocationsContext(hydraulicBoundaryLocations, assessmentSection, + () => 0.01, hbl => hydraulicBoundaryLocationsLookup[hbl], "Category"); @@ -202,17 +204,20 @@ mocks.ReplayAll(); + Func getNormFunc = () => 0.01; var assessmentSection = new ObservableTestAssessmentSectionStub(); var locations = new ObservableList(); + var context = new WaveHeightLocationsContext(locations, assessmentSection, + getNormFunc, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); using (var view = new WaveHeightLocationsView(locations, hbl => new HydraulicBoundaryLocationCalculation(), assessmentSection, - () => 0.01)) + getNormFunc)) using (var ringtoetsPlugin = new RingtoetsPlugin()) { info = ringtoetsPlugin.GetViewInfos().First(tni => tni.ViewType == typeof(WaveHeightLocationsView));