PipingCalculationServiceTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* Refactored PipingCalculationService validation method to improve code cohesion and reduce size of validation method. Related to Issue [WTI-1014]

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

Former-commit-id: 1604a5cc5f7a96d8ab04c0348e2fd904c282bf99

Former-commit-id: dff5e3e6e43809c3ef671cc65483f56456ea70cb

  1. … 1 more file in changeset.
Incorporated comments review 1261 - Made implicit behaviour into explicit behaviour for the relevant CreateExtension - Changed AssessmentLevel setter in PipingInput: throw Exception when attempting to set a new value while UseAssessmentLevelManualInput is FALSE - Implemented specific conditions in functions determining readonly and visibility of properties - Extracted method from the piping calculation service for validating the assessment level Related to Issue [WTI-1014]

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

Former-commit-id: 2bffc35682e9f178a84665d85e080f35de7c9c84

Former-commit-id: 7b9f9f33c5e32ab897224d4c169abeb19a4003bf

  1. … 7 more files in changeset.
SaturatedVolumicWeight returns NaN design variable again if it could not be derived (missing on soil profile or no coverage layer). Restructured PipingCalculationService Validate and GetInputWarnings methods.

Related to Issue [WTI-1004]

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

Former-commit-id: fbfe2562f35001083d92255218ec3005c67fb8c4

Former-commit-id: 307b186286c07b029a67e7f1d31e5e8f9c19c6e3

  1. … 3 more files in changeset.
Deterministic value is now a constructor parameter instead of a property on DeterministicDesignVariable. Added AreEqual to DistributionAssert for also testing shifts of LogNormalDistribution. Added test for DeterministicDesignVariable. Improved docs and fixed inconsistencies with conventions. Related to Issue [WTI-1004]

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

Former-commit-id: 75f914b2467b36ceab14de4ad8531f65cdd855b2

Former-commit-id: 58f7e88ce5ebda059995ab97b2437c5e32414281

    • -233
    • +260
    ./PipingCalculationServiceTest.cs
  1. … 26 more files in changeset.
Removed public setter of HydraulicBoundaryLocation's DesignWaterLevel Related to Issue [WTI-987]

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

Former-commit-id: 0018877f8439cb75e6046fbc25c717dbe355bfc8

Former-commit-id: 69cd960ecdba3ec73fdaed212f57fd857864b0a2

  1. … 25 more files in changeset.
Incorporated feature: - User can select if he wants to manually enter the assessment level: -- If yes, dropdown box hydraulic boundary locations disappears and the assessment level box becomes editable -- If no, dropdown box hydraulic boundary location appears and the assessment level box becomes readonly and synchronized with values of the selected hydraulic boundary location - Adapted the affected Create and Read extensions to reflect the new situation - Adjusted the validation which is now a function of the UseAssessmentLevelManualInput - Adjusted failing tests, implemented new tests Related to Issue [WTI-1014]

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

Former-commit-id: ae9ad69faa9fc522800632c7944d8b790dac770f

Former-commit-id: d200214e586def9e76afba8695f2f52963026039

    • -11
    • +12
    ./PipingCalculationServiceTest.cs
  1. … 18 more files in changeset.
Added EffectiveThicknessCoverageLayer to the piping input property control. Used effective thickness coverage layer to the Uplift calculator Related to Issue [WTI-1025]

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

Former-commit-id: f3bf3dd197b54ac5ec581addb55071db1aec7826

Former-commit-id: e36106ec1568524d0e5323ef7aa00f2b83c1247a

  1. … 14 more files in changeset.
- Implemented new checks and rules for setting the DarcyPermeabilityDistribution. - Updated soil profile database so that DarcyPermeability std is half of mean. Related to Issue [WTI-1005]

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

Former-commit-id: 9e4be4a29db917c2273b0719df525998bc67377d

Former-commit-id: be290b3b6b095a35023e0e5b62118e582a9bf970

    • -25
    • +19
    ./PipingCalculationServiceTest.cs
  1. … 5 more files in changeset.
Extended calculator stubs with booleans indicating whether the calculator was calculated or validated. Related to Issue [WTI-1004]

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

Former-commit-id: 2fb8d2a81f8303217deb080a02eb11379c47e394

