HeightStructuresCalculationServiceTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added all calls to AssignSettingsFromDatabase after creating hydraring input. Related to Issue [WTI-919]

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

Former-commit-id: 6dc58dbacc0c160612e1593471f38971a56a96c0

Former-commit-id: d9cfd13f1005f553e6d1fa17ee5249dc1e1ede0a

    • -20
    • +16
    ./HeightStructuresCalculationServiceTest.cs
  1. … 15 more files in changeset.
Removed some redundant tests Related to Issue [WTI-921]

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

Former-commit-id: 95963ab254b28306a21d22fcacd0d89e56d4f98e

Former-commit-id: 4dcc096ba17e53f7f9949cd8636a0d5079ae439e

    • -71
    • +12
    ./HeightStructuresCalculationServiceTest.cs
  1. … 2 more files in changeset.
Implemented Hydra-Ring last error handling for design water level and wave height calculations. Related to Issue [WTI-928]

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

Former-commit-id: 10f638c45567137de2ed26df79672a7d312f63b9

Former-commit-id: 6045ac9c0b334c42998114ca85516d09a41bcd24

    • -0
    • +3
    ./HeightStructuresCalculationServiceTest.cs
  1. … 23 more files in changeset.
Deltares clean-up for Ringtoets.HeightStructures Related to Issue [WTI-931]

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

Former-commit-id: 833c29cff59857b9765986d45ba62a90f0355883

Former-commit-id: 806406b6048b92edff660777125323394608cd76

    • -12
    • +12
    ./HeightStructuresCalculationServiceTest.cs
  1. … 7 more files in changeset.
Incorporated review comments: - Removed Structure = new TestStructure() when TestCalculation objects are instantiated - Made type explicit when AssessmentSectionHelper.CreateAssessmentSectionStub is called - Fixed XML doc and formatting

Paired with tangerma

Related to Issue [WTI-568]

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

Former-commit-id: d63d3fe96336f31ad5d09f7e67078d2b07f12a95

Former-commit-id: 1b542c41b612011988665c20d48a6f2be23e3f28

    • -24
    • +19
    ./HeightStructuresCalculationServiceTest.cs
  1. … 10 more files in changeset.
Implemented Hydra-Ring last error handling for height structures.

Related to Issue [WTI-928]

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

Former-commit-id: fd80f11b26b148da951d580a6d2a6089f0dea398

Former-commit-id: 89c17a9c27bb3285ee9cf58df1847604a47ed5e4

    • -0
    • +190
    ./HeightStructuresCalculationServiceTest.cs
  1. … 10 more files in changeset.
Show temp Hydra-Ring working directory in log messages instead of output file contents. Related to Issue [WTI-928]

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

Former-commit-id: ffee509c70a3b27af0b78536abc002b38b1a3d2a

Former-commit-id: 8c1f43038a30d3db98b08807548c7fee71164814

    • -3
    • +3
    ./HeightStructuresCalculationServiceTest.cs
  1. … 72 more files in changeset.
Implement validation service: - Removed CreateForeshoreProfile calls HeightStructures

Related to Issue [WTI-927]

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

Former-commit-id: d1fd22e2795c900cf1d1c93dc6c470434e33941f

Former-commit-id: 550d2e35755fb6c196a6232da8731ae91b3c2c3d

    • -16
    • +5
    ./HeightStructuresCalculationServiceTest.cs
  1. … 2 more files in changeset.
Implement validation service: - Made the enum CalculationType generic for the tests. This enum can be used to denote testcases where the calculation input uses -- a valid foreshore, without a breakwater -- a valid foreshore, with a (valid) breakwater -- no foreshore Related to Issue [WTI-927]

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

Former-commit-id: 596e900f974ea5d1daceb55b0ebf0868252e1568

Former-commit-id: 218ad701bad0597568c8462a166c30517222d023

    • -7
    • +0
    ./HeightStructuresCalculationServiceTest.cs
  1. … 7 more files in changeset.
Implement validation service: - Implemented validation rule for calculation inputs that implement IUseBreakWater - Added validation tests for the structures (as they do not contain validation procedures with foreshore and/or breakwater combinations)

Related to Issue [WTI-927]

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

Former-commit-id: 2c05a30a764e39a06d4e7719b7bc726e175d6e97

Former-commit-id: 195e28eced78cf9d4502788d927d419420fb3f32

    • -17
    • +159
    ./HeightStructuresCalculationServiceTest.cs
  1. … 15 more files in changeset.
