Core.Common.Controls.Test

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.
Fixed InvalidOperationException when MouseEnter event was fired on the top-left header cell when the top-left header cell is not fully initialized. I.e., the column header is still in 'resizing' mode. Fix is inspired by https://connect.microsoft.com/VisualStudio/feedback/details/481029/this-operation-cannot-be-performed-while-an-auto-filled-column-is-being-resized

Fixed bug where selection button's enable state was not updated when changing from an empty Wmts control to the prefilled WellKnown control.

Added keyboard shortcut on *S* to open the background selection dialog

Related to Issue [WTI-1142]

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

Former-commit-id: 5e74be307834783c2f0527ee0603c6f570cdf6e6

Former-commit-id: 16aefe153476389ca8127d2ac3eabfe74c1f5c50

    • -0
    • +26
    ./DataGrid/DataGridViewControlTest.cs
  1. … 6 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.
Review suggestion - simplify tests

{qoute}

Looking at most of this unit test, there doesn't seem to be any need for ControlTester to reflect the encapsulated member. Think about the level of abstraction you are working and think of needing thinks like ControlTester as potential smells that the object you are working on is encapsulating too much or you as a dev are too much focussed on doing white-box testing.

{quote}

Related to Issue [WTI-1091]

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

Former-commit-id: 159916a320a71d293c597116f3206f303cc16f8f

Former-commit-id: 1b797a01335db5609e7ce3062975cca2e36a99d4

    • -238
    • +140
    ./DataGrid/DataGridViewControlTest.cs
Added SetCurrentCell to DataGridViewControl Added final feature to set selected WmtsData from previous visit to to WmtsLocationControl Related to Issue [WTI-1091]

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

Former-commit-id: 64d6be484045fa470762a50baea1fdfdec94f165

Former-commit-id: 2fed260e47fa28d68f82d6de09482b674fe00ad9

    • -4
    • +93
    ./DataGrid/DataGridViewControlTest.cs
  1. … 4 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

  1. … 50 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.
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.
Made types explicit. Extracted strings to resource file. Related to Issue [WTI-1071]

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

Former-commit-id: 67ee04f1d1da77cbff2b99317acefd29b37fff6c

Former-commit-id: 3b409a6464d44200e529eb2592675ffc6113c9a5

    • -3
    • +3
    ./DataGrid/DataGridViewColorCellTest.cs
    • -42
    • +15
    ./DataGrid/DataGridViewControlTest.cs
  1. … 5 more files in changeset.
Surround IDisposable implementations with using(...) Related to Issue [WTI-1071]

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

Former-commit-id: 75ac73a6c56e3ae5ca5a5d747e9c0ce862d7be8b

Former-commit-id: 5d71481bc8eb0f0a7aa592255662fcf69e484faa

    • -26
    • +31
    ./DataGrid/DataGridViewColorCellTest.cs
    • -20
    • +24
    ./DataGrid/DataGridViewColorColumnTest.cs
  1. … 1 more file in changeset.
use nameof in Argument*Exceptions Reviewed by: tangerma

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

Former-commit-id: 489d965acd6cbed374e72d9a9f10deec8787bcfd

Former-commit-id: 0ef178298a4e4639093af98897cfb40d331b372d

  1. … 284 more files in changeset.
Implement rounding for PipingSoilLayerTable rows. Related to Issue [WTI-1071]

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

Former-commit-id: 7e6939a1679183ade7859997e4a680d5acddabcb

Former-commit-id: 143833b467f6b37b109e6a306105ffb11f56a7e0

    • -0
    • +69
    ./DataGrid/DataGridViewControlTest.cs
  1. … 3 more files in changeset.
Improved TestHelperTest test for AssertImagesAreEqual, so that it isn't dependent on the images being square. Refactored DataGridViewColorCellTest a bit.

Related to Issue [WTI-1071]

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

Former-commit-id: 2284c72fd885c962e862f75be2df25ba39adbf95

Former-commit-id: 6a7800952d646e8d9dd000978d18b923f336c1fe

    • -12
    • +18
    ./DataGrid/DataGridViewColorCellTest.cs
  1. … 5 more files in changeset.
Implemented DataGridViewColorColumn for showing colors in a DataGridView Related to Issue [WTI-1071]

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

Former-commit-id: 54f74de478dd64614a7c75c8e5dc24978ab8193f

Former-commit-id: 4882baee85e2238719b1de09684ac7ca19ad88c6

    • -0
    • +105
    ./DataGrid/DataGridViewColorCellTest.cs
    • -0
    • +74
    ./DataGrid/DataGridViewColorColumnTest.cs
  1. … 6 more files in changeset.
Added PipingSoilLayerTable control which shows PipingSoilLayer properties based on a collection of layers. Made it possible to show a readonly checkbox column in a DataGridViewControl. Related to Issue [WTI-1071]

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

