Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs =================================================================== diff -u -ra1a5ab2d14b7f52f392f8e9397db9027e9438f4d -r0ce2329213d6984c6992ec20319265546692a0b4 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelLocationsContextTreeNodeInfoTest.cs) (revision a1a5ab2d14b7f52f392f8e9397db9027e9438f4d) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelLocationsContextTreeNodeInfoTest.cs) (revision 0ce2329213d6984c6992ec20319265546692a0b4) @@ -20,7 +20,6 @@ // All rights reserved. using System; -using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; @@ -329,16 +328,16 @@ // Setup string preprocessorDirectory = TestHelper.GetScratchPadPath(); var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation("locationName"); - var hydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(); - hydraulicBoundaryDatabase.SetParameters(new List - { - hydraulicBoundaryLocation - }, - Path.Combine(testDataPath, "HRD ijsselmeer.sqlite"), "", true, preprocessorDirectory); - var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike) { - HydraulicBoundaryDatabase = hydraulicBoundaryDatabase + HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(true, preprocessorDirectory) + { + Locations = + { + hydraulicBoundaryLocation + }, + FilePath = Path.Combine(testDataPath, "HRD ijsselmeer.sqlite") + } }; var context = new DesignWaterLevelLocationsContext(assessmentSection); @@ -392,16 +391,16 @@ { // Setup var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation("locationName"); - var hydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(); - hydraulicBoundaryDatabase.SetParameters(new List - { - hydraulicBoundaryLocation - }, - Path.Combine(testDataPath, "HRD ijsselmeer.sqlite"), "", false, "InvalidPreprocessorDirectory"); - var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike) { - HydraulicBoundaryDatabase = hydraulicBoundaryDatabase + HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(false, "InvalidPreprocessorDirectory") + { + Locations = + { + hydraulicBoundaryLocation + }, + FilePath = Path.Combine(testDataPath, "HRD ijsselmeer.sqlite") + } }; var context = new DesignWaterLevelLocationsContext(assessmentSection);