Core.Common.Gui.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Separated the responsibilities of OpenExistingProject: - Parameterless OpenExistingProject renamed to GetExistingProjectFilePath and is now responsible to get a file path pointing to the user selected file, instead of asking and loading the project - Added tests to verify the behaviour of the GetExistingProjectFilePath - Adjusted the usage of parameterless OpenExistingProject() into a combination of GetExistingProjectFilePath and OpenExistingProject Related to Issue [WTI-1095]

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

Former-commit-id: b165cbf531530ff9ff9ce4ac815a07c10f9fb8be

Former-commit-id: 0b88ca194e85df8cda0fa374d3c2887574ba5a73

    • -0
    • +75
    ./Commands/StorageCommandHandlerTest.cs
  1. … 3 more files in changeset.
Review related suggestions Related to Issue [WTI-1144]

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

Former-commit-id: 1727fc14aecff4df000b090c26b960939e388d0e

Former-commit-id: c2321b11dec0e3dde4240ccf1e35c30d68b7dc28

  1. … 4 more files in changeset.
Review suggestion - Explicit types - Extended tests - Moved UseCustomSettingsHelper to Core.Common.Gui.TestUtil Related to Issue [WTI-1091]

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

Former-commit-id: ff142b1c5f7f09290831c940e8089533a7250a52

Former-commit-id: c7bda8c1d641aadd567c2a4c2c746816149f4c49

  1. … 13 more files in changeset.
Improvements after review. Related to Issue [WTI-1133]

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

Former-commit-id: 331f6ea0cfe5494ebfc1e4fb917ee42212e8a114

Former-commit-id: e779a2129e8567975f4f85e6bb8e1ac14bd3bc43

  1. … 25 more files in changeset.
Added messages in the GuiImportHandler and GuiUpdateHandler Related to Issue [WTI-1070]

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

Former-commit-id: ca4f344a6a1c7b7692057be7598d2f27cbd267a3

Former-commit-id: c89d511fb3f44f799b397c308776764de9e8b7ab

  1. … 5 more files in changeset.
Added missing tests Related to Issue [WTI-1070]

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

Former-commit-id: 0d69b060128a9d3195139d7159b5b068a7446e3c

Former-commit-id: 76dec918c4a1c9232f8e614f6e50b5bb1caa8746

    • -0
    • +147
    ./Plugin/UpdateInfoTest.cs
Reverted PropertyGridView re-attaching IObserverable Related to Issue [WTI-1144]

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

Former-commit-id: ee0a5be13469faadc9cbf84489cb9cb11b100a38

Former-commit-id: 5a3acffe063f8c5c541c1efcba5c3d64241767c6

  1. … 1 more file in changeset.
- Used nameof methods instead of random path to create test file names. - Bubbled IOException when trying to delete a test file and it fails so we know that the file is not deleted. Paired with @janssen

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

Former-commit-id: e808c5751086faf8a2b72d918e1074adb5044314

Former-commit-id: 4ba1926135f291f4b4a4ecb3debc1e7712f492c3

    • -4
    • +4
    ./Commands/StorageCommandHandlerTest.cs
  1. … 25 more files in changeset.
* More usage of Scratchpad folder for writing files. Related to Issue [WTI-1088]

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

Former-commit-id: 8856b7fab3e3f8af7ceee814491404db5552b75f

Former-commit-id: 1e71081ef1143d371c46702fc8455722cf548b1e

    • -13
    • +20
    ./Settings/SettingsHelperTest.cs
  1. … 8 more files in changeset.
Fixed bug in MapControl where the map was not correctly updated when a new MapData was set and notified Fixed XMLdoc typo Modified PropertyGridView to Detach and Attach to the found IObserverable Extended tests of PropertyGridView Related to Issue [WTI-1144]

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

Former-commit-id: b291ad2bc0f1164df6892e0333acc993d03cab5c

Former-commit-id: 52d298155154293f5875dad657eaba093190d2e4

  1. … 4 more files in changeset.