- Introduced AssessmentSectionHelper to create assessment section stubs. - Introduced service for stability point structures. - Introduced test calculation for stability point structures. Related to Issue [WTI-568]

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

Former-commit-id: 341b4d67f97ea9ff66407a2f408577674c7c948d

Former-commit-id: f2f1c210714d43fbde39a88be94cd95599efd5b7

    • -34
    • +15
    ./HeightStructuresCalculationServiceTest.cs
  1. … 19 more files in changeset.
Adapted some log messages Related to Issue [WTI-867]

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

Former-commit-id: 4ba3ccc4c2c1a59dfc7c0d0988ffa1c9d357c298

Former-commit-id: 9c257e93cfec630cf11fccd264b9bcc01122aed6

    • -2
    • +2
    ./HeightStructuresCalculationServiceTest.cs
  1. … 12 more files in changeset.
Incorporated review comments 1129 - Cleaned up tests: introduced variable - Improved ClosingStructuresCalculationServiceTest with suggestions

Related to Issue [WTI-554]

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

Former-commit-id: 3c6dcfe16f795d89fd080b66cd25b205bfb95152

Former-commit-id: 59c3a57b35a5ca625fc32cd08aa43e5ed080cb3c

    • -1
    • +2
    ./HeightStructuresCalculationServiceTest.cs
  1. … 7 more files in changeset.
Incorporated review comments 1129 - Changed method call signature of the Calculate methods in the HeightStructures and ClosingStructures services: service extracts the necessary information, not the activity Related to Issue [WTI-554]

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

Former-commit-id: 79566144bc44d8b7d4a1f435453d3321ee598df7

Former-commit-id: e73b7a124a7b3e44631e862bf7dcd5db00cd6425

    • -21
    • +12
    ./HeightStructuresCalculationServiceTest.cs
  1. … 5 more files in changeset.
Incorporated review comments 1129 - Moved the responsibility of determining the directory of the HLCD filepath from the plugin to the service (fixed for all structures calculations) Related to Issue [WTI-554]

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

Former-commit-id: 50ef699096c94b2a5bd589bfdd8a4499d0cfb07c

Former-commit-id: 40fa4afce33f65e13e23ac0125c57d33044e7739

    • -2
    • +5
    ./HeightStructuresCalculationServiceTest.cs
  1. … 11 more files in changeset.
Incorporated review comments 1129 - Make all Validation methods of the services static

Related to Issue [WTI-554]

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

Former-commit-id: c2c1dfa6ae053ad7643e226bab6babdcccdf32c8

Former-commit-id: bfac9a2e7e59a3da068ccea7378d8c8bd4cde47a

    • -10
    • +10
    ./HeightStructuresCalculationServiceTest.cs
  1. … 29 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

    • -2
    • +2
    ./HeightStructuresCalculationServiceTest.cs
  1. … 71 more files in changeset.
Incorporated review comments WTI-1124: - Renamed DistributionValidationService to DistributionValidation, formatting - Adjusted string values and corresponding tests Related to Issue [WTI-925]

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

Former-commit-id: 0f6280f46151db7b3d270a8adb5edb9689a49816

Former-commit-id: e6aedfdc5c2fde86ecc95a8c9073297222b98aee

    • -1
    • +1
    ./HeightStructuresCalculationServiceTest.cs
  1. … 10 more files in changeset.
Implement validation service: - Validation for the orientation introduced: value cannot be NaN or a log error message will be generated

Related to Issue [WTI-925]

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

Former-commit-id: 60d0f69b18d1f343bf941a00a2614e784a95b417

Former-commit-id: 1cbb015d88675604d3c02a35ba790ce9d8e2fea4

    • -1
    • +1
    ./HeightStructuresCalculationServiceTest.cs
  1. … 13 more files in changeset.
Generalized three structures Calculations to StructuresCalculation class. Related to Issue [WTI-594]

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

Former-commit-id: a8405ee298bf3c641f426352c072744f2e3685cb

Former-commit-id: 5968cf3a46e1b19065199c498dbd525ef5f26552

    • -7
    • +8
    ./HeightStructuresCalculationServiceTest.cs
  1. … 93 more files in changeset.
Implement validation service for structures: - Data model handles validation ranges for DeviationWaveDirection: value should be between |360| - Removed obsolete resource values

Related to Issue [WTI-925]

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

Former-commit-id: 7459235e3a8909242bd6a1ecc8c2f5685cbf0292

