Tests

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adapted due to review comments.

Related to Issue [MWDAM-1527]

  1. … 2 more files in changeset.
Removed DamCalculationBenchmarkTest.cs from Deltares.Dam.Tests.csproj, because it is also in Deltares.Dam.BenchmarkTests.csproj

Related to Issue [MWDAM-1519]

Removed parameters from Location that are in Scenario as well.

Related to Issue [MWDAM-1537]

    • -250
    • +233
    ./Importers/LocationPropertyImporterTest.cs
    • too large
    ./TestData/DamLive/Grebbedijk/input.damx
    • -2
    • +0
    ./Sensors/SensorImportFromExcelSheetTest.cs
    • -94
    • +90
    ./Importers/LineAttributeImporterTest.cs
    • -10
    • +12
    ./Importers/LocationShapeFileImporterDotSpatialTests.cs
    • -44
    • +29
    ./Importers/LocationShapeFileImporterTest.cs
  1. … 22 more files in changeset.
Fixed IO tests, due to Removed ModelFactors.

Related to Issue [MWDAM-1519]

    • -11
    • +0
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
Fixed IO tests, due to Removed HeadPl3, HeadPl4, Pl1BelowCrestRiverside, Pl1BelowCrestPolderside, Pl1BelowShoulderCrestPolderside, Pl1BelowToeDikePolderside, Pl1BelowCrestMiddle, Pl1FactorBelowShoulderCrest from WaternetOptions.

Related to Issue [MWDAM-1519]

    • -9
    • +0
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
Fixed tests due to: Renamed WaterHeight back to RiverLevel, except in csv files.

Related to Issue [MWDAM-1521]

Fixed failing tests:

- WaterHeight was renamed back to RiverLevel which caused the newly introduced visibility tests to fail.

Related to Issue [MWDAM-1518]

Removed obsolete parameters ProbabilisticType and SoilType.

Related to Issue [MWDAM-1527]

    • -77
    • +16
    ./UISupport/ConfigurationManagerTest.cs
    • -2
    • +1
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
    • -23
    • +0
    ./DamEngineIo/ConversionHelperTests.cs
  1. … 12 more files in changeset.
Renamed WaterHeight back to RiverLevel, except in csv files.

Related to Issue [MWDAM-1521]

    • -2
    • +1
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
    • -8
    • +8
    ./Importers/LocationPropertyImporterTest.cs
  1. … 8 more files in changeset.
Removed obsolete parameter IsUseOriginalCalculationOptions, cleaned up text references for previous obsolete parameters and removed obsolete Overtopping calculator.

Related to Issue [MWDAM-1527]

    • -95
    • +0
    ./OvertoppingErosionCalculatorTest.cs
  1. … 5 more files in changeset.
Raise exception when river level is not defined in ValidateDamProjectData

Related to Issue [MWDAM-1521]

    • -1
    • +21
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
  1. … 1 more file in changeset.
Removed obsolete parameters GrassQuality, Direction, LevelReductionInside, LevelReductionOutside, LayerHeightDeviation, LayerHeightDistribution and IsUseOriginalPLLineAssignments.

Related to Issue [MWDAM-1527]

    • -51
    • +0
    ./Importers/LocationPropertyImporterTest.cs
  1. … 18 more files in changeset.
Added comments at tests

Related to Issue [MWDAM-1516]

Reordered properties that are related to the scenarios tab:

- Visibility should however be maintained when the program is not in DesignMode

-- Added tests to verify behaviour of the parameters that are also displayed in the scenariostab

-- Optimized the switch-case logic by using fall-through

Related to Issue [MWDAM-1518]

  1. … 1 more file in changeset.
Updated comments about required properties in scenarios.csv

Related to Issue [MWDAM-1531]

  1. … 1 more file in changeset.
Adapted test values to the removal of code deleting locations. Due to this, more locations and less errors are to be expected.

Related to Issue [MWDAM-1524]

Corrected test by setting the illegal value to a field that is read instead of now skipped.

Related to Issue [MWDAM-1527]

Removed all probabilistic parameters except for type. Also removed obsolete SchematizationFactorData and control.

Related to Issue [MWDAM-1527]

    • -12
    • +0
    ./Importers/LocationPropertyImporterTest.cs
  1. … 26 more files in changeset.
DikeTableHeight is no longer required in scenarios.csv

Related to Issue [MWDAM-1531]

  1. … 2 more files in changeset.
Removed deleting locations when WaterHeight is not specified in import.

Related to Issue [MWDAM-1524]

  1. … 3 more files in changeset.
Removed the water_height_decimeringshoogte and max_water_height options.

Related to Issue [MWDAM-1527]

    • -1
    • +1
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
    • -11
    • +3
    ./Importers/LocationPropertyImporterTest.cs
  1. … 8 more files in changeset.
Fixed another test for changed csv column names.

Related to Issue [MWDAM-1530]

Removed the Dupuit options and related test data.

Related to Issue [MWDAM-1527]

    • -48
    • +0
    ./TestData/SampleCalculationParameters.xml
    • -21
    • +0
    ./Deltares.Dam.IntegrationTests.csproj
    • -680
    • +0
    ./TestData/Dupuit/UnittestOrg.C000
    • -680
    • +0
    ./TestData/Dupuit/UnittestOrg.C001
    • -680
    • +0
    ./TestData/Dupuit/UnittestOrg.C002
  1. … 16 more files in changeset.
Fixed tests for changed csv column names.

Related to Issue [MWDAM-1530]

Removed Category "Calculation" as this prevents running the tests even on Full Test. Added Category slow for all tests where this was missing to prevent those test from always being run.

Related to Issue [MWDAM-1460]

Deleted DamIntegrationTestHelper.cs

Related to Issue [MWDAM-1460]

reverted DamProject.cs

Deleted DamIntegrationTestHelper.cs

Related to Issue [MWDAM-1460]

    • -1
    • +0
    ./Deltares.Dam.IntegrationTests.csproj
  1. … 1 more file in changeset.
Fixed test, due to Remove locations when no WaterHeight was specified in any of the import files. Add message for each location that was removed.

Related to Issue [MWDAM-1524]

Remove locations when no WaterHeight was specified in any of the import files. Add message for each location that was removed.

Related to Issue [MWDAM-1524]

  1. … 4 more files in changeset.
Added DikeTableHeight, WaterHeight, WaterHeightLow, WaterHeightDecimeringsHoogte, MaxWaterHeight to Location. Implemented import from locations.csv and shapefile. Removed RiverLevel and RiverLevelLow from Location.

Related to Issue [MWDAM-1521]

    • -1
    • +2
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
    • -1
    • +21
    ./Importers/LocationPropertyImporterTest.cs
  1. … 10 more files in changeset.