Made DoAppend_LogMessageHasException_AppendTextForReferToLogfileToMessage less "scherp"

https://www.google.nl/search?q=sharpest+tool+in+the+shed&espv=2&biw=1536&bih=779&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiug52_6qPSAhWBnBoKHVLsDrAQ_AUIBigB#imgrc=BPWI7zysdO_FWM:

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

Former-commit-id: 2ea70a567ef31c6ad1d4d501488697c3fddb2c79

Former-commit-id: ad93052083a47faef661454e982d915cd5243f36

* More tests now write to Scratchpad folder instead of some test data path (or to temp) Related to Issue [WTI-1088]

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

Former-commit-id: 52b0d6344e1d95add3b4fb21d5fc94c6cabdd09f

Former-commit-id: 8971cf5a936306f7e587726a9e1c205a79758950

    • -96
    • +93
    ./Commands/StorageCommandHandlerTest.cs
  1. … 36 more files in changeset.
Review related changes => Improved plugin tests Related to Issue [WTI-1134]

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

Former-commit-id: f5aa469312db4684722f6049596a63d72297edb7

Former-commit-id: 32d9aece63ab350807335fcf496a8bf3f1e8c9f6

  1. … 12 more files in changeset.
Renamed FileFilter property to FileFilterGenerator and related variable names. Related to Issue [WTI-1070]

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

Former-commit-id: 26fa00f166cf716d8128b6e85a5e47b43d87f8ff

Former-commit-id: 205364c3370b26b230c4f5dcd7ddb5a86ce7f874

  1. … 42 more files in changeset.
Improved tests Added doc Related to Issue [WTI-1070]

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

Former-commit-id: e33e3ca062369fa4d490a724ce4d01c7cb25808d

Former-commit-id: fe81f243adbb54560e3216209f46f759905af054

    • -18
    • +95
    ./Commands/GuiImportHandlerTest.cs
    • -34
    • +110
    ./Commands/GuiUpdateHandlerTest.cs
  1. … 1 more file in changeset.
Removed obsolete FileResult. Renamed ExpectedFile to FileFilterGenerator. Updated doc and performed cleanups. Other small improvements. Related to Issue [WTI-1070]

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

Former-commit-id: c7a7dde63238ab597409a15fa06e4403571bd27c

Former-commit-id: 20d5e5224cd7fb10ee003e29defbe3c4268fe344

    • -16
    • +28
    ./DialogBasedInquiryHelperTest.cs
  1. … 63 more files in changeset.
Fixed test Related to Issue [WTI-1091]

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

Former-commit-id: e058bd4c64f3e00a3481ca50097d890828a581ab

Former-commit-id: 3a2bd02be86f95ecab3f06820f7602fb559aae0f

    • -1
    • +0
    ./Appenders/RingtoetsUserDataFolderConverterTest.cs
  1. … 2 more files in changeset.
Changed parameter postfix to params string[] to be able to create an entire path Related to Issue [WTI-1091]

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

Former-commit-id: 27209e36ab0c696556e6e15709cbc89e5c2d1f00

Former-commit-id: b9dc7a6b3099a9b307e614aa6270959d0a9a5a1f

  1. … 4 more files in changeset.
Tested singleton implementation to SettingsHelper Related to Issue [WTI-1091]

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

Former-commit-id: 5d5ff5dc26bbbe794b1f807c1271580097a6a89d

Former-commit-id: 4c001e8fbbecdf4ce5d11c446c28f13567bf74bd

  1. … 5 more files in changeset.
Fixed SettingsHelperTest Related to Issue [WTI-1091]

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

Former-commit-id: 9a0caabe41982ffe18b3466caba84e129e12e5b0

Former-commit-id: 987b57c8eb37bee26bc5b59cc85a196476ce77d6

Introduced singleton instance to SettingsHelper - Applied Instance to usages of SettingsHelper Related to Issue [WTI-1091]

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

