Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Integration.Test/ClosingStructuresCalculationActivityIntegrationTest.cs =================================================================== diff -u -r0ce2329213d6984c6992ec20319265546692a0b4 -re4f385d190e4abb05aa4b5e62b8a08fc7ffa9ee1 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Integration.Test/ClosingStructuresCalculationActivityIntegrationTest.cs (.../ClosingStructuresCalculationActivityIntegrationTest.cs) (revision 0ce2329213d6984c6992ec20319265546692a0b4) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Integration.Test/ClosingStructuresCalculationActivityIntegrationTest.cs (.../ClosingStructuresCalculationActivityIntegrationTest.cs) (revision e4f385d190e4abb05aa4b5e62b8a08fc7ffa9ee1) @@ -330,9 +330,12 @@ var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike) { - HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(true, validPreprocessorDirectory) + HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase { - FilePath = validFilePath + FilePath = validFilePath, + CanUsePreprocessor = true, + UsePreprocessor = true, + PreprocessorDirectory = validPreprocessorDirectory } }; @@ -362,9 +365,12 @@ var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike) { - HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(false, "NonExistingPreprocessorDirectory") + HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase { - FilePath = validFilePath + FilePath = validFilePath, + CanUsePreprocessor = true, + UsePreprocessor = false, + PreprocessorDirectory = "NonExistingPreprocessorDirectory" } }; Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Forms.Test/Views/DuneLocationsViewTest.cs =================================================================== diff -u -r0ce2329213d6984c6992ec20319265546692a0b4 -re4f385d190e4abb05aa4b5e62b8a08fc7ffa9ee1 --- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Forms.Test/Views/DuneLocationsViewTest.cs (.../DuneLocationsViewTest.cs) (revision 0ce2329213d6984c6992ec20319265546692a0b4) +++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Forms.Test/Views/DuneLocationsViewTest.cs (.../DuneLocationsViewTest.cs) (revision e4f385d190e4abb05aa4b5e62b8a08fc7ffa9ee1) @@ -533,9 +533,12 @@ assessmentSection.Stub(a => a.Id).Return("1"); assessmentSection.Stub(ass => ass.FailureMechanismContribution) .Return(FailureMechanismContributionTestFactory.CreateFailureMechanismContribution()); - assessmentSection.HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(true, validPreprocessorDirectory) + assessmentSection.HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase { - FilePath = Path.Combine(testDataPath, "complete.sqlite") + FilePath = Path.Combine(testDataPath, "complete.sqlite"), + CanUsePreprocessor = true, + UsePreprocessor = true, + PreprocessorDirectory = validPreprocessorDirectory }; assessmentSection.Stub(a => a.Attach(null)).IgnoreArguments(); assessmentSection.Stub(a => a.Detach(null)).IgnoreArguments(); @@ -584,9 +587,12 @@ assessmentSection.Stub(a => a.Id).Return("1"); assessmentSection.Stub(ass => ass.FailureMechanismContribution) .Return(FailureMechanismContributionTestFactory.CreateFailureMechanismContribution()); - assessmentSection.HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(false, "InvalidPreprocessorDirectory") + assessmentSection.HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase { - FilePath = Path.Combine(testDataPath, "complete.sqlite") + FilePath = Path.Combine(testDataPath, "complete.sqlite"), + CanUsePreprocessor = true, + UsePreprocessor = false, + PreprocessorDirectory = "InvalidPreprocessorDirectory" }; assessmentSection.Stub(a => a.Attach(null)).IgnoreArguments(); assessmentSection.Stub(a => a.Detach(null)).IgnoreArguments(); Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/TreeNodeInfos/DuneLocationsContextTreeNodeInfoTest.cs =================================================================== diff -u -r0ce2329213d6984c6992ec20319265546692a0b4 -re4f385d190e4abb05aa4b5e62b8a08fc7ffa9ee1 --- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/TreeNodeInfos/DuneLocationsContextTreeNodeInfoTest.cs (.../DuneLocationsContextTreeNodeInfoTest.cs) (revision 0ce2329213d6984c6992ec20319265546692a0b4) +++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/TreeNodeInfos/DuneLocationsContextTreeNodeInfoTest.cs (.../DuneLocationsContextTreeNodeInfoTest.cs) (revision e4f385d190e4abb05aa4b5e62b8a08fc7ffa9ee1) @@ -575,9 +575,12 @@ }; var assessmentSection = mocks.Stub(); - assessmentSection.HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(true, preprocessorDirectory) + assessmentSection.HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase { - FilePath = validFilePath + FilePath = validFilePath, + CanUsePreprocessor = true, + UsePreprocessor = true, + PreprocessorDirectory = preprocessorDirectory }; assessmentSection.Stub(a => a.Id).Return("13-1"); assessmentSection.Stub(a => a.GetFailureMechanisms()).Return(new[] @@ -648,9 +651,12 @@ }; var assessmentSection = mocks.Stub(); - assessmentSection.HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(false, "InvalidPreprocessorDirectory") + assessmentSection.HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase { - FilePath = validFilePath + FilePath = validFilePath, + CanUsePreprocessor = true, + UsePreprocessor = false, + PreprocessorDirectory = "InvalidPreprocessorDirectory" }; assessmentSection.Stub(a => a.Id).Return("13-1"); assessmentSection.Stub(a => a.GetFailureMechanisms()).Return(new[] Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Integration.Test/HeightStructuresCalculationActivityIntegrationTest.cs =================================================================== diff -u -r0ce2329213d6984c6992ec20319265546692a0b4 -re4f385d190e4abb05aa4b5e62b8a08fc7ffa9ee1 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Integration.Test/HeightStructuresCalculationActivityIntegrationTest.cs (.../HeightStructuresCalculationActivityIntegrationTest.cs) (revision 0ce2329213d6984c6992ec20319265546692a0b4) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Integration.Test/HeightStructuresCalculationActivityIntegrationTest.cs (.../HeightStructuresCalculationActivityIntegrationTest.cs) (revision e4f385d190e4abb05aa4b5e62b8a08fc7ffa9ee1) @@ -338,13 +338,16 @@ var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike) { - HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(true, validPreprocessorDirectory) + HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase { FilePath = validFilePath, Locations = { new HydraulicBoundaryLocation(1300001, string.Empty, 0, 0) - } + }, + CanUsePreprocessor = true, + UsePreprocessor = true, + PreprocessorDirectory = validPreprocessorDirectory } }; @@ -380,13 +383,16 @@ var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike) { - HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(false, "InvalidPreprocessorDirectory") + HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase { FilePath = validFilePath, Locations = { new HydraulicBoundaryLocation(1300001, string.Empty, 0, 0) - } + }, + CanUsePreprocessor = true, + UsePreprocessor = false, + PreprocessorDirectory = "InvalidPreprocessorDirectory" } }; Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Integration.Test/StabilityPointStructuresCalculationActivityIntegrationTest.cs =================================================================== diff -u -r0ce2329213d6984c6992ec20319265546692a0b4 -re4f385d190e4abb05aa4b5e62b8a08fc7ffa9ee1 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Integration.Test/StabilityPointStructuresCalculationActivityIntegrationTest.cs (.../StabilityPointStructuresCalculationActivityIntegrationTest.cs) (revision 0ce2329213d6984c6992ec20319265546692a0b4) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Integration.Test/StabilityPointStructuresCalculationActivityIntegrationTest.cs (.../StabilityPointStructuresCalculationActivityIntegrationTest.cs) (revision e4f385d190e4abb05aa4b5e62b8a08fc7ffa9ee1) @@ -334,9 +334,12 @@ var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike) { - HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(true, validPreprocessorDirectory) + HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase { - FilePath = validFilePath + FilePath = validFilePath, + CanUsePreprocessor = true, + UsePreprocessor = true, + PreprocessorDirectory = validPreprocessorDirectory } }; @@ -366,9 +369,12 @@ var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike) { - HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(false, "NonExistingPreprocessorDirectory") + HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase { - FilePath = validFilePath + FilePath = validFilePath, + CanUsePreprocessor = true, + UsePreprocessor = false, + PreprocessorDirectory = "NonExistingPreprocessorDirectory" } };