src

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Failing tests due to STI files set to work in progress

Related to Issue [MWDAM-1651]

    • -6
    • +6
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
    • -0
    • +1
    ./Deltares.DamEngine.TestHelpers/GeneralHelper.cs
New generic method for running integration tests used in WtiPipingSellmeijerRevisedTests.cs

Related to Issue [MWDAM-1651]

    • -0
    • +6
    ./Deltares.DamEngine.TestHelpers/GeneralHelper.cs
    • -32
    • +17
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/WtiPipingSellmeijerRevisedTests.cs
Expected result of TestRunFailedExpectCalculationMessageInOptimizedSlopeAndShoulderAdaption modified by the original message (when STI files could still be used)

Related to Issue [MWDAM-1651]

    • -4
    • +12
    ./Deltares.DamEngine.TestHelpers/GeneralHelper.cs
    • -2
    • +4
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
Unused assemblies removed

Related to Issue [MWDAM-1651]

    • -2
    • +0
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MultiCorePipingCalculationTests.cs
    • -2
    • +0
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/OperationalIntegrationTests.cs
    • -3
    • +0
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/OperationalGrebbedijkTests.cs
    • -2
    • +0
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityOutwardsTests.cs
Work in progress tests should not be ignored

Related to Issue [MWDAM-1651]

Validation of the input performed for all integration tests.

Method for running integration tests is made generic.

Missing categories added.

Related to Issue [MWDAM-1651]

    • -77
    • +45
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MultiCoreMacroStabilityTests.cs
    • -8
    • +3
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/OperationalPulauTekongTests.cs
    • -15
    • +4
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MultiCorePipingCalculationTests.cs
    • -0
    • +64
    ./Deltares.DamEngine.TestHelpers/GeneralHelper.cs
    • -14
    • +6
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/OperationalIntegrationTests.cs
    • -7
    • +3
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/WtiPipingSellmeijerRevisedTests.cs
    • -11
    • +7
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/OperationalGrebbedijkTests.cs
    • -0
    • +13
    ./Deltares.DamEngine.TestHelpers/Categories.cs
    • -162
    • +73
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
    • -40
    • +23
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/PipingBlighTests.cs
    • -7
    • +4
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityOutwardsTests.cs
Fixed 2 bugs indicated by sonarcloud

Related to Issue [MWDAM-1911]

Adapted to review comments.

Related to Issue [MWDAM-1948]

    • -0
    • +390
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/CheckLargeResultsSets.cs
    • -341
    • +4
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MultiCoreMacroStabilityTests.cs
    • -133
    • +5
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
Removed copying location as that makes the SensorLocation dictionary unusable.

Related to Issue [MWDAM-1889]

Corrected ShearStrengthModel to CPhi for all None values as None is no longer accepted.

Related to Issue [MWDAM-1651]

    • -200
    • +200
    ./Deltares.DamEngine.IntegrationTests/TestFiles/MacroStabilityTutorialDesignInputFile.xml
Force Deltares.DamEngine.ConsoleRun.exe build to x64

Related to Issue [MWDAM-1959]

Deltares.DamEngine.ConsoleRun.exe build to AnyCPU

Related to Issue [MWDAM-1959]

Force Deltares.DamEngine.ConsoleRun.exe to x64 and build to exe

Related to Issue [MWDAM-1959]

    • -0
    • +3
    ./Deltares.DamEngine.ConsoleRun/Deltares.DamEngine.ConsoleRun.csproj
Bump package StixFileWriter to 23.2.1.6

Related to Issue [MAC-1959]

    • -1
    • +1
    ./Deltares.DamEngine.Calculators.Tests/Deltares.DamEngine.Calculators.Tests.csproj
    • -1
    • +1
    ./Deltares.DamEngine.IntegrationTests/Deltares.DamEngine.IntegrationTests.csproj
    • -1
    • +1
    ./Deltares.DamEngine.Calculators/Deltares.DamEngine.Calculators.csproj
Add test for 64 bits

Related to Issue [MWDAM-1959]

Adapted the operational calculator, improved the description of the reason of the ignored test.

Related to Issue [MWDAM-1889]

    • -1
    • +1
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/OperationalGrebbedijkTests.cs
Cleaned the multicore tests.

Related to Issue [MWDAM-1948]

    • -8
    • +9
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MultiCoreMacroStabilityTests.cs
Now all the multicore adaption tests should succeed.

Related to Issue [MWDAM-1948]

    • -5
    • +5
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
    • -1
    • +2
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs
    • -6
    • +14
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MultiCoreMacroStabilityTests.cs
Corrected some of the tests, now only two fail again,

Related to Issue [MWDAM-1948]

    • -9
    • +7
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MultiCoreMacroStabilityTests.cs
    • -14
    • +5
    ./Deltares.DamEngine.Data/General/Dike.cs
