ClosingStructuresFailureMechanismResultView.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Resolved compilation errors by introducing the AssessmentLayerOneState when applicable - Added the DataGridViewCellTester for the tests that explicitly tested the cell Style properties

Merged revision(s) 6630-6714 from branches/WTI-985:

Added enum indicating the state of assessment layer one

........

Added enum indicating the state of assessment layer one

........

- Incorporated enum for AssessmentLayerOne in the failure mechanism section

- Fixed tests that are directly related to the failure mechanism section

Note: derived views and corresponding tests are NOT fixed yet

........

- Fixed tests for Q-variant failureMechanisms

........

- Fixed ReadExtensions for storage

........

- Fixed ReadExtension tests for storage

........

Fixed issues on the RingtoetsProjectTestHelper:

- Introduced private method to generate a random state of AssessmentLayerOne

........

Fixed issues on the AssessmentLayerOneState:

- Corrected strings that are displayed in the view

- Created a protected method to provide access for every derived failure mechanism view to the Enumwrapper for AssessmentLayerOneState

........

Implemented feature on the ClosingStructuresFailureMechanismResultView:

- Replaced the checkbox with a dropdown colum containing the AssessmentLayerOneState value

- Fixed or expanded tests

........

Implemented feature on the GrassCoverErosionInwardsFailureMechanismResultView:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing/not working tests

- Removed test that asserts the toggling of the checkbox: test is obsolete because it's replaced with a dropdown box

- Extended test for assessing that the right columns are visible when a failure mechanism is present

(Editorial) For the closing structure failure mechanism

- Write out string resource values when testing

........

Implemented feature on the GrassCoverErosionOutwardsFailureMechanismResultView:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing test

........

Extended tests:

- Assess the behaviour of the datagrid row for every state of AssessmentLayerOneState

........

Implemented feature on the GrassCoverErosionInwardsFailureMechanismResultView:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing/not working tests

- Removed test that asserts the toggling of the checkbox: test is obsolete because it's replaced with a dropdown box

- Extended test for assessing that the right columns are visible when a failure mechanism is present

........

Implemented feature on the Piping FailureMechanism:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing/not working tests

- Removed test that asserts the toggling of the checkbox: test is obsolete because it's replaced with a dropdown box

- Extended test for assessing that the right columns are visible when a failure mechanism is present

........

Extended tests:

- Added additional section when assessing the behaviour of the three possible states of AssessmentLayerOne

........

Implemented feature on the Stability point structures FailureMechanism:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing/not working tests

- Typed out string values when asserting column headers

........

(Editorial) For the grass cover erosion outwards failure mechanism

- Write out string resource values when testing string values of the column headers

........

Implemented feature on the Stability stone cover FailureMechanism:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing/not working tests

- Typed out string values when asserting column headers

- Added assertions for when cells are enabled. This includes an additional test that verifies the behaviour when the state changes to "sufficient" for assessmentLayerOne

........

Implemented feature on the wave impact asphalt cover FailureMechanism:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing/not working tests

- Typed out string values when asserting column headers

........

Removed obsolete reference to RingtoetsCommonFormsResources in the tests

........

Created project to include helper classes for asserting Forms related projects

........

Created project to include helper classes for asserting Forms related projects:

- Reverted accidental change on Common.Data.TestUtil project

........

Created project to include helper classes for asserting Forms related projects:

- Created helper class to assert whether DataGridViewCells are in an enabled or disabled state

........

Created project to include helper classes for asserting Forms related projects:

- Created helper class to assert whether DataGridViewCells are in an enabled or disabled state

........

Extracted base method to add assessment section name and assessment section layer one columns

........

Improved helper class DataGridViewCellsTester:

- Enabled state does not always mean readonly, assertion behaviour can be toggled

- Documented when AssertionException can be thrown

........

Refactoring:

- For the mechanisms that already implement the dropdown box for assessment layer one: use an override of the AddDataGridColumns to set the correct columns

- Aforementioned function already sets the section name and dropdown box for assessment layer one per default

........

Incorporated helper class DataGridViewCellsTester:

- Replaced every instance of a local cell enabled/disabled assertion with the DataGridViewCellsTester

........

Implemented feature on the dune erosion failure mechanism:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing/not working tests

- Typed out string values when asserting column headers

- Replaced local cell assertions with the DataGridViewCellTester

........

Implemented feature on the grass cover slipoff inwards failure mechanism:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing/not working tests

- Typed out string values when asserting column headers

- Replaced local cell assertions with the DataGridViewCellTester

........

Removed obsolete RingtoetsCommonResource reference

........

Implemented feature on the grass cover slipoff outwards failure mechanism:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing/not working tests

- Typed out string values when asserting column headers

- Replaced local cell assertions with the DataGridViewCellTester

........

Implemented feature for the macro stability related failure mechanisms:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing/not working tests

- Typed out string values when asserting column headers

- Replaced local cell assertions with the DataGridViewCellTester

........

Implemented feature for piping structure failure mechanisms:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing/not working tests

- Typed out string values when asserting column headers

