StochasticSoilModelImporterTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Moved StochasticSoilModelImporter to IO namespace. Added IStochasticSoilModelChangeHandler to inquire user for change confirmation. Implemented TestStochasticSoilModelChangeHandler utility class to use in testing. Added Ringtoets.Piping.IO.TestUtil to house the utility class. Implemented StochasticSoilModelChangeHandler with a basic implementation. Extracted TestStochasticSoilModelUpdateModelStrategy from StochasticSoilModelImporterTest. Related to Issue [WTI-1093]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8091 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: daa6aaa9971d4c85b57003a53b2dff1138ea52cc

Former-commit-id: 79e4b525884bc0d7a9dc1f2a0af9d6aa57e7d9bf

    • -864
    • +0
    ./StochasticSoilModelImporterTest.cs
  1. … 35 more files in changeset.
Implemented equality members for StochasticSoilProfile. StochasticSoilModel now returns StochasticSoilProfile if it has been updated. StochasticSoilModelUpdateDataStrategy is now responsible for the filtering profiles for which calculation output should be cleared. Removed probability restriction of the StochasticSoilProfile Probability. Headers restored, cleanups performed. Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8068 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 0ea8e7c8039dd5d8f9d5b90ff4b3a8bc4d715b8c

Former-commit-id: c21afba1bf3646513a3e71ff3f5dbaaf2eea93fa

    • -15
    • +36
    ./StochasticSoilModelImporterTest.cs
  1. … 19 more files in changeset.
Turned the StochasticSoilModelCollection into a collection that uses generics: - Stores elements of type T and the source path (same functionality as the StochasticSoilModelCollection) - Modified influenced components, fixed failing tests Related to Issue [WTI-1083]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8063 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: e49abec52fc1d6390fe033f62ed83ea72907ec2b

Former-commit-id: 512f88aa9067fcf94700873b63491b69b276b41a

  1. … 23 more files in changeset.
Renamed IStochasticSoilModelUpdateStrategy to IStochasticSoilModelUpdateModelStrategy to better match intention. Refactored StochasticSoilModelImporterTest so that it is not dependent on StochasticSoilModelReplaceDataStrategy. Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8050 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: ac5e0a5ca10519b341140941114df4cc1c1d11fb

Former-commit-id: a5e2892a626326fc99d0d6460d367b4afa783c8e

    • -127
    • +129
    ./StochasticSoilModelImporterTest.cs
  1. … 7 more files in changeset.
Improved doc. Renamed methods to better match intention. Cleanups Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8030 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 3a63fbf3a24ca37f052bb2c50f213aada85c638f

Former-commit-id: a71eef829fbde99a869689c7986a0aa196f42160

    • -37
    • +86
    ./StochasticSoilModelImporterTest.cs
  1. … 9 more files in changeset.
Added validation for Probability of StochasticSoilProfile. Added StochasticSoilmodelUpdateException. Provided base implementation of the DoPostImport (cancelable behavior) and an overridable DoPostImportUpdates to implement just the model updates. Added Strategy postfix to IStochasticSoilModelUpdateStrategy implementations. Fixed liskov issue with StochasticSoilModelUpdateDataStrategy. Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8026 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 1b86b03430a8714c43abdb447dbf9a561426a94e

Former-commit-id: 781140c2712d3dd80e4e97c162a8455e54d8227d

    • -26
    • +25
    ./StochasticSoilModelImporterTest.cs
  1. … 40 more files in changeset.
Added test for 2 profiles with same name , but of different type in model. Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@7993 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: f1d8f85727194b4b503c2545d222a4ed09b8a93c

Former-commit-id: ceac25894d78d4770ef45a5d55283a7384b816bc

    • -0
    • +26
    ./StochasticSoilModelImporterTest.cs
  1. … 1 more file in changeset.
Added possibility to add probability to a stochastic soil profile. Added log messages for when multiple stochastic soil profiles are defined for the same soil profile in a model. Optimized query to return only unique profiles. Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@7990 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: fd456cd0d8526096aca616ccee82a45d6c9b6b7c

Former-commit-id: f800ad3f703b8cdd09d7219620708869a9ed1df8

    • -2
    • +28
    ./StochasticSoilModelImporterTest.cs
  1. … 9 more files in changeset.
Fixed typo Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@7888 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 7fb5e7fc9fcacfebd98eb3967d7b3985ec8d21b6

Former-commit-id: 70df0bb64b96df08314f269693d6608d7c0c93e7

Added IStochasticSoilModelUpdateStrategy which is used to differentiate between the two update strategies after importing stochastic soil models. Implemented StochasticSoilModelReplaceData as one of the two strategies. Created incorrect and unused implementation of StochasticSoilModelUpdateData strategy, to be improved later. Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@7873 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 4962792d5571ff86be5db7467c0a148d8ffd2dab

Former-commit-id: fcd1962eb2a576d83fd6eb72224f7220f1c2dcac

    • -21
    • +32
    ./StochasticSoilModelImporterTest.cs
  1. … 10 more files in changeset.
Incorporated comments review 1405 - Removed unused references - Reduced amount of tests in the Piping/PipingFailureMechanismCreateExtensionsTest, because function test argument isRelevant is not always used - Ran DeltaresClean - Dropped -Mock suffix in StochasticSoilModelCollectionContextTreeNodeInfoTest

Paired with berg_jl

Related to Issue [WTI-1080]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@7763 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 793fe53782fae4fdf4b39f97598494d52b2a615d

Former-commit-id: a31ff376f2109a23c73f765689e9b61e1268812a

    • -24
    • +24
    ./StochasticSoilModelImporterTest.cs
  1. … 10 more files in changeset.
Performed cleanups and improved xml-doc Related to Issue [WTI-1080]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@7754 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 4634a970883c64ac5dfc97b6589ddfa176a35d95

Former-commit-id: cac9c2854778d8077902e40c7fd2d43243134e6b

    • -18
    • +18
    ./StochasticSoilModelImporterTest.cs
  1. … 12 more files in changeset.
Improved description and display name and renamed Property LastKnownFilePath to SourcePath. Related to Issue [WTI-1080]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@7688 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: c24e155321438ce72fbc7a88b13a520af3395516

Former-commit-id: a88ed076ae0021f605fe958b719a4fed0a8e8b3f

  1. … 7 more files in changeset.
Introduced StochasticSoilModelCollection which is an ObservableList of StochasticSoilModel with an added property for the last known file path. Set last known file path from the importer when import is successful. Renamed PipingSoilProfilesImporter to StochasticSoilModelImporter to better match its responsibility. Used string interpolation and nameof. Inlined resources in tests.

Related to Issue [WTI-1080]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@7682 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: d516d97af58d226b9e94f0d78a9b4548f05ed432

Former-commit-id: 2f9f840fa4c706712e251ccbf92d97fa7af8461b

    • -0
    • +731
    ./StochasticSoilModelImporterTest.cs
  1. … 16 more files in changeset.