Adapted to review comments.

Related to Issue [MWDAM-1934]

    • -1
    • +2
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs
    • -2
    • +2
    ./Deltares.DamEngine.Data/Design/DesignScenario.cs
Corrected all test values in order to make test much more rigid. Now 5 tests fail instead of 2.

Related to Issue [MWDAM-1948]

    • -69
    • +108
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MultiCoreMacroStabilityTests.cs
Renamed the method and moved it to DesignScenario (where it actually belongs).

Related to Issue [MWDAM-1934]

    • -1
    • +36
    ./Deltares.DamEngine.Data/Design/DesignScenario.cs
    • -1
    • +1
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs
Added extra test for Adaption (non multicore) as SonarCloud says its not covered (it is, but only in multicore). Added two words to the dictionary to prevent annoying wrong hint/problems. Solve two smells.

Related to Issue [MWDAM-1948]

    • -17
    • +13
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs
    • -42
    • +205
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
Add test for 64 bits

Related to Issue [MWDAM-1959]

    • -0
    • +3
    ./Deltares.DamEngine.ConsoleRun.Tests/Deltares.DamEngine.ConsoleRun.Tests.csproj
    • -0
    • +36
    ./Deltares.DamEngine.ConsoleRun.Tests/EnvironmentTests.cs
Unused Shear Strength Models are removed from xsd, code and documentation

Related to Issue [MWDAM-1954]

    • -12
    • +12
    ./Deltares.DamEngine.IntegrationTests/TestFiles/PipingBlighWithoutUplift.xml
    • -39
    • +3
    ./Deltares.DamEngine.Data/Geotechnics/ShearStrengthModel.cs
    • -2
    • +1
    ./Deltares.DamEngine.Interface/FillDamFromXmlInput.cs
    • -12
    • +12
    ./Deltares.DamEngine.IntegrationTests/TestFiles/WtiPipingSellmeijerRevisedWithoutUplift.xml
    • too large
    ./Deltares.DamEngine.Io/DamInput.cs
    • -43
    • +1
    ./Deltares.DamEngine.Interface/ConversionHelper.cs
    • -14
    • +0
    ./Deltares.DamEngine.Interface.Tests/ConversionHelperTests.cs
    • -3
    • +3
    ./Deltares.DamEngine.Interface.Tests/TestFiles/InputFile.xml
  1. … 2 more files in changeset.
Added the missing test file, set the tests expected to fail (2) to WiP.

Related to Issue [MWDAM-1948]

    • -2
    • +2
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MultiCoreMacroStabilityTests.cs
    • too large
    ./Deltares.DamEngine.IntegrationTests/TestFiles/InputFileMultiCoreTestForScenarioAdaption.xml
Fixed some tests that have no scenarios in the input file.

Related to Issue [MWDAM-1948]

    • -1
    • +1
    ./Deltares.DamEngine.Interface/FillDamFromXmlInput.cs
Made sure that during one calculation (per location per subsoil per scenario) only the CurrentScenario is used. For Design, all scenarios but the Current are removed at the start of the calculation. For Operational, there only ever is one scenario (as this is a demand which is tested). Replaced use of Scenarios[0] with CurrentScenario, removed Scenarios from Dike. Also removed the reference to Location in DesignScenario, added LocationName to DesignScenario.

Adapted all tests for this. I expect two failing (new) tests at the moment.

Related to Issue [MWDAM-1948]

    • -1
    • +2
    ./Deltares.DamEngine.TestHelpers/Factories/FactoryForDamProjectData.cs
    • -0
    • +159
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MultiCoreMacroStabilityTests.cs
    • -23
    • +38
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculatorCombinedSlopeAndShoulderAdaption.cs
    • -2
    • +3
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculatorSingle.cs
    • -1
    • +1
    ./Deltares.DamEngine.Calculators.Tests/Sensors/SensorPLLineCreatorTest.cs
    • -6
    • +111
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SurfaceLine2Tests.cs
    • -9
    • +18
    ./Deltares.DamEngine.Data/General/Dike.cs
    • -19
    • +14
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs
    • -5
    • +10
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculatorShoulderPerPoint.cs
    • -7
    • +9
    ./Deltares.DamEngine.Data/Design/DesignScenario.cs
  1. … 11 more files in changeset.
First repair some things in Adaption calculations themselves:

- give CircleSurfacePointRightXCoordinate a proper value

- remove unused CircleSurfacePointLeftXCoordinate

- make sure centerOfLeftGridXCoordinate is given a proper value when IsGridAutomatic = true.

Related to Issue [MWDAM-1948]

Extracted the method as requested.

Related to Issue [MWDAM-1934]

    • -37
    • +12
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs