Tests

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Cleanup unnecessary references.

Related to Issue [MWDAM-1374]

    • -5
    • +0
    ./StiImporter/SoilProfile2DImporterTest.cs
Fixed failing tests build server.

Related to Issue [MWDAM-1374]

    • -6
    • +6
    ./StiImporter/SoilProfile2DImporterTest.cs
Adjusted reader to set the full name on the soil profile instead of only the file name without extension --> the segments refer to the full name in the XML export.

Related to Issue [MWDAM-1374]

  1. … 1 more file in changeset.
Renamed converter to fix sonarqube issues.

Related to Issue [MWDAM-1380]

    • -0
    • +237
    ./DamEngineIo/XmlSoilProfile2DConverterTest.cs
    • -237
    • +0
    ./DamEngineIo/XMLSoilProfile2DConverterTest.cs
  1. … 3 more files in changeset.
Updated converter to set the correct values for the WaterpressureInterpolationModel:

- Set to value 1 as this corresponds with the DAM engine implementation of hydrostatic model

Related to Issue [MWDAM-1374]

    • -2
    • +2
    ./DamEngineIo/XMLSoilProfile2DConverterTest.cs
  1. … 1 more file in changeset.
Modified the reader such that an exception is thrown whenever an error occurs with a soil profile to read.

Related to Issue [MWDAM-1374]

    • -63
    • +18
    ./StiImporter/SoilProfile2DImporterTest.cs
  1. … 4 more files in changeset.
Added conversion exception whenever a soil profile contains more than 1 inner loop in a soil profile layer

Related to Issue [MWDAM-1380]

    • -36
    • +50
    ./DamEngineIo/XMLSoilProfile2DConverterTest.cs
  1. … 1 more file in changeset.
Added functionality to set the name to the soil profile (this is not set automatically):

- Adjusted tests to verify behaviour.

- Added missing license headers

Related to Issue [MWDAM-1374]

    • -7
    • +38
    ./StiImporter/SoilProfile2DImporterTest.cs
  1. … 2 more files in changeset.
Added converter to convert the imported SoilProfile2D to the XML format

Related to Issue [MWDAM-1380]

    • -0
    • +223
    ./DamEngineIo/XMLSoilProfile2DConverterTest.cs
  1. … 2 more files in changeset.
Added assert for the inner loops

Related to Issue [MWDAM-1374]

Fixed failing test:

- The surfaces differ in order on different machines, so only assert whether all the surfaces are present.

Related to Issue [MWDAM-1374]

    • -2
    • +2
    ./StiImporter/SoilProfile2DImporterTest.cs
Moved message to resources:

- Applied for the validator

Related to Issue [MWDAM-1374]

  1. … 2 more files in changeset.
Cleanup: renamed alias

Related to Issue [MWDAM-1374]

Moved message to resources:

- Applied for the reader

Related to Issue [MWDAM-1374]

  1. … 2 more files in changeset.
Moved message to resources:

- Applied for the importer

Related to Issue [MWDAM-1374]

    • -1
    • +1
    ./StiImporter/SoilProfile2DImporterTest.cs
  1. … 2 more files in changeset.
Added importer to retrieve collections of SoilProfile2D based on a segment and the soil (materials) that are available.

Related to Issue [MWDAM-1374]

    • -0
    • +219
    ./StiImporter/SoilProfile2DImporterTest.cs
  1. … 2 more files in changeset.
Fixed unit test

Related to Issue [MWDAM-1653]

Set version of Dam Engine, DamLive and Dam UI to 20.1

Related to Issue [MWDAM-1653]

  1. … 3 more files in changeset.
Fixed failing unit test due to retention of log messages.

Related to Issue [MWDAM-1374]

Cleanup:

- Removed checks on the preconsolidation stresses as they're not imported.

Related to Issue [MWDAM-1374]

    • -1454
    • +0
    ./TestData/StiImporter/InvalidYieldStressVersionWithYieldStresses.sti
  1. … 1 more file in changeset.
Renamed exception for clarity and added test for the reader.

Related to Issue [MWDAM-1374]

  1. … 5 more files in changeset.
Ported the sti file read functionality from DSoilModel.

Related to Issue [MWDAM-1374]

    • -0
    • +1340
    ./TestData/StiImporter/SimpleProfile.sti
    • -0
    • +163
    ./StiImporter/StiFileReaderTest.cs
    • -0
    • +1340
    ./TestData/StiImporter/SimpleProfileWithException.sti
  1. … 2 more files in changeset.
Ported the sti file validation functionality from DSoilModel.

Related to Issue [MWDAM-1374]

    • -0
    • +143
    ./StiImporter/StiFileValidatorTest.cs
    • -0
    • +1413
    ./TestData/StiImporter/Tutorial-1a 14.1.2.1.sti
    • -0
    • +1454
    ./TestData/StiImporter/InvalidYieldStressVersionWithYieldStresses.sti
    • -0
    • +18
    ./TestData/StiImporter/InvalidSoilVersion.sti
    • -0
    • +169
    ./TestData/StiImporter/GeoFile.geo
    • -0
    • +199
    ./TestData/StiImporter/SeepFile.SEI
    • -0
    • +1406
    ./TestData/StiImporter/Tutorial-1a 10.1.4.3.sti
    • -0
    • +18
    ./TestData/StiImporter/InvalidGeometryVersion.sti
    • -0
    • +1413
    ./TestData/StiImporter/Tutorial-1a 16.1.2.1.sti
  1. … 4 more files in changeset.
Improved unit tests

Related to Issue [MWDAM-1625]

    • -0
    • +36
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
Set 6 unit tests to work in progress (DamMacroStability kernel is being replaced by Macrostability kernel in DamEngine)

Related to Issue [MWDAM-1625]

Set 2 unit tests to work in progress (DamMacroStability kernel is being replaced by Macrostability kernel in DamEngine)

Related to Issue [MWDAM-1625]

    • -0
    • +4
    ./Deltares.Dam.IntegrationTests.csproj
Transfer soilparameters to DamEngine:

- RRatio

- StrengthIncreaseExponent

- RatioCuPc

Added test for import of RatioCuPc

Related to Issue [MWDAM-1625]

    • -2
    • +6
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
    • binary
    ./DamProjectTest/DamProjectTestMSoilbaseRead.mdb
  1. … 2 more files in changeset.
Extend test for reading soils with RRatio and StrengthIncreaseExponent

Related to Issue [MWDAM-1625]

    • binary
    ./DamProjectTest/DamProjectTestMSoilbaseRead.mdb
Incorporated comments reviewer:

- Removed ZoneAreas as ZoneType input parameter

-- Fixed failing test

Related to Issue [MWDAM-1382]

    • -1
    • +1
    ./TestData/SampleCalculationParameters.xml
Incorporated comments reviewer:

- Removed ZoneAreas as ZoneType input parameter

-- Fixed input for test files

Related to Issue [MWDAM-1382]

    • -2
    • +0
    ./DamEngineIo/ConversionHelperTests.cs
    • -2
    • +2
    ./Importers/LocationPropertyImporterTest.cs
  1. … 4 more files in changeset.