Core.Common.Controls.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Introduced EnhancedDataGridView Related to Issue [WTI-1346]

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

Former-commit-id: 71926ccc44958c07afe9a8b41b348ca1e9e59bba

Former-commit-id: 1bcdf28f2f491a2f7baea5def67620aecdabc2d8

    • -41
    • +0
    ./DataGrid/DoubleBufferedDataGridViewTest.cs
    • -0
    • +80
    ./DataGrid/EnhancedDataGridViewTest.cs
  1. … 4 more files in changeset.
Reverted some magic selection logic in IllustrationPointsControl Related to Issue [WTI-1346]

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

Former-commit-id: 3a7fab38208598061496fd7e1701ca0adc06fb1c

Former-commit-id: 7d4875fd9e5a1fe737309a4812ea281f42b71104

    • -30
    • +0
    ./DataGrid/DataGridViewControlTest.cs
  1. … 4 more files in changeset.
Revert deltaresclean Related to Issue [WTI-1346]

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

Former-commit-id: d3c74aff177905cad4ee5de60fe7b061c603dcda

Former-commit-id: bd7034b0860d36cb7428012e293d01dba336012e

Simplified CurrentRowChanged_SetHandlerToNullOrNotSet_DoesNotThrow test Related to Issue [WTI-1346]

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

Former-commit-id: 42f409b3e60a07a7a0b7eaf1f7590b9cdcad34e6

Former-commit-id: 81bacf257d151cfe6f008cbcc8151b63735d678a

    • -11
    • +6
    ./DataGrid/DataGridViewControlTest.cs
Implement review comments - Rename test comments - Improve GivenFullyConfiguredControl_WhenDataIsResetAndCellInSameRowSelected_ThenRowChangedFired test - Make LastSelectedRow a private field Related to Issue [WTI-1346]

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

Former-commit-id: d5b2df98a53f61b2a4946aff76e1c0a219d8c79f

Former-commit-id: 44a647721a96a2f7257fcd72b427624b5680352f

  1. … 2 more files in changeset.
Upgraded nunit3-console.exe and NUnit to 3.7.1

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

Former-commit-id: bd8ef3d5d0e001dd3753e950743d282d431939b8

Former-commit-id: 0e6297e2ce8a35cf9bdb3d58436513012a5379e6

  1. … 424 more files in changeset.
Replace counter with a boolean value Related to Issue [WTI-1346]

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

Former-commit-id: ef45ed09584cbd864ccba63ad83fb9be2cfdc12a

Former-commit-id: a7d890644beff7da528d46313f21732fb5d49364

Remove excessive calls to the grid tester and improve test names for the DataGridViewControl and IllustrationPointsControl Related to Issue [WTI-1346]

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

Former-commit-id: 6beb597f595d979f796766483afb211bab3e20ca

Former-commit-id: 44d7c20478f17b3107ef70ee564e05a565de7f6f

    • -24
    • +39
    ./DataGrid/DataGridViewControlTest.cs
  1. … 1 more file in changeset.
Improve some tests for the datagrid, xmldocs added

Related to Issue [WTI-1346]

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

Former-commit-id: 445f95ceab28f176034adaad18749a48615c7f37

Former-commit-id: 543a447ebcd8a0124a36017a242f17c426d89327

    • -26
    • +31
    ./DataGrid/DataGridViewControlTest.cs
  1. … 2 more files in changeset.
Implementing review comments from review 2019 - Replaced the Add...Handler with a regular EventHandler that caller can sub to/unsub from like a regular event. Related to Issue [WTI-1346]

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

Former-commit-id: 22a4a30fa142b90aa835ddae87ef67304af3c6d5

Former-commit-id: 81f9f420da3e87d357bddad10512a69f017e0835

    • -95
    • +52
    ./DataGrid/DataGridViewControlTest.cs
  1. … 30 more files in changeset.
Simplify RowChanged handler Related to Issue [WTI-1346]

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

Former-commit-id: c9ff43d010aad45efaef9f854d57c6d063779b88

Former-commit-id: 6833e9f5547cccf97b9940c1dbb16a7ad1a22482

    • -3
    • +77
    ./DataGrid/DataGridViewControlTest.cs
  1. … 2 more files in changeset.
Implemented RowChanged EventHandler to be used by views using the DataGridViewControl. This event will only fire on the first selection or when a new row is selected in the data grid. Related to Issue [WTI-1346]

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

Former-commit-id: 6ab138e386a00c2e8dc4a9731bdbc368982bf321

Former-commit-id: 2251669339e24af908011336ed2dd744bb65d444

    • -1
    • +210
    ./DataGrid/DataGridViewControlTest.cs
  1. … 12 more files in changeset.
Removed "Mock" suffix Related to Issue [WTI-1311]

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

Former-commit-id: 10ff484503c8d4b7e7897669a9cf58bccb39b161

Former-commit-id: 3d4009c0bd52da9cf36531f000d102cbd49697f0

    • -15
    • +15
    ./PresentationObjects/ObservableWrappedObjectContextBaseTest.cs
  1. … 134 more files in changeset.
