Application.Ringtoets.Storage.TestUtil

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Made sure FullTestProject171.rtd contains calculation outputs - Made sure FullTestProject171.rtd contains piping calculation with and without a manual set assessment level - Updated RingtoetsProjectTestHelper to contain piping calculation with and without a manual set assessment level

- Updated Migration_17.1_17.2.sql such that the content of the following tables is not inserted in the new database:

-- ClosingStructuresOutputEntity

-- DuneLocationOutputEntity

-- GrassCoverErosionInwardsDikeHeightOutputEntity

-- GrassCoverErosionInwardsOutputEntity

-- GrassCoverErosionInwardsOvertoppingRateOutputEntity

-- GrassCoverErosionOutwardsHydraulicLocationOutputEntity

-- GrassCoverErosionOutwardsWaveConditionsOutputEntity

-- HeightStructuresOutputEntity

-- HydraulicLocationOutputEntity

-- StabilityPointStructuresOutputEntity

-- StabilityStoneCoverWaveConditionsOutputEntity

-- WaveImpactAsphaltCoverWaveConditionsOutputEntity

- Updated Migration_17.1_17.2.sql such that the content of the PipingCalculationOutputEntity and PipingSemiProbabilisticOutputEntity is *only* inserted in the new database when *UseAssessmentLevelManualInput* is set to true

- Refactored MigrationTo172IntegrationTest so it is easier to read

- Added asserts that all output (except for piping calculations that have set an assessment level manually) are cleared.

Related to Issue [WTI-1464]

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

Former-commit-id: ddb24707d3d12ecb443a86613e225a7dfd8e6d02

Former-commit-id: 00ba953a301407fa3ccb24b71584d65f0f777d93

  1. … 4 more files in changeset.
Perform cleanup of Application.* and Core.Common.* Related to Issue [WTI-1463]

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

Former-commit-id: b788636893eb77186560c1c94da58be5e39bc269

Former-commit-id: adb82617948f02594e9f459279d36825f7d91060

    • -12
    • +12
    ./MacroStabilityInwards/MacroStabilityInwardsStochasticSoilProfileEntityTestFactory.cs
  1. … 67 more files in changeset.
Merged revision(s) 12660 from trunk: Update data model to allow for null values for soil layer colors. A NULL Color translates to Color.Empty, before both Color.Empty and a color with values (0;0;0;0) were both stored as 0 (Empty should be displayed as white, (0;0;0;0) as fully transparent black)

........

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

Former-commit-id: e456a20057277be562177b52dada7b0655fe65a1

Former-commit-id: 96174e36bb23fe8ef47ea1824d9667c9cba0bdb8

  1. … 7 more files in changeset.
Update data model to allow for null values for soil layer colors. A NULL Color translates to Color.Empty, before both Color.Empty and a color with values (0;0;0;0) were both stored as 0 (Empty should be displayed as white, (0;0;0;0) as fully transparent black) Related to Issue [WTI-1298]

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

Former-commit-id: b513037bae8a5683ad007ab66164741d2efd5fab

Former-commit-id: 4b61dd2b15f07a22245de42732e1e8fe591a9add

  1. … 21 more files in changeset.
Fixed some compilation errors Related to Issue [WTI-1477]

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

Former-commit-id: 5aa920943921d4830d7e0ac8fe2b6bb2d33b502c

Former-commit-id: fd30730a957093923e20db0a2b629a484d3b7d5d

  1. … 3 more files in changeset.
Implemented storage for the preprocessor properties. Related to Issue [WTI-1477]

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

Former-commit-id: 02bcddf17cf72268d6a727d113baf47d22a0c738

Former-commit-id: 56a7c8ae2b3200cb4c6f65dea447375fa17158fb

  1. … 8 more files in changeset.
Got rid of inner rings and holes Related to Issue [WTI-1449]

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

Former-commit-id: f0bc4fa819e62328892cbdc2363e8cdb21d48e01

Former-commit-id: b8d2ea08b3544014ff6ba37044a835ea6d67ded7

  1. … 25 more files in changeset.
Fixed final compilation errors

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

Former-commit-id: 5d86706be27a83150970ddb5d3fab9599d3f53b3

Former-commit-id: e6244983bee817b59676d3a5d2aab8d782770dc6

  1. … 14 more files in changeset.
Got rid of some inner loop usage Related to Issue [WTI-1449]

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

Former-commit-id: a6a87241251bb7f092752c09266eaa8af85673c3

Former-commit-id: 4da3edebd9ccc7319eb79790ddd7be1acfb307fd

  1. … 22 more files in changeset.
- 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.