Former-commit-id: c6d83983b640aa56b0cef2e8402cc229524e95e9

    • -10
    • +57
    ./PipingCalculationServiceTest.cs
  1. … 13 more files in changeset.
* Moved HydraulicBoundaryLocation and related classes from HydraRing.Data to Ringtoets.Common.Data\Hydraulics * Removed HydraRing.Data and related test projects. * Moved importer related test data from HydraRing.IO to Ringtoets.Common.IO Related to Issue [WTI-988]

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

Former-commit-id: 17347220df48d78521b65d257dde9b4ffdace273

Former-commit-id: dc5ddfa6d8f3719bd2dd4a2f62ed94f98f962499

  1. … 426 more files in changeset.
Update soil profile database so that the layers extent beyond the surface line top (i.e. 10). Added validation of the PipingProfilePropertyCalculator. Used BottomLevelAquitardAboveExitPointZ in sellmeijer and heave calculations. Related to Issue [WTI-1004]

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

Former-commit-id: 0339bbd859a53e6795486dc868ba112d59ad4577

Former-commit-id: b03236c92a6c60fc4ef905abc633d8863b5f3904

  1. … 2 more files in changeset.
Incorporated comments review 1247: - Replaced StringAssert.StartsWith() with Assert.AreEqual when the validation message is fully defined Related to Issue [WTI-1014]

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

Former-commit-id: 43f3524ffa759adc37251c21f078ace17169341d

Former-commit-id: 0f6084e023a53b8c5c9fb44bdbce92519e4b4fd0

    • -26
    • +26
    ./PipingCalculationServiceTest.cs
  1. … 9 more files in changeset.
Changed resource. Related to Issue [WTI-1011]

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

Former-commit-id: be33929eac215248172619f0c395b07fa830435d

Former-commit-id: 18533ab0ea93290e574482f8bf8862b9cc1438dd

  1. … 2 more files in changeset.
Adjusted validation routine for the "Toetspeil" property in Piping: - When HBL is null (not selected), validation will only generate an error if: -- AssessmentLevel is NaN, positive or negative infinity -- Same for the values of PiezometricHeadExit - Tree node info, activity and service tests are adjusted. One more message is generated in case there is an invalid calculation (both AssessmentLevel and the related PiezometricHeadExit related error will be generated)

Related to Issue [WTI-1014]

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

Former-commit-id: d45ce3a6be2f6f1f4eb08a664684c7096e1d96c2

Former-commit-id: 1c03483a86aa8b4ae5ee233a43d68d322dd08f31

    • -16
    • +21
    ./PipingCalculationServiceTest.cs
  1. … 8 more files in changeset.
review related changes paired with tangerma Related to Issue [WTI-1011]

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

Former-commit-id: caa2c904bc51ab777d79f91f313d3654a85a6980

Former-commit-id: f2f90bb0c195a9336aa74052af7762a0a1618387

  1. … 6 more files in changeset.
Make the "Toetspeil" property editable in the Piping Input properties: - Moved the logic for determining the AssessmentLevel from DerivedPipingInput to PipingInput. DerivedPipingInput uses the AssesmentLevel as provided by the PipingInput - Implemented a setter for the PipingInput and PipingInputContextProperties - Adjusted the PipingCalculationServiceTest: the PipingCalculationScenarioFactory creates a scenario with a valid hydraulic boundary location and assessment level. However, the current logic updates the assessment level based on the hydraulic boundary location a new HBL is set on the input

Related to Issue [WTI-1014]

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

Former-commit-id: ce0b3c30fc5e44463c1c1c49fa8daafbc59ad5af

Former-commit-id: 316cffddf93389c40e93d355f8839ca36a50fc54

  1. … 6 more files in changeset.
Added validation for when saturated volumic weight of the coverage layers is less than the volumic weight of water. Related to Issue [WTI-1004]

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

Former-commit-id: 2b4a2b833ed100206de52e8f7093a5727325a3e0

Former-commit-id: a483b9614a277e7f56567d7fbf2e14c9febebfaf

    • -23
    • +133
    ./PipingCalculationServiceTest.cs
  1. … 3 more files in changeset.
Added extra validation and warning message for d70. Related to Issue [WTI-1011]

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

Former-commit-id: cb33811eaee3600647323c22b83d851ffe162166

