Tests

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed failing tests.

Related to Issue [MWDAM-1689]

I corrected the name for the test helper function as this does not longer use Classic (which stands for D-GeoStability).

Related to Issue [MWDAM-1685]

Add integration test as unit test

Related to Issue [MWDAM-1685]

  1. … 15 more files in changeset.
Fixed failing tests.

Related to Issue [MWDAM-1627]

    • -2
    • +2
    ./CalculationParametersAssemblerTest.cs
Fixed tests that failed due to improved message.

Related to Issue [MWDAM-1677]

    • -3
    • +4
    ./CalculationParametersAssemblerTest.cs
Modified conversion for a SoilProfile2D:

- Always set the layers to HydroStatic WaterPressureInterPolationModel when importing

Related to Issue [MWDAM-1686]

    • -1
    • +1
    ./StiImporter/SoilProfile2DImporterTest.cs
  1. … 1 more file in changeset.
Modified conversion for a SoilProfile2D:

- Fixed conversion for the WaterpressureInterpolationModel for a SoilLayer2D

Related to Issue [MWDAM-1686]

    • -4
    • +6
    ./DamEngineIo/XmlSoilProfile2DConverterTest.cs
  1. … 1 more file in changeset.
Modified conversion for a SoilProfile2D:

- Fixed failing unit tests: added aquifer dictionary to the SoilList to prevent KeyNotFoundExceptions

Related to Issue [MWDAM-1686]

    • -3
    • +12
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
Modified conversion for a SoilProfile2D:

- Added step to transfer layer properties in the SoilProfile2DImporter

Related to Issue [MWDAM-1686]

    • -5
    • +31
    ./StiImporter/SoilProfile2DImporterTest.cs
  1. … 1 more file in changeset.
Modified conversion for a SoilProfile2D:

- Explicitly set to a SoilProfile2D in case it is a sti file. Sti files are now read by in the FillDamUiFromXmlInput and should be passed as a SoilProfile2D instead

Related to Issue [MWDAM-1686]

    • -0
    • +22
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
  1. … 2 more files in changeset.
Incorporated comments reviewer:

- Restored and commented original test categories

Related to Issue [MWDAM-1630]

Incorporated comments reviewer:

- Made FailureMechanismSystemType.StabilityOutside invisible

- Improved source code by cleaning up the nested switch

Related to Issue [MWDAM-1630]

    • -0
    • +42
    ./DamFailureMechanismeCalculationSpecificationTest.cs
  1. … 1 more file in changeset.
Incorporated comments reviewer:

- Ensured that the soil profile names are distinct for 1D profiles

Related to Issue [MWDAM-1380]

    • -4
    • +4
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
Set failing tests to "WorkInProgress" category:

- Tests currently fail due to the functional requirement that only outdated projects with UpliftVan model settings are supported and loaded into the application.

Related to Issue [MWDAM-1630]

Incorporated comments reviewer:

- Added test to verify that the 1D and 2D profiles are serialized correctly

Related to Issue [MWDAM-1380]

    • -0
    • +135
    ./DamEngineIo/FillXmlInputFromDamUiTests.cs
Disabled model selection when StabilityOutside or StabilityInside failure mechanism is active:

- Disabled options also in the ConfigurationManager, as this gives problems when loading older projects

Related to Issue [MWDAM-1630]

    • -5
    • +5
    ./UISupport/ConfigurationManagerTest.cs
  1. … 1 more file in changeset.
Fixed failing tests:

- Removed all mentions to the Wti kernel

Related to Issue [MWDAM-1630]

    • -9
    • +0
    ./UISupport/ConfigurationManagerTest.cs
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.