Application.Ringtoets.Storage.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adapt Create and Read Extensions: - Modified extension methods for the DuneLocation --> it has no reference to an output anymore

WTI-1654

    • -55
    • +11
    ./Create/DuneErosion/DuneLocationCreateExtensionsTest.cs
  1. … 2 more files in changeset.
Merge from SVN WTI-1710: - Added Migration related files: -- Added initial setup of the migration integration test from 172 --> 173

    • -11
    • +1
    ./IntegrationTests/MigrationTo173IntegrationTest.cs
Merge from SVN WTI-1710: Changed migration script: - Remove all output related to macrostability inwards calculations -- Generate log message when applicable

    • -3
    • +16
    ./IntegrationTests/MigrationTo173IntegrationTest.cs
  1. … 2 more files in changeset.
Merge from SVN WTI-1710: Changed migration script: - Remove all output related to macrostability inwards calculations -- Generate log message when applicable

    • -3
    • +16
    ./IntegrationTests/MigrationTo173IntegrationTest.cs
  1. … 2 more files in changeset.
Merge from SVN WTI-1710: Fix tests that break on Windows 10. Patched in from git commit 1988601, 01c3d95 and 12c1632

    • -48
    • +11
    ./IntegrationTests/MigrationIntegrationTest.cs
  1. … 4 more files in changeset.
Merge from SVN WTI-1710: - Added Migration related files: -- Added initial setup of the migration integration test from 172 --> 173

    • -0
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +353
    ./IntegrationTests/MigrationTo173IntegrationTest.cs
Finalise release, made 18.1 compatible with the 'new' 17.3 release: - Adjusted migration script, table HydraRingpreprocessorEntity does not exist in the new 17.3 release -- Adjusted testfile, reopened and saved the test file in the 'new' 17.3 release to get rid of the HydraRingPreprocessorEntityTable

WTI-1710

    • -1
    • +0
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
  1. … 2 more files in changeset.
Incorporated comments review 2824, rename SetDuneLocationCalculations to SetDuneLocations: - Made the DuneLocations property an IObservableEnumerable --> modifications should not be possible from outside the SetDuneLocations() method to prevent the calculations from getting out of sync with the locations

WTI-1574

    • -4
    • +4
    ./Read/FailureMechanismEntityReadExtensionsTest.cs
  1. … 18 more files in changeset.
Incorporated comments review 2824: - Renamed DuneLocationOutput to DuneLocationCalculationOutput -- Adjusted CreateExtension file names -- Updated function and parameter names where necessary.

WTI-1574

    • -1
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +110
    ./Create/DuneErosion/DuneLocationCalculationOutputCreateExtensionsTest.cs
    • -14
    • +14
    ./Create/DuneErosion/DuneLocationCreateExtensionsTest.cs
    • -110
    • +0
    ./Create/DuneErosion/DuneLocationOutputCreateExtensionsTest.cs
    • -2
    • +2
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -2
    • +2
    ./Read/DuneErosion/DuneLocationOutputEntityReadExtensionsTest.cs
  1. … 37 more files in changeset.
Incorporated comments review 2811: - Updated XMLDocs - Updated test names - Replaced type casts to byte with Convert.ToByte() calls - Formatting of the migration script

WTI-1706

    • -2
    • +2
    ./Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationCreateExtensionsTest.cs
    • -1
    • +1
    ./Create/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationCreateExtensionsTest.cs
    • -1
    • +1
    ./Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationCreateExtensionsTest.cs
    • -44
    • +34
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
  1. … 3 more files in changeset.
Updated migration script: - Cleaned up migration integration test: merged separate grass cover erosion outwards assert into the query generator.

WTI-1706

    • -276
    • +254
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
Updated migration script: - Generated initial setup and tests for the migration

WTI-1706

    • -5
    • +241
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
  1. … 1 more file in changeset.
Updated test files for ReadExtensions of the WaveConditionsCalculations: - Added asserts to verify the reference dependent output remains null when the entity has null values

WTI-1706

    • -0
    • +4
    ./Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationEntityReadExtensionsTest.cs
    • -0
    • +4
    ./Read/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationEntityReadExtensionsTest.cs
    • -0
    • +4
    ./Read/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationEntityReadExtensionsTest.cs
Updated ReadExtensions for StabilityStoneCover: -- Cleaned up tests, replaced testcase data with random generators and a separate test asserting NaN / NULL conversions -- Added functionality to read CategoryType

WTI-1706

    • -74
    • +69
    ./Read/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationEntityReadExtensionsTest.cs
  1. … 1 more file in changeset.
(Editorial): - Removed whiteline from test file for wave impact asphalt cover

WTI-1706

    • -1
    • +0
    ./Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationCreateExtensionsTest.cs
Updated CreateExtensions for StabilityStoneCover: -- Cleaned up tests, replaced testcase data with random generators and a separate test asserting NaN / NULL conversions -- Added functionality to write CategoryType to entity

WTI-1706

    • -58
    • +69
    ./Create/StabilityStoneCover/StabilityStoneCoverWaveConditionsCalculationCreateExtensionsTest.cs
  1. … 1 more file in changeset.
Updated ReadExtensions for WaveImpactAsphaltCover: -- Cleaned up tests, replaced testcase data with random generators and a separate test asserting NaN / NULL conversions -- Added functionality to read CategoryType

WTI-1706

    • -74
    • +69
    ./Read/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationEntityReadExtensionsTest.cs
  1. … 1 more file in changeset.
Cleaned up GrassCoverErosionOutwards Calculation CreateExtensions -- Refactored private method -- Adjusted test

