src

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added Assert.Multiple

Related to Issue [MWDAM-2367]

    • -2
    • +3
    ./Deltares.DamEngine.Data.Tests/Geometry/GeometryCurveTests.cs
Reverted on request of reviewer revision(s) 5223 from DamEngine/trunk/src/Deltares.DamEngine.Data/General/Dike.cs:

Fix SonarCloud issues

Related to Issue [MWDAM-2367]

........

    • -3
    • +2
    ./Deltares.DamEngine.Data/General/Dike.cs
Validations of the soil profile performed in class PlLinesCreator.cs and PlLinesToWaternetConverter.cs are moved to a new class SoilProfileValidator and called only by the PlLinesCreator.

Related to Issue [MWDAM-2164]

    • -3
    • +94
    ./Deltares.DamEngine.TestHelpers/Factories/FactoryForSoilProfiles.cs
    • -0
    • +3
    ./Deltares.DamEngine.TestHelpers/Factories/FactoryForSurfaceLines.cs
    • -13
    • +25
    ./Deltares.DamEngine.Calculators/Properties/Resources.resx
    • -5
    • +23
    ./Deltares.DamEngine.Calculators/Properties/Resources.nl-NL.resx
    • -48
    • +22
    ./Deltares.DamEngine.Calculators/PlLinesCreator/PlLinesCreator.cs
    • -0
    • +186
    ./Deltares.DamEngine.Calculators/PlLinesCreator/SoilProfileValidator.cs
    • -28
    • +46
    ./Deltares.DamEngine.Calculators/Properties/Resources.Designer.cs
Added test file for dwp_8 to create an issue test.

Related to Issue [MWDAM-2400]

    • -0
    • +606
    ./Deltares.DamEngine.IntegrationTests/TestFiles/InputFileDWP8.xml
    • -1
    • +4
    ./Deltares.DamEngine.IntegrationTests/Deltares.DamEngine.IntegrationTests.csproj
Problem solved by using a smaller accuracy when comparing z coordinates

Related to Issue [MWDAM-2569]

Unit test reproducing the problem added.

Related to Issue [MWDAM-2569]

    • -0
    • +63
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilSurfaceProfileTests.cs
Select locations in xml

Related to Issue [MWDAM-2578]

    • -3
    • +3
    ./Deltares.DamEngine.IntegrationTests/Deltares.DamEngine.IntegrationTests.csproj
    • -3
    • +5
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
    • too large
    ./Deltares.DamEngine.IntegrationTests/TestFiles/InputTutorialStability2D.xml
    • -513
    • +0
    ./Deltares.DamEngine.IntegrationTests/TestFiles/DesignInputFileWithRiverLevelAboveDikeTopButBelowDTH.xml
    • -0
    • +18
    ./Deltares.DamEngine.TestHelpers/XmlAdapter.cs
Adapted to review

Related to Issue [MWDAM-2488]

    • -9
    • +13
    ./Deltares.DamEngine.Data.Tests/Design/DesignScenarioTests.cs
Fixed some issues in the exporter tests.

Related to Issue [MWDAM-2446]

    • -5
    • +4
    ./Deltares.DamEngine.Data.Tests/Geotechnics/GeometryExporterTests.cs
If statement removed because always true

Related to Issue [MWDAM-2517]

Reference line of the waternet containing upwards vertical part is corrected (by shifting the highest point by 1cm) in order to be correctly displayed in D-Stability

Related to Issue [MWDAM-2517]

Set Invariant Culture

Related to Issue [MWDAM-2488]

    • -0
    • +1
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
Update tests RiverLevelAboveDikeTopButBelowDikeTableHeight for AdaptGeometry and NoAdaption

Related to Issue [MWDAM-2488]

    • -17
    • +23
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
    • -3
    • +8
    ./Deltares.DamEngine.Data/Design/DesignScenario.cs
    • -982
    • +511
    ./Deltares.DamEngine.IntegrationTests/TestFiles/DesignInputFileWithRiverLevelAboveDikeTopButBelowDTH.xml
    • -0
    • +68
    ./Deltares.DamEngine.Data.Tests/Design/DesignScenarioTests.cs
Updated the exporter and its helper.

Related to Issue [MWDAM-2446]

Added (rudimentary) tests for the geometry exporter.

Related to Issue [MWDAM-2446]

    • -35
    • +7
    ./Deltares.DamEngine.Data.Tests/Geotechnics/GeometryHelperTests.cs
    • -34
    • +0
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilProfile2DSurfaceLineHelperTests.cs
    • -16
    • +2
    ./Deltares.DamEngine.Data/Geometry/GeometryConstants.cs
    • -0
    • +53
    ./Deltares.DamEngine.TestHelpers/Factories/FactoryForSoilProfiles.cs
    • -0
    • +110
    ./Deltares.DamEngine.Data.Tests/Geotechnics/GeometryExporterTests.cs
    • -6
    • +0
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilSurfaceProfileTests.cs
The determination of 2D aquifer layers in PlLinesToWaternetConverter is extracted to a new class SoilProfile2DHelper in order to be used by the waternet creator validator