Former-commit-id: 5205f92fd1e8aab1a423fc8fbd2ed0326c8061cc

Former-commit-id: 2f2fe3576b9579f4cfb61ef0446ddeb3b9bdfb8c

    • -8
    • +46
    ./DataGrid/DataGridViewControlTest.cs
  1. … 5 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.
- Updated the PipingCalculationsView to use CurrentCellChangedHandler iso CellClick - Set Selection to newly opened view Related to Issue [WTI-823]

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

Former-commit-id: 5c16851a341a639bf1bf50216a25279cf035974a

Former-commit-id: 2620a034fb34298e7dd660f34b75477fb4423a5b

    • -81
    • +1
    ./DataGrid/DataGridViewControlTest.cs
  1. … 3 more files in changeset.
- Added method to handle DatagridView's CurrentCellChanged events - Updated the (abstract) HydraulicBoundaryLocationsView to listen to CurrentCellChanged events, iso CellClick events. Related to Issue [WTI-823]

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

Former-commit-id: 750f8d1c7b6c2f91278a217b5dce00e51f8f0a2b

Former-commit-id: b940b6cd5eecade2fa611083e742b276179b13fb

    • -1
    • +56
    ./DataGrid/DataGridViewControlTest.cs
  1. … 2 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

    • -1
    • +1
    ./TextEditor/RichTextBoxControlTest.cs
  1. … 27 more files in changeset.
* Extended DataGridViewControl with possibility of specifying a tooltip in order to explain why certain cells are disabled. * HydraulicBoundaryLocationsView updated such that custom imported hydraulic boundary locations cannot be calculated any more. ** Column is disabled with tooltip explaining why. * Improved validation message for custom hydraulic boundary locations to prevent calculating with custom imported hydro locations for failure mechanisms that required coupled hydraulic boundary location databases. Related to Issue [WTI-1013]

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

Former-commit-id: c000003f1e221e89560b71bc7185d4cba7c8b8b0

Former-commit-id: a1e023ed22f111f6a29eae10e9466dced93f9f76

    • -1
    • +70
    ./DataGrid/DataGridViewControlTest.cs
  1. … 11 more files in changeset.
Review related changes Related to Issue [WTI-956]

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

Former-commit-id: 4c20be08d01f7ec53cd301990629a225af0798ee

Former-commit-id: 91495825e41f478a989c10059a37f9316ae0405d

    • -16
    • +0
    ./PresentationObjects/WrappedObjectContextBaseTest.cs
  1. … 7 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.
- Added unit test for DataGridView ComboBox cell click - Added tooltip for context menu of "Berekeningen" folder when the folder has no children - Updated resource tooltip texts for context menu of "Berekeningen" folder Related to Issue [WTI-587]

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

Former-commit-id: 381cb7b7bcfccc492d06890e4dd269e46bf9e232

Former-commit-id: 3b4e1ea1e4e196400bbfba07f106816f0b986f17

    • -0
    • +39
    ./DataGrid/DataGridViewControlTest.cs
  1. … 10 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
    • +0
    ./DataGrid/DataGridViewComboBoxItemWrapperTest.cs
  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
    • +0
    ./DataGrid/DataGridViewComboBoxItemWrapperTest.cs
  1. … 185 more files in changeset.
- Implemented null option in property control dropdown. Related to Issue [WTI-726]

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

Former-commit-id: 66e53f5cbf652f54dfc5964c9758e0d75863aacb

Former-commit-id: e24af0a00fd72f7107555f130f19f0aac275c1b1

    • -1
    • +1
    ./DataGrid/DataGridViewComboBoxItemWrapperTest.cs
  1. … 9 more files in changeset.
Merged revision(s) 5006-5019 from branches/Release/16_1_1: Resharper cleanup Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

constants now are at the beginning of test files.

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Cleanup project references.

Related to Issue WTI 737

........

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

Former-commit-id: 21f2b2d3f74765437bc2f5ac6001d62a6c3afd98

Former-commit-id: 79979c7e6cb96a998c3b1a0d4fc4d9bd4bf10566

    • -1
    • +1
    ./DataGrid/DataGridViewComboBoxItemWrapperTest.cs
    • -1
    • +1
    ./PresentationObjects/ObservableWrappedObjectContextBaseTest.cs
    • -1
    • +1
    ./PresentationObjects/WrappedObjectContextBaseTest.cs
    • -14
    • +31
    ./TextEditor/RichTextBoxControlTest.cs
  1. … 215 more files in changeset.
Resharper cleanup Related to Issue [WTI-739]

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

Former-commit-id: 9d29beb2ed92f667a0d5a3de3f72c86083ee8566

Former-commit-id: eebb5e8880ff3a1bc6e3aae4eb00aa88b1632c01

    • -1
    • +1
    ./TextEditor/RichTextBoxControlTest.cs
  1. … 2 more files in changeset.