Ringtoets.Common.Service.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Renamed Ringtoets folder. WTI-1931

    • -282
    • +0
    ./CalculationServiceHelperTest.cs
    • -533
    • +0
    ./DesignWaterLevelCalculationActivityTest.cs
    • -682
    • +0
    ./DesignWaterLevelCalculationServiceTest.cs
    • -38
    • +0
    ./HydraRingCalculationSettingsFactoryTest.cs
    • -113
    • +0
    ./HydraRingSettingsDatabaseHelperTest.cs
    • -112
    • +0
    ./HydraulicBoundaryDatabaseConnectionValidatorTest.cs
    • -278
    • +0
    ./HydraulicBoundaryLocationCalculationActivityFactoryTest.cs
    • -58
    • +0
    ./IllustrationPoints/CombinationTypeConverterTest.cs
    • -101
    • +0
    ./IllustrationPoints/FaultTreeIllustrationPointConverterTest.cs
    • -314
    • +0
    ./IllustrationPoints/GeneralResultConverterTest.cs
    • -219
    • +0
    ./IllustrationPoints/IllustrationPointNodeConverterTest.cs
    • -61
    • +0
    ./IllustrationPoints/IllustrationPointResultConverterTest.cs
  1. … 15700 more files in changeset.
Renamed Ringtoets.HydraRing.Calculation.TestUtil. WTI-1931

    • -1
    • +1
    ./Ringtoets.Common.Service.Test.csproj
  1. … 59 more files in changeset.
Renamed Ringtoets.HydraRing.Calculation.TestUtil. WTI-1931

    • -2
    • +2
    ./DesignWaterLevelCalculationActivityTest.cs
    • -2
    • +2
    ./DesignWaterLevelCalculationServiceTest.cs
    • -1
    • +1
    ./HydraulicBoundaryLocationCalculationActivityFactoryTest.cs
    • -2
    • +2
    ./IllustrationPoints/IllustrationPointNodeConverterTest.cs
    • -1
    • +1
    ./IllustrationPoints/TopLevelFaultTreeIllustrationPointConverterTest.cs
    • -1
    • +1
    ./IllustrationPoints/TopLevelSubMechanismIllustrationPointConverterTest.cs
    • -2
    • +2
    ./Ringtoets.Common.Service.Test.csproj
    • -3
    • +3
    ./Structures/StructuresCalculationServiceBaseTest.cs
    • -2
    • +2
    ./WaveHeightCalculationActivityTest.cs
  1. … 147 more files in changeset.
Renamed Ringtoets.HydraRing.Calculation. WTI-1931

    • -1
    • +1
    ./Ringtoets.Common.Service.Test.csproj
  1. … 420 more files in changeset.
Renamed Ringtoets.HydraRing.Calculation. WTI-1931

    • -3
    • +3
    ./DesignWaterLevelCalculationActivityTest.cs
    • -5
    • +5
    ./DesignWaterLevelCalculationServiceTest.cs
    • -1
    • +1
    ./HydraRingCalculationSettingsFactoryTest.cs
    • -2
    • +2
    ./HydraRingSettingsDatabaseHelperTest.cs
    • -3
    • +3
    ./HydraulicBoundaryLocationCalculationActivityFactoryTest.cs
    • -1
    • +1
    ./IllustrationPoints/CombinationTypeConverterTest.cs
    • -3
    • +3
    ./IllustrationPoints/FaultTreeIllustrationPointConverterTest.cs
    • -10
    • +10
    ./IllustrationPoints/GeneralResultConverterTest.cs
    • -9
    • +16
    ./IllustrationPoints/IllustrationPointNodeConverterTest.cs
    • -1
    • +1
    ./IllustrationPoints/IllustrationPointResultConverterTest.cs
    • -2
    • +2
    ./IllustrationPoints/StochastConverterTest.cs
    • -3
    • +3
    ./IllustrationPoints/SubMechanismIllustrationPointConverterTest.cs
    • -9
    • +9
    ./IllustrationPoints/TopLevelFaultTreeIllustrationPointConverterTest.cs
    • -5
    • +5
    ./IllustrationPoints/TopLevelSubMechanismIllustrationPointConverterTest.cs
  1. … 362 more files in changeset.
Updated logic of the CalculationSettingsFactory: WTI-1925

- Fixed failing tests in Common.Data

    • -0
    • +1
    ./HydraulicBoundaryLocationCalculationActivityFactoryTest.cs
  1. … 2 more files in changeset.
Renamed test data folder. WTI-1486

    • -1
    • +1
    ./HydraulicBoundaryDatabaseConnectionValidatorTest.cs
  1. … 55 more files in changeset.
Cleanup: WTI-1923

- Removed test factory:

