Core.Common.Gui.TestUtil

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed all license headers for Core.Common Related to Issue [WTI-1242]

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

Former-commit-id: fd6670c8f1dc23800f528d8cf1bcca9b59450097

Former-commit-id: 2fcc5b60e67454ddfd4a0d5153de6c37c38f17b8

  1. … 18 more files in changeset.
Initial framework for logging during migration Related to Issue [WTI-1250]

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

Former-commit-id: 65a0be73e41bdcc943cbb6c9aff1219a07b0386f

Former-commit-id: aa8225c3f1cf98b03cf5ebafadf307387df12a9c

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

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

Former-commit-id: 898f4c366051c78118144406d93814a5aad94fd9

Former-commit-id: 5bdc44f829e493aa122aee5ed5c73c5acda4d8e8

  1. … 2 more files in changeset.
Review suggestion - SettingsHelper only retrieves the special folders and is no longer responsible for creating these folder paths. Related to Issue [WTI-1091]

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

Former-commit-id: 65f6eb6eea38d45afd5142a8254f858e9982cf31

Former-commit-id: 0e8eb0141038b77efac381790f8d821ae2626204

    • -27
    • +26
    ./Settings/TestSettingsHelper.cs
  1. … 14 more files in changeset.
Review suggestion - Refactoring of TestSettingsHelper

Related to Issue [WTI-1091]

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

Former-commit-id: 48dca65c5b99bf49cdc8832105a96d71ff3966b0

Former-commit-id: a65b0c889a9d1b12dded48c7cf024d4148fc1e93

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

    • -0
    • +63
    ./Settings/UseCustomSettingsHelper.cs
  1. … 10 more files in changeset.
* Propagated the use of the Scratchpad folder for tests. Related to Issue [WTI-1088]

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

Former-commit-id: c281e86c4daafcc0bcf1935b84d9594d33246d4d

Former-commit-id: d130d71090209dd15f3efbf6e71d30b4181b0ca6

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

    • -0
    • +98
    ./Settings/TestSettingsHelper.cs
  1. … 5 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
    • +10
    ./ContextMenu/CustomItemsOnlyContextMenuBuilder.cs
  1. … 50 more files in changeset.
added UpdateInfo and methods required to generalize the add update item to context menu.

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

Former-commit-id: 5991c19e8ceab4370975b085dfb830c271796800

Former-commit-id: d607a89d180031493a80e5a6359f508536921155

    • -0
    • +10
    ./ContextMenu/CustomItemsOnlyContextMenuBuilder.cs
  1. … 12 more files in changeset.
Upgraded to NUnit 3.6.0 Assert.IsNullOrEmpty(...) --> Assert.That(string.IsNullOrEmpty(...)); [STAThread] --> [Apartment(ApartmentState.STA)] [RequiresSTA] --> [Apartment(ApartmentState.STA)]

Current directory <> output dir

http://stackoverflow.com/questions/35852979/using-resharper-nunit-tests-start-in-a-random-temporary-directory

NUnit 3.0 stopped changing current directory.

use TestContext.TestDirectory as the location of your file.

Related to Issue [WTI-1047]

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

Former-commit-id: 8e98e0fcf163c22a6a73ac3aadca4cf947804b0e

Former-commit-id: 490f137aa03123596bf0293183ace6db4f4614e9

  1. … 335 more files in changeset.
Merged revision(s) 7802-7807 from branches/Release/16_4: Ran Deltares cleanup Related to Issue [WTI-1065]

........

Adjusted validator of StabilityPointStructureParameterKeyword22 to only validate {{Mean}}

Related to Issue [WTI 1102]

........

Changes after review

paired with bouvrie

Related to Issue [WTI-1065]

........

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

Former-commit-id: 7837197cf36f26bd709d61e3d88aaf4c25e55313

Former-commit-id: ee9e4d26cca941db8a5cbd20d5b9735843e6b06f

  1. … 33 more files in changeset.
Ran Deltares cleanup Related to Issue [WTI-1065]

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

Former-commit-id: 05a1c976155c91a0c967427812499bb5fef75a8d

Former-commit-id: 08d16a9e8e7c0987ca42dc9f7b5a4a09473501ff

  1. … 41 more files in changeset.
Performed cleanups and improved xml-doc Related to Issue [WTI-1080]

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

Former-commit-id: 4634a970883c64ac5dfc97b6589ddfa176a35d95

Former-commit-id: cac9c2854778d8077902e40c7fd2d43243134e6b

  1. … 12 more files in changeset.
Added feedback messages from the PluginTestHelper.AssertPropertyInfoDefined. Renamed StochasticSoilModelsContext to StochasticSoilModelCollectionContext. Added StochasticSoilModelCollectionProperties.

Related to Issue [WTI-1080]

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

Former-commit-id: 01ce7194a3122c11d6e2af0a71dfba3dc9b3e4eb

