Core.Common.TestUtil.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

  1. … 280 more files in changeset.
Applied cleanup over Ringtoets.Core Related to Issue [WTI-1242]

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

Former-commit-id: e79666c3005d8749a1973fc827c38a6e17a64dfd

Former-commit-id: d1b69716d861a8986cd3fb3e1426d5be26758c48

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

  1. … 282 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.
Added test for test data path Related to Issue [WTI-1238]

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

Former-commit-id: cfafb456bc0c7ca8a40b6cd02e2eb7d9e6bf505d

Former-commit-id: 298bd971329f107b8d4d5a5508611d433e895e7d

Cleaned up DirectoryDisposeHelperTest + added missing test Related to Issue [WTI-1229]

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

Former-commit-id: 04219a64f60afe9cd670debb5f551f5f9af43a18

Former-commit-id: f41ef368d77bb10a34c2310c051b64ec8a08013d

Cleaned up some test code Related to Issue [WTI-1229]

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

Former-commit-id: 73da0e601591f6d5a7d1a7f67700570e863c51f1

Former-commit-id: 1cd1a766d9641dcde2b76ef4431c1c1232f89a03

* Fix attempt for FileDisposeHelper and DirectoryDisposeHelper to perform multiple attempts for deleting file/folder and waiting for finalizers when failing. Related to Issue [WTI-1229]

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

Former-commit-id: 0fc2bacae5cffb8e2611e67caa3642ea8f0f5abf

Former-commit-id: 208b6580935083833eaa986ff6131ecfe98b3d37

  1. … 2 more files in changeset.
Extended EnumTestFixture to assert enum values Introduced RingtoetsWellKnownTileSource Related to Issue [WTI-1200]

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

Former-commit-id: 74991138c18dd08c293366dc7ca1904fa4deefad

Former-commit-id: 6a2575c66259f9e3f45e0088bc8f151dd959316a

  1. … 16 more files in changeset.
Created extra folder for working directory in ScratchPad that is removed on test class TearDown. Related to Issue [WTI-1143]

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

Former-commit-id: ab0239ed0504f7b7985d0e37124af01d9865fcdd

Former-commit-id: 015fddc3f3b0b92c1c209afbf8fe0bfb4f68bfac

Implemented exporter and writer for grass cover erosion inwards configurations. Extracted general concepts from WaveConditionsInputConfigurationSchemaIdentifiers and WaveConditionsInputConfigurationWriter. Related to Issue [WTI-1153]

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

Former-commit-id: 6344e734e4e7ef3a69657dbc05ecd249c90a8c86

Former-commit-id: 5e86e0cbb5e437b11c285582b78723c77bd57cc7

  1. … 23 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.
Merged changes from branch for issue WTI 1196

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

Former-commit-id: dd0f7a287b5fad5260282fc8563c671f548c11e8

Former-commit-id: 3641e8b752df9027888ab116675adcd72030aa80

    • -0
    • +47
    ./InvalidPathHelperTest.cs
  1. … 77 more files in changeset.
Review suggestion - Moved use of RingtoetsSettingsHelper to App.xaml.cs - Removed test to delete ScratchPad, because it kept failing Related to Issue [WTI-1091]

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

Former-commit-id: a725d4caa4a20a08715810c5f20cfebd59d26230

Former-commit-id: 18c91ea7920ec6dd397a79d6adfb984c0831d862

  1. … 4 more files in changeset.
Review suggestion - Added updated resource - Removed redundant second 'Delete scratchpad' test - Prefer using DataGridViewControl over DataGridView in tests Related to Issue [WTI-1091]

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

Former-commit-id: 61ae6ddde70c744ce66d29faffd76e3846d61100

Former-commit-id: cda272f71967ab4ed88570324e01ee9315b1186a

  1. … 5 more files in changeset.
Review suggestion - Extracted 'can write in directory' to TestHelper Related to Issue [WTI-1091]

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

