Application.Ringtoets.Storage.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Adjusted create extensions: - Adjusted the AssessmentSection create extensions to set the HydraulicLocationCalculation entities based on the calculations it contains.

Note: mapping of the calculation is not final yet

WTI-1656

    • -2
    • +45
    ./Create/AssessmentSectionCreateExtensionsTest.cs
  1. … 1 more file in changeset.
Introduced create extensions: - Introduced a the HydraulicLocationCalculationCollection create extensions to create a hydraulic location calculation collection entity and its containing hydraulic boundary location calculations.

WTI-1656

    • -0
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +102
    ./Create/HydraulicBoundaryLocationCalculationCollectionCreateExtensionsTest.cs
  1. … 2 more files in changeset.
Introduced read extensions: - Introduced the HydraulicLocationCalculation read extensions to set the values on a calculation object based on the information of a HydraulicLocationEntity.

WTI-1656

    • -0
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +215
    ./Read/HydraulicLocationCalculationEntityReadExtensionsTest.cs
  1. … 2 more files in changeset.
Adjusted create extensions: - Adjusted the HydraulicLocationCalculation create extensions such that they retrieve the same HydraulicLocation entity once registered.

WTI-1656

    • -5
    • +51
    ./Create/HydraulicBoundaryLocationCalculationCreateExtensionsTest.cs
  1. … 1 more file in changeset.
Adjusted create extensions: - Removed creating the calculations from a hydraulic location entity

WTI-1656

    • -63
    • +1
    ./Create/HydraulicBoundaryLocationCreateExtensionsTest.cs
  1. … 1 more file in changeset.
Adjusted create extensions: - Removed creating the calculations from a hydraulic location entity

WTI-1656

    • -25
    • +0
    ./Create/HydraulicBoundaryLocationCreateExtensionsTest.cs
  1. … 1 more file in changeset.
Adjusted read extensions: - Removed reading the calculations from a hydraulic location entity

WTI-1656

    • -236
    • +2
    ./Read/HydraulicLocationEntityReadExtensionsTest.cs
  1. … 1 more file in changeset.
Adapt result data model for technical innovations WTI-1644

    • -22
    • +1
    ./Create/TechnicalInnovation/TechnicalInnovationFailureMechanismSectionResultCreateExtensionsTest.cs
    • -9
    • +2
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -29
    • +0
    ./Read/TechnicalInnovationSectionResultEntityReadExtensionsTest.cs
  1. … 9 more files in changeset.
Removed old property from data model. WTI-1642

    • -21
    • +1
    ./Create/WaterPressureAsphaltCover/WaterPressureAsphaltCoverFailureMechanismSectionResultCreateExtensionsTest.cs
    • -1
    • +0
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -29
    • +0
    ./Read/WaterPressureAsphaltCoverSectionResultEntityReadExtensionsTest.cs
  1. … 5 more files in changeset.
Adapt data model for stability lengthwise construction section result WTI-1643

    • -22
    • +1
    ./Create/StrengthStabilityLengthwise/StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultCreateExtensionsTest.cs
    • -9
    • +2
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -29
    • +0
    ./Read/StrengthStabilityLengthwiseConstructionSectionResultEntityReadExtensionsTest.cs
  1. … 9 more files in changeset.
Adapt data model for piping structure section result WTI-1641

    • -24
    • +1
    ./Create/PipingStructure/PipingStructureFailureMechanismSectionResultCreateExtensionsTest.cs
    • -6
    • +1
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -33
    • +0
    ./Read/PipingStructure/PipingStructureSectionResultEntityReadExtensionsTest.cs
  1. … 9 more files in changeset.
Removed old properties from data model. WTI-1639

    • -24
    • +1
    ./Create/GrassCoverSlipOffOutwards/GrassCoverSlipOffOutwardsFailureMechanismSectionResultCreateExtensionsTest.cs
    • -2
    • +0
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -33
    • +0
    ./Read/GrassCoverSlipOffOutwardsSectionResultEntityReadExtensionsTest.cs
  1. … 5 more files in changeset.
Adapt grass cover slipoff inwards result data model WTI-1640

    • -24
    • +1
    ./Create/GrassCoverSlipOffInwards/GrassCoverSlipOffInwardsFailureMechanismSectionResultCreateExtensionsTest.cs
    • -10
    • +2
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -32
    • +0
    ./Read/GrassCoverSlipOffInwardsSectionResultEntityReadExtensionsTest.cs
  1. … 9 more files in changeset.
Removed old properties from data model. WTI-1637

    • -23
    • +0
    ./Create/DuneErosion/DuneErosionFailureMechanismSectionResultCreateExtensionsTest.cs
    • -2
    • +1
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -32
    • +0
    ./Read/DuneErosion/DuneErosionSectionResultEntityReadExtensionsTest.cs
  1. … 5 more files in changeset.