Application.Ringtoets.Storage.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added calculated reliability to structures output data model. WTI-1590

    • -10
    • +14
    ./Create/StructuresOutputCreateExtensionsTest.cs
  1. … 11 more files in changeset.
Adapt storage with the N parameter for the Piping Structure failure mechanism WTI-1531

    • -1
    • +5
    ./Create/PipingStructure/PipingStructureFailureMechanismCreateExtensionsTest.cs
    • -0
    • +12
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
    • -0
    • +248
    ./Read/FailureMechanismEntityReadExtensionsTest.cs
  1. … 19 more files in changeset.
Added migration script and asserts to migrate hydraulic boundary location migration inputs to the correct calculation entities

WTI-1579

    • -0
    • +87
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
  1. … 2 more files in changeset.
Removed semi probabilistic output property from overtopping output. WTI-1589

    • -1
    • +1
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
  1. … 15 more files in changeset.
Used the extension method to get Assessment Layer Two A result instead of property on data model. WTI-1589

    • -1
    • +0
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
  1. … 7 more files in changeset.
Adapt storage to include the macro stability outwards probability assessment input WTI-1531

    • -3
    • +4
    ./Application.Ringtoets.Storage.Test.csproj
    • -3
    • +33
    ./Create/MacrostabilityOutwards/MacroStabilityOutwardsFailureMechanismCreateExtensionsTest.cs
    • -5
    • +5
    ./Create/MacrostabilityOutwards/MacroStabilityOutwardsFailureMechanismSectionResultCreateExtensionsTest.cs
    • -1
    • +13
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
    • -11
    • +48
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -0
    • +79
    ./Read/MacroStabilityOutwards/MacroStabilityOutwardsFailureMechanismMetaEntityReadExtensionsTest.cs
    • -0
    • +83
    ./Read/MacroStabilityOutwards/MacroStabilityOutwardsSectionResultEntityReadExtensionsTest.cs
    • -82
    • +0
    ./Read/MacroStabilityOutwardsSectionResultEntityReadExtensionsTest.cs
  1. … 28 more files in changeset.
Resolved by: - Discarding their changes on binary files - Merging .sql files

Merge branch 'master' into 1579

# Conflicts:

# Application/Ringtoets/src/Application.Ringtoets.Migration.Core/EmbeddedResources/DatabaseStructure18.1.sql

# Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx.diagram

# Application/Ringtoets/src/Application.Ringtoets.Storage/Ringtoets.rtd

# build/DatabaseStructure.sql

# design/DatabaseDesign.eap

    • -3
    • +3
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
    • -2
    • +6
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
  1. … 4 more files in changeset.
Extended migration script: - Generates 8 calculations based for each hydraulic boundary location and mapped accordingly

Warning:

- Hydraulic Boundary Location output is currently cleared during migration

- Input settings for the HBLs are not migrated yet

WTI-1579

    • -0
    • +12
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
  1. … 1 more file in changeset.
Start renaming MacrostabilityOutwards -> MacroStabilityOutwards Start implementing probability assessment input and properties for macro stability outwards failure mechanism WTI-1531

    • -3
    • +3
    ./Application.Ringtoets.Storage.Test.csproj
    • -1
    • +1
    ./Create/AssessmentSectionCreateExtensionsTest.cs
    • -0
    • +153
    ./Create/MacrostabilityOutwards/MacroStabilityOutwardsFailureMechanismCreateExtensionsTest.cs
    • -0
    • +94
    ./Create/MacrostabilityOutwards/MacroStabilityOutwardsFailureMechanismSectionResultCreateExtensionsTest.cs
    • -153
    • +0
    ./Create/MacrostabilityOutwards/MacrostabilityOutwardsFailureMechanismCreateExtensionsTest.cs
    • -94
    • +0
    ./Create/MacrostabilityOutwards/MacrostabilityOutwardsFailureMechanismSectionResultCreateExtensionsTest.cs
    • -4
    • +4
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -2
    • +2
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -0
    • +82
    ./Read/MacroStabilityOutwardsSectionResultEntityReadExtensionsTest.cs
    • -81
    • +0
    ./Read/MacrostabilityOutwardsSectionResultEntityReadExtensionsTest.cs
  1. … 55 more files in changeset.