- Replaced local cell assertions with the DataGridViewCellTester

........

Implemented feature for strength stability lengthwise construction failure mechanisms:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing/not working tests

- Typed out string values when asserting column headers

- Replaced local cell assertions with the DataGridViewCellTester

........

Implemented feature for technical innovation failure mechanisms:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing/not working tests

- Typed out string values when asserting column headers

- Replaced local cell assertions with the DataGridViewCellTester

........

Implemented feature for water pressure asphalt cover failure mechanisms:

- Replaced the checkbox with a dropdown column containing the AssessmentLayerOneState value

- Fixed failing/not working tests

- Typed out string values when asserting column headers

- Replaced local cell assertions with the DataGridViewCellTester

........

Fixed ReadExtension tests for storage:

- Compilation error when trying to run this test due to invalid cast from bool to the AssessmentLayerOneState

........

Fixed ReadExtension entity tests for storage:

- Adapted read entity tests to assess for the enum AssessmentLayerOneState instead of a boolean for LayerOne. Entities were already adjusted due to changes in the FailureMechanismSectionResult

........

* Updated database design (new comments added).

* Defined default value for FailureMechanismSectionResult.

* Specified concrete values for AssessmentLayerOneState.

........

Related to Issue [WTI-985]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6730 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 417e584767297df8e93c02b36a0af938af02894c

Former-commit-id: 03a26b4cac7f05f4cf9dfde404b76d15b41d82cb

    • -10
    • +3
    ./ClosingStructuresFailureMechanismResultView.cs
  1. … 185 more files in changeset.
Refactoring: - For the mechanisms that already implement the dropdown box for assessment layer one: use an override of the AddDataGridColumns to set the correct columns - Aforementioned function already sets the section name and dropdown box for assessment layer one per default

Related to Issue [WTI-985]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/WTI-985@6680 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: bb4a43d4e03538b4777514d0d692081f8b8bdb0b

Former-commit-id: c8aa6934bf0d9ad346ad1c5f5e68f0f2b824dafa

    • -15
    • +3
    ./ClosingStructuresFailureMechanismResultView.cs
  1. … 7 more files in changeset.
- Added test for height structures - Updated Error texts for section result with and without calculation for stability point structures Related to Issue [WTI-943]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6662 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: d54e2bc567b1c4828fd0d3dc40f0fb58bf2ca3a9

Former-commit-id: fc165afd4bfd3f3e8f01792a0841beca4dec742f

    • -9
    • +6
    ./ClosingStructuresFailureMechanismResultView.cs
  1. … 9 more files in changeset.
Updated Error texts for section result with and without calculation for closing structures Related to Issue [WTI-943]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6641 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 49b86618b6cbca970e8e41ff9fd832c92e6d55da

Former-commit-id: 6d532d588b4865479811bcf30cc2ef1109cce1a8

    • -1
    • +24
    ./ClosingStructuresFailureMechanismResultView.cs
  1. … 3 more files in changeset.
Implemented feature on the ClosingStructuresFailureMechanismResultView: - Replaced the checkbox with a dropdown colum containing the AssessmentLayerOneState value - Fixed or expanded tests

Related to Issue [WTI-985]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/WTI-985@6640 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: fe039fa813cde6831ceceaef471f98d429705d0a

Former-commit-id: ea72a21deaaa4ad6fc113faf94f65f820a195a00

    • -2
    • +7
    ./ClosingStructuresFailureMechanismResultView.cs
  1. … 1 more file in changeset.
Got rid of GetObservableInput and GetObservableOutput Related to Issue [WTI-953]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6560 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 8b46be132cb72a8c6ba82fa1453cfda998ac0806

Former-commit-id: 50ec7a58f9489ec3e95cf1e6e4687d5dae60fdcf

    • -2
    • +2
    ./ClosingStructuresFailureMechanismResultView.cs
  1. … 20 more files in changeset.
* Made type explicit or more concrete. * Reformatted code to improve readability and better adherence to code-conventions. Related to Issue [WTI-596]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6287 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: b843544708d2da78f91008dbddb0c9bc748e51cb

Former-commit-id: a132052d0d6e775430eca5ca1ccaa8c2730ec7fb

    • -14
    • +8
    ./ClosingStructuresFailureMechanismResultView.cs
  1. … 4 more files in changeset.
Made sure result view of closing structures updates when there is a change in the calculations and sections. Related to Issue [WTI-596]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6221 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 2f2928ad823cb072cc7e161e27f61c2dc10fa32f

Former-commit-id: 10380ff8b8922ec56f57620e3e665c14b8d2748f

    • -0
    • +49
    ./ClosingStructuresFailureMechanismResultView.cs
  1. … 4 more files in changeset.
- Added ClosingStructuresFailureMechanismContext.cs - Added tests - optimised references Related to Issue [WTI-547]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@5547 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 6b492461ff5005261bd64dfa7fa76d74fa613c99

Former-commit-id: b731f49770775c04ffe066bb1a6d92d0e8d9a905

    • -0
    • +91
    ./ClosingStructuresFailureMechanismResultView.cs
  1. … 29 more files in changeset.