Application.Ringtoets.Storage.TestUtil

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Code cleanup - Removed Ring holes from test util Related to Issue [WTI-1451]

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

Former-commit-id: 493cefd3a9416cb6e0ca9f6668136d4f4f2fe5a6

Former-commit-id: 22dd0f7501d40b0ebc57c3325bedd1a95ac3dea8

  1. … 5 more files in changeset.
- Code cleanup - Added storage of MacroStabilityInwardsSoilLayer2D's nested layers Related to Issue [WTI-1451]

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

Former-commit-id: d5376858656e92fff4a6254c3a2aef20eace46d7

Former-commit-id: 5add3829d75ab887b2ba4653b4825526f9d46aa8

  1. … 10 more files in changeset.
Improved MacroStabilityInwardsSoilLayer2D Related to Issue [WTI-1449]

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

Former-commit-id: 1d106b1690e3a561ff7264b1fb67a90ec6459dff

Former-commit-id: 05a4da7976160b25b3c1b24f6fbd556eeb00a067

  1. … 22 more files in changeset.
Improved MacroStabilityInwardsSoilLayer1D Related to Issue [WTI-1449]

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

Former-commit-id: 247a0a27343f174037767f36982416169ffd86a8

Former-commit-id: 59f81faa5ebb146a4c7e8d5d6b6230e5d057660f

  1. … 22 more files in changeset.
Removed MacroStabilityInwardsSoilLayer2D.Holes from the database Related to Issue [WTI-1451]

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

Former-commit-id: 8f30fd927afd13372df981e85304deb3b30a93fd

Former-commit-id: 7145a25add623fd0bd2f1d95f34933563cce7f4d

    • -6
    • +3
    ./MacroStabilityInwards/MacroStabilityInwardsSoilLayerTwoDEntityTestFactory.cs
  1. … 12 more files in changeset.
Adapted soil layer 2D data model (is nested now) Also adapted import and chart data visualizations Related to Issue [WTI-1449]

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

Former-commit-id: 1b8f335c997bc35188689c79f09bf6c116579e2f

Former-commit-id: eb45f0e4920ce98258b259af7247ecc58c2eafd7

    • -0
    • +1
    ./MacroStabilityInwards/MacroStabilityInwardsSoilLayerTwoDEntityTestFactory.cs
  1. … 116 more files in changeset.
Fixed failing tests

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

Former-commit-id: 9aa6b51c6ccad852c55b888c113da084e364fc73

Former-commit-id: f5b6f6d395b2b699f23935ebedc0f548b0c4af0b

  1. … 4 more files in changeset.
Made MacroStabilityInwardsSoilProfileUnderSurfaceLine work with IMacroStabilityInwardsSoilLayer2D

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

Former-commit-id: d6e7ade38fc73791f5fbf3e1f3889df1182c409b

Former-commit-id: cbf8e777f0d46234e646bf321fd92d240b0bf072

    • -0
    • +1
    ./MacroStabilityInwards/MacroStabilityInwardsSoilLayerTwoDEntityTestFactory.cs
  1. … 49 more files in changeset.
Added validation to TangentLineZTop and TangentLineZBottom. Updated tests to comply with the new validation Related to Issue [WTI-1400]

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

Former-commit-id: e9d171ab74574dacd69604e74379b53c2e3afcc5

Former-commit-id: d7bbc42bf0cccd10b7336b67f4364e924649c221

  1. … 13 more files in changeset.
- Added validation for MacroStabilityInwardsGrid X and Z - Updated tests to comply with the new restrictions on the MacroStabilityInwardsGrid - Added overload for Random.NextRoundedDouble with range Related to Issue [WTI-1400]

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

Former-commit-id: c3004e5a0c7735345a8b66e548cde9e67490c77a

Former-commit-id: e58a79f58922074521c2b76c8ef8529c024d6aba

  1. … 16 more files in changeset.
Converted the TestMacroStabilityInwardsOutput test object to a test factory: - Created objects are to be used for asserting composite objects that can clone. These asserts should be preferably done with the original object rather than a derived (test) object

Related to Issue [WTI-1366]

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

Former-commit-id: 9692ca616baffd96345a37e0f605fc8573337e86

Former-commit-id: 9abe379937333a2a121c54329d4dc57ee5d128a3

  1. … 31 more files in changeset.
- Removed TrafficLoadInside and TrafficLoadOutside from our data model. - - Only the CharacteristicPointsCsvReader in Ringtoets.Common.IO.SurfaceLines has knowledge of the existence of these traffic load properties Related to Issue [WTI-1443]

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

Former-commit-id: 81160300b03498fde6c5dd16d23a54992961ea78

Former-commit-id: 18cd599b8704c1b45334953e1fbe944524939564

  1. … 33 more files in changeset.
Updated database: - Renamed column DikeSoilScenarioType to DikeSoilScenario -- DikeSoilScenario does not really represent a type and scenario already indicates there are different kinds of options, hence the property was not renamed in the input class

Related to Issue [WTI-1379]

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

Former-commit-id: 1888ef4a07dabd5f8178255499f19e63f9f06385