-- The test files usually already contain their local definitions of creating a valid HydraulicBoundaryCalculationSettings object, no need to redefine it again by means of an external factory.

    • -1
    • +1
    ./DesignWaterLevelCalculationActivityTest.cs
    • -2
    • +2
    ./DesignWaterLevelCalculationServiceTest.cs
    • -2
    • +2
    ./Structures/StructuresCalculationServiceBaseTest.cs
    • -1
    • +1
    ./WaveHeightCalculationActivityTest.cs
  1. … 6 more files in changeset.
Introduced HydraulicBoundaryCalculationSettings for Structure calculations: WTI-1923

- Adjusted the Calculate function arguments for the base service

    • -88
    • +129
    ./Structures/StructuresCalculationServiceBaseTest.cs
  1. … 1 more file in changeset.
Refactored TargetProbabilityCalculationService: WTI-1923

- Derived services make use Validate definition. This definition should take a HydraulicBoundaryCalculationSetting as argument and unwrap its content internally instead at the calling sides.

    • -24
    • +39
    ./TargetProbabilityCalculationServiceTest.cs
  1. … 5 more files in changeset.
Minor cleanup: WTI-1923

- Inlined invocation variables for the test helper

    • -3
    • +2
    ./DesignWaterLevelCalculationActivityTest.cs
    • -3
    • +2
    ./DesignWaterLevelCalculationServiceTest.cs
    • -4
    • +2
    ./HydraulicBoundaryLocationCalculationActivityFactoryTest.cs
    • -3
    • +2
    ./WaveHeightCalculationActivityTest.cs
  1. … 18 more files in changeset.
Introduced HydraulicBoundaryCalculationSettings for WaveHeight calculations: WTI-1923

- Fixed failing tests coming from the activity:

-- Removed the temporary patch to prevent compilation errors from e67d118d775751800b5fa699f9110ce311a02405.

-- Simplified tests and mocks, as a single test should be sufficient that the correct input was sent to the calculator.

    • -7
    • +8
    ./HydraulicBoundaryLocationCalculationActivityFactoryTest.cs
    • -52
    • +103
    ./WaveHeightCalculationActivityTest.cs
  1. … 2 more files in changeset.
Minor improvements: WTI-1923

- Added missing tests

- Updated typos from XMLDoc

    • -0
    • +18
    ./DesignWaterLevelCalculationActivityTest.cs
  1. … 4 more files in changeset.
Introduced HydraulicBoundaryCalculationSettings for WaveHeight calculations: WTI-1923

- Applied for the Service.Calculate

-- Was not applied to the validation logic yet

Note: applied a temporary "fix" for the activity to prevent compilation errors. Some tests will fail.

    • -133
    • +108
    ./WaveHeightCalculationServiceTest.cs
  1. … 2 more files in changeset.
Introduced HydraulicBoundaryCalculationSettings for DesignWaterLevel calculations: WTI-1923

- Fixed failing tests:

-- Removed the temporary patch to prevent compilation errors from 51e4c5dc8ba6f7fe7f923418fa4af2d2c2f46196.

-- Simplified tests and mocks, as a single test should be sufficient that the correct input was sent to the calculator.

    • -52
    • +87
    ./DesignWaterLevelCalculationActivityTest.cs
    • -7
    • +9
    ./HydraulicBoundaryLocationCalculationActivityFactoryTest.cs
  1. … 2 more files in changeset.
Introduced HydraulicBoundaryCalculationSettings for DesignWaterLevel calculations: WTI-1923

- Applied for the Service.Calculate

-- Was not applied to the validation logic yet

Note: applied a temporary "fix" for the activity to prevent compilation errors. Some tests will fail.

    • -132
    • +107
    ./DesignWaterLevelCalculationServiceTest.cs
  1. … 2 more files in changeset.
Introduced factory to create HydraRingCalculationSettings: WTI-1923

- Intended to be used as a conversion from the Ringtoets equivalent to the HydraRing counterpart

- Cleaned up some other files

    • -0
    • +38
    ./HydraRingCalculationSettingsFactoryTest.cs
    • -0
    • +1
    ./Ringtoets.Common.Service.Test.csproj
  1. … 4 more files in changeset.
Updated WaveHeightCalculator calls: WTI-1923

- Corrected calls for the service

    • -10
    • +80
    ./WaveHeightCalculationServiceTest.cs
  1. … 1 more file in changeset.
Updated WaveHeightCalculator calls: WTI-1923

- Updated the calls directly related to the wave height

-- Excluded the grass cover erosion outwards compilation error fixes

    • -1
    • +9
    ./HydraulicBoundaryLocationCalculationActivityFactoryTest.cs
    • -4
    • +33
    ./WaveHeightCalculationActivityTest.cs
  1. … 3 more files in changeset.
Updated DesignWaterLevelCalculator calls: WTI-1923

