src

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add App.config for test projects

Related to Issue [MWDAM-1857]

    • -0
    • +10
    ./Deltares.DamEngine.Data.Tests/App.config
    • -0
    • +10
    ./Deltares.DamEngine.Calculators.Tests/App.config
    • -0
    • +10
    ./Deltares.DamEngine.IntegrationTests/App.config
    • -0
    • +10
    ./Deltares.DamEngine.Interface.Tests/App.config
Add missing packages.config files

Related to Issue [MWDAM-1857]

    • -0
    • +4
    ./Deltares.DamEngine.Calculators.Tests/packages.config
    • -0
    • +4
    ./Deltares.DamEngine.IntegrationTests/packages.config
    • -0
    • +4
    ./Deltares.DamEngine.Data.Tests/packages.config
Solved problems with multicore caused by static uplift helpers. Making these "dynamic" solves them.

Related to Issue [MWDAM-1852]

Fix some failing unit tests

Related to Issue [MWDAM-1857]

    • -1
    • +0
    ./Deltares.DamEngine.Calculators.Tests/Uplift/UpliftCalculatorTest.cs
Resolve NUnit warnings

Related to Issue [MWDAM-1857]

Resolve NUnit warnings

Related to Issue [MWDAM-1857]

    • -1
    • +1
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
    • -2
    • +2
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/PipingSellmeijer4ForcesTests.cs
    • -3
    • +3
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/WtiPipingSellmeijerRevisedTests.cs
    • -1
    • +1
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/PipingSellmeijerVnkTests.cs
Update to NUnit 3.13.3

Related to Issue [MWDAM-1857]

    • -3
    • +1
    ./Deltares.DamEngine.Calculators.Tests/DikesDesign/SurfaceLineHeightAdapterTest.cs
    • -1
    • +2
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/OperationalPulauTekongTests.cs
    • too large
    ./Deltares.DamEngine.Calculators.Tests/DikesDesign/SurfaceLineShoulderAdapterTest.cs
    • -8
    • +4
    ./Deltares.DamEngine.Calculators.Tests/Uplift/SoilVolumeMassCalculatorEffectiveStressTest.cs
    • -0
    • +1
    ./Deltares.DamEngine.Io.Tests/packages.config
    • -2
    • +3
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/OperationalGrebbedijkTests.cs
    • -2
    • +11
    ./Deltares.DamEngine.Calculators.Tests/Deltares.DamEngine.Calculators.Tests.csproj
    • -2
    • +1
    ./Deltares.DamEngine.Interface.Tests/FillDamFromXmlInputTests.cs
    • -2
    • +1
    ./Deltares.DamEngine.Interface.Tests/EngineInterfaceTests.cs
    • -11
    • +6
    ./Deltares.DamEngine.Calculators.Tests/DikesDesign/SurfaceLineAdapterTest.cs
    • -17
    • +19
    ./Deltares.DamEngine.Calculators.Tests/Uplift/SoilVolumeMassCalculatorTest.cs
    • -9
    • +5
    ./Deltares.DamEngine.Calculators.Tests/Uplift/UpliftLocationDeterminatorTest.cs
    • -2
    • +2
    ./Deltares.DamEngine.Calculators.Tests/Sensors/SensorTest.cs
  1. … 21 more files in changeset.
Replace MacrostabilityCSharpWrapper with signed Deterministic MacrostabilityCSharpWrapper

Related to Issue [MWDAM-1854]

    • -14
    • +2
    ./Deltares.DamEngine.Calculators.Tests/Deltares.DamEngine.Calculators.Tests.csproj
    • -13
    • +2
    ./Deltares.DamEngine.Calculators/Deltares.DamEngine.Calculators.csproj
  1. … 33 more files in changeset.
Solved the vulnerability and some code smwlls as reported by SonarQube.

Related to Issue [MWDAM-1852]

    • -64
    • +101
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs
    • -1
    • +4
    ./Deltares.DamEngine.Data/Standard/ObjectExtensions.cs
Use Any instead of Count >0

Related to Issue [MWDAM-1856]

Remove this formatting call and simply use the input string

Related to Issue [MWDAM-1856]

    • -1
    • +1
    ./Deltares.DamEngine.Calculators/Uplift/UpliftLocationDeterminator.cs
