Tests

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Incorporated comments review:

- Made file path variable when creating test files

- Fixed failing unit tests

Related to Issue [MWDAM-1584]

Incorporated comments review:

- Made file path variable when creating test files

Related to Issue [MWDAM-1584]

Outcomment debug code

Related to Issue [MWDAM-1617]

Fixed unit tests

Related to Issue [MWDAM-1617]

  1. … 1 more file in changeset.
Added check on scenarios

Related to Issue [MWDAM-1620]

Cleanup test:

- Replaced .Where().FirstOrDefault() statements with .FirstOrDefault(predicate) statements for readability and performance reasons

Related to Issue [MWDAM-1584]

Fixed failing unit tests: fixed for the csv plugin importer as the PolderLevel property was moved from Location to Scenario

Related to Issue [MWDAM-1584]

Fixed failing unit tests: fixed for the plugin importer as the HeadPl2 property was moved from Location to Scenario

Related to Issue [MWDAM-1584]

Fixed failing unit tests: fixed for the ScenarioTest as the PolderLevel became a NonNullable property.

Related to Issue [MWDAM-1584]

Add load compatibility test for 19.1.1

Merged revision(s) 2804-2805 from DamClients/DamUI/branches/DamUI 19.1:

Related to Issue [MWDAM-1620]

  1. … 1304 more files in changeset.
Removed PolderLevel from the Location.cs

Related to Issue [MWDAM-1584]

    • -1
    • +0
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
  1. … 1 more file in changeset.
Removed HeadPL2 from the Location.cs

Related to Issue [MWDAM-1584]

    • -1
    • +2
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
  1. … 1 more file in changeset.
Rewired the HeadPl2 and the PolderLevel properties of Scenario to the new XML entities:

- Changed nullable PolderLevel to a regular double as this is a mandatory required parameter (maintained consistency with the rest of the application)

Related to Issue [MWDAM-1584]

  1. … 4 more files in changeset.
Cleanup Location and references to HeadPL2: done as a preparation before removing HeadPL2 from the Location class

Related to Issue [MWDAM-1584]

  1. … 3 more files in changeset.
Adjusted DamContext to make HeadPL2 visible:

- Removed obsolete test file

- Changed translation entry due to a rename of the HeadPL2 property in Scenarios to be consistent with the other HeadPl<X> properties

Related to Issue [MWDAM-1584]

  1. … 2 more files in changeset.
Adjusted IO to be able to import HeadPl2 property from scenario files.

Related to Issue [MWDAM-1584]

  1. … 2 more files in changeset.
Added HeadPl2 to the Scenario as a preparation for removing it from the Location

Related to Issue [MWDAM-1584]

  1. … 1 more file in changeset.
Removed PolderLevel from the SensorLocation:

- Consistent with old migrations of location to scenario properties

Related to Issue [MWDAM-1584]

    • -1
    • +0
    ./Sensors/SensorImportFromExcelSheetTest.cs
  1. … 1 more file in changeset.
Cleanup: Preparations to remove the PolderLevel from the location object:

- Rewired SensorLocation to use the first scenario data (consistent with other implementations)

- Changed tests: objects should always start with a clean state and not be initialized once for a whole test fixture

Related to Issue [MWDAM-1584]

    • -46
    • +13
    ./Sensors/SensorLocationTests.cs
  1. … 1 more file in changeset.
Cleanup: Preparations to remove the PolderLevel from the location object

Related to Issue [MWDAM-1584]

  1. … 3 more files in changeset.
Added test to verify functionality of Scenario.

Related to Issue [MWDAM-1584]

    • -0
    • +115
    ./ScenarioTest.cs
  1. … 1 more file in changeset.
Added test to verify functionality of DamContext

Related to Issue [MWDAM-1584]

    • -0
    • +146
    ./Forms/DamContextTest.cs
  1. … 1 more file in changeset.
Added data to be imported to the IO and importer datamodels:

- Added PolderLevel column to be read from the Scenarios.csv files when applicable

Related to Issue [MWDAM-1584]

  1. … 2 more files in changeset.
removed workInProgress markings

Related to Issue [mwdam-1535]

getValue for scenario data in SensorLocation now works. Also added check that there is only 1 scenario in SensorLocation

Related to Issue [MWDAM-1535]

  1. … 1 more file in changeset.
Added empty line.

Related to Issue [MWDAM-1295]

    • -0
    • +1
    ./CalculationParametersAssemblerTest.cs
Fix bug reported by SonarQube

Related to Issue [MWDAM-1295]

Remove obsolete MStab parameters

Related to Issue [MWDAM-1295]

    • -6
    • +2
    ./TestData/SampleCalculationParameters.xml
    • -4
    • +16
    ./CalculationParametersAssemblerTest.cs
  1. … 1 more file in changeset.
Remove obsolete calculation modules

Related to Issue [MWDAM-1295]

    • -0
    • +1
    ./TestHelper/Deltares.Dam.TestHelper.csproj
    • -0
    • +48
    ./TestHelper/XmlAdapter.cs
    • -4
    • +1
    ./TestData/SampleCalculationParameters.xml
    • -3
    • +20
    ./CalculationParametersAssemblerTest.cs
  1. … 2 more files in changeset.
Added initial setup of test with comments for explanation:

- Test is committed in a WorkInProgress category as the timebox limit was reached and the test could not be made to pass

Related to Issue [MWDAM-1529]

    • -0
    • +160
    ./Forms/DamSpatialEditorDecoratorTest.cs