Tests

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Removed StabilityKernelType:

- Removed from the FailureMechanismCalculationSpecification and its affected callers.

Related to Issue [MWDAM-1630]

  1. … 1 more file in changeset.
Removed StabilityKernelType:

- Removed from the ConfigurationManager and its affected callers.

Related to Issue [MWDAM-1630]

    • -17
    • +14
    ./UISupport/ConfigurationManagerTest.cs
  1. … 2 more files in changeset.
Disabled model selection when StabilityOutside or StabilityInside failure mechanism is active:

- Set UpLiftVan as default value when a new project is made

- Added tests to verify behaviour

Related to Issue [MWDAM-1630]

    • -0
    • +55
    ./MStabParametersTest.cs
    • -0
    • +110
    ./DamFailureMechanismeCalculationSpecificationTest.cs
  1. … 2 more files in changeset.
Incorporated comments reviewer:

- Reverted SoilGeometry2DName to simply the profile name (without extension)

Related to Issue [MWDAM-1380]

    • -1
    • +1
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
Incorporated comments reviewer:

- Moved the naming of the read SoilProfile2D to the Importer as all the information is available there

-- The reader is only responsible for reading the soil profile, not for setting additional postprocessing of the read data

Related to Issue [MWDAM-1374]

    • -4
    • +4
    ./StiImporter/SoilProfile2DImporterTest.cs
  1. … 2 more files in changeset.
Incorporated comments reviewer:

- Added check on whether the profile name has the .sti extension. If not --> add the extension to read from the reader.

- Corrected behaviour on the StiFileReader to set the profile name equivalent to the filename without extension.

Related to Issue [MWDAM-1374]

    • -3
    • +47
    ./StiImporter/SoilProfile2DImporterTest.cs
  1. … 2 more files in changeset.
Added behaviour to serialise only one soilprofile in case there are duplicates present.

Related to Issue [MWDAM-1380]

    • -0
    • +71
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
  1. … 1 more file in changeset.
Improved unit test by pulling all the relevant files to its own test data folder

Related to Issue [MWDAM-1380]

    • -20
    • +19
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
Fixed unit test, as SoilProfile2D profiles in a segment are being read from sti file:

- Reverted changes for the localChanges, as this ensures that ONLY the segments in the waterboard is serialized (prevents duplicated serialization)

- Cleaned up implementation

Related to Issue [MWDAM-1380]

    • -3
    • +6
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
  1. … 1 more file in changeset.
Added logic to wire the imported (and converted) soil profiles to the XMLInput object:

- Added unit tests to verify behaviour

Related to Issue [MWDAM-1380]

    • -1
    • +329
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
  1. … 1 more file in changeset.
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.