Ensured DataGrid/DataGridViewControl is now in edit mode "Programmatically" Related to Issue [WTI-1335]

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

Former-commit-id: 6db0b2b314f897f2f3b850502739cc11d7fb248b

Former-commit-id: 6a1fcde6fac306e8878de1ba872ddd128536142b

    • -73
    • +10
    ./DataGrid/DataGridViewControlTest.cs
  1. … 2 more files in changeset.
Improvements after review. Related to Issue [WTI-1306]

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

Former-commit-id: 85c6754b4dadbd79f2c7ff67f8868b8d248ad920

Former-commit-id: f8b276e831436c235e715cc3d41cc0aecdefd94f

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

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

Former-commit-id: 6bf9363dec6e0f77c3b78aebb4f474a45adec3eb

Former-commit-id: a1ff9279f1d052510ab4c61e9153afe04bf2ee06

  1. … 28 more files in changeset.
- Implemented method to set column visibility. - Set all columns to read only in IllustrationPointsTableControl. - Set column visible to false for closing situation. Related to Issue [WTI-1306]

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

Former-commit-id: dc1beaa6ecae6d724412844128df1ff0c0774a84

Former-commit-id: c9b2bcd43a4f6af8774e3751141451ff0c16ceae

    • -0
    • +30
    ./DataGrid/DataGridViewControlTest.cs
  1. … 3 more files in changeset.
Review related changes Related to Issue [WTI-1097]

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

Former-commit-id: 90954e16c7475c12dd545a58fdfdde4b0f053b9e

Former-commit-id: b408b96afece6a165e4a5e10b4562c695c956be6

  1. … 14 more files in changeset.
Removed obsolete constructors for map layer styles. Replaced Assert.Equals(string.Empty... with Assert.IsEmpty where applicable. Improved ColorEditor. Related to Issue [WTI-1267]

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

Former-commit-id: 0812a0a3e05ce2398afff38e2cb64cb5c1684860

Former-commit-id: 55e368ae9752d5bfe36fae8f551810251af055f3

  1. … 65 more files in changeset.
Updated license headers in core. Related to Issue [WTI-1242]

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

Former-commit-id: e7f214adee97782d28ee82f096d8cc27547439e6

Former-commit-id: b339ec31825c8ea8fed91e675069b65afba8433b

    • -1
    • +1
    ./DataGrid/DataGridViewColorCellTest.cs
    • -1
    • +1
    ./DataGrid/DataGridViewColorColumnTest.cs
    • -1
    • +1
    ./DataGrid/DataGridViewComboBoxItemWrapperTest.cs
    • -1
    • +1
    ./DataGrid/DoubleBufferedDataGridViewTest.cs
    • -1
    • +1
    ./PresentationObjects/ObservableWrappedObjectContextBaseTest.cs
    • -1
    • +1
    ./PresentationObjects/WrappedObjectContextBaseTest.cs
    • -1
    • +1
    ./TextEditor/RichTextBoxControlTest.cs
  1. … 805 more files in changeset.
Cleaned up edited files of last commit. Related to Issue [WTI-1242]

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

Former-commit-id: fc5e752e538e1f995ae775a9f40791ee2455ae62

Former-commit-id: 5e27c42800cb79dfa3f2978089742fa28c6bd700

  1. … 72 more files in changeset.
Removed implementation of GetMemberName from TypeUtils for we can now use nameof operator of C# 6.0. Related to Issue [WTI-1242]

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

Former-commit-id: 996cc01173768b9787336f8eb638e2baf721353f

Former-commit-id: f5a543233c72cb519f4cc8580fc289facf67c9bc

  1. … 77 more files in changeset.
Changed all local vars to consts if possible. Related to Issue [WTI-1242]

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

Former-commit-id: 4684a5017b9aff9f6175f7d781cb29409f50a18e

Former-commit-id: 853c649ebc49a9513535e40ec705d5b928af0bc4

    • -4
    • +4
    ./TextEditor/RichTextBoxControlTest.cs
  1. … 282 more files in changeset.
Core code-cleanup. Searched for superfluous this. for property assignments as well.

Related to Issue [WTI-1242]

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

Former-commit-id: ecb498b6096a9d8b0a66e69428411d5ae18ec80a

Former-commit-id: 9cc4bad09e38263256924549eaa807b887009030

    • -8
    • +7
    ./DataGrid/DataGridViewColorCellTest.cs
    • -1
    • +1
    ./DataGrid/DataGridViewColorColumnTest.cs
    • -7
    • +7
    ./DataGrid/DataGridViewComboBoxItemWrapperTest.cs
    • -23
    • +23
    ./DataGrid/DataGridViewControlTest.cs
    • -12
    • +12
    ./PresentationObjects/WrappedObjectContextBaseTest.cs
    • -4
    • +4
    ./TextEditor/RichTextBoxControlTest.cs
  1. … 283 more files in changeset.
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.