Index: DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/PipingBlighTests.cs
===================================================================
diff -u -r6084 -r6196
--- DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/PipingBlighTests.cs (.../PipingBlighTests.cs) (revision 6084)
+++ DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/PipingBlighTests.cs (.../PipingBlighTests.cs) (revision 6196)
@@ -57,9 +57,9 @@
/// Test for different segmentFailureMechanismType
/// The soilprobabilities are set tot the specified segmentFailureMechanismType
[Test]
- [TestCase(ConversionHelper.InputSegmentFailureMechanismPiping)]
- [TestCase(ConversionHelper.InputSegmentFailureMechanismAll)]
- public void CanPerformBlighDesignNoAdaptionPipingVoorbeeld1(int segmentFailureMechanismType)
+ [TestCase(SegmentSoilGeometryProbabilitySegmentFailureMechanismType.Piping)]
+ [TestCase(SegmentSoilGeometryProbabilitySegmentFailureMechanismType.All)]
+ public void CanPerformBlighDesignNoAdaptionPipingVoorbeeld1(SegmentSoilGeometryProbabilitySegmentFailureMechanismType segmentFailureMechanismType)
{
// Based on ".\data\DamEngineTestProjects\PipingVoorbeeld1\PipingVoorbeeld1.damx"
// Select Failure mechanism Piping and model Bligh
@@ -312,8 +312,8 @@
inputString = XmlAdapter.ChangeValueInXml(inputString, "ProjectPath", ""); // Current directory will be used
inputString = XmlAdapter.ChangeValueInXml(inputString, "CalculationMap", calcDir); // Current directory will be used
- inputString = XmlAdapter.ChangeValueInXml(inputString, "FailureMechanismSystemType", "2"); // Piping
- inputString = XmlAdapter.ChangeValueInXml(inputString, "SegmentFailureMechanismType", "2"); // Piping
+ inputString = XmlAdapter.ChangeValueInXml(inputString, "FailureMechanismSystemType", "Piping");
+ inputString = XmlAdapter.ChangeValueInXml(inputString, "SegmentFailureMechanismType", "Piping");
inputString = XmlAdapter.ChangeStabilityToPiping(inputString);
inputString = XmlAdapter.ChangePipingInputModel(inputString, InputPipingModelType.Bligh);