RingtoetsContextMenuBuilderTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* ClosingStructureFailureMechanismProperties now has IsRelevant property. * ClosingStructureFailureMechanismProperties uses DynamicVisbility to hide properties for irrelevant failure mechanism. * Refactored code to be conform code conventions. Related to Issue [WTI-1152]

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

Former-commit-id: e657795f53eb006544e57155c902474f05a3aef7

Former-commit-id: 8aba818ca202432e07bad2216f230e65bf8fcdca

  1. … 9 more files in changeset.
Merged revision(s) 8159-8192 from branches/WTI-1093: added UpdateInfo and methods required to generalize the add update item to context menu. ........ moved resources moved responsibility of getting file path to GuiImportHandler ........ extracted common logic ........ Extracted separate GuiUpdateHandler. Added AddUpdateItem and CreateUpdateItem for context menu builder and factory. ........ Added IInquiryHelper responsible for obtaining information from the user. Implemented DialogBasedInquiryHelper responsible for obtaining information through the use of dialog boxes. Removed unused TestStochasticSoilModelChangeHandler. ........ Extracted classes. Added documentation. ........ Set dialog parent for message box. Added tests for DialogBaseTest to verify parent set. ........ used inquiryHandler in StochasticSoilModelChangeHandler ........ unused ref ........

Related to Issue [WTI-1093]

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

Former-commit-id: 197c77474627ae5f9182b4b6ef28e68a2d161a42

Former-commit-id: 03bd2fbcdbd4fbb16177760d116aeac080d9ee3e

    • -0
    • +58
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 50 more files in changeset.
Extracted separate GuiUpdateHandler. Added AddUpdateItem and CreateUpdateItem for context menu builder and factory.

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

Former-commit-id: dc05e7dc708cc9899d45b9570e29ae9267de44b9

Former-commit-id: d50b8e592255273c27afe901b8534345de1757b7

    • -0
    • +58
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 28 more files in changeset.
Review related changes Related to Issue [WTI-1059]

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

Former-commit-id: 0a8121c1ab47ffa243079d532c148012c3ff1fb7

Former-commit-id: 576e37010a58357f3596039c2fac9259141d6e34

  1. … 16 more files in changeset.
Renamed Commentable.Comments to Comment.Body Related to Issue [WTI-983]

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

Former-commit-id: cdeaf9685c9c6b52624d8a755a52835936a0564e

Former-commit-id: 0f2d7929b9cd815fcd65770b767b001efca4e49b

  1. … 108 more files in changeset.
- Removed ICommentable from ICalculation and replaced it with a Commentable property Related to Issue [WTI-983]

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

Former-commit-id: d58e8379d2a7a2ac41eb68aec287b032b325ed7d

Former-commit-id: 85de1e68b87e73b7e36e44ada2077190b55de29a

  1. … 68 more files in changeset.
Added failure mechanism view for closing structures failure mechanism. removed space in #region definitions Related to Issue [WTI-843]

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

Former-commit-id: 54c23113f14f877bd6b881f94a3f0f5927872cf7

Former-commit-id: db00e7f0e723cd5df4eb3e55427b7ca1b07ec77b

  1. … 28 more files 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

    • -10
    • +0
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 20 more files in changeset.
Implemented clear all children functionality in TreeViewControl. Reused to delete all sub folders and calculations from the root calculation group. Have CustomItemsOnlyContextMenuBuilder always add an item (also for standardized items), so that the same amount of items are added as when using a real implementation of the builder. Related to Issue [WTI-587]

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

Former-commit-id: b18a664e3a2ac87083d295cd7619268a643a0f62

Former-commit-id: b8537af708eae3f73f3c5c8660386dcde59f4d13

    • -83
    • +0
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 45 more files in changeset.
Merged revision(s) 4868-4869 from branches/Release/16_1_1: Implemented non ideal solution for closing the views when clearing the root Calculations folder. Related to Issue WTI 489

........

Added validation for IViewCommands and updated test expectancies.

Related to Issue WTI 489]

........

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

