PipingFailureMechanismResultViewTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Removed using CalculationScenarioStatus in piping result view. WTI-1581

    • -58
    • +60
    ./PipingFailureMechanismResultViewTest.cs
  1. … 4 more files in changeset.
Removed using CalculationScenarioStatus in piping result view. WTI-1581

    • -58
    • +60
    ./PipingFailureMechanismResultViewTest.cs
  1. … 4 more files in changeset.
Fixed some tests. WTI-1581

    • -1
    • +1
    ./PipingFailureMechanismResultViewTest.cs
  1. … 16 more files in changeset.
Fixed some tests. WTI-1581

    • -1
    • +1
    ./PipingFailureMechanismResultViewTest.cs
  1. … 16 more files in changeset.
Introduced new context to get all the needed data to the result view. WTI-1581

    • -3
    • +25
    ./PipingFailureMechanismResultViewTest.cs
  1. … 8 more files in changeset.
Introduced new context to get all the needed data to the result view. WTI-1581

    • -3
    • +25
    ./PipingFailureMechanismResultViewTest.cs
  1. … 8 more files in changeset.
* Removed probability from data model. * Resolved probability dynamically in result view. WTI-1581

    • -61
    • +59
    ./PipingFailureMechanismResultViewTest.cs
  1. … 12 more files in changeset.
* Removed probability from data model. * Resolved probability dynamically in result view. WTI-1581

    • -61
    • +59
    ./PipingFailureMechanismResultViewTest.cs
  1. … 12 more files in changeset.
Cleanup of Ringtoets.Piping.* Related to Issue [WTI-1463]

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

Former-commit-id: d1dae573d82318632b51de4d8993ac3896111718

Former-commit-id: bb48187b2b1935880c745e1aa71d570d7eeaba74

    • -1
    • +1
    ./PipingFailureMechanismResultViewTest.cs
  1. … 53 more files in changeset.
Change parsing error messages when entering probabilities in all relevant locations so they're consistent. Related to Issue [WTI-1377]

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

Former-commit-id: 523c08daba3b8068d19f06e7042b70d77dd8a770

Former-commit-id: 988e803449f1818129bd96eb9c3722fad7aefe65

    • -1
    • +1
    ./PipingFailureMechanismResultViewTest.cs
  1. … 15 more files in changeset.
Incorporated comments review 2075: - Removed reflection-based lookups for the asserts of assessmentLayerThree because the direct property is available Related to Issue [WTI-1373]

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

Former-commit-id: b413e456277c7671662eb6319ee8acacad6a816c

Former-commit-id: fdc4222102fd258490bb6f0796fbdfd284eee1a4

    • -5
    • +1
    ./PipingFailureMechanismResultViewTest.cs
  1. … 5 more files in changeset.
Review related changes: - Added *Piping* prefix - Added missing tests for property info Related to Issue [WTI-1343]

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

Former-commit-id: 8e0e4133074a31bec656a2e485041221224ef91b

Former-commit-id: 04a02fc67fc5d95d12a50160a1596bbe951f34dc

    • -1
    • +1
    ./PipingFailureMechanismResultViewTest.cs
  1. … 35 more files in changeset.
Improved tests for relevant failure mechanism section result views: - Changed the manner of testing numeric (string) values to prevent inconsistent test behaviour on the buildserver and local runs Related to Issue [WTI-1373]

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

Former-commit-id: 823b9c5e031cc5d7942cf24c0b65098f3f650639

Former-commit-id: 6ffbfebf72470d10fe8b825954e26335a6b2cda6

    • -12
    • +15
    ./PipingFailureMechanismResultViewTest.cs
  1. … 5 more files in changeset.
Adjusted data model for the failure mechanism section result: - Fixed failing tests on buildserver: -- Changed messages and input strings to match the locale Related to Issue [WTI-1373]

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

Former-commit-id: b839da95fefc8c9c4c972faf636c537af50dffdc

Former-commit-id: e882c48a2ab28be2038d9545c600880c6adb4c0d

    • -3
    • +3
    ./PipingFailureMechanismResultViewTest.cs
  1. … 9 more files in changeset.
Adjusted data model for the failure mechanism section result: - Fixed the remaining failing tests on buildserver: -- Added locale settings for the tests on the relevant section results views

Related to Issue [WTI-1373]

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

Former-commit-id: aa52419c6872e09adc38b56eb503c4ae7b19469e

Former-commit-id: c6546ce73a82536e2410edf66f5b7cd62c2c7bb3

    • -0
    • +1
    ./PipingFailureMechanismResultViewTest.cs
  1. … 4 more files in changeset.
Adjusted data model for the failure mechanism section result: - For GEKB, structures, piping and macrostability, AssessmentLayerThree became a probability -- Adjusted tests -- Added missing (functional) tests in the views for when and when not to display the tooltip

Related to Issue [WTI-1373]

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

Former-commit-id: 42a770e3ba5cec759666e993de128fd4c7913689

Former-commit-id: 047d21217f54b6bbad523cd40af5ebb6f5e750dc

    • -3
    • +23
    ./PipingFailureMechanismResultViewTest.cs
  1. … 25 more files in changeset.
Updated license headers in Piping. Related to Issue [WTI-1242]

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

Former-commit-id: fda79840b5ca2b26234f71f990a231a69cefce05

Former-commit-id: 22decd2346491fae07602843fbe9b8931260bcc6

    • -1
    • +1
    ./PipingFailureMechanismResultViewTest.cs
  1. … 394 more files in changeset.
Changed all local vars to consts if possible. Related to Issue [WTI-1242]

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