Related to Issue [MWDAM-2525]

    • -0
    • +1002
    ./Deltares.DamEngine.Calculators.Tests/KernelWrappers/Common/SoilProfile2DHelperTests.cs
    • -0
    • +232
    ./Deltares.DamEngine.Calculators/KernelWrappers/Common/SoilProfile2DHelper.cs
Refactoring: comments improved + unused method DetermineStabilityUplift removed

Related to Issue [MWDAM-2226]

Removed Wip-status and Slow status for test as it succeeds and runs very fast.

Related to Issue [MWDAM-1979]

    • -2
    • +0
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
Removed liquefaction, implemented All for stability (inwards and outwards). Re-instated the stability test based on All.

Related to Issue [MWDAM-1979]

    • -8
    • +1
    ./Deltares.DamEngine.Interface/ConversionHelper.cs
    • -1
    • +1
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
    • -2
    • +0
    ./Deltares.DamEngine.Interface.Tests/ConversionHelperTests.cs
    • -2
    • +1
    ./Deltares.DamEngine.Data/General/SegmentEnumerations.cs
Deleted TestBishopNoAdaptionWith2DGeometriesBasedOnStixFiles

Related to Issue [MWDAM-2161]

    • -56
    • +0
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
    • -3
    • +0
    ./Deltares.DamEngine.IntegrationTests/Deltares.DamEngine.IntegrationTests.csproj
Revert unintended commit

Merged revision(s) 5368 from DamEngine/trunk:

Related to Issue [MWDAM-2479]

    • -604
    • +1180
    ./Deltares.DamEngine.IntegrationTests/TestFiles/InputForDebugging.xml
Reverted move tools to own solution

Reverse merged revision(s) 5365-5364 from :

Related to Issue [MWDAM-2479]

    • -1180
    • +604
    ./Deltares.DamEngine.IntegrationTests/TestFiles/InputForDebugging.xml
  1. … 58 more files in changeset.
Adapted to review: comment improved

Related to Issue [MWDAM-2466]

    • -3
    • +3
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
Cleanup DeltaDijk normal.geometries2D.0

Related to Issue [MWDAM-2475]

    • -6
    • +0
    ./Deltares.DamEngine.IntegrationTests/Deltares.DamEngine.IntegrationTests.csproj
  1. ./Deltares.DamEngine.IntegrationTests/TestFiles/DeltaDijk normal.geometries2D.0
Deleted redundant stix files.

Related to Issue [MWDAM-2161]

  1. ./Deltares.DamEngine.IntegrationTests/TestFiles/DAM Tutorial Design.geometries2D.0
    • -14
    • +0
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
    • -15
    • +0
    ./Deltares.DamEngine.IntegrationTests/Deltares.DamEngine.IntegrationTests.csproj
Adjusted CanPerformStabilityInwardsDesignTutorialDesignOptimizedSlopeAndShoulderAdaption_OneLocation for stix.

But commented out TestStabInwardsUpliftVanDesignOptimized.

Related to Issue [MWDAM-2161]

    • -985
    • +511
    ./Deltares.DamEngine.IntegrationTests/TestFiles/MacroStabilityTutorialDesignInputFile1LocationWithAdaption.xml
    • -14
    • +22
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
Slip circle definition is written in the xml output file for Bishop/UpliftVan model.

Current unit tests extended with Bishop/UpliftVan model.

Related to Issue [MWDAM-2440]

    • -37
    • +41
    ./Deltares.DamEngine.Interface/FillXmlOutputFromDam.cs
    • -2
    • +2
    ./Deltares.DamEngine.Interface.Tests/FillXmlOutputFromDamTests.cs
    • -17
    • +25
    ./Deltares.DamEngine.Interface/FillDamFromXmlOutput.cs
Added persistable objects and write methods to be able to produce a json file with geometry (with inner loops if any) and surface line.

Related to Issue [MWDAM-2446]

Adjusted TestRunFailedExpectCalculationMessageInOptimizedSlopeAndShoulderAdaption for stix but gives wrong result therefore still on Ignore.

Related to Issue [MWDAM-2161]

    • -977
    • +419
    ./Deltares.DamEngine.IntegrationTests/TestFiles/MacroStabilityRunFailedExpectCalculationMessage.xml
    • -4
    • +5
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
Expected path of the fictive Uplift-Van results added

Related to Issue [MWDAM-2439]