Former-commit-id: 765597811edfbd109236b4e396a7773d858cdc7f

Former-commit-id: 8df66894178c30a8573677d772beb1e308a58755

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

  1. … 25 more files in changeset.
* 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

  1. … 36 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. … 5 more files in changeset.
* Extended TestHelper with method to retrieve safe location to temporarily write to disk. * Scatchpad folder added to trunk to facilitate a single location for unit tests to write data to. Related to Issue [WTI-1088]

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

Former-commit-id: e7635032062244076eda88b706a1dbb785649827

Former-commit-id: 2d7bae66ff77bbf4cf088058ebca68663cc2f8c7

  1. … 1 more file in changeset.
Introduced DirectoryDisposeHelper Updated DirectoryPermissionsRevoker's XMLdoc Related to Issue [WTI-1091]

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

Former-commit-id: 9e5359a49dea935e9b38558dee625f1b20f7abce

Former-commit-id: 35dc00767df9740e07e03f8390eceae5c86632a0

    • -14
    • +198
    ./DirectoryDisposeHelperTest.cs
    • -52
    • +51
    ./DirectoryPermissionsRevokerTest.cs
  1. … 2 more files in changeset.
Introduced DirectoryDisposeHelper Related to Issue [WTI-1091]

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

Former-commit-id: d89a7dd1e9fea5c031bac8cb2af2a62c49238721

Former-commit-id: aa6617a6a6a9e5d3aa2b21451aaf0eacd4ad49c9

  1. … 2 more files in changeset.
Fixed Dispose implementation, see: * https://msdn.microsoft.com/en-us/library/fs2xkftw(v=vs.110).aspx * https://msdn.microsoft.com/en-us/library/ms182329.aspx Modified test names according to review suggestions paired with berg_jl Related to Issue [WTI-1060]

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

Former-commit-id: 0309ea4270612fcb1bcc18fc4a5e736b9d1722d2

Former-commit-id: 8e47735d6edd9e2f33431dd21d6f9c686651c976

  1. … 5 more files in changeset.
* Introduced EnumTestFixture and used throughout solution. * Extended TypeUtils with GetDisplayName for enum values. * Introduced ImageBasedMapData ** WmtsMapData now inherits from ImageBasedMapData ** Newly introduced WellKnownTileSource also inherits from ImageBasedMapData Related to Issue [WTI-1105]

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

Former-commit-id: 1a77fc96e65eb336b41b3db4eda31975494145bb

Former-commit-id: 5f6096b6eff37624574906891869115b3bb56695

    • -0
    • +56
    ./EnumTestFixtureTest.cs
  1. … 24 more files in changeset.
Created method to lock the files in FileDisposeHelper

Related to Issue [WTI-1060]

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

Former-commit-id: cf200112fe4cc6f7b116b10789756cdd455cfeee

Former-commit-id: e7781162166cbb6dd42603c6adb9d5e6377ace5d

  1. … 2 more files in changeset.
- Moved Testhelper functions from the DataGridViewCellTestHelper to DataGridViewTestHelper for coherence - Deleted obsolete files - Removed unused references

Paired with bouvrie

Related to Issue [WTI-1044]

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

Former-commit-id: 9489e6615c4fa4e02720a908477e4461898d8fab

Former-commit-id: 4e13b627dfa1d26b297159ebb10fd987bc6f56fd

  1. … 23 more files in changeset.
* Improved API for setting data source of DataGridViewControl. * Cleanup * Introduced TestHelper for dealing with DataGridView. Related to Issue [WTI-1044]

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

Former-commit-id: 4a1fa52f3808c8da5aa270f12d19453259f5aaaa

Former-commit-id: b5d01eab6d905847254e86e6169eb9bfa7719fd5

    • -0
    • +246
    ./DataGridViewTestHelperTest.cs
  1. … 26 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. … 334 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

    • binary
    ./Resources/double-abacus.png
  1. … 1 more file in changeset.