Fixed test in storage. WTI-1589

  1. … 1 more file in changeset.
Fixed test in storage. WTI-1589

  1. … 1 more file in changeset.
Regenerated context files related to the Ringtoets project files: - Regenerated with digit suffixes instead of written out digits

WTI-1579

  1. … 7 more files in changeset.
Adapt N parameter in stability point structures failure mechanism to be a double on the data model and storage WTI-1531

    • -42
    • +0
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
    • -2
    • +2
    ./Read/FailureMechanismEntityReadExtensionsTest.cs
  1. … 14 more files in changeset.
Added reliability to output of grass cover erosion inwards calculation. WTI-1589

  1. … 9 more files in changeset.
Add N parameter to the grass cover erosion inwards, outwards and height structures failuremechanism database entities WTI-1531

    • -1
    • +1
    ./Create/HeightStructures/HeightStructuresFailureMechanismCreateExtensionsTest.cs
    • -3
    • +45
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
    • -2
    • +6
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -3
    • +7
    ./Read/FailureMechanismEntityReadExtensionsTest.cs
    • -2
    • +3
    ./Read/GrassCoverErosionInwards/GrassCoverErosionInwardsFailureMechanismMetaEntityReadExtensionsTest.cs
    • -2
    • +3
    ./Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsFailureMechanismMetaEntityReadExtensionsTest.cs
    • -1
    • +2
    ./Read/HeightStructures/HeightStructuresFailureMechanismMetaEntityReadExtensionsTest.cs
  1. … 15 more files in changeset.
Resolved by: - temporarily discarding their changes when concerning a binary file - .sql files were merged accordingly

Merge branch 'master' into 1579

# Conflicts:

# Application/Ringtoets/src/Application.Ringtoets.Migration.Core/EmbeddedResources/DatabaseStructure18.1.sql

# Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx

# Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx.diagram

# Application/Ringtoets/src/Application.Ringtoets.Storage/Ringtoets.rtd

# build/DatabaseStructure.sql

# design/DatabaseDesign.eap

    • -2
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -3
    • +10
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
  1. … 4 more files in changeset.
Adapt data model to include an N length effect parameter for the grass cover in/outwards, height structures and dune erosion failure mechanisms. WTI-1531

    • -2
    • +3
    ./Create/HeightStructures/HeightStructuresFailureMechanismCreateExtensionsTest.cs
    • -2
    • +2
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -1
    • +1
    ./Read/ClosingStructures/ClosingStructuresFailureMechanismMetaEntityReadExtensionsTest.cs
    • -5
    • +7
    ./Read/FailureMechanismEntityReadExtensionsTest.cs
    • -3
    • +5
    ./Read/GrassCoverErosionInwards/GrassCoverErosionInwardsFailureMechanismMetaEntityReadExtensionsTest.cs
    • -3
    • +5
    ./Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsFailureMechanismMetaEntityReadExtensionsTest.cs
    • -2
    • +2
    ./Read/HeightStructures/HeightStructuresFailureMechanismMetaEntityReadExtensionsTest.cs
    • -1
    • +1
    ./Read/StabilityPointStructures/StabilityPointStructureFailureMechanismMetaEntityReadExtensionsTest.cs
  1. … 27 more files in changeset.
Adapted MacroStabilityInwardsInput (only holds manual assessment level). WTI-1562

  1. … 1 more file in changeset.
Introduced a HydraulicLocationEntityTestFactory: - Used te generate minimal hydraulic location entities that are accepted by the its read extensions - Implemented factory creation method in the tests that make use of HydraulicLocationEntities