Former-commit-id: d6f758965b1dc96937635f5202774f3c1f1ceed1

    • -10
    • +61
    ./PipingCalculationServiceTest.cs
  1. … 4 more files in changeset.
Moved some piping calculation scenario factory related testutils Related to Issue [WTI-953]

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

Former-commit-id: 52a4be04dc6c4f897a0552319046989a43b13ede

Former-commit-id: 06aa1e04cad76ca900ff19365d0cbe57b5cf25fe

    • -22
    • +22
    ./PipingCalculationServiceTest.cs
  1. … 9 more files in changeset.
Improved validation message Related to Issue [WTI-921]

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

Former-commit-id: 5cef25411e5c78e7ebdd0b89d05a6797c83bdc3b

Former-commit-id: a0236ae447e7a343ac0ccbb67a627b4bbcebb8d9

  1. … 2 more files in changeset.
Review related changes Related to Issue [WTI-556]

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

Former-commit-id: 37e86559ae4790987e4af641c1fb382679c89a8f

Former-commit-id: e122779f90d7530bd1f06a3a41b86278552c458b

  1. … 15 more files in changeset.
* Refactored RandomNumberGenerator to extension method for Random instances. * Reformatted code. Related to Issue [WTI-838]

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

Former-commit-id: 40a316b32991c5d7a521eb03d5aea2c885aeaf17

Former-commit-id: 5e7268436a267df8bb3b522f5a920df5f736e32f

  1. … 11 more files in changeset.
- Introduced RandomNumberGenerator to generate random double from a range Related to Issue [WTI-838]

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

Former-commit-id: 42db0e244bfeca3168cca8ae0eb6c95919111b80

Former-commit-id: efd26cc62206b78908cafb31b34c662dfcb8ed23

  1. … 7 more files in changeset.
* Create and Read extension methods for StabilityPointStructure instances. * Introduced RoundedDouble.NaN constant (removes the proliferation of casting from double.NaN to RoundedDouble) Related to Issue [WTI-911]

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

Former-commit-id: e0faff5c1252f482de48e7849a8d4ae3f6bf1d5c

Former-commit-id: 2f2757c0a49641b703a66ca60d5ab0e28b7e7098

  1. … 71 more files in changeset.
Changed "standaard deviation" to "standaardafwijking" Changed "binnen het bereik" to "in het bereik" Related to Issue [WTI-577]

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

Former-commit-id: 59cb9983de9d2aa838675df3a7891714bc1a9f7a

Former-commit-id: daffa4ce36964f4f6f6920d7cb0a3994292d0e2b

  1. … 10 more files in changeset.
Merged revision(s) 5006-5019 from branches/Release/16_1_1: Resharper cleanup Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

constants now are at the beginning of test files.

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Cleanup project references.

Related to Issue WTI 737

........

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

Former-commit-id: 21f2b2d3f74765437bc2f5ac6001d62a6c3afd98

Former-commit-id: 79979c7e6cb96a998c3b1a0d4fc4d9bd4bf10566

  1. … 219 more files in changeset.
Resharper cleanup

Related to Issue [WTI-739]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_1_1@5014 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: d91ce4a5a30192a5e681787bcb49e8390d72f48a

Former-commit-id: 4fd5daa3311c8c0834b1b339774d9cad7206b3b0

  1. … 54 more files in changeset.
Resharper cleanup

Related to Issue [WTI-739]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_1_1@5014 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: f1c0241021116a26e7621a05d25419e7a0b1e13b

Former-commit-id: df70e1d48d043e3b89e22aad9359f43c7bac40f1

  1. … 54 more files in changeset.
Merged revision(s) 4809 from branches/Release/16_1_1: used types instead of classes. ........

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

Former-commit-id: 609707e227dfe347a5c146a366a08f545f707a4f

Former-commit-id: 7fbafeaee300c9098f33e9d5c0f15762322a1aaf

    • -34
    • +34
    ./PipingCalculationServiceTest.cs
  1. … 42 more files in changeset.
used types instead of classes.

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_1_1@4809 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 2d49d291c751b83d18db1b127964cf6fad11f9f0

Former-commit-id: 089fa64a64d1179fa789896214136c696961151a

    • -34
    • +34
    ./PipingCalculationServiceTest.cs
  1. … 42 more files in changeset.