Former-commit-id: d4a44b46c09fd65b616764e3a09746aef596271a

    • -6
    • +3
    ./HeightStructuresCalculationServiceTest.cs
  1. … 11 more files in changeset.
Implement validation of HeightStructuresInput: - Corrected test for parameter StormDuration - Extended the validation to parameters related to the properties DeviationWaveDirection and StructureNormalOrientation - Fixed failing tests as a consequence of the aforementioned action point

Related to Issue [WTI-925]

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

Former-commit-id: bd926afc6c02db940feb5d361fe3d9f208e78cd9

Former-commit-id: a4ab83ba40f5ddc5f33056811af678ffda877fd3

    • -6
    • +95
    ./HeightStructuresCalculationServiceTest.cs
  1. … 2 more files in changeset.
Implement validation of HeightStructuresInput: - Added tests for validation of the standard deviations / variation

Related to Issue [WTI-925]

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

Former-commit-id: 8f99685d9f7a8cfb7c8cb2d64e5fc88eef83c8a7

Former-commit-id: bee1e6736974991a41c2c24c5b757dc38841ad65

    • -48
    • +180
    ./HeightStructuresCalculationServiceTest.cs
Implement validation of HeightStructuresInput: - Fixed failing tests: expected string did not match

Related to Issue [WTI-925]

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

Former-commit-id: 500ed6d007d51b46c3437ca54794a1ce5b8f71d8

Former-commit-id: 4f24aae123993e541041013928450743ca6ba087

    • -2
    • +2
    ./HeightStructuresCalculationServiceTest.cs
  1. … 1 more file in changeset.
Implement validation of HeightStructuresInput: - Validate if hydraulic boundary database is selected. If yes, validate: - If hydraulic boundary location is selected. If yes or no, check: - If structure is selected. If yes, check the means if they are valid values (NOT NaN and NOT Infty)

Related to Issue [WTI-925]

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

Former-commit-id: d83d1205321b651987280282be430dec7bd08406

Former-commit-id: 90c43a28ce31c76d3b567f55fcc6349265e49c1d

    • -9
    • +194
    ./HeightStructuresCalculationServiceTest.cs
  1. … 5 more files in changeset.
Incorporated review comments: - Introduced an EventHandling logic in the TestFactory: event listeners can cancel the calculate operation after inputs are passed - Implemented aforementioned for the "Cancel" tests Related to Issue [WTI-867]

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

Former-commit-id: 5f5741d3f4c6604ed66f14c4f23c2231f51a4a66

Former-commit-id: 80cfe2caaba765c31f4f46eb61157f8064f25cfa

    • -2
    • +3
    ./HeightStructuresCalculationServiceTest.cs
  1. … 8 more files in changeset.
Incorporated review comments: - Implemented missing "Cancel" tests - Implemented missing test for GrassCoverErosionInwards when a calculation fails for an overtopping calculation (with CalculateDikeHeight = FALSE) Related to Issue [WTI-867]

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

Former-commit-id: b883cc17715d7050848047bcf01bbfb0f3d3a9cb

Former-commit-id: e9a44bbaf5da1cba5eb4ca345afa933415023a37

    • -1
    • +48
    ./HeightStructuresCalculationServiceTest.cs
  1. … 3 more files in changeset.
- Processed review changes paired with tang_ds Related to Issue [WTI-693]

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

Former-commit-id: ec1cc82b10c034273911fa41051f7cedfd146466

Former-commit-id: dd026e96c86db96dd4a65d317c629596812292a6

    • -28
    • +26
    ./HeightStructuresCalculationServiceTest.cs
  1. … 14 more files in changeset.
Added test for input properties in service test. Related to Issue [WTI-693]

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

Former-commit-id: ffa2e39c3405bd3b648c8203ad4d6528ddb5659a

Former-commit-id: 338dc21c480e7416badb91d5f5b6925e29e27ef9

    • -0
    • +96
    ./HeightStructuresCalculationServiceTest.cs
  1. … 3 more files in changeset.
- Added test projects for valid HeightStructures - TestHeightStructure and TestHeightStructuresCalculation Related to Issue [WTI-584]

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

Former-commit-id: 6d88f18e25e8e9e7595965a5a89729f5718770e0

Former-commit-id: 6972f514584ef21f8b74425997392daef175bffa

    • -2
    • +3
    ./HeightStructuresCalculationServiceTest.cs
  1. … 18 more files in changeset.