WTI-1579

    • -20
    • +19
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -5
    • +2
    ./Read/Piping/PipingCalculationEntityReadExtensionsTest.cs
    • -5
    • +2
    ./Read/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationEntityReadExtensionsTest.cs
    • -5
    • +2
    ./Read/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationEntityReadExtensionsTest.cs
  1. … 4 more files in changeset.
Adapted MacroStabilityInwardsInput (only holds manual assessment level). WTI-1562

    • -28
    • +4
    ./Create/MacroStabilityInwards/MacroStabilityInwardsCalculationScenarioCreateExtensionsTest.cs
  1. … 1 more file in changeset.
Fixed test for the HydraulicLocationEntity read extensions

WTI-1579

    • -1
    • +10
    ./Read/HydraulicLocationEntityReadExtensionsTest.cs
Adjusted the read extensions for the HydraulicBoundaryLocations

WTI-1579

    • -107
    • +139
    ./Read/HydraulicLocationEntityReadExtensionsTest.cs
  1. … 1 more file in changeset.
Separated the read extensions for the HydraulicBoundaryLocationOutput into two separate implementations: - Removed obsolete interface => there's no 100% common ground between the entities anymore and thus the extensions should be separated.

WTI-1579

    • -5
    • +5
    ./Create/HydraulicBoundaryLocationCreateExtensionsTest.cs
  1. … 5 more files in changeset.
Separated the read extensions for the Hydraulic Boundary Location Output into two separate implementations

WTI-1579

    • -0
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +222
    ./Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsHydraulicLocationOutputEntityReadExtensionsTest.cs
    • -16
    • +3
    ./Read/HydraulicLocationOutputEntityReadExtensionsTest.cs
  1. … 4 more files in changeset.
Add N parameter to the database for the stability stone cover failure mechanism WTI-1531

    • -0
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +6
    ./Create/StabilityStoneCover/StabilityStoneCoverFailureMechanismCreateExtensionsTest.cs
    • -2
    • +10
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
    • -0
    • +2
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -3
    • +10
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -4
    • +12
    ./Read/FailureMechanismEntityReadExtensionsTest.cs
    • -1
    • +1
    ./Read/StabilityPointStructures/StabilityPointStructureFailureMechanismMetaEntityReadExtensionsTest.cs
    • -0
    • +49
    ./Read/StabilityStoneCover/StabilityStoneCoverFailureMechanismMetaEntityReadExtensionsTest.cs
  1. … 14 more files in changeset.
Moved test class to correct folder

WTI-1579

    • -1
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +161
    ./Create/HydraulicBoundaryLocationCalculationCreateExtensionsTest.cs
    • -161
    • +0
    ./HydraulicBoundaryLocationCalculationCreateExtensionsTest.cs
Adjusted CreateExtensions to create HydraulicLocationEntities: - Create the CalculationEntities by using the newly introduced HydraulicBoundaryLocationsCalculationsCreateExtensions - Adjusted tests -> removed obsolete tests asserting the output -- Improved tests for the HydraulicBoundaryLocationsCalculationsCreateExtensions: assert output that does and does not contain GeneralResults (illustrationpoints)

WTI-1579

    • -113
    • +70
    ./Create/HydraulicBoundaryLocationCreateExtensionsTest.cs
    • -3
    • +35
    ./HydraulicBoundaryLocationCalculationCreateExtensionsTest.cs
  1. … 1 more file in changeset.
Introduced create extensions to create Hydraulic Boundary Location calculations

WTI-1579

    • -0
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
  1. … 1 more file in changeset.
Introduced create extensions to create Hydraulic Boundary Location calculations

WTI-1579

    • -0
    • +129
    ./HydraulicBoundaryLocationCalculationCreateExtensionsTest.cs
  1. … 1 more file in changeset.
Removed partial hydraulic location output entity: - Implemented Hydraulic Location output on AssessmentSection as a specific implementatio, adjusted direct tests of this method

WTI-1579

    • -28
    • +31
    ./Create/HydraulicBoundaryLocationOutputCreateExtensionsTest.cs
  1. … 1 more file in changeset.