Former-commit-id: 60c4800f4e414da42a68e707a1b6dc8ea30375de

    • -1
    • +1
    ./MacroStabilityInwards/MacroStabilityInwardsCalculationEntityTestHelper.cs
  1. … 9 more files in changeset.
Incorporated comments review 2195 - Added asserts for the integration tests - Added .ToNaNAsNull() call for the contribution when storing a macro stability inwards calculation scenario Related to Issue [WTI-1379]

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

Former-commit-id: 2c03f5e682f4a76928ed694ca17d97db3c3efca1

Former-commit-id: 5a58149288c5f337146a460441390c150c91bd01

  1. … 4 more files in changeset.
Incorporated comments review 2195 - Editorial changes - Explicit set values explicitly for NaN cases for the Create and Read extensions related to macrostability inwards - Changed internal methods in internal classes to public (synchronised across macrostability inwards and piping) Related to Issue [WTI-1379]

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

Former-commit-id: 4de72b78ffab0ed0177ed39b702efde0e177c033

Former-commit-id: 49bf1469e0f1890ad528ef1b638ee66c76755d91

    • -1
    • +1
    ./MacroStabilityInwards/MacroStabilityInwardsCalculationEntityTestHelper.cs
  1. … 18 more files in changeset.
Introduced interfaces for decoupling input objects so that they can be used for the waternet calculation. Related to Issue [WTI-1345]

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

Former-commit-id: 38c446a34b1b58b7db8e1431e7dce6177e19d68c

Former-commit-id: dc970feeec16f79716d129ef808e94a9474aa7bd

    • -2
    • +3
    ./MacroStabilityInwards/MacroStabilityInwardsCalculationEntityTestHelper.cs
  1. … 48 more files in changeset.
Added integration tests for piping soil profile type paired with ~tang_ds Related to Issue [WTI-1433]

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

Former-commit-id: 7b2e885405a261185da246631f855bdf6938983c

Former-commit-id: bb41d9b5d388312d7bb42c8d8871fb0c02185c69

  1. … 2 more files in changeset.
Corrected asserts to improve coverage: - Added missing asserts, corrected asserts - Added values to missing property setters

Related to Issue [WTI-1379]

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

Former-commit-id: 3c8cc7b9b691089232a26132c5de67f55dffc374

Former-commit-id: 97d5f344b06b48831fa1cffacf2017be3eba216c

    • -1
    • +2
    ./MacroStabilityInwards/MacroStabilityInwardsCalculationEntityTestHelper.cs
    • -1
    • +1
    ./MacroStabilityInwards/MacroStabilityInwardsCalculationOutputEntityTestHelper.cs
  1. … 5 more files in changeset.
- Expanded ProjectTestHelper with MacroStability Calculation (group) configurations for round tests - Added missing functional test for the piping calculation create extension Related to Issue [WTI-1379]

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

Former-commit-id: c0ee746d2cbf910d9758c3a9b95f8ae12923c274

Former-commit-id: 673793797d2a172cb375868d70faad226a964d17

    • -0
    • +4
    ./Application.Ringtoets.Storage.TestUtil.csproj
  1. … 2 more files in changeset.
Added read and create extensions: - Done for the calculation scenario -- Improved for the piping equivalent - Introduced entity testhelper to assert entity property values for the macrostability inwards calculations scenarios - Renamed functions to better reflect what they do

Related to Issue [WTI-1379]

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

Former-commit-id: a0e33b7f224bb8df0e64ab081d2e265290785d81

Former-commit-id: 5c8ec47fa3cf57b16e93955326a97b3e4630de91

    • -0
    • +1
    ./Application.Ringtoets.Storage.TestUtil.csproj
    • -0
    • +160
    ./MacroStabilityInwards/MacroStabilityInwardsCalculationEntityTestHelper.cs
    • -1
    • +2
    ./MacroStabilityInwards/MacroStabilityInwardsCalculationOutputEntityTestHelper.cs
  1. … 11 more files in changeset.
Added read and create extensions: - Done for the output - Synchronised implementations of piping with MacroStabilityInwards => when NULL arguments are passed, ArgumentNullException thrown - Replaced CollectionAssert with TestHelper assert which uses an EqualityComparer - Introduced entity test helper to assert the macro stability inwards output entity values Related to Issue [WTI-1379]

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

Former-commit-id: 52251d30085ed9d1788770c79e711eeb607b461f

Former-commit-id: e7c9cc3302b31e7a805515cf01c77620e44aaafe

    • -0
    • +1
    ./Application.Ringtoets.Storage.TestUtil.csproj
    • -0
    • +145
    ./MacroStabilityInwards/MacroStabilityInwardsCalculationOutputEntityTestHelper.cs
  1. … 11 more files in changeset.
Incorporated comments dev: - Moved validation logic from readers to transformers and RT datamodel (stochastic soil profiles, piping only): -- Added validation logic to determine whether the stochastic soil profiles are empty => If empty, exception Related to Issue [WTI-1340]

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

Former-commit-id: 10207106ad89bcf18173ad96dc33515ef9afdfe6

