Core.Common.Gui.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* Inlined PropertyInfoExtensions.CreateObjectProperties, removing PropertyInfoExtensions in the process. Related to Issue [WTI-1039]

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

Former-commit-id: 745ee05df41f4dc8233682d380095f39b00bf3b7

Former-commit-id: c329526eb80ba0e8a21a95fd0c4ad5ba04db4ab5

    • -130
    • +0
    ./Plugin/PropertyInfoExtensionsTest.cs
  1. … 3 more files in changeset.
Set Data property of IObjectProperties from default value for CreateInstance and documented the requirement. This removes need for PropertyInfoExtensions to set Data if it was null after creation (not possible anymore). Related to Issue [WTI-1039]

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

Former-commit-id: aed10cd7c6664cd3e73418b733c737dfcc7d28d5

Former-commit-id: 2e19647787343264ad8b88164781db5d12475404

    • -4
    • +4
    ./Plugin/PropertyInfoExtensionsTest.cs
  1. … 2 more files in changeset.
- Upgraded Project ToolsVersion="4.0" to ToolsVersion="14.0" - Ignored ".vs" folder in trunk paired with tang_ds

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

Former-commit-id: beca2918e38aa1e3900b6bc17a0df7e8d1f9c8e3

Former-commit-id: 681a7a3764b91f67e1e97dc0d30f930c901276e0

  1. … 219 more files in changeset.
Changes after review. Related to Issue [WTI-1016]

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

Former-commit-id: 7eea8f3346f21c5f0ae2283c6d7eeb94f731f07c

Former-commit-id: 3cd3e2fe4ed82c29d50bcd0f2aeae9999e698f04

    • -3
    • +9
    ./ContextMenu/GuiContextMenuItemFactoryTest.cs
  1. … 7 more files in changeset.
Tests added Related to Issue [WTI-941]

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

Former-commit-id: b9c121fdc2fd3c63554e38ab523e638589acaa75

Former-commit-id: 4d2b0cd44ac613c1d9c86343439e3912ce33311f

    • -7
    • +64
    ./Forms/MessageWindow/MessageWindowTest.cs
Incorporated feedback from tester: - Removed filepath from the failure message when the export fails. Adjusted affected tests - Applied attached patch in the issue: consistency in parameter naming Related to Issue [WTI-824]

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

Former-commit-id: c9559ff7454008c46541f6d7b21fce1cc7f84a9d

Former-commit-id: 7fc684bcd0da7d13cd65dc64f38df2f1aec593e5

  1. … 3 more files in changeset.
Only show MessageWindowDialog when: - DoubleClick on left mouse button and selected indexes > -1 - Enter, but prevent propagation

Fixed typo in test name

Related to Issue [WTI-941]

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

Former-commit-id: 2a72b273c1181f628bb497d48678fa517748598f

Former-commit-id: 676b7821e4a3ee942f809312ccef5629d7bd19de

    • -21
    • +60
    ./Forms/MessageWindow/MessageWindowTest.cs
  1. … 1 more file in changeset.
Added custom import item to context menu builder. Related to Issue [WTI-1016]

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

Former-commit-id: 59a288a9d96d23392973012c5890bd06384efa68

Former-commit-id: 38a6022b314a80dad94012fdc5aa6ca3256c5174

    • -0
    • +42
    ./ContextMenu/ContextMenuBuilderTest.cs
    • -8
    • +8
    ./ContextMenu/GuiContextMenuItemFactoryTest.cs
  1. … 4 more files in changeset.
Added custom import item to factory. Related to Issue [WTI-1016]

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

Former-commit-id: 0dd3cdabbb2e17e6efd618a6b612e148c9a57f2b

Former-commit-id: acc8fbba41174c7b72cdb80f3db753aed651a186

    • -0
    • +130
    ./ContextMenu/GuiContextMenuItemFactoryTest.cs
  1. … 1 more file in changeset.
Cleanup after removal of some properties in PropertyInfo Related to Issue [WTI-1039]

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

Former-commit-id: d5cd023865887a9ae8d4552255123f153b5c518b

Former-commit-id: 3779827f9c612565b3ccf77cc0f9f9c63e772281

  1. … 10 more files in changeset.
Removed AfterCreate property Related to Issue [WTI-1039]

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

Former-commit-id: 52b957842d94d4c884f2a5bd30e896e4a7f81aab

Former-commit-id: 9aaf5cd1cd607c31f214827721b63b67bc0397fd

    • -18
    • +0
    ./Plugin/PropertyInfoExtensionsTest.cs
  1. … 17 more files in changeset.
