Application.Ringtoets.Storage.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updated storage integration tests for height structures

WTI-1665

    • -2
    • +6
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
  1. … 2 more files in changeset.
Updated ReadExtensions for height structures

WTI-1665

    • -15
    • +23
    ./Read/HeightStructures/HeightStructuresSectionResultEntityReadExtensionsTest.cs
  1. … 1 more file in changeset.
Updated CreateExtensions for height structures: - Added project references to Common.Primitives

WTI-1665

    • -0
    • +4
    ./Application.Ringtoets.Storage.Test.csproj
    • -18
    • +42
    ./Create/HeightStructures/HeightStructuresFailureMechanismSectionResultCreateExtensionsTest.cs
  1. … 2 more files in changeset.
Cleanup: - Removed obsolete newlines

WTI-1656

    • -16
    • +8
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
Cleanup: - Removed obsolete newlines

WTI-1657

    • -16
    • +8
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
Cleanup: - Removed obsolete newlines

WTI-1656

    • -16
    • +8
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
Cleanup: - Extracted generic subqueries to separate functions when validating hydraulic boundary locations on failure mechanism level - Fixed typo - Ran DeltaresClean

WTI-1656

    • -46
    • +33
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
Cleanup: - Extracted generic subqueries to separate functions when validating hydraulic boundary locations on failure mechanism level - Fixed typo - Ran DeltaresClean

WTI-1657

    • -46
    • +33
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
Cleanup: - Extracted generic subqueries to separate functions when validating hydraulic boundary locations on assessment section level

WTI-1657

    • -44
    • +30
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
Cleanup: - Extracted generic subqueries to separate functions when validating hydraulic boundary locations on assessment section level

WTI-1656

    • -44
    • +30
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
Cleanup: - Renamed the query generator for generating validation queries of HBL on AssessmentSection level

WTI-1657

    • -26
    • +26
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
Cleanup: - Renamed the query generator for generating validation queries of HBL on AssessmentSection level

WTI-1656

    • -26
    • +26
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
Adjusted Migration to 181 integration scripts - Added asserts for the hydraulic boundary location inputs for grass cover erosion outwards - Adjusted migration script and the database structure.sql file for 181

WTI-1657

    • -3
    • +388
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
  1. … 2 more files in changeset.
Adjusted Migration to 181 integration scripts - Added asserts for the hydraulic boundary location inputs for grass cover erosion outwards - Adjusted migration script and the database structure.sql file for 181

WTI-1657

    • -3
    • +388
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
  1. … 2 more files in changeset.
Adjusted Migration to 181 integration test - Renamed query generator to indicate it's only relevant for generating queries on assessment section level - Extracted functions to a higher level when asserting the general properties of hydraulic boundary locations (e.g. calculations, property values etc.) - Moved NormativeNormType enum to a higher level such that it can be used for the query generator on failure mechanism level

WTI-1657

    • -120
    • +120
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
Adjusted StorageSQLiteIntegrationTest for grass cover erosion outwards failure mechanism - Added missing asserts for asserting the configuration of the hydraulic boundary locations on failure mechanism level

WTI-1657

    • -0
    • +19
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
Adjusted Create and Read extensions for grass cover erosion outwards failure mechanism - Rewired calculations to read and create references of hydraulic location entities

WTI-1657

    • -7
    • +8
    ./Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationCreateExtensionsTest.cs
    • -26
    • +4
    ./Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationEntityReadExtensionsTest.cs
  1. … 2 more files in changeset.
Adjusted Create and Read extensions for grass cover erosion outwards failure mechanism - Removed typed Get-function for the hydraulic boundary locations in the persistence registry --> only one type of HydraulicBoundaryLocationEntity exists and thus is typing not necessary

WTI-1657

  1. … 7 more files in changeset.
Adjusted Create and Read extensions for grass cover erosion outwards failure mechanism - Removed all files and functionality related to creating/reading the HydraulicBoundaryLocationEntity and the HydraulicBoundaryLocationOutputEntity for specific grass cover erosion outwards failure mechanism