Former-commit-id: 046491f38760094fcfa7442489230a7e5a8fdcad

  1. … 22 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.
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
    • +7
    ./ContextMenu/CustomItemsOnlyContextMenuBuilder.cs
  1. … 5 more files in changeset.
* Removed unused references in the solution. Related to Issue [WTI-931]

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

Former-commit-id: d3103841ab6e9adba07b05cb228ae2e636a5274c

Former-commit-id: a03541460ccbd16a759c489bef9b4312fe0a0b80

  1. … 40 more files in changeset.
- Check the code coverage configuration of the trunk Related to Issue [WTI-931]

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

Former-commit-id: 60655265b27b5521f0a53b0998b9ce77e069342f

Former-commit-id: e0560a24c08e4583c331a82ea5348baac1a32bfe

  1. … 97 more files in changeset.
* Improved consistency for CustomItemsOnlyContextMenuBuilder. * improved testname Related to Issue [WTI-587]

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

Former-commit-id: 8d27c9113c119ac4aebcc5bd6c956156c528f97e

Former-commit-id: ba498446e438145c8cc94a0d74d723d8fbe8295e

    • -11
    • +13
    ./ContextMenu/CustomItemsOnlyContextMenuBuilder.cs
  1. … 19 more files in changeset.
- Editorial review comments

Related to Issue [WTI-587]

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

Former-commit-id: eb15595cbfdcc920a7d55f1f0460bab3c34f736e

Former-commit-id: a486b2810eac4dfaad17821202fede7ef072542b

    • -7
    • +7
    ./ContextMenu/CustomItemsOnlyContextMenuBuilder.cs
  1. … 4 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

    • -0
    • +21
    ./ContextMenu/CustomItemsOnlyContextMenuBuilder.cs
  1. … 45 more files in changeset.
Merged revision(s) 5600 from branches/Release/16_2: Performed resharper code cleanup. Related to WTI 869

........

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

Former-commit-id: 1f5cdbd9c71ae2e15c1a8f780256c4d349800dac

Former-commit-id: ba09cc58d6bd919ea2d05d633cd306752a558bfe

  1. … 177 more files in changeset.
Performed resharper code cleanup. Related to Issue [WTI-869]

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

Former-commit-id: 7ebd4da86463a8ac1225474d630da6be1e0cd0d3

Former-commit-id: 7c050c7874e5fd687bf433ee85ab3fc4a5c4dd7d

  1. … 185 more files in changeset.
Merged revision(s) 5501-5521 from branches/Release/16_2: Added tests for GrassCoverErosionOutwardsDesignWaterLevelLocationsView and its ViewInfo definition in GrassCoverErosionOutwardsPlugin. Related to Issue WTI 881

........

Attempt to improve the testability of ViewInfo

Related to Issue WTI 881

........

Simplified ViewInfoTest, ViewInfoTest felt overkill and was removed.

Related to Issue WTI 881

........

- Moved WaveHeightLocationRow from Integration to Common.Forms to make it accessible for other elements that need to use it

- Implemented the GrassCoverErosionOutwardsWaveHeightLocationsView with ViewInfo, View and adjusted Plugin test

Related to Issue WTI 882

........

Added implementation of CloseForData

Fixed bug where HydraulicBoundaryDatabase file path would not refresh in interface.

Moved DesignWaterLevelLocationRowTest.

Related to Issue WTI 881

........

- Added "Openen" item to the TreeNodeInfo for the WaveHeightLocations related node

- Adjusted tests accordingly

Related to Issue WTI 882

........

Added open item.

Added CloseForData tests.

Hidden child nodes of the GrassCoverErosionOutwards Hydraulic Boundary folder when no hydraulic boundary database has been linked.

Related to Issue WTI 881

........

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

Former-commit-id: 34d9a4b12e440b49bd69ab86cd233547bd93db70

Former-commit-id: a80a1a47b2bfae052d24c795f6064b4d45599aa2

  1. … 42 more files in changeset.
Simplified ViewInfoTest, ViewInfoTest felt overkill and was removed. Related to Issue [WTI-881]

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

Former-commit-id: 1c7b364543f59ecc00f61501fca701e55977e7f1

Former-commit-id: 0872d868d812ebd8081c46219c7a31240a20fc6a

  1. … 3 more files in changeset.
Attempt to improve the testability of ViewInfo Related to Issue [WTI-881]

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

Former-commit-id: 8f0a63e47b3999eee20b2d4e0513ff82c203b310

Former-commit-id: d931f2b77047857a8f5f309c8a66128ed089919d

    • -0
    • +158
    ./ViewInfoTest.cs
  1. … 4 more files in changeset.
Added tests for GrassCoverErosionOutwardsDesignWaterLevelLocationsView and its ViewInfo definition in GrassCoverErosionOutwardsPlugin. Related to Issue [WTI-881]

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

Former-commit-id: 725075c7a75c5dc162a6abccad12b06d9244fd57

Former-commit-id: d03ff6e1a212de9f175440a48f48188d26595448

  1. … 9 more files in changeset.