Former-commit-id: 4684a5017b9aff9f6175f7d781cb29409f50a18e

Former-commit-id: 853c649ebc49a9513535e40ec705d5b928af0bc4

    • -7
    • +7
    ./PipingFailureMechanismResultViewTest.cs
  1. … 283 more files in changeset.
Code cleanup: Ringtoets.GrassCoverErosionInwards Ringtoets.Piping

Related to Issue [WTI-1242]

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

Former-commit-id: 6b066ee60035964ef40e9bcb01857d32effd227f

Former-commit-id: b973d6385ff4b8d55ee6f8eb6c35c02c5a8bf8ca

    • -15
    • +15
    ./PipingFailureMechanismResultViewTest.cs
  1. … 183 more files in changeset.
- Moved Testhelper functions from the DataGridViewCellTestHelper to DataGridViewTestHelper for coherence - Deleted obsolete files - Removed unused references

Paired with bouvrie

Related to Issue [WTI-1044]

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

Former-commit-id: 9489e6615c4fa4e02720a908477e4461898d8fab

Former-commit-id: 4e13b627dfa1d26b297159ebb10fd987bc6f56fd

    • -5
    • +5
    ./PipingFailureMechanismResultViewTest.cs
  1. … 23 more files in changeset.
review related changes paired with tangerma Related to Issue [WTI-1011]

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

Former-commit-id: caa2c904bc51ab777d79f91f313d3654a85a6980

Former-commit-id: f2f90bb0c195a9336aa74052af7762a0a1618387

    • -1
    • +1
    ./PipingFailureMechanismResultViewTest.cs
  1. … 6 more files in changeset.
Changed labels of AssessmentLayerOneState. Related to Issue [WTI-1021]

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

Former-commit-id: 63baf9678c1c2f6f1aa744a026c2605f503ff607

Former-commit-id: 89fdfcacedf7f3e101a5f84b688d0bce09862c0f

    • -7
    • +7
    ./PipingFailureMechanismResultViewTest.cs
  1. … 59 more files in changeset.
Incorporated review comments review 1210: - Added missing tests to cover the various possibilities of AssessmentLayerOneState - Renamed ShowAssessmentLayerTwoAErrors to SetAssessmentLayerTwoAError in FailureMechanismSectionResultRowHelper to better reflect its action - Changed logic in the PipingFailureMechanismResultView: determine the status of AssessmentLayerOneState before getting all relevant scenarios - Renamed some Resources to better reflect the message values Related to Issue [WTI-943]

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

Former-commit-id: e9d0f76c53289d4888c0187849f46046d4cfdf04

Former-commit-id: 5d2087eac71f71f7cddc8b070fb5537f04e7c84c

    • -12
    • +34
    ./PipingFailureMechanismResultViewTest.cs
  1. … 13 more files in changeset.
Incorporated comments review 1208 - Renamed DataGridViewCellTester to DataGridViewCellTestHelper - Introduced protected AssessmentLayerOneColumnIndex for the FailureMechanismResultView, replaced all local definitions for the derived classes when relevant - Added Core.Common.Version dependencies to the Common.Forms.TestUtil and its Common.Forms.TestUtil.Test

Related to Issue [WTI-985]

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

Former-commit-id: 58e7647abfb79ad27d29c407da8ba6b8141e8195

Former-commit-id: 3a457868facc8a1a0d885a7fb668c95d909fb0ac

    • -4
    • +4
    ./PipingFailureMechanismResultViewTest.cs
  1. … 42 more files in changeset.
- 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

    • -59
    • +28
    ./PipingFailureMechanismResultViewTest.cs
  1. … 185 more files in changeset.
- Updated PipingFailureMechanismResultView.cs with new error messages - Updated ResultView error messages Related to Issue [WTI-943]

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

Former-commit-id: da02c57c0ac9669274c0dcabfabd79e616f82d22

Former-commit-id: 4e2641bfad2bf52e8a9f3da2a66ceb9465095eb3

    • -23
    • +32
    ./PipingFailureMechanismResultViewTest.cs
  1. … 10 more files in changeset.
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 Related to Issue [WTI-985]

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

Former-commit-id: e86128d1d4012b9f4aeaaf358e0a578c3617cf5b

Former-commit-id: d76a6a2f6c990bc47a5ee1d1105e45ce7ea9a8ea

    • -45
    • +23
    ./PipingFailureMechanismResultViewTest.cs
  1. … 1 more file in changeset.
Review related changes Related to Issue [WTI-953]

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

Former-commit-id: 96aed549dde17f96f25cb6559c4da18647c1f963

Former-commit-id: 0d919dc500e8dd1144dbbc06d657117781aed7f3

    • -6
    • +6
    ./PipingFailureMechanismResultViewTest.cs
  1. … 16 more files in changeset.
Merged revision(s) 5006-5019 from branches/Release/16_1_1: Resharper cleanup Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

constants now are at the beginning of test files.

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Cleanup project references.

Related to Issue WTI 737

........

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

Former-commit-id: 21f2b2d3f74765437bc2f5ac6001d62a6c3afd98

Former-commit-id: 79979c7e6cb96a998c3b1a0d4fc4d9bd4bf10566

    • -5
    • +4
    ./PipingFailureMechanismResultViewTest.cs
  1. … 219 more files in changeset.
Resharper cleanup

Related to Issue [WTI-739]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_1_1@5014 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: d91ce4a5a30192a5e681787bcb49e8390d72f48a

Former-commit-id: 4fd5daa3311c8c0834b1b339774d9cad7206b3b0

    • -5
    • +4
    ./PipingFailureMechanismResultViewTest.cs
  1. … 54 more files in changeset.