Core.Common.Gui.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Refactored PropertyResolver to act like the DocumentViewResolver. Related to Issue [WTI-172]

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

Former-commit-id: 040d34d91d2f653c75117b50f84ed430fb4a70e2

  1. … 10 more files in changeset.
Fixed tests. Fixed test names. Made methods in CommandHandler work on passed object rather than gui selection. Related to Issue [WTI-172]

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

Former-commit-id: 04e8c87d71074cc89f0f0ccec260baa2fdd76c12

    • -2
    • +13
    ./ContextMenu/ContextMenuBuilderTest.cs
  1. … 8 more files in changeset.
Commit files which were conflicted. Added test for DeleteItem and have its state based on the NodePresenter.CanRemove() method. Related to Issue [WTI-172]

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

Former-commit-id: e1b9ac9188a497a20497a937d321164e42fc310b

    • -1
    • +50
    ./ContextMenu/TreeViewContextMenuItemFactoryTest.cs
  1. … 4 more files in changeset.
Removed need of TestContextMenuBuilderProvider by introducing: CustomItemsOnlyContextMenuBuilder which only constructs custom items and ignores the rest. Introducing IContextMenuBuilder so that the builder can be easily mocked in tests. Related to Issue [WTI-172]

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

Former-commit-id: 6dcbf607574f724ec28bec46dc3f87f49c1e3210

    • -20
    • +35
    ./ContextMenu/ContextMenuBuilderTest.cs
    • -21
    • +41
    ./ContextMenu/GuiContextMenuItemFactoryTest.cs
    • -2
    • +0
    ./ContextMenu/StrictContextMenuItemTest.cs
    • -67
    • +0
    ./TestContextMenuBuilderProviderTest.cs
  1. … 25 more files in changeset.
Set default platform to x86 (instead of AnyCPU) Removed configuration *CreateInstallerWithDemoProject* in projects (release was used anyways) Related to Issue [WTI-148]

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

Former-commit-id: 2fb0ca748dced07d7231dcbf87ed9885a248fffb

  1. … 72 more files in changeset.
Expand all and collapse all context menu item determine state on children of tree node. Related to Issue [WTI-172]

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

Former-commit-id: 8fcffebc4c513b3e1277f9a1d60311d11f019e5a

    • -7
    • +30
    ./ContextMenu/ContextMenuBuilderTest.cs
    • -12
    • +41
    ./ContextMenu/TreeViewContextMenuItemFactoryTest.cs
  1. … 13 more files in changeset.
Implemented Delete item in context menu of AssessmentSectionBase and PipingCalculationContext Related to Issue [WTI-172]

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

Former-commit-id: 547753dad15876d77a925a438819eceb41b50682

    • -34
    • +40
    ./ContextMenu/ContextMenuBuilderTest.cs
  1. … 11 more files in changeset.
Added context menu for AssessmentSectionBase. Fixed CanShowPropertiesForGuiSelection so that it also return true for inheriting classes. Related to Issue [WTI-172]

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

Former-commit-id: 089b49a78b7577e8b09e4d4fd67884942a2821b3

    • -0
    • +75
    ./GuiCommandHandlerTest.cs
  1. … 13 more files in changeset.
Fixed creation of installer with demo projects added Related to Issue [WTI-95]

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

Former-commit-id: 81eb7226a7bfb9a01d5b8a9f2adac6514cbc8874

  1. … 71 more files in changeset.
- Created configuration for test coverage (it requires PDB files) - Cleaned up cofngiration for *CreateInstallerWithDemoProject*, it is an equivalent of *Release* Related to Issue [WTI-64]

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

Former-commit-id: c5f32c4f489636d5ebe6acddc774a15a5e3ef418

  1. … 73 more files in changeset.
Added TestContextMenuBuilderProvider for easier testing. Added Context menu to PipingCalculationContextNodePresenter. Related to Issue [WTI-172]

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