Replace System.NullReferenceException by ArgumentNullException

Related to Issue [MWDAM-1856]

    • -7
    • +7
    ./Deltares.DamEngine.Interface/FillDamFromXmlInput.cs
    • -9
    • +9
    ./Deltares.DamEngine.Interface/FillXmlInputFromDam.cs
Remove useless assignment

Related to Issue [MWDAM-1856]

Remove number of parameters

Related to Issue [MWDAM-1856]

    • -83
    • +49
    ./Deltares.DamEngine.Data/Geometry/Routines2D.cs
Use count property

Related to Issue [MWDAM-1856]

    • -2
    • +2
    ./Deltares.DamEngine.Calculators/PlLinesCreator/SensorPlLineCreatorBase.cs
Remove unnecessary cast

Related to Issue [MWDAM-1856]

Rename parameters to match base class or interface declaration

Related to Issue [MWDAM-1856]

Remove redundant jump

Related to Issue [MWDAM-1856]

    • -3
    • +2
    ./Deltares.DamEngine.Calculators/General/Parallel.cs
Remove unused setter

Related to Issue [MWDAM-1856]

Remove unused private method in release mode

Related to Issue [MWDAM-1856]

Remove unused private methods

Related to Issue [MWDAM-1856]

    • -5
    • +0
    ./Deltares.DamEngine.TestHelpers/Factories/FactoryForSoilProfiles.cs
    • -19
    • +0
    ./Deltares.DamEngine.Calculators/PlLinesCreator/SensorPlLine1Creator.cs
Remove the unnecessary Boolean literal(s)

Related to Issue [MWDAM-1856]

    • -1
    • +1
    ./Deltares.DamEngine.Calculators/Uplift/UpliftLocationDeterminator.cs
    • -6
    • +6
    ./Deltares.DamEngine.Data/Geometry/GeometryGenerator.cs
    • -1
    • +1
    ./Deltares.DamEngine.Data/Geometry/GeometrySurface.cs
Short-circuit logic should be used in boolean contexts

Related to Issue [MWDAM-1856]

    • -1
    • +1
    ./Deltares.DamEngine.Data/Geometry/GeometryPointString.cs
Remove unused directives

Related to Issue [MWDAM-1856]

    • -1
    • +0
    ./Deltares.DamEngine.TestHelpers/XmlAdapter.cs
    • -1
    • +0
    ./Deltares.DamEngine.Io/IdValidator.cs
    • too large
    ./Deltares.DamEngine.Io/DamInput.cs
    • -1
    • +0
    ./Deltares.DamEngine.Calculators/DikesDesign/SurfaceLineHeightAdapter.cs
    • -1
    • +0
    ./Deltares.DamEngine.Calculators/Uplift/UpliftLocationDeterminator.cs
    • -1
    • +0
    ./Deltares.DamEngine.Data/Geotechnics/SoilProfile1DAquiferLayerCombiner.cs
    • -1
    • +0
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilProfile1DAquiferLayerCombinerTests.cs
  1. … 8 more files in changeset.
Create UpliftSituation for output parameter

Related to Issue [MWDAM-1856]

Use getters and setters for properties

Related to Issue [MWDAM-1856]

    • -7
    • +7
    ./Deltares.DamEngine.Data/General/UpliftSituation.cs
    • -7
    • +7
    ./Deltares.DamEngine.Calculators/DikesDesign/SurfaceLineAdapter.cs
    • -3
    • +3
    ./Deltares.DamEngine.Data/Geotechnics/SoilProfile1DAquiferLayerCombiner.cs
Solved the bugs in SonarQube. Note that 2 (of the 10) reported bugs were actually false negatives as assessed by me and reviewed by Tom who closed these two bugs.

Related to Issue [MWDAM-1852]

    • -20
    • +8
    ./Deltares.DamEngine.Data/Standard/ListExtension.cs
    • -0
    • +1754
    ./Deltares.DamEngine.Calculators/PlLinesCreator/PlLinesCreator.cs
Update the code for the new library of the Macrostability C#-wrapper.

Related to Issue [MWDAM-1848]

Adapted to review comments.

Related to Issue [MWDAM-1792]

Adaapted to review comments.

Related to Issue [MWDAM-1842]

    • -1
    • +1
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs