Core.Common.Gui.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Extracted separate GuiUpdateHandler. Added AddUpdateItem and CreateUpdateItem for context menu builder and factory.

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

Former-commit-id: dc05e7dc708cc9899d45b9570e29ae9267de44b9

Former-commit-id: d50b8e592255273c27afe901b8534345de1757b7

    • -9
    • +118
    ./ContextMenu/ContextMenuBuilderTest.cs
    • -11
    • +108
    ./ContextMenu/GuiContextMenuItemFactoryTest.cs
  1. … 26 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

  1. … 12 more files in changeset.
* Introduced base TestFixture class for testing design of custom exceptions: CustomExceptionDesignGuidelinesTestFixture ** Refactored all ExceptionTest classes to used this new base-class. * Functional testcoverage for Core.Components.DotSpatial\Layer\BruTile\Configurations * PersistentCacheConfiguration no longer supports SQLite cache * ITileSourceFactory now guarantees that all ITileSource elements returned have a WmtsTileSchema. * TODO: More functional coverage for WmtsLayerConfiguration

Related to Issue [WTI-1088]

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

Former-commit-id: 0cd7c47dc7ee2221f69b7c3b4d88205d087c691e

Former-commit-id: b3dbe965ce4a4266af1d8284ad481d2449db14e7

    • -67
    • +2
    ./ContextMenu/ContextMenuBuilderExceptionTest.cs
  1. … 61 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

    • -16
    • +16
    ./Appenders/RenderedMessageLogAppenderTest.cs
    • -96
    • +97
    ./Commands/StorageCommandHandlerTest.cs
    • -16
    • +17
    ./Forms/MainWindow/MainWindowTest.cs
    • -1
    • +2
    ./Forms/MessageWindow/MessageWindowTest.cs
    • -3
    • +4
    ./Forms/SplashScreen/SplashScreenTest.cs
    • -1
    • +2
    ./Forms/ViewHost/AvalonDockViewHostTest.cs
  1. … 324 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

    • -5
    • +5
    ./Forms/ViewHost/AvalonDockViewHostTest.cs
  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

    • -5
    • +5
    ./Forms/ViewHost/AvalonDockViewHostTest.cs
    • -4
    • +1
    ./Plugin/PropertyInfoExtensionsTest.cs
  1. … 40 more files in changeset.
replaced dynamicPropertyBag.GetProperties calls using BrowsableAttribute.Yes with PropertiesTestHelper.GetAllVisiblePropertyDescriptors. Related to Issue [WTI-1080]

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

Former-commit-id: 7926c1e6e6d633e6adf53623745ddc2c4d94bc4f

Former-commit-id: b3846f8b124cc30c09fe43a5de7498aa2a2aebac

    • -4
    • +2
    ./PropertyBag/DynamicPropertyBagTest.cs
  1. … 15 more files in changeset.
Incorporated editorial changes in review 1350: - Grouped statements together in groups for more coherence

Paired with kleijn

Related to Issue [WTI-1037]

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

Former-commit-id: 07d06ae0c87c5cbd8a29616e00135124e4e25b46

Former-commit-id: 446573d9ed8003d41d970d7cbe46c19eee9546d4

    • -13
    • +17
    ./Commands/StorageCommandHandlerTest.cs
Removed obsolete Test from WaveConditionsInputContextPropertiesTest. Made certain variables' types explicit. Replaced .Matches(x => true) with Is.NotNull. Some general cleanups. Added missing docs. Related to Issue [WTI-968]

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

Former-commit-id: 95da872000b9ba2b113ad54b4c3f8ee363e25472

Former-commit-id: 782a5a1fef732e1f91e310b5a31aeb471f792751

  1. … 68 more files in changeset.
Reuse of variable Related to Issue [WTI-941]

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

Former-commit-id: 0694b48b90ad49e09d98202e203b44b3a5a8572a

Former-commit-id: 879e6ea914be78ef5b3d0e228e2aad867529b7b6

    • -1
    • +1
    ./Forms/MessageWindow/MessageWindowTest.cs
Improved MessageWindows styling => Ensured row headers can also be double clicked in order to open the details dialog => Adapted button tooltip Related to Issue [WTI-941]

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

Former-commit-id: 2f6a0da2338c291998099325ac02a9e5edbf7bf4

Former-commit-id: be09f877d48f7b6c077ca4e64ce92db001d36eab

    • -8
    • +26
    ./Forms/MessageWindow/MessageWindowTest.cs
  1. … 3 more files in changeset.
Reverted some changes Related to Issue [WTI-941]

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

Former-commit-id: 28520273908b76b3266c51f9edcf4551cfb8b4a6

Former-commit-id: a7953c6a59f41afe1a66f3a0cfe3da73d9d39bd2

    • -34
    • +0
    ./Forms/MessageWindow/MessageWindowTest.cs
  1. … 1 more file in changeset.
Fixed bug that Ctrl was pressed by the test, but never released Related to Issue [WTI-941]

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

Former-commit-id: 233316abeed9fd3e2c9f8192b6423650471733bc

Former-commit-id: 8b60357f32b54a2d116af3642136fe4bab5ce752

    • -0
    • +1
    ./Forms/MessageWindow/MessageWindowTest.cs
- Added test to process SaveFileDialog after confirmation to save data to a file that no longer exists Related to Issue [WTI-1037]

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

Former-commit-id: 8053fc8452cdf037a15baf23763ac52dc43e7424

Former-commit-id: da8c5d121dfc037475947ef30c2e62a2d168785e

    • -0
    • +59
    ./Commands/StorageCommandHandlerTest.cs
- When previously stored file location is no longer valid, assume there are changes and open FileSaveDialog Related to Issue [WTI-1037]

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

Former-commit-id: c5374c7e05dc499b84c303b78863bd51cbd7a480

Former-commit-id: 784aad1b48ac254c4a0f213983fd0be7ed388420

    • -105
    • +112
    ./Commands/StorageCommandHandlerTest.cs
  1. … 2 more files in changeset.
Fixed bug that Ctrl was pressed by the test, but never released Related to Issue [WTI-941]

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

Former-commit-id: 6a7f4d747500f7b9ee343ca2e91219c8c57da4de

Former-commit-id: 3cd818eb15674c5d80f746520e2f0b0da754d0aa

    • -10
    • +13
    ./Forms/MessageWindow/MessageWindowTest.cs
Added feature to ignore double click on MessageWindow's gridview when Ctrl is pressed, since it would result in unexpected behaviour Related to Issue [WTI-941]

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

Former-commit-id: 8626ec50352e2d361dd3caa274a72d7fbcda8062

Former-commit-id: 9cb10a0aa6fbea5e6e1964ace4999e549a8fbea1

    • -0
    • +30
    ./Forms/MessageWindow/MessageWindowTest.cs
  1. … 1 more file in changeset.
* 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.