Former-commit-id: 4e421cd8ac81f8f2aa1c4d9767a9b4b5fc6756c4

Former-commit-id: 6fccd48c5b2cab73a7e12cc28511cf1cc8c4967f

  1. … 9 more files in changeset.
Implemented non ideal solution for closing the views when clearing the root Calculations folder. Related to Issue [WTI-489]

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

Former-commit-id: ec20a2eaf198238cd55d3670840ac27568574f88

Former-commit-id: 6e6cd0c120e982d5a84b52d147b5407a051cebc4

  1. … 6 more files in changeset.
Implemented non ideal solution for closing the views when clearing the root Calculations folder. Related to Issue [WTI-489]

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

Former-commit-id: 7f95797d92df3a04655147c219829c6ee2c64642

Former-commit-id: 231e295f9388e3e3411891e1818df42ce2272f4b

  1. … 6 more files in changeset.
Cleanup Ringtoets.Common Test projects Related to Issue [WTI-737]

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

Former-commit-id: 02d2996cc8d4c3b77b39c58f270622654bcb34c8

Former-commit-id: 1a65963e0834101684a7a91dfbed4494ac457d36

  1. … 29 more files in changeset.
Added context menu item for piping calculation groups which can be used to remove all calculations within a group. Added the creation of this context menu item in the RingtoetsContextMenuBuilder / RingtoetsContextMenuItemFactory, so that it can be reused in other failure mechanisms if desired. Related to Issue [WTI-489]

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

Former-commit-id: ecc95dbd4df83a1e6d30b39e02125518996137ca

Former-commit-id: 28ebfd1e3785de0d3c2f22d5825acabad62bdd7d

    • -0
    • +82
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 9 more files in changeset.
Merged revision(s) from branches/WTI 734 2

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

Former-commit-id: beafef2029188ea492b568c2e64e46d1eca4d711

Former-commit-id: e372daa4c852608b722b811f9be15710e0669512

    • -72
    • +269
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 21 more files in changeset.
Adapted final tests Related to Issue [WTI-734]

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

Former-commit-id: 129cc9c2cb262eb345db8489c554f5fca50450f1

Former-commit-id: 2af29aff8f35df8ddf78403a5f2e874d6f96d84b

    • -72
    • +269
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 3 more files in changeset.
Introduced IImportCommandHandler and IExportCommandHandler Related to Issue [WTI-734]

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

Former-commit-id: d5887a526828b48dd53dbefb0f8b742a4a201581

Former-commit-id: 2e1e3cce8556401a44cc6439347698bdd21e5a60

    • -29
    • +29
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 12 more files in changeset.
- Refactored Clear methods in calculation. Related to Issue [WTI-441]

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

Former-commit-id: d05b46e443348e076fd8b5044b95717b62e2c4eb

Former-commit-id: e0adac9a16dbb1072a62d22078cf24794366d367

  1. … 26 more files in changeset.
Fixed AssertImagesAreEqual method. Changes for failing tests due to the fix. Added validation menu items for HeightStructures failure mechanism / calculation group / calculation. Related to Issue [WTI-671]

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

Former-commit-id: 99754d3ddc161bf4b1e92acc545b9b1b57abf79e

Former-commit-id: b11e389a2094031f5a7468501732059a2b89ccdd

  1. … 48 more files in changeset.
Added Validation menu items for GrassCoverErosionInwards FailureMechanism/CalculationGroup/Calculation. Related to Issue [WTI-671]

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

Former-commit-id: e56d8992f548885508417e0ca4a7a9a753b78449

Former-commit-id: 32a4fb1865132d108544488cad10c52d407b30cf

    • -10
    • +20
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 10 more files in changeset.
Code cleanup. Replaced mock of TreeViewControl with actual TreeViewControl instance where possible. Dispose SurfaceLine selection view and DikeProfile selection views (for when generating calculations) Related to Issue [WTI-634]

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

Former-commit-id: e6c6a59d721729e2c0c05006ba933b0e05f19620

