Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/AssessmentSectionTreeNodeInfoTest.cs =================================================================== diff -u -r181c5688995e3c5469ff3c797de66714ddf3f388 -rfdce09a09fa4606dbfef96ea591277d09b70304d --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/AssessmentSectionTreeNodeInfoTest.cs (.../AssessmentSectionTreeNodeInfoTest.cs) (revision 181c5688995e3c5469ff3c797de66714ddf3f388) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/AssessmentSectionTreeNodeInfoTest.cs (.../AssessmentSectionTreeNodeInfoTest.cs) (revision fdce09a09fa4606dbfef96ea591277d09b70304d) @@ -511,7 +511,8 @@ FilePath = hydraulicBoundaryDatabaseFilePath } }; - + HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase); + var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(); IEnumerable hydraulicBoundaryLocations = new[] { Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs =================================================================== diff -u -rbe5dbe42ae9ae13e81fb7cb71467f71cc62e5d43 -rfdce09a09fa4606dbfef96ea591277d09b70304d --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs) (revision be5dbe42ae9ae13e81fb7cb71467f71cc62e5d43) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs) (revision fdce09a09fa4606dbfef96ea591277d09b70304d) @@ -371,6 +371,7 @@ FilePath = Path.Combine(testDataPath, "HRD ijsselmeer.sqlite") } }; + HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase); var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation("locationName"); var hydraulicBoundaryLocationCalculations = new ObservableList @@ -451,7 +452,8 @@ PreprocessorDirectory = preprocessorDirectory } }; - + HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase); + Func getNormFunc = () => 0.01; var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation("locationName"); @@ -531,7 +533,8 @@ PreprocessorDirectory = "InvalidPreprocessorDirectory" } }; - + HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase); + Func getNormFunc = () => 0.01; var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation("locationName"); @@ -609,6 +612,7 @@ FilePath = validFilePath } }; + HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase); const string categoryBoundaryName = "A"; var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(new TestHydraulicBoundaryLocation("locationName")); Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -rbe5dbe42ae9ae13e81fb7cb71467f71cc62e5d43 -rfdce09a09fa4606dbfef96ea591277d09b70304d --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs (.../DesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs) (revision be5dbe42ae9ae13e81fb7cb71467f71cc62e5d43) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs (.../DesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs) (revision fdce09a09fa4606dbfef96ea591277d09b70304d) @@ -301,7 +301,8 @@ FilePath = Path.Combine(testDataPath, "HRD ijsselmeer.sqlite") } }; - + HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase); + var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation("locationName"); assessmentSection.SetHydraulicBoundaryLocationCalculations(new[] { Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/HydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs =================================================================== diff -u -r1f1993456901354dd2eba30de8469139157f8bd0 -rfdce09a09fa4606dbfef96ea591277d09b70304d --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/HydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs (.../HydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs) (revision 1f1993456901354dd2eba30de8469139157f8bd0) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/HydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs (.../HydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs) (revision fdce09a09fa4606dbfef96ea591277d09b70304d) @@ -435,7 +435,8 @@ FilePath = validFilePath } }; - + HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase); + var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation("locationName"); assessmentSection.SetHydraulicBoundaryLocationCalculations(new[] { Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightCalculationsContextTreeNodeInfoTest.cs =================================================================== diff -u -rbe5dbe42ae9ae13e81fb7cb71467f71cc62e5d43 -rfdce09a09fa4606dbfef96ea591277d09b70304d --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightCalculationsContextTreeNodeInfoTest.cs (.../WaveHeightCalculationsContextTreeNodeInfoTest.cs) (revision be5dbe42ae9ae13e81fb7cb71467f71cc62e5d43) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightCalculationsContextTreeNodeInfoTest.cs (.../WaveHeightCalculationsContextTreeNodeInfoTest.cs) (revision fdce09a09fa4606dbfef96ea591277d09b70304d) @@ -371,7 +371,8 @@ FilePath = validFilePath } }; - + HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase); + Func getNormFunc = () => 0.01; var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation("locationName"); @@ -452,7 +453,8 @@ PreprocessorDirectory = preprocessorDirectory } }; - + HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase); + Func getNormFunc = () => 0.01; var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation("locationName"); @@ -532,7 +534,8 @@ PreprocessorDirectory = "InvalidPreprocessorDirectory" } }; - + HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase); + Func getNormFunc = () => 0.01; var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation("locationName"); @@ -611,7 +614,8 @@ }, Id = string.Empty }; - + HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase); + const string categoryBoundaryName = "A"; var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(new TestHydraulicBoundaryLocation("locationName")); Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightCalculationsGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -rbe5dbe42ae9ae13e81fb7cb71467f71cc62e5d43 -rfdce09a09fa4606dbfef96ea591277d09b70304d --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightCalculationsGroupContextTreeNodeInfoTest.cs (.../WaveHeightCalculationsGroupContextTreeNodeInfoTest.cs) (revision be5dbe42ae9ae13e81fb7cb71467f71cc62e5d43) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightCalculationsGroupContextTreeNodeInfoTest.cs (.../WaveHeightCalculationsGroupContextTreeNodeInfoTest.cs) (revision fdce09a09fa4606dbfef96ea591277d09b70304d) @@ -303,7 +303,8 @@ FilePath = filePath } }; - + HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase); + var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation("locationName"); assessmentSection.SetHydraulicBoundaryLocationCalculations(new[] { Index: Ringtoets/Integration/test/Ringtoets.Integration.Service.Test/AssessmentSectionCalculationActivityFactoryTest.cs =================================================================== diff -u -r181c5688995e3c5469ff3c797de66714ddf3f388 -rfdce09a09fa4606dbfef96ea591277d09b70304d --- Ringtoets/Integration/test/Ringtoets.Integration.Service.Test/AssessmentSectionCalculationActivityFactoryTest.cs (.../AssessmentSectionCalculationActivityFactoryTest.cs) (revision 181c5688995e3c5469ff3c797de66714ddf3f388) +++ Ringtoets/Integration/test/Ringtoets.Integration.Service.Test/AssessmentSectionCalculationActivityFactoryTest.cs (.../AssessmentSectionCalculationActivityFactoryTest.cs) (revision fdce09a09fa4606dbfef96ea591277d09b70304d) @@ -285,13 +285,16 @@ private static AssessmentSection CreateAssessmentSection() { - return new AssessmentSection(AssessmentSectionComposition.DikeAndDune) + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.DikeAndDune) { HydraulicBoundaryDatabase = { FilePath = Path.Combine(testDataPath, "HRD ijsselmeer.sqlite") } }; + HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase); + + return assessmentSection; } private static void AddGrassCoverErosionInwardsCalculation(AssessmentSection assessmentSection, Index: Ringtoets/Integration/test/Ringtoets.Integration.Service.Test/AssessmentSectionHydraulicBoundaryLocationCalculationActivityFactoryTest.cs =================================================================== diff -u -r888d7ef462f65ecdfb3714051bb370907bca6619 -rfdce09a09fa4606dbfef96ea591277d09b70304d --- Ringtoets/Integration/test/Ringtoets.Integration.Service.Test/AssessmentSectionHydraulicBoundaryLocationCalculationActivityFactoryTest.cs (.../AssessmentSectionHydraulicBoundaryLocationCalculationActivityFactoryTest.cs) (revision 888d7ef462f65ecdfb3714051bb370907bca6619) +++ Ringtoets/Integration/test/Ringtoets.Integration.Service.Test/AssessmentSectionHydraulicBoundaryLocationCalculationActivityFactoryTest.cs (.../AssessmentSectionHydraulicBoundaryLocationCalculationActivityFactoryTest.cs) (revision fdce09a09fa4606dbfef96ea591277d09b70304d) @@ -358,7 +358,8 @@ assessmentSection.HydraulicBoundaryDatabase.UsePreprocessor = usePreprocessor; assessmentSection.HydraulicBoundaryDatabase.FilePath = validFilePath; assessmentSection.HydraulicBoundaryDatabase.PreprocessorDirectory = validPreprocessorDirectory; - + HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase); + return assessmentSection; }