Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Integration.Test/Ringtoets.StabilityPointStructures.Integration.Test.csproj
===================================================================
diff -u -rc1fee53d1cae65631b953788506a92735472a4bb -r8eff5c2c1118ceef90dbdf4d431bc45b9e4ef157
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Integration.Test/Ringtoets.StabilityPointStructures.Integration.Test.csproj (.../Ringtoets.StabilityPointStructures.Integration.Test.csproj) (revision c1fee53d1cae65631b953788506a92735472a4bb)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Integration.Test/Ringtoets.StabilityPointStructures.Integration.Test.csproj (.../Ringtoets.StabilityPointStructures.Integration.Test.csproj) (revision 8eff5c2c1118ceef90dbdf4d431bc45b9e4ef157)
@@ -49,6 +49,10 @@
{d951d6da-fe83-4920-9fdb-63bf96480b54}
Ringtoets.Common.Service
+
+ {4843D6E5-066F-4795-94F5-1D53932DD03C}
+ Ringtoets.Common.Data.TestUtil
+
{52093DA6-D545-476A-ADFD-12F56625E36B}
Ringtoets.Common.Service.TestUtil
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Integration.Test/StabilityPointStructuresCalculationActivityIntegrationTest.cs
===================================================================
diff -u -rc1fee53d1cae65631b953788506a92735472a4bb -r8eff5c2c1118ceef90dbdf4d431bc45b9e4ef157
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Integration.Test/StabilityPointStructuresCalculationActivityIntegrationTest.cs (.../StabilityPointStructuresCalculationActivityIntegrationTest.cs) (revision c1fee53d1cae65631b953788506a92735472a4bb)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Integration.Test/StabilityPointStructuresCalculationActivityIntegrationTest.cs (.../StabilityPointStructuresCalculationActivityIntegrationTest.cs) (revision 8eff5c2c1118ceef90dbdf4d431bc45b9e4ef157)
@@ -30,6 +30,7 @@
using Ringtoets.Common.Data.AssessmentSection;
using Ringtoets.Common.Data.Hydraulics;
using Ringtoets.Common.Data.Structures;
+using Ringtoets.Common.Data.TestUtil;
using Ringtoets.Common.Service;
using Ringtoets.Common.Service.TestUtil;
using Ringtoets.HydraRing.Calculation.Calculator.Factory;
@@ -306,6 +307,7 @@
FilePath = validFilePath
}
};
+ HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase);
var mockRepository = new MockRepository();
var calculatorFactory = mockRepository.StrictMock();
@@ -350,6 +352,7 @@
PreprocessorDirectory = validPreprocessorDirectory
}
};
+ HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase);
var mockRepository = new MockRepository();
var calculatorFactory = mockRepository.StrictMock();
@@ -394,6 +397,7 @@
PreprocessorDirectory = "NonExistingPreprocessorDirectory"
}
};
+ HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(assessmentSection.HydraulicBoundaryDatabase);
var mockRepository = new MockRepository();
var calculatorFactory = mockRepository.StrictMock();
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs
===================================================================
diff -u -rbe5dbe42ae9ae13e81fb7cb71467f71cc62e5d43 -r8eff5c2c1118ceef90dbdf4d431bc45b9e4ef157
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs (.../StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs) (revision be5dbe42ae9ae13e81fb7cb71467f71cc62e5d43)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs (.../StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs) (revision 8eff5c2c1118ceef90dbdf4d431bc45b9e4ef157)
@@ -913,6 +913,7 @@
hydraulicBoundaryLocation
}
};
+ HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(hydraulicBoundaryDatabase);
var assessmentSection = mocks.Stub();
assessmentSection.Stub(a => a.Id).Return(string.Empty);
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationGroupContextTreeNodeInfoTest.cs
===================================================================
diff -u -rbe5dbe42ae9ae13e81fb7cb71467f71cc62e5d43 -r8eff5c2c1118ceef90dbdf4d431bc45b9e4ef157
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationGroupContextTreeNodeInfoTest.cs (.../StabilityPointStructuresCalculationGroupContextTreeNodeInfoTest.cs) (revision be5dbe42ae9ae13e81fb7cb71467f71cc62e5d43)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationGroupContextTreeNodeInfoTest.cs (.../StabilityPointStructuresCalculationGroupContextTreeNodeInfoTest.cs) (revision 8eff5c2c1118ceef90dbdf4d431bc45b9e4ef157)
@@ -1254,6 +1254,7 @@
{
FilePath = Path.Combine(testDataPath, "complete.sqlite")
};
+ HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(hydraulicBoundaryDatabase);
var assessmentSection = mocks.Stub();
assessmentSection.Stub(a => a.Id).Return(string.Empty);
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresFailureMechanismContextTreeNodeInfoTest.cs
===================================================================
diff -u -rbe5dbe42ae9ae13e81fb7cb71467f71cc62e5d43 -r8eff5c2c1118ceef90dbdf4d431bc45b9e4ef157
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresFailureMechanismContextTreeNodeInfoTest.cs (.../StabilityPointStructuresFailureMechanismContextTreeNodeInfoTest.cs) (revision be5dbe42ae9ae13e81fb7cb71467f71cc62e5d43)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresFailureMechanismContextTreeNodeInfoTest.cs (.../StabilityPointStructuresFailureMechanismContextTreeNodeInfoTest.cs) (revision 8eff5c2c1118ceef90dbdf4d431bc45b9e4ef157)
@@ -634,7 +634,8 @@
{
FilePath = Path.Combine(testDataPath, "complete.sqlite")
};
-
+ HydraulicBoundaryDatabaseTestHelper.SetHydraulicBoundaryLocationConfigurationSettings(hydraulicBoundaryDatabase);
+
var assessmentSection = mocksRepository.Stub();
assessmentSection.Stub(a => a.Id).Return(string.Empty);
assessmentSection.Stub(a => a.FailureMechanismContribution).Return(FailureMechanismContributionTestFactory.CreateFailureMechanismContribution());