Core.Common.Gui.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
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@6853 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: de1efb1861f113550979aa846c876daba7ecf729

Former-commit-id: 1793e3095ecdcd557cb9122ff661a9e8c05eea86

    • -1
    • +1
    ./UITypeEditors/SelectionEditorTest.cs
  1. … 1 more file in changeset.
* Extended IViewInfo with CreateInstance injectable method, to allow for view with a non-default constructor. * Moved data clear code due to a change in the FailureMechanismContribution.Norm to FailureMechanismContributionNormChangeHandler (out of FailureMechanismContributionView) * FailureMechanismContributionView now used FailureMechanismContributionNormChangeHandler through dependency injection. ** FailureMechanismContributionView extended with Validating, Validated and KeyDown event handling. Related to Issue [WTI-791]

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

Former-commit-id: 7cb46c0bc787b1a0749b9b51b70d264b621febde

Former-commit-id: 6f08297a3604b7da67674e39053e4b17274a8e67

  1. … 19 more files in changeset.
Removed some logic which checked whether project was null on IProjectOwner (Not possible anymore). Updated doc and method names for more consistency. Related to Issue [WTI-961]

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

Former-commit-id: a786487651e30f71544fd103a075c42a4d6cc2be

Former-commit-id: 24961c5bd7492e96c3e84f71e7da7d348ffdea24

    • -56
    • +31
    ./Commands/StorageCommandHandlerTest.cs
  1. … 8 more files in changeset.
Added BeforeProjectOpened event to IProjectOwner to be able to perform actions with the old project before it is changed. Used this for closing currently open views. Related to Issue [WTI-961]

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

Former-commit-id: 71e94ad9c3009b4bc18779c0320c56d6171f3922

Former-commit-id: a1cc30f072494436c6d941fe96109d28580f80e3

  1. … 2 more files in changeset.
IProjectOwner now should be implemented in such a way that null can never be returned or set. Introduced StagedProject in StorageSqLite to always have a coupling between the model and the loaded entity. connectionString is no longer maintained in StorageSqLite, but the filepath is passed along the method calls. StorageCommandHandler is responsible for logging feedback to the user. Removed interface methods regarding closing of a project (invalid use case in Ringtoets) Added SetProject method in IProjectOwner and removed setters for Project and ProjectPath, so that Project and ProjectPath are always set together. Related to Issue [WTI-961]

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

Former-commit-id: ca0bf302faa996815ebc7f8d434ad15fb38246db

Former-commit-id: 679b97e980241449cfd6da32ba0fd19b28e85029

    • -173
    • +103
    ./Commands/StorageCommandHandlerTest.cs
  1. … 18 more files in changeset.
Added missing tests Related to Issue [WTI-956]

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

Former-commit-id: bb4beba077b40fbb14cb495eefcb2fd10d56a757

Former-commit-id: fd62e072ea8a2b0316a7a8d1a8835c9735dd39ff

    • -0
    • +62
    ./Forms/MainWindow/MainWindowTest.cs
Improved logic related to opening/closing toolviews in MainWindow Related to Issue [WTI-956]

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

Former-commit-id: c09cff44fb0a365567679514e18d143baaf115a6

Former-commit-id: 13b5989615248c69a91c8c4f9245daadb268a839

  1. … 2 more files in changeset.
Moved SelectionEditor To Core.Common.Gui so we can use it in Core.Plugins. Related to Issue [WTI-957]

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

Former-commit-id: 303969b335ae7c6a2d5da1d52885f9facd60fd4d

Former-commit-id: 1151e61c7ec66366ab62ad5883e1ce14806c0942

    • -0
    • +140
    ./UITypeEditors/SelectionEditorTest.cs
  1. … 17 more files in changeset.
Ensured outdated selections are cleared in GuiCore Related to Issue [WTI-956]

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

Former-commit-id: 058f511f42834570ae7bb94560447f629d526e68

Former-commit-id: 6bcfccf39489753b4bcc37fcb77bb1a6aed3235e

  1. … 1 more file in changeset.
Adding assert to test of *ActivityProgressDialog* Related to Issue [WTI-959]

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

Former-commit-id: d554bdf03d219c2556b3eed45d4a80108e05bbdf

Former-commit-id: 2de524ca0da125fda16ae0ff3dbf61000f11d0ca

Fixed (and improved) failing test Related to Issue [WTI-956]

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

Former-commit-id: 4be9ccf9a6b69f6887790e4083a2985c05ff836c

Former-commit-id: b96af9d269cae7182fba107fbfc08f6784224c62

Implemented logic for preventing redundant PropertyGridView updates Related to Issue [WTI-956]

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

Former-commit-id: 3bb5bd5ea54173c6a8d916666747945c9a01d400

Former-commit-id: 6882458479a2ad8efad22b1d2d8d7f907c6abd87

  1. … 1 more file in changeset.
* Extended ViewClosed related tests in AvalonDockViewHostTest * Removed (untested) selecting synchronization logic from GuiCore Related to Issue [WTI-956]

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

Former-commit-id: 9f59f012453ad98517fe8818e47f4a2c16d24839

Former-commit-id: 2d178c707bd09bea0d798c4fc924f968c27dc6c9

    • -2
    • +12
    ./Forms/ViewHost/AvalonDockViewHostTest.cs
  1. … 1 more file in changeset.
Extended ViewOpened related tests in AvalonDockViewHostTest Related to Issue [WTI-956]

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

Former-commit-id: f813d4c71a5d51d53844958916fc7bc0522bbeba

Former-commit-id: 3f5d01093925c30476c7df6f35de8debb09d4b3f

    • -2
    • +12
    ./Forms/ViewHost/AvalonDockViewHostTest.cs
Removed application selection from PropertyGridView Related to Issue [WTI-956]

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

Former-commit-id: 7331eaeb8f3ddc65daff014223df82b8e2adaf2f

Former-commit-id: d803672cea84bf60a3965154464106590d26be71

  1. … 2 more files in changeset.
Reverted some changes Related to Issue [WTI-959]

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

Former-commit-id: 8bc12e1a76adf6990d64aa6e54a74d54137a9c40

Former-commit-id: 1b67b89ac67f008f24298b38482f667481ee3293

  1. … 3 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

    • -6
    • +6
    ./Forms/ViewHost/AvalonDockViewHostTest.cs
  1. … 28 more files in changeset.