Former-commit-id: 025ea5efc14585de7515f7c7763b4f8f33eed7c8

Former-commit-id: a5377f408d2e5809f464af8afc2438a20b41688f

    • -1
    • +1
    ./Appenders/RingtoetsUserDataFolderConverterTest.cs
  1. … 8 more files in changeset.
Changed file filter type of ImportInfo and ExportInfo to ExpectedFile. Related to Issue [WTI-1093]

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

Former-commit-id: cb521aa99f8ab2aae9fe1e8e140c89e980df0b38

Former-commit-id: 66e86c3638367473d67986cb1c8ec92faa4562a9

    • -41
    • +176
    ./Commands/GuiImportHandlerTest.cs
  1. … 47 more files in changeset.
Added verification of the database schema of DSoil-Model in which stochastic soil model names need to be unique. Introduced StochasticSoilModelCollection which has additional validation for the uniqueness of the StochasticSoilModel Name. Renamed files containing Table constants. Related to Issue [WTI-1093]

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

Former-commit-id: 80c9a9206c20d8fdfa23712d2c68f9f13cc67378

Former-commit-id: b1779cca6f30e7472f2c9620524f4f5ae6031db2

  1. … 55 more files in changeset.
Injection of DialogBasedInquiryHelper into GuiUpdateHandler. Implemented StochasticSoilModelReplaceDataStrategy Related to Issue [WTI-1093]

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

Former-commit-id: 7594a97932cca49de863f9a994f5d86c75f05107

Former-commit-id: bf89c275cc4f1a36369b701f27c764681809373f

    • -70
    • +160
    ./Commands/GuiUpdateHandlerTest.cs
  1. … 7 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
    • +252
    ./Commands/GuiUpdateHandlerTest.cs
    • -9
    • +118
    ./ContextMenu/ContextMenuBuilderTest.cs
    • -11
    • +108
    ./ContextMenu/GuiContextMenuItemFactoryTest.cs
    • -0
    • +250
    ./DialogBasedInquiryHelperTest.cs
    • -0
    • +66
    ./ExpectedFileTest.cs
  1. … 45 more files in changeset.
used inquiryHandler in StochasticSoilModelChangeHandler

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

Former-commit-id: 873c99d1516d47c31e62f0742762deb3a58664fe

Former-commit-id: 468739dae53a0cc7e346e8d81c5143dafe122dd8

    • -0
    • +252
    ./Commands/GuiUpdateHandlerTest.cs
  1. … 5 more files in changeset.
Set dialog parent for message box. Added tests for DialogBaseTest to verify parent set.

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

Former-commit-id: 6f40e200d84885a3ca30fee26f02153694fff66b

Former-commit-id: cc73e366587d3e282d221824eb03672ff8f93907

  1. … 2 more files in changeset.
Extracted classes. Added documentation.

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

Former-commit-id: a15f937368612e91dec99c99e8924a9175c989e4

Former-commit-id: bff3c009e875438a5e4dfe3798dcad7b072a15b0

  1. … 5 more files in changeset.
Added IInquiryHelper responsible for obtaining information from the user. Implemented DialogBasedInquiryHelper responsible for obtaining information through the use of dialog boxes. Removed unused TestStochasticSoilModelChangeHandler.

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

Former-commit-id: 4594323cbda59747ed933b751f366d89a962cb23

Former-commit-id: dd78966ae12a1b98b55b753be3062260d1097703

    • -0
    • +212
    ./DialogBasedInquiryHelperTest.cs
    • -0
    • +66
    ./ExpectedFileTest.cs
  1. … 8 more files in changeset.
Added WmtsConnectionDialog Simplified test Related to Issue [WTI-1091]

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

Former-commit-id: 7ed21c335ebc8920e81f3a48b26f0810f90e0cb0

Former-commit-id: 276d4d27184ba43ad58454d54a17e34f6fe309c8

  1. … 8 more files in changeset.