WTI-1657

    • -2
    • +0
    ./Application.Ringtoets.Storage.Test.csproj
    • -176
    • +0
    ./Create/HydraulicBoundaryLocationCreateExtensionsTest.cs
    • -89
    • +0
    ./Create/HydraulicBoundaryLocationOutputCreateExtensionsTest.cs
    • -19
    • +0
    ./Create/PersistenceRegistryTest.cs
    • -294
    • +0
    ./Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsHydraulicLocationEntityReadExtensionsTest.cs
    • -229
    • +0
    ./Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsHydraulicLocationOutputEntityReadExtensionsTest.cs
    • -20
    • +0
    ./Read/ReadConversionCollectorTest.cs
  1. … 10 more files in changeset.
Adjusted ReadExtensions for grass cover erosion outwards failure mechanism - Adjusted the AssessmentSectionReadExtensions --> should be responsible for configuring the failuremechanism before reading failure mechanism related data -- Cleaned up tests and fixed failing ones

WTI-1657

    • -58
    • +100
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
  1. … 1 more file in changeset.
Adjusted ReadExtensions for grass cover erosion outwards failure mechanism - Adjusted the FailureMechanismSectionEntityReadExtensions

WTI-1657

    • -39
    • +135
    ./Read/FailureMechanismEntityReadExtensionsTest.cs
  1. … 1 more file in changeset.
Adjusted CreateExtensions for grass cover erosion outwards failure mechanism: - Adjusted tests to verify that the HBL Calculations are written to the correct entities

WTI-1657

    • -18
    • +97
    ./Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsFailureMechanismCreateExtensionsTest.cs
  1. … 1 more file in changeset.
Cleanup: - Added missing asserts upon migration - Renamed the query generator functions to better distinct between HBL calculations that are migrated and HBL calculations that are newly created

WTI-1656

    • -30
    • +54
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
Adjusted migration script and asserts: - Migrated the hydraulic location output based on the normative norm and mapped them onto the new HydraulicLocationOutputEntity and the corresponding HydraulicLocationCalculationEntities

WTI-1656

    • -35
    • +157
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
  1. … 1 more file in changeset.
Adjusted migration script and asserts: - Migrated the hydraulic location input based on the normative norm and mapped them onto the new HydraulicLocationCalculationEntity - Refactored test

Note: output is not migrated yet

WTI-1656

    • -13
    • +140
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
  1. … 1 more file in changeset.
Adjusted migration script and asserts: - Migrated the hydraulic location calculations and mapped them onto the assessment section conform the new design of the database - Removed obsolete queries from the generator

Note: output is not migrated yet

WTI-1656

    • -192
    • +150
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
  1. … 1 more file in changeset.
Adjusted StorageIntegrationTest: - Removed asserting calculation input on the location calculations (due to deprecated feature) - Added assertion logic on the assessment section instead

WTI-1656

    • -8
    • +34
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
Finalized database design: - Added comments to indicate which FK represents which type of calculation - Adjusted read and create extensions on the assessment section to maintain consistency with the comments

WTI-1656

    • -39
    • +108
    ./Create/AssessmentSectionCreateExtensionsTest.cs
    • -8
    • +8
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
  1. … 5 more files in changeset.
Adjusted Read extensions: - Adjusted the AssessmentSection read extensions to set the calculations based on the HydraulicBoundaryLocationCalculations it contains.

Note: mapping of the calculation is not final yet

WTI-1656

    • -1
    • +199
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
  1. … 1 more file in changeset.
Introduced Read extensions: - Introduced a HydraulicLocationCalculationCollection read extensions to set the values on a hydraulic location calculation collection based on the calculation entities contained by the HydraulicLocationCalculationCollectionEntity.

WTI-1656

    • -0
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +138
    ./Read/HydraulicLocationCalculationCollectionEntityReadExtensionsTest.cs
  1. … 2 more files in changeset.