Former-commit-id: d7e586b8b19b2d5dcc2bf9fc0c6a4a6d8c6a762c

    • -0
    • +67
    ./TestContextMenuBuilderProviderTest.cs
  1. … 13 more files in changeset.
Replaced context menu on PipingSurfaceLineCollectionNodePresenter with one constructed through ContextMenuBuilder. GuiContextMenuItemFactory now only requires the IGuiCommandHandler for constructing. Implemented CanExportFromGuiSelection and CanShowPropertiesForGuiSelection on GuiCommandHandler to determine menu item state. Related to Issue [WTI-172]

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

Former-commit-id: 5654cc63263c32cbd89a218c2f4c2f6802f12b38

    • -14
    • +13
    ./ContextMenu/ContextMenuBuilderTest.cs
    • -159
    • +34
    ./ContextMenu/GuiContextMenuItemFactoryTest.cs
  1. … 16 more files in changeset.
Made PipingFailureMechanismNodePresenter use the ContextMenuBuilder. Introduced StrictContextMenuItem to make people aware of setting the Properties for a context menu item. Related to Issue [WTI-172]

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

Former-commit-id: 1d6b6ebfbee31c71893c3cb4a3fa71e9e43ac4b5

    • -4
    • +4
    ./ContextMenu/ContextMenuBuilderTest.cs
    • -0
    • +42
    ./ContextMenu/StrictContextMenuItemTest.cs
  1. … 10 more files in changeset.
project and namespaces corrected from *Tests to *Test. Related to Issue [WTI-148]

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

Former-commit-id: ad3feb5f5146dd0e8b1d11fc062143c4d2d3cc08

    • -1
    • +1
    ./ContextMenu/ContextMenuBuilderTest.cs
    • -1
    • +1
    ./ContextMenu/GuiContextMenuItemFactoryTest.cs
    • -1
    • +1
    ./ContextMenu/TreeViewContextMenuItemFactoryTest.cs
    • -0
    • +93
    ./Core.Common.Gui.Test.csproj
  1. … 214 more files in changeset.
Added tests for adding separators to the context menu through the ContextMenuBuilder. Related to Issue [WTI-172]

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

Former-commit-id: 35fabf7b8a94fdd2f7cd1c511e9a726d88d93fcf

    • -1
    • +79
    ./ContextMenu/ContextMenuBuilderTest.cs
Added possibility to add an item to the ContextMenu which opens a view, through the ContextMenuBuilder. Related to Issue [WTI-172]

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

Former-commit-id: 23f1e30cd649bd1977eed68cf8e7c9e05b1e2d97

    • -2
    • +47
    ./ContextMenu/ContextMenuBuilderTest.cs
    • -49
    • +122
    ./ContextMenu/GuiContextMenuItemFactoryTest.cs
  1. … 14 more files in changeset.
Have ContextMenuItemFactory constructors require necessary context information instead of having to provide it to each method repeatedly. Removed ICommandHandler requirement for PlaceholderWithReadonlyNameNodePresenter.

Related to Issue [WTI-172]

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

Former-commit-id: b9ed449af5de18bdf89fe62799989b15c841084a

    • -17
    • +54
    ./ContextMenu/GuiContextMenuItemFactoryTest.cs
    • -5
    • +28
    ./ContextMenu/TreeViewContextMenuItemFactoryTest.cs
  1. … 7 more files in changeset.
Split up the ContextMenuItemFactory into a GuiContextMenuItemFactory and a TreeViewContextMenuItemFactory, which are responsible for creating gui context or treeview context dependent menu items. Renamed IContextMenuProvider to IContextMenuBuilderProvider to better meet the intention of the interface. Related to Issue [WTI-172]

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

Former-commit-id: cd15bb154bba2f952304f8a8955dc6f922abf1c1

    • -0
    • +219
    ./ContextMenu/ContextMenuBuilderTest.cs
    • -0
    • +260
    ./ContextMenu/GuiContextMenuItemFactoryTest.cs
    • -0
    • +71
    ./ContextMenu/TreeViewContextMenuItemFactoryTest.cs
  1. … 16 more files in changeset.
