Ringtoets.AssemblyTool.KernelWrapper.TestUtil.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Incorporated comments review 3108:

- Fixed test, because it was calling the wrong overload

- Introduced additional input tracking parameter as a FailureMechanism N is not the same as a FailureMechanismSection N

WTI-1782

    • -2
    • +5
    ./Calculators/Assembly/FailureMechanismSectionAssemblyCalculatorStubTest.cs
  1. … 2 more files in changeset.
Incorporated comments review 3105:

- Renamed categoryLimits --> categories

WTI-1763

    • -6
    • +6
    ./Kernels/Assembly/FailureMechanismAssemblyKernelStubTest.cs
  1. … 5 more files in changeset.
Incorporated comments review 3105:

- Ran Cleanup

- Merged properties into a single property as on calling side it is still possible to determine which function was called

- Cleaned up src and tests by extracting common knowledge in separate functions

- Updated XMLDoc

WTI-1763

    • -0
    • +4
    ./Calculators/Assembly/FailureMechanismSectionAssemblyCalculatorStubTest.cs
    • -10
    • +9
    ./Kernels/Categories/AssemblyCategoriesKernelStubTest.cs
    • -4
    • +0
    ./Ringtoets.AssemblyTool.KernelWrapper.TestUtil.Test.csproj
  1. … 7 more files in changeset.
Cleanup:

- Renamed tracking properties of the calculatorstub

WTI-1782

    • -3
    • +3
    ./Calculators/Assembly/FailureMechanismSectionAssemblyCalculatorStubTest.cs
  1. … 2 more files in changeset.
Added overload to the DetailedAssemblyResult:

- Pulled overloaded function up to interface definition

-- Fixed calculator stub

WTI-1782

    • -0
    • +94
    ./Calculators/Assembly/FailureMechanismSectionAssemblyCalculatorStubTest.cs
  1. … 2 more files in changeset.
Cleanup:

- Added missing asserts

- Editorial changes

WTI-1763

    • -0
    • +1
    ./Kernels/Assembly/AssessmentSectionAssemblyKernelStubTest.cs
    • -12
    • +1
    ./Kernels/Assembly/FailureMechanismSectionAssemblyKernelStubTest.cs
  1. … 12 more files in changeset.
Fixed failing tests:

- Fixed failed kernel stub tests

- Fixed test factory

WTI-1763

    • -3
    • +3
    ./Calculators/Assembly/AssessmentSectionAssemblyCalculatorStubTest.cs
    • -21
    • +21
    ./CategoriesListTestFactoryTest.cs
    • -5
    • +6
    ./Kernels/Assembly/CombinedFailureMechanismSectionAssemblyKernelStubTest.cs
    • -12
    • +6
    ./Kernels/Assembly/FailureMechanismAssemblyKernelStubTest.cs
    • -23
    • +8
    ./Kernels/Assembly/FailureMechanismSectionAssemblyKernelStubTest.cs
Fixed compilation errors on the FailureMechanismSectionAssemblyCalculator:

- Corrected function call due to changed function call in calculating the category limits

WTI-1763

    • -7
    • +17
    ./Calculators/Assembly/FailureMechanismSectionAssemblyCalculatorStubTest.cs
  1. … 4 more files in changeset.
Fixed compilation errors on the AssemblyCategoriesCalculator:

- Modified function arguments for WBI02, it only requires a contribution, a norm and an N value to calculate the categories.

WTI-1763

    • -7
    • +23
    ./Calculators/Categories/AssemblyCategoriesCalculatorStubTest.cs
  1. … 4 more files in changeset.
Fixed compilation errors for the AssessmentSectionAssemblyCalculator

- Changed return and function arguments to adhere to the new kernel API

-- Fixed ICalculator and stubs. Calculator and its tests were already fixed as part of rev. 8ab2faf07b8a06b705b156aec092eecc8e70cbb8

WTI-1763

    • -21
    • +21
    ./Calculators/Assembly/AssessmentSectionAssemblyCalculatorStubTest.cs
  1. … 2 more files in changeset.
Fixed compilation errors for the FailureMechanismAssemblyKernelStub:

- Fixed A1 related functions

-- Added property to explicitly set the result of A1. Setting indirect assembly results will fail due to:

--- Invalid cast when input arguments are DirectResult

--- Resulting NULL values on the input arguments --> hence can be verified that the wrong input arguments were used

WTI-1763

    • -40
    • +12
    ./Kernels/Assembly/FailureMechanismSectionAssemblyKernelStubTest.cs
  1. … 1 more file in changeset.
Fixed compilation errors for the FailureMechanismAssemblyKernelStub:

- Fixed errors related to T7 functions

WTI-1763

    • -27
    • +17
    ./Kernels/Assembly/FailureMechanismSectionAssemblyKernelStubTest.cs
  1. … 1 more file in changeset.
Fixed compilation errors for the FailureMechanismAssemblyKernelStub:

- Fixed T5 related functions.

WTI-1763

    • -29
    • +20
    ./Kernels/Assembly/FailureMechanismSectionAssemblyKernelStubTest.cs
  1. … 1 more file in changeset.
Fixed compilation errors for the FailureMechanismAssemblyKernelStub:

