Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added comments at tests

Related to Issue [MWDAM-1516]

    • -0
    • +20
    ./Dam/Tests/DataPluginImporterTests.cs
Restored removed controls as these should still be visible when the project is not in design mode.

Merged revision(s) 2445 from DamClients/DamUI/trunk:

Removed obsolete properties from the LocationPropertyControl:

- Removed HeadPL3 and HeadPL4 items

Related to Issue [MWDAM-1518]

    • -0
    • +72
    ./Dam/Forms/LocationPropertyControl.Designer.cs
    • -0
    • +2
    ./Dam/Forms/LocationPropertyControl.cs
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]

Restored removed properties as the context should determine the visibility and not the object itself

---

Merged revision(s) 2447 from DamClients/DamUI/trunk:

Removed obsolete properties from the Location:

- Removed the UpliftCriteria for Piping and Stability as these are already presented by the scenario

Related to Issue [MWDAM-1518]

Updated comments about required properties in scenarios.csv

Related to Issue [MWDAM-1531]

    • -3
    • +5
    ./Dam/Tests/DataPluginImporterTests.cs
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]

    • -2
    • +2
    ./Dam/Tests/IO/CombineImportedDataTest.cs
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]

    • -214
    • +0
    ./Dam/Forms/SchematizationFactorPropertyControl.Designer.cs
    • -70
    • +0
    ./Dam/Forms/SchematizationFactorPropertyControl.cs
    • -120
    • +0
    ./Dam/Forms/SchematizationFactorPropertyControl.resx
  1. … 15 more files in changeset.
DikeTableHeight is no longer required in scenarios.csv

Related to Issue [MWDAM-1531]

    • -15
    • +15
    ./Dam/Tests/DataPluginImporterTests.cs
Removed deleting locations when WaterHeight is not specified in import.

Related to Issue [MWDAM-1524]

    • -112
    • +11
    ./Dam/Tests/DataPluginImporterTests.cs
Removed the water_height_decimeringshoogte and max_water_height options.

Related to Issue [MWDAM-1527]

    • -2
    • +0
    ./Dam/Tests/IO/CombineImportedDataTest.cs
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]

    • -21
    • +0
    ./Dam/Tests/Deltares.Dam.IntegrationTests.csproj
  1. … 16 more files in changeset.
Fixed tests for changed csv column names.

Related to Issue [MWDAM-1530]

Moved field names for import of scenarios.csv to CsvColumnNames.

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]

    • -1
    • +3
    ./Dam/Tests/DamCalculationBenchmarkTest.cs
Fixed failing unit tests:

- Added logic to always have the data source folder set of where to retrieve the geometries from. The data source can come from the DamDataSource of the current object or from the passed argument

Related to Issue [MWDAM-1242]

Renamed LocationCsvColumnNames to CsvColumnNames

Related to Issue [MWDAM-1530]

Deleted DamIntegrationTestHelper.cs

Related to Issue [MWDAM-1460]

    • -107
    • +0
    ./Dam/Tests/DamIntegrationTestHelper.cs
reverted DamProject.cs

Deleted DamIntegrationTestHelper.cs

Related to Issue [MWDAM-1460]

    • -1
    • +0
    ./Dam/Tests/Deltares.Dam.IntegrationTests.csproj
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]

    • -2
    • +2
    ./Dam/Tests/IO/CombineImportedDataTest.cs
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]

    • -2
    • +325
    ./Dam/Tests/DataPluginImporterTests.cs
Removed obsolete properties from the Location:

- Removed the UpliftCriteria for Piping and Stability as these are already presented by the scenario

Related to Issue [MWDAM-1518]

Removed obsolete properties from the LocationPropertyControl:

- Removed HeadPL3 and HeadPL4 items

Related to Issue [MWDAM-1518]

    • -2
    • +0
    ./Dam/Forms/LocationPropertyControl.cs
    • -72
    • +0
    ./Dam/Forms/LocationPropertyControl.Designer.cs
Removed obsolete property required probability of failure piping:

- Updated numbering of remaining property order attributes

Related to Issue [MWDAM-1517]

Removed obsolete property required probability of failure piping

Related to Issue [MWDAM-1517]

Fixed directory generation by adding a routine to determine the geometry source path. The fix is to determine the source directory based on:

- The defx source definition for the geometry

- The directory where the defx file resides

- The directory of the damx project file.

Paths in the defx can be specified as relative or direct paths. The former definition causes the described bug, as the project directory where the .damx file resides + the relative path of the geometries does not exist at the time of project creation. --> hence the directory cannot be created.

Related to Issue [MWDAM-1242]

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]

    • -2
    • +2
    ./Dam/Tests/Sensors/SensorLocationTests.cs
  1. … 4 more files in changeset.
Moved TransferScenarios after reading all datasources, including shapefiles.

Added test ValuesFromShapeFileAreCopiedToScenarioIfNotDefinedInScenariosCsv

Related to Issue [MWDAM-1515]

    • -16
    • +16
    ./Dam/Tests/DataPluginImporterTests.cs
transfer headpl3 and headpl4 from locations to scenario

Added test ValuesFromLocationsCsvAreCopiedToScenarioIfNotDefinedInScenariosCsvOrShapeFile

Related to Issue [MWDAM-1516]

    • -5
    • +35
    ./Dam/Tests/DataPluginImporterTests.cs