WTI-1706

    • -2
    • +3
    ./Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationCreateExtensionsTest.cs
  1. … 1 more file in changeset.
Updated CreateExtensions for WaveImpactAsphaltCover: -- Cleaned up tests, replaced testcase data with random generators and a separate test asserting NaN / NULL conversions -- Added functionality to write CategoryType to entity

WTI-1706

    • -55
    • +65
    ./Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverWaveConditionsCalculationCreateExtensionsTest.cs
  1. … 1 more file in changeset.
Updated ReadExtensions for GrassCoverErosionOutwards: - Cleaned up tests, replaced testcase data with random generators and a separate test asserting NaN / NULL conversions - Added functionality to Read CategoryType

WTI-1706

    • -74
    • +69
    ./Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationEntityReadExtensionsTest.cs
  1. … 1 more file in changeset.
Update storage tests and extensions with new enum WTI-1693

    • -1
    • +1
    ./Create/DuneErosion/DuneErosionFailureMechanismSectionResultCreateExtensionsTest.cs
    • -1
    • +1
    ./Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsFailureMechanismSectionResultCreateExtensionsTest.cs
    • -1
    • +1
    ./Create/StabilityStoneCover/StabilityStoneCoverFailureMechanismSectionResultCreateExtensionsTest.cs
    • -1
    • +1
    ./Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverFailureMechanismSectionResultCreateExtensionsTest.cs
    • -1
    • +1
    ./Read/DuneErosion/DuneErosionSectionResultEntityReadExtensionsTest.cs
    • -1
    • +1
    ./Read/StabilityStoneCover/StabilityStoneCoverSectionResultEntityReadExtensionsTest.cs
  1. … 5 more files in changeset.
Updated CreateExtensions for GrassCoverErosionOutwards: - Cleaned up tests, replaced testcase data with random generators and a separate test asserting NaN / NULL conversions - Added functionality to write CategoryType

WTI-1706

    • -55
    • +62
    ./Create/GrassCoverErosionOutwards/GrassCoverErosionOutwardsWaveConditionsCalculationCreateExtensionsTest.cs
  1. … 1 more file in changeset.
Incorporated comments review 2748: - Updated MigrationScript to JOIN on the lookup table - Editiorial changes

WTI-1657

    • -2
    • +2
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
  1. … 1 more file in changeset.
Cleaned up test projects: - Renamed FullTestProjects to MigrationTestProjects, as they do not represent a full project that is configured with all options.

WTI-1657

    • -1
    • +1
    ./IntegrationTests/MigrationTo171IntegrationTest.cs
    • -1
    • +1
    ./IntegrationTests/MigrationTo172IntegrationTest.cs
    • -1
    • +1
    ./IntegrationTests/MigrationTo173IntegrationTest.cs
    • -1
    • +1
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
    • -1
    • +1
    ./IntegrationTests/StorageMigrationIntegrationTest.cs
  1. … 13 more files in changeset.
Adjusted migration for the grass cover erosion outwards (GCEO) wave condition calculations: - Translated the old GCEO hydraulic boundary location (HBL) PKs to the new HBL PKs on assessment section based on the LocationID of a HBL and its corresponding assessment section. -- Introduced a lookup table, as these translations happen on multiple spots - Adjusted test project to prove the translations are made correctly

WTI-1657

    • -0
    • +54
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
  1. … 2 more files in changeset.
Incorporated comments review 2745: - Applied editorial comments

WTI-1657

    • -3
    • +3
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
  1. … 1 more file in changeset.
Applied some final renames. WTI-1698

    • -3
    • +3
    ./Read/HydraulicLocationCalculationEntityReadExtensionsTest.cs
  1. … 4 more files in changeset.
Renamed HydraulicBoundaryLocationOutput into HydraulicBoundaryLocationCalculationOutput. WTI-1698

    • -1
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +151
    ./Create/HydraulicBoundaryLocationCalculationOutputCreateExtensionsTest.cs
    • -151
    • +0
    ./Create/HydraulicBoundaryLocationOutputCreateExtensionsTest.cs
    • -3
    • +3
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -3
    • +3
    ./Read/HydraulicLocationOutputEntityReadExtensionsTest.cs
  1. … 3 more files in changeset.
Renamed HydraulicBoundaryLocationOutput into HydraulicBoundaryLocationCalculationOutput. WTI-1698

    • -3
    • +3
    ./Create/HydraulicBoundaryLocationCalculationCreateExtensionsTest.cs
    • -7
    • +7
    ./Create/HydraulicBoundaryLocationOutputCreateExtensionsTest.cs
    • -2
    • +2
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -1
    • +1
    ./Read/HydraulicLocationCalculationEntityReadExtensionsTest.cs
    • -3
    • +3
    ./Read/HydraulicLocationOutputEntityReadExtensionsTest.cs
  1. … 84 more files in changeset.
Adjusted JOINS on the sourceproject for the Hydraulic Boundary Location of Grass Cover Erosion Outwards: - Do not join on the PK of the HBL entries, because these can be different between grass outwards and the hbls on assessment section level, instead join on the LocationID and the containing assessment section -- Adjusted migration logic for the outputs -- Adjusted migration logic for the HBL entries of grass cover erosion outwards --> take the HydraulicLocationEntityId as leading PK - Adjusted test files to represent the following scenarios situation: -- An HBL on the grass cover erosion failure mechanism that has a PK corresponding with a HBL that is not in the same assessment section -- Two HBLs on the grass cover erosion failure mechanism in the same assessment section that differs from the PKs of the HBLs on the assessment section

WTI-1657

    • -4
    • +22
    ./IntegrationTests/MigrationTo181IntegrationTest.cs
  1. … 3 more files in changeset.