Former-commit-id: e2e1fef2cb68042001aab2c8c9a639e1ea4b0139

    • -447
    • +486
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 38 more files in changeset.
Implemented Validate, Validate all in group and Validate all in FailureMechanism context menu item creation methods in RingtoetsContextMenuItemFactory. Removed validation of FailureMechanismSection as they are not required to perform a calculation. Related to Issue [WTI-671]

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

Former-commit-id: 425bc494b5bb9d61c60ed6b18415d0f56bf03ed3

Former-commit-id: 05c43e9cbf19bdb02d966dfbb1f43bd53ee9d634

    • -1
    • +374
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 11 more files in changeset.
Cleanup of using directives. Added licenses to Ringtoets.Integration.Forms.Test/TreeNodeInfos and Ringtoets.Integration.Plugin.Test/ViewInfos Related to Issue [WTI-510]

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

Former-commit-id: 4c15c926fe9e51cea8f99f34bdef05cad2bc3aff

Former-commit-id: eda020a8fbcf506bf6735b439336c8cbaf69445c

  1. … 30 more files in changeset.
Added InvalidTypeParameterException to throw when type parameter constraints fall short. Extracted EnumDisplayWrapper to wrap enum values with a DisplayName. Added TestFailureMechanism which can be used in tests. Added documentation and tests. Related to Issue [WTI-513]

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

Former-commit-id: 09b92c65cbf4b57c58a9ddb0105df2888ffc87f8

Former-commit-id: 0640a0cf7ea9ea521b7a3eae69d8d002fe808e62

    • -19
    • +1
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 39 more files in changeset.
Moved Standalone related data classes to Ringtoets.Common.Data. Removed type parameter from FailureMechanismBase and introduced IHasSectionResults<out T> so that covariance can be used. Added SimpleFailureMechanismResultView where results for assessment layer 2a can be chosen from a combobox. Added CustomFailureMechanismResultView where results for assessment layer 2a can be filled in. Related to Issue [WTI-513]

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

Former-commit-id: a0c023cfd8e201e01819d377baf4dcdbdbfd0125

Former-commit-id: 1f2e07e99168890233398dbed7b00bc94b223c12

  1. … 74 more files in changeset.
Changed structure of validation to show tooltip message when disabled. Related to Issue [WTI-609]

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

Former-commit-id: a27c9ca0459b998d7b9009ff7f39b4aee10251aa

Former-commit-id: 50c8d028f0d4aa88a582bc35372f6e397488a393

    • -251
    • +382
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 19 more files in changeset.
- Changed variable name to from *removeAllViewsForItemAction* to *onChangeAction* - Merged code and tests for enabled and disabled ChangeRelevancyItem Related to Issue [WTI-458]

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

Former-commit-id: e237d998fe489d3c6f6c8cf9c751f5362c8622ab

Former-commit-id: 330dd74cc9f3f2f7892cf7daed58b78ee9d64fea

    • -34
    • +8
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 6 more files in changeset.
- Moved "IsRelevant" from FailureMechanism to ContextMenuBuiders - Added tests for contextMenus Related to Issue [WTI-458]

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

Former-commit-id: 1c91578858ac6f7bc4d31085932e88724bf58505

Former-commit-id: 6a4af56cbbbf0a1a8a35cc5f2238b5cec62b168e

    • -0
    • +30
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 6 more files in changeset.
Disable GEKB perform all calculations context menu item in failure mechanism when there are no HRD or failure mechanism sections set.

Related to Issue [WTI-609]

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

Former-commit-id: 0a881b6924cf73f12efca2846bb8254675c3061a

Former-commit-id: d496d48a4ff1fb7872c06bba55519edf0557f4d4

    • -2
    • +72
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 7 more files in changeset.
- Added tests for contextMenus Related to Issue [WTI-458]

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

Former-commit-id: be43634d1da8e34a3532f029cd8f68ed38214ed8

Former-commit-id: 9dda932f7bb8e2bd4fd9f4d0ec14449eb9d5c459

    • -4
    • +140
    ./RingtoetsContextMenuBuilderTest.cs
  1. … 2 more files in changeset.