Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Created tmp folder for all the tests in DataPluginImporterTests and remove at the end of all tests.

Related to Issue [MWDAM-1541]

    • -8
    • +25
    ./Dam/Tests/DataPluginImporterTests.cs
Fix bug reported by SonarQube

Related to Issue [MWDAM-1514]

Fix bug reported by SonarQube

Related to Issue [MWDAM-1514]

    • -2
    • +5
    ./Dam/Tools/CsvToDamxConverter/Program.cs
Reverted revision(s) 2602 from DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Translations.xml: change of names accidentally lead to RequiredRequired in translation ids, I changed that back.

Related to Issue [MWDAM-1521]

Added unit tests for CalculationParametersAssembler

Related to Issue [MWDAM-1295]

    • -0
    • +94
    ./Dam/Tests/CalculationParametersAssemblerTest.cs
Refactored; improved layout

Related to Issue [MWDAM-1295]

Cleanup code due to SonarCube analysis

- Use ArgumentNullException i.s.o. NullReferenceException (implement ThrowHelper)

- Move strings to resources

Related to Issue [MWDAM-1556]

Improved handling of import errors for TimeDataSeries. Program no longer crashes, the error message now shows the relevant information.

Made sure that inner exception message is shown when program crashes.

Related to Issue [MWDAM-1457]

Modified tests according to updated files and expected results

Related to Issue [MWDAM-1541]

    • -53
    • +97
    ./Dam/Tests/DataPluginImporterTests.cs
Fixed update logic of the cross-section view:

- View wouldn't update when characteristic points were assigned or unassigned from the property control of a surface line. Subscribing to the OnAfterChange events coming from a CharacteristicPoint AND calling the LoadLocation() solves this problem.

Related to Issue [MWDAM-1529]

    • -0
    • +4
    ./Dam/Forms/DamSpatialEditorDecorator.cs
Simplified tests

Related to Issue [MWDAM-1556]

Put test for Piping together with the other types except for stability outside.

Related to Issue [MWDAM-1556]

Throw exception when River Level Low is not specified in case the calculation model is Stability Outside.

Related to Issue [MWDAM-1556]

Do not set value of RiverLevel to RiverLevelLow in import from scenarios.csv when RiverLevelLow is not specified.

Related to Issue [MWDAM-1556]

Added tests for import of parameters that can be imported from scenarios.csv but also from locations.csv and shapefiles.

Related to Issue [MWDAM-1541]

    • -0
    • +3
    ./Dam/Tests/TestData/HempolderImport/csvfiles/scenarios.csv
    • -0
    • +30
    ./Dam/Tests/TestData/HempolderImport/Lijnscenarios.defx
    • -0
    • +1
    ./Dam/Tests/TestData/HempolderImport/shapefiles/Locations.qpj
    • -0
    • +7
    ./Dam/Tests/TestData/HempolderImport/csvfiles/soilprofiles.csv
    • binary
    ./Dam/Tests/TestData/HempolderImport/shapefiles/Segments.shp
    • -0
    • +1
    ./Dam/Tests/TestData/HempolderImport/shapefiles/Segments.qpj
    • -26
    • +564
    ./Dam/Tests/DataPluginImporterTests.cs
  1. ./Dam/Tests/TestData/HempolderImport/csvfiles
    • -0
    • +30
    ./Dam/Tests/TestData/HempolderImport/Vlakscenario.defx
    • binary
    ./Dam/Tests/TestData/HempolderImport/shapefiles/Locations.shx
  2. … 30 more files in changeset.
Add import of uplift criteria and safety factors from locations.csv of shapefile to scenario.

Related to Issue [MWDAM-1521]

    • -12
    • +12
    ./Dam/Tests/CsvImporterTestsNew.cs
Enable and improve License tests

Related to Issue [MWDAM-890]

Prepare to implement DamLicense object for DamLive

Related to Issue [MWDAM-890]

Modified test for HeadPl2

Related to Issue [MWDAM-1537]

    • -6
    • +7
    ./Dam/Tests/DataPluginImporterTests.cs
Added menu item to redirect to a webpage when the user selects the Help -> Manual menu item

Related to Issue [MWDAM-1550]

2nd part of commit (oops not saved)

Modified UI for: Made RequiredSafetyFactorStabilityInnerSlope, RequiredSafetyFactorStabilityOuterSlope, RequiredSafetyFactorPiping, UpliftCriterionStability and UpliftCriterionPiping required in xsd/DamLocation.xsd

Set defaults when not specified in import.

Related to Issue [MWDAM-1537]

Modified UI for: Made RequiredSafetyFactorStabilityInnerSlope, RequiredSafetyFactorStabilityOuterSlope, RequiredSafetyFactorPiping, UpliftCriterionStability and UpliftCriterionPiping required in xsd/DamLocation.xsd

Set defaults when not specified in import.

Related to Issue [MWDAM-1537]

Reverted revision(s) 2573 from DamClients/DamUI/trunk/src that caused a stack overflow:

Refactored: removed ModelFactors as class.

Related to Issue [MWDAM-1537]

Refactored: removed ModelFactors as class.

Related to Issue [MWDAM-1537]

Refactored: use type double instead of double? for PlLineOffsetBelowDikeToeAtPolder, PlLineOffsetBelowDikeTopAtPolder, PlLineOffsetBelowDikeTopAtRiver and PlLineOffsetBelowShoulderBaseInside in UI.

Related to Issue [MWDAM-1537]

Set proper defaults for PlLineOffsetBelowDikeToeAtPolder, PlLineOffsetBelowDikeTopAtPolder, PlLineOffsetBelowDikeTopAtRiver and PlLineOffsetBelowShoulderBaseInside in UI.

Related to Issue [MWDAM-1537]

Modified UI for: Made PlLineOffsetBelowDikeToeAtPolder, PlLineOffsetBelowDikeTopAtPolder, PlLineOffsetBelowDikeTopAtRiver and PlLineOffsetBelowShoulderBaseInside required in xsd/DamLocation.xsd

Set default 0.0 when not specified in import (proper defaults in next commit)

Related to Issue [MWDAM-1537]

Removed PL1PlLineOffsetBelowDikeTopAtRiver, PL1PlLineOffsetBelowDikeTopAtPolder, PL1PlLineOffsetBelowShoulderBaseInside, PL1PlLineOffsetBelowDikeToeAtPolder from Translations.xml

Related to Issue [MWDAM-1537]

Corrected setting DampingFactorPl3 and DampingFactorPl4.

Removed obsolete ModelParameters.

Related to Issue [MWDAM-1533]

DegreeOfConsolidation default to null. Write DegreeOfConsolidationSpecified=false in xml to Engine when DegreeOfConsolidation is null.

Related to Issue [MWDAM-1539]