Removed AdditionalDataCheck property from PropertyInfo Related to Issue [WTI-1039]

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

Former-commit-id: 8e0924d5620700b5e1ee0ce8d72fbdc4c14799b2

Former-commit-id: 9d5c570cdc26a775324a51fe5735bdfc82a2dcf4

  1. … 16 more files in changeset.
Removed GetObjectPropertiesData property from PropertyInfo. Related to Issue [WTI-1039]

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

Former-commit-id: 97f3c7becd8aefcdda1c596900de24d5bbbda723

Former-commit-id: 466e561ac1cf5b078d177e93731cf09d36dcd156

  1. … 10 more files in changeset.
Replaced calls to GetObjectPropertiesData with calls to CreateInstance. Updated PropertyInfoExtensions to just set Data based on the sourceData when it wasn't already set in the CreateInstance function. Related to Issue [WTI-1039]

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

Former-commit-id: d74bdc2465940c63fe37c43aad0fff0690cac57a

Former-commit-id: e6a7f359cc4f720ee65c2943ea7c0662351ad090

    • -13
    • +50
    ./Plugin/PropertyInfoExtensionsTest.cs
  1. … 22 more files in changeset.
Introduced CreateInstance property on PropertyInfo Extended PostBuildEvent of Application.Ringtoets.csproj with reference to VS2015 common tools and replaced wrong double quotes. Related to Issue [WTI-1039]

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

Former-commit-id: 1273664b54dbec40146410afb6d93fb89d40cc60

Former-commit-id: 20a35c7e91ea5e5ef8725243c83f9c18feee7e74

  1. … 4 more files in changeset.
- Updated log message when exporting a file - Adjusted affected tests

Related to Issue [WTI-824]

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

Former-commit-id: 61ec513d14180de5f5e54ac62abbffd763a1416c

Former-commit-id: 725b9a67816d6589b2208d663cdcb82435f53d53

  1. … 3 more files in changeset.
Improved scenario description in test names. Related to Issue [WTI-941]

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

Former-commit-id: a385e061392bcf3cf346c9e9ffc8056c39195c10

Former-commit-id: 26b99d545eccc6401f738e39708ada21170b5c67

    • -3
    • +6
    ./Forms/MessageWindow/MessageWindowTest.cs
Extended tests for MessageWindow Related to Issue [WTI-941]

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

Former-commit-id: 0158b3152bb36d2391a870015d5ad42e6b110c4f

Former-commit-id: c70dc348b9aeb85f6db7e2a5c1a0309ff8763707

    • -1
    • +150
    ./Forms/MessageWindow/MessageWindowTest.cs
Added feature to open message dialog when double clicked or on Key.Enter Related to Issue [WTI-941]

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

Former-commit-id: 56a97027502853539ff0cc0387c15f080ff68630

Former-commit-id: 2853a366b90d1f7ded901de40accfaedce7e530c

    • -34
    • +145
    ./Forms/MessageWindow/MessageWindowTest.cs
  1. … 3 more files in changeset.
Reordered methods of MessageWindow using regions Moved the initialization of a virtual member from the constructor to the OnLoad event. Related to Issue [WTI-941]

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

Former-commit-id: 3c4c56c5b223db3a34b2717b16188d4ec932e7f7

Former-commit-id: 92ec2c789e33a9a06326320c1a7ce94f314c282b

    • -1
    • +27
    ./Forms/MessageWindow/MessageWindowTest.cs
  1. … 2 more files in changeset.
Changes after review 1312, paired with berg_jl Related to Issue [WTI-1008]

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

Former-commit-id: d8367acbc19bedad11ce4429457a710c1652e0c5

Former-commit-id: faeb9649a7840d25c65ff895f4deec6c2f0f8926

    • -4
    • +4
    ./Forms/ViewHost/AvalonDockViewHostTest.cs
  1. … 3 more files in changeset.
Performed Resharper cleanup

Related to Issue [WTI-1008]

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

Former-commit-id: 23d17fd6b5257a25b167839d9106eea6fa7be554

Former-commit-id: 4a817a07bc646924777514e78010c89bc0fdf9b5

    • -1
    • +1
    ./Commands/StorageCommandHandlerTest.cs
    • -18
    • +8
    ./Forms/ViewHost/AvalonDockViewHostTest.cs
  1. … 113 more files in changeset.
fixed some of the issues found by visual studio code analysis. Related to Issue [WTI-1008]

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

Former-commit-id: fef2b3d374da75bd0bf1cb0a7e0052ed2ed1b76a