reverted changes from rev 1009 for Tests projects in order to keep paths for the test-data files. Also they are not important to keep in Solution\bin folder. UMLs project reverted as well. Related to Issue [WTI-148]

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

Former-commit-id: b5e875391c3b9f3c190b7078802e7bb704520924

  1. … 35 more files in changeset.
all projects are build into SolutionDir\bin directory. Installer is also redirected to this dir. Related to Issue [WTI-148]

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

Former-commit-id: b930a00c4632ec165638f460385728583e825e17

  1. … 71 more files in changeset.
Introduced ContextMenuBuilder in stead of the ContextMenuFactory. Builder is responsible for calling ContextMenuItemFactory methods to configure a ContextMenu. Can be used to construct a menu using items which require the gui context, to add custom items and to add separators. Removed ITreeNode parameter of GetChildNodeObjects (only based on data)Moved resources from the Ringtoets.Common.Forms to Core.Common.Gui Removed unused methods in ContextMenuStripExtensions Added expand all and collapse all items to the ContextMenuItemFactory. Moved ContextMenuBuilder and ContextMenuItemFactory to sub folder. Related to Issue [WTI-172]

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

Former-commit-id: 9eefacfdd318334fb06e17b8a94422bee07e4674

  1. … 58 more files in changeset.
Added click handler for the properties item in the context menu. Related to Issue [WTI-172]

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

Former-commit-id: 51836ca424bda6e9d6768ffc035270e201b3c929

    • -0
    • +243
    ./ContextMenuItemFactoryTest.cs
  1. … 1 more file in changeset.
Prevent .pdb getting copied for anything but Debug in test projects. Related to Issue [WTI-64]

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

Former-commit-id: 7120d5b1b5e117098f2ef37a9cd2805a970d195d

  1. … 29 more files in changeset.
improvements followed by the review. Related to Issue [WTI-147]

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

Former-commit-id: f5f01b241a44679110c9e705941ff86943b70b8b

  1. … 2 more files in changeset.
Moved *nunit.framework* (from 2.5.11) to NUGet (to version 2.6.4) - Fixed incorrect order of *SoilProfiles* and *SurfaceLines*. With the older version of NUnit, the test failed to identify this incorrect order Related to Issue [WTI-100]

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

Former-commit-id: 63d5be1e75f3e481c99b802445511d545c4cd668

  1. … 59 more files in changeset.
implemented an ability to hide progress bar Related to Issue [WTI-147]

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

Former-commit-id: 0fe156153ecc2015fec189c3885c72eb1230001b

  1. … 2 more files in changeset.
* Implemented review comments of WTI-Review-130: ** Fixed output paths for projects; ** Removed unsupported configurations; ** Improved comments. Related to Issue [WTI-139]

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

Former-commit-id: c9e89aad465317fe084794b2643f5ba36cbdc489

  1. … 59 more files in changeset.
* Created new configuration CreateInstallerWithDemoProject * Create Ringtoets.Demo project to add testing utils to the application ** Testing utils only available in Debug, Release and CreateInstallerWithDemoProject configurations, through the INCLUDE_DEMOPROJECT preprocessor symbol

Related to Issue [WTI-139]

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

Former-commit-id: 148370829781060c53c54af79d47d20e201453f3

  1. … 75 more files in changeset.
Removed redundant comment Related to Issue [WTI-104]

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

Former-commit-id: 1422becb7be9e6778d38fbdc1bdee9afca799008

* Changed ExpandableArrayConverter to show child properties with index starting from 1 instead of 0. * Improved test coverage for ExpandableArrayConverter Related to Issue [WTI-20]

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

Former-commit-id: 5dddedd73719227f9924d82d626a99fa1a15cec9

    • -0
    • +91
    ./ExpandableArrayConverterTest.cs
  1. … 1 more file in changeset.