Former-commit-id: 90740578a43ce5bb34875e3231ca8fec36977b84

    • -0
    • +1
    ./Application.Ringtoets.Storage.TestUtil.csproj
    • -0
    • +52
    ./PipingStochasticSoilProfileEntityTestFactory.cs
  1. … 9 more files in changeset.
Incorporated comments dev: - Cleaned up some files - Moved validation logic from readers to transformers and RT datamodel (stochastic soil profiles, Piping only): -- Moved StochasticSoilProfile property of the PipingStochasticSoilModel as a mandatory constructor argument -- Changed property from List to IEnumerable => provides readonly access of the collection -- Introduced additional test factory method --- Replaced explicit constructor calls with factory calls when possible

Related to Issue [WTI-1340]

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

Former-commit-id: 8cf27edcf482fb639d692d19f6840bb78219dc98

Former-commit-id: dbc10165755b4dc91a62d7f21e6749d2850ed2b3

  1. … 34 more files in changeset.
Incorporated comments dev: - Moved validation logic from readers to transformers and RT datamodel (stochastic soil profiles, MacroStabilityInwards only): -- Added validation logic to determine whether the stochastic soil profiles are empty => If empty, exception Related to Issue [WTI-1340]

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

Former-commit-id: da6fdf99b72f5f4507ca76cef500c9c5fe7953b3

Former-commit-id: 678db481bbd9a6b32e1dac26455628b63fa932ff

    • -1
    • +2
    ./Application.Ringtoets.Storage.TestUtil.csproj
    • -0
    • +56
    ./MacroStabilityInwards/MacroStabilityInwardsSoilLayerTwoDEntityTestFactory.cs
    • -0
    • +52
    ./MacroStabilityInwards/MacroStabilityInwardsStochasticSoilProfileEntityTestFactory.cs
    • -56
    • +0
    ./MacroStabilityInwardsSoilLayerTwoDEntityTestFactory.cs
  1. … 16 more files in changeset.
Incorporated comments dev: - Moved validation logic from readers to transformers and RT datamodel (stochastic soil profiles, MacroStabilityInwards only): -- Moved StochasticSoilProfile property of the MacroStabilityInwardsStochasticSoilModel as a mandatory constructor argument -- Changed property from List to IEnumerable => provides readonly access of the collection -- Introduced additional test factory method --- Replaced explicit constructor calls with factory calls when possible

Related to Issue [WTI-1340]

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

Former-commit-id: 793e8b7ce8d28a571d22d61fd01a1c14280c75c6

Former-commit-id: 4ba95330a9300a647b62dfa413c36a5a581ee392

  1. … 33 more files in changeset.
Incorporated comments dev: - Moved validation logic from readers to transformers and RT datamodel (Piping only): -- Validates if the geometry is not empty and is not NULL -- Expanded test factory -- Replaced explicit constructor calls with test factory calls when possible -- Added additional tests for the transformers to verify behaviour

Related to Issue [WTI-1340]

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

Former-commit-id: bb6368c63b7448360bce377e2d29d1303b379d9c

Former-commit-id: 73622e310bf3c785e9bbc7acb4d2021bfc9a7674

  1. … 41 more files in changeset.
Incorporated comments dev: - Cleaned up unused resources - Moved validation logic from the Reader to the transformers and respective RT data structures: -- Performed for the SoilModel: - Removed geometry validation in the reader, but: - Implemented for MacroStability only at this stage: -- Check if geometry is not empty Related to Issue [WTI-1340]

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

Former-commit-id: 31fb365b2611d19fafeef02d50d223c477b45431

Former-commit-id: 123d35eb149285fe827c58fb12bc95af78eb71ad

  1. … 41 more files in changeset.
Implement validation in structures, waveheight and designwaterlevel calculation with corresponding tests. Improve GeneralResult validation with stochast check for toplevel submechanism points. Adapt old tests so they will pass. Related to Issue [WTI-1391]

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

Former-commit-id: 7c5475baca39b2e50fd92cffcd066cb90035b84d

Former-commit-id: 7371f7aa9c2fe4da40051f708686731a7b20ad61

  1. … 12 more files in changeset.
Implement validation in the data model, add tests to data model and started adding tests to calculator services. Old tests have been adapted to create valid generalresult/faulttrees so they won't throw exceptions when creating them. Related to Issue [WTI-1391]

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

Former-commit-id: 50fbd65dee53f455a510032c25787207ef0332d9

Former-commit-id: 89df2cfd12e7ddc527716a82d3325da29e8bfaef

  1. … 39 more files in changeset.
Incorporated comments review 2117 / Dev: - Changed API call => preconstruct objects and pass them to the preconsolidation stresses - Removed extra code -- Replaced explicit MacroStabilityInwardsPreconsolidationStress instantiation with test factory calls when possible Related to Issue [WTI-1341]

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

Former-commit-id: da5d653f8773b40921ba07d2155b7302cf52d4b2

Former-commit-id: 7ff7b218d3ff3bb48c514f6f44e4de7298e517fa

  1. … 13 more files in changeset.