- Fixed T3 related functions.

WTI-1763

    • -29
    • +20
    ./Kernels/Assembly/FailureMechanismSectionAssemblyKernelStubTest.cs
  1. … 1 more file in changeset.
Fixed compilation errors for the FailureMechanismAssemblyKernelStub:

- Fixed G3 related functions

WTI-1763

    • -22
    • +15
    ./Kernels/Assembly/FailureMechanismSectionAssemblyKernelStubTest.cs
  1. … 1 more file in changeset.
Fixed compilation errors for the FailureMechanismAssemblyKernelStub:

- Fixed G5 related errors

WTI-1763

    • -29
    • +23
    ./Kernels/Assembly/FailureMechanismSectionAssemblyKernelStubTest.cs
  1. … 1 more file in changeset.
Fixed compilation errors for the FailureMechanism Assembly kernel stub. WTI-1763

    • -20
    • +23
    ./Kernels/Assembly/FailureMechanismAssemblyKernelStubTest.cs
  1. … 1 more file in changeset.
Fixed compilation errors for the AssessmentSectionAssembly kernel stub

- Added input to track what was passed through -->consequence of API changes

- Cleaned up tests

WTI-1763

    • -37
    • +36
    ./Kernels/Assembly/AssessmentSectionAssemblyKernelStubTest.cs
  1. … 1 more file in changeset.
Fixed compilation errors for the CategoriesKernelStub:

- Expanded stub to keep track which function was called

- Added test factory to create valid instances of CategoriesList<T> to prevent repeating the same construction every time.

WTI-1763

    • -0
    • +84
    ./CategoriesListTestFactoryTest.cs
    • -22
    • +31
    ./Kernels/Categories/AssemblyCategoriesKernelStubTest.cs
    • -0
    • +1
    ./Ringtoets.AssemblyTool.KernelWrapper.TestUtil.Test.csproj
  1. … 3 more files in changeset.
Fixing compilation errors stubs:

- Fixed CommonFailureMechanismSectionAssemblyKernelStub

-- Formatted code

WTI-1763

    • -3
    • +57
    ./Kernels/Assembly/CombinedFailureMechanismSectionAssemblyKernelStubTest.cs
  1. … 1 more file in changeset.
Incorporated comments review 2945: - Added initial value checks - Removed redundant asserts

WTI-1723

    • -5
    • +6
    ./Calculators/Assembly/FailureMechanismSectionAssemblyCalculatorStubTest.cs
Add extra calculator method for combined assembly for failure mechanisms with only simple and tailor made assessment WTI-1723

    • -0
    • +72
    ./Calculators/Assembly/FailureMechanismSectionAssemblyCalculatorStubTest.cs
  1. … 4 more files in changeset.
Incorporated comments review 2940 - introduce 3 context objects: - Adjusted the calculator stub to clearly distinguish which of the failure mechanism assembly category calculator methods is being called

WTI-1540

    • -10
    • +10
    ./Calculators/Categories/AssemblyCategoriesCalculatorStubTest.cs
  1. … 2 more files in changeset.
Implement new combined assembly calculator methods in calculator stub WTI-1723

    • -0
    • +144
    ./Calculators/Assembly/FailureMechanismSectionAssemblyCalculatorStubTest.cs
  1. … 1 more file in changeset.
Rename Geotechnic->Geotechnical WTI-1541

    • -8
    • +8
    ./Calculators/Categories/AssemblyCategoriesCalculatorStubTest.cs
  1. … 15 more files in changeset.
Implemented assembly kernel v1.1. WTI-1696

    • -16
    • +16
    ./Kernels/Assembly/FailureMechanismSectionAssemblyKernelStubTest.cs
  1. … 12 more files in changeset.
Implement review comments. Update asserts, rename AssemblyErrorMessageTranslator, update test names and update method names WTI-1671

    • -2
    • +2
    ./Kernels/Assembly/CombinedFailureMechanismSectionAssemblyKernelStubTest.cs
    • -1
    • +1
    ./Kernels/Assembly/FailureMechanismSectionAssemblyKernelStubTest.cs
  1. … 18 more files in changeset.
Cleanup WTI-1671

    • -9
    • +9
    ./Kernels/Assembly/AssessmentSectionAssemblyKernelStubTest.cs
    • -1
    • +1
    ./Kernels/Assembly/CombinedFailureMechanismSectionAssemblyKernelStubTest.cs
    • -6
    • +6
    ./Kernels/Assembly/FailureMechanismAssemblyKernelStubTest.cs
    • -33
    • +33
    ./Kernels/Assembly/FailureMechanismSectionAssemblyKernelStubTest.cs
  1. … 6 more files in changeset.
Add error message translation to the assembly categories calculator/kernel WTI-1671

    • -8
    • +111
    ./Kernels/Categories/AssemblyCategoriesKernelStubTest.cs
  1. … 3 more files in changeset.
Add error message translation to the assessment section assembly calculator WTI-1671

    • -9
    • +83
    ./Kernels/Assembly/AssessmentSectionAssemblyKernelStubTest.cs
    • -1
    • +28
    ./Kernels/Assembly/CombinedFailureMechanismSectionAssemblyKernelStubTest.cs
  1. … 4 more files in changeset.