Former-commit-id: 78097e95edb99bbc2b4ba6a5e9ce21be8d5f5d39

    • -4
    • +4
    ./Converters/PngToIconConverterTest.cs
  1. … 15 more files in changeset.
Connected the FailureMechanismContribution properties to the RingtToetsPlugin - Includes test - Extended PropertyInfo AfterCreate method to be able to access the context object that's being wrapped by the ContextProperties. Fixed failing tests

Related to Issue [WTI-1028]

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

Former-commit-id: dc62df606d73216a7f493f5edb3d0183e0c2eb84

Former-commit-id: 30a50bb55db120b77c3086311cf257be4dbee72a

    • -1
    • +4
    ./Plugin/PropertyInfoExtensionsTest.cs
  1. … 5 more files in changeset.
Fixed some constraint violations. Related to Issue [WTI-1008]

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

Former-commit-id: 2bc863561f91a1b479611b2197c0ed12a5b633c6

Former-commit-id: 21c39d763b9a581faebfede2e66e3d13938822e4

    • -7
    • +7
    ./Forms/ViewHost/AvalonDockViewHostTest.cs
  1. … 14 more files in changeset.
Fixing Resharper code issues. Related to Issue [WTI-1008]

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

Former-commit-id: ed7bdaf426b549dfa60896ccf59854697ad97eff

Former-commit-id: fa5e42a5f1f12ee8bcf3aefb993b7da5b4e4e3f7

    • -2
    • +3
    ./PropertyBag/DynamicPropertyBagTest.cs
  1. … 28 more files in changeset.
moved down test class in test Reviewed by: bouvrie Related to Issue [WTI-791]

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

Former-commit-id: f9b5ad2cf76a8b68100f82f2f279db40a1063e0b

Former-commit-id: 2e6c0cfa769cab771cc0583a52ec9b214d4a2b51

    • -5
    • +5
    ./Forms/ViewHost/AvalonDockViewHostTest.cs
* Improved how AvalonDockViewHost compensates for the lack of 'GotFocus' and 'FocusLost' events across the WPF -> Forms boundary. ** FocusLost events from WPF frame now used to trigger validation event in Forms IView implementations (currently, only the one that was active at the time.) Related to Issue [WTI-791]

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

Former-commit-id: b0c78461e20b26072d1b5cebf5d6029abd9dbe0a

Former-commit-id: 9b59fc807c44636bc98b28582f8f9a826b656cac

    • -0
    • +57
    ./Forms/ViewHost/AvalonDockViewHostTest.cs
  1. … 2 more files in changeset.
- Renamed tests to reflect the situation better - Added some additional code in the SelectionEditor based on janssen input - Reverted proposed refactoring of selectableHydraulicBoundaryLocation, because distance was not visible anymore in the dropdown list after selecting an entry.

Reverse merged revision(s) 6890, 6854-6853 from trunk:

Incorporated comments kleijn, added missing tests to improve coverage:

- GetReferenceLocation()

- GetHydraulicBoundaryLocations()

Related to Issue [WTI-989]

........

Incorporated comments review 1223:

- Refactored IHasHydraulicBoundaryLocationProperty such that implemented classes do not depend on SelectableHydraulicBoundaryLocation

- Moved logic for generating the list of HBL to display in the dropdown menu to the HydraulicBoundaryLocationEditor. Added additional tests to verify behaviour

Related to Issue [WTI-989]

........

Incorporated comments review 1223:

- Extended SelectionEditor to convert from the PresentationType to a DomainType

Related to Issue [WTI-989]

........

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

Former-commit-id: cfd7916a4cf41ecb058a1c35acee2e5cb966b362

Former-commit-id: f2caaca84d257cc42a597b921f552c644c6a1434

    • -63
    • +8
    ./UITypeEditors/SelectionEditorTest.cs
  1. … 15 more files in changeset.
Incorporated comments review 1223: - Refactored IHasHydraulicBoundaryLocationProperty such that implemented classes do not depend on SelectableHydraulicBoundaryLocation - Moved logic for generating the list of HBL to display in the dropdown menu to the HydraulicBoundaryLocationEditor. Added additional tests to verify behaviour Related to Issue [WTI-989]

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

Former-commit-id: 367ce826f1c97d28f188e49a4c2176f8d0e4ce10

Former-commit-id: c0aea88388eb17665a641d6c7b85ef7d33ca72c3

    • -8
    • +63
    ./UITypeEditors/SelectionEditorTest.cs
  1. … 16 more files in changeset.