- Updated the calls directly related to the design water level

-- Excluded the grass cover erosion outwards compilation error fixes

    • -4
    • +33
    ./DesignWaterLevelCalculationActivityTest.cs
    • -10
    • +80
    ./DesignWaterLevelCalculationServiceTest.cs
    • -1
    • +10
    ./HydraulicBoundaryLocationCalculationActivityFactoryTest.cs
  1. … 4 more files in changeset.
Updated StructureCalculator calls: WTI-1923

- Performed for the generic structure service

    • -7
    • +56
    ./Structures/StructuresCalculationServiceBaseTest.cs
  1. … 1 more file in changeset.
Changed copyright year. Paired with lubbers. WTI-1828

    • -1
    • +1
    ./DesignWaterLevelCalculationActivityTest.cs
    • -1
    • +1
    ./DesignWaterLevelCalculationServiceTest.cs
    • -1
    • +1
    ./HydraRingSettingsDatabaseHelperTest.cs
    • -1
    • +1
    ./HydraulicBoundaryDatabaseConnectionValidatorTest.cs
    • -1
    • +1
    ./HydraulicBoundaryLocationCalculationActivityFactoryTest.cs
    • -1
    • +1
    ./IllustrationPoints/CombinationTypeConverterTest.cs
    • -1
    • +1
    ./IllustrationPoints/FaultTreeIllustrationPointConverterTest.cs
    • -1
    • +1
    ./IllustrationPoints/GeneralResultConverterTest.cs
    • -1
    • +1
    ./IllustrationPoints/IllustrationPointNodeConverterTest.cs
    • -1
    • +1
    ./IllustrationPoints/IllustrationPointResultConverterTest.cs
    • -1
    • +1
    ./IllustrationPoints/StochastConverterTest.cs
  1. … 6081 more files in changeset.
Ran Deltares Cleanup:

- Performed for Ringtoets.Common.Service and its tests

WTI-1767

    • -1
    • +1
    ./RingtoetsCommonDataSynchronizationServiceTest.cs
    • -0
    • +1
    ./SynchronizeCalculationWithForeshoreProfileHelperTest.cs
    • -4
    • +8
    ./ValidationRules/UseBreakWaterRuleTest.cs
  1. … 8 more files in changeset.
Rename AssessmentSectionHelper -> AssessmentSectionTestHelper WTI-1839

    • -2
    • +2
    ./HydraulicBoundaryLocationCalculationActivityFactoryTest.cs
    • -17
    • +25
    ./Structures/StructuresCalculationServiceBaseTest.cs
  1. … 139 more files in changeset.
Change Categorie to Categoriegrens. WTI-1824

    • -4
    • +4
    ./DesignWaterLevelCalculationActivityTest.cs
    • -2
    • +2
    ./HydraulicBoundaryLocationCalculationActivityFactoryTest.cs
    • -5
    • +5
    ./MessageProviders/DesignWaterLevelCalculationMessageProviderTest.cs
    • -5
    • +5
    ./MessageProviders/WaveHeightCalculationMessageProviderTest.cs
    • -4
    • +4
    ./WaveHeightCalculationActivityTest.cs
  1. … 17 more files in changeset.
Adapted ParameterNameExtractor (no ToLower). WTI-1714

    • -1
    • +1
    ./MessageProviders/DesignWaterLevelCalculationMessageProviderTest.cs
    • -1
    • +1
    ./MessageProviders/WaveHeightCalculationMessageProviderTest.cs
  1. … 10 more files in changeset.
Adapted ParameterNameExtractor (no ToLower). WTI-1714

    • -1
    • +1
    ./MessageProviders/DesignWaterLevelCalculationMessageProviderTest.cs
    • -1
    • +1
    ./MessageProviders/WaveHeightCalculationMessageProviderTest.cs
  1. … 10 more files in changeset.
Made some resources more consistent. WTI-1714

    • -2
    • +2
    ./DesignWaterLevelCalculationActivityTest.cs
    • -2
    • +2
    ./MessageProviders/DesignWaterLevelCalculationMessageProviderTest.cs
    • -2
    • +2
    ./MessageProviders/WaveHeightCalculationMessageProviderTest.cs
    • -2
    • +2
    ./WaveHeightCalculationActivityTest.cs
  1. … 2 more files in changeset.
Renamed "randvoorwaarden" into "belastingen". WTI-1714

    • -1
    • +1
    ./HydraulicBoundaryDatabaseConnectionValidatorTest.cs
    • -1
    • +1
    ./Structures/StructuresCalculationServiceBaseTest.cs
  1. … 37 more files in changeset.
Renamed "randvoorwaarden" into "belastingen". WTI-1714

    • -1
    • +1
    ./Structures/StructuresCalculationServiceBaseTest.cs
  1. … 19 more files in changeset.