Core.Common.TestUtil.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added null checks on parameters of MacroStabilityInwardsSoilLayer2D. Implemented different way of verifying equality of updated profiles in StochasticSoilModel. Was by property SoilProfileType, now the actual class type is compared. Renamed TestHelper.AssertCollectionAreEqual to TestHelper.AssertCollectionsAreEqual. Implemented StochasticSoilProfileTest so that it doesn't depend on implementation of ISoilProfile anymore. Renamed TestMacroStabilityInwardsSoilProfile to TestMacroStabilityInwardsSoilProfile1D so it's not confused with a 2D profile. Related to Issue [WTI-1342]

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

Former-commit-id: 164809eaf92c84684117c32104aef6bf54a95b14

Former-commit-id: d83d4c174f887748578ff6a6b33bce7b46576763

  1. … 18 more files in changeset.
Proper hashing of some data types (equal objects should return equal hashes!) Reused SequenceEquals instead of implementing this ourselves for collections in data types, e.g. layers in a profile. Implemented TestHelper.AssertCollectionAreEqual to test whether elements in a collection are equal using a IEqualityComparer<T>. Related to Issue [WTI-1342]

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

Former-commit-id: 9f56c861e647986e5c2bfdc79bfdfed5a293a492

Former-commit-id: 5076ae29a1be1edbe3a2049746757157933ad786

  1. … 16 more files in changeset.
Extended InvalidPathHelper to also cover invalid file path which ends in a directory Related to Issue [WTI-1291]

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

Former-commit-id: 22d2ecab91ececd9d275421d1cbe265d01d54642

Former-commit-id: b235428a843efc00613d2051edc5916f54cde131

  1. … 1 more file in changeset.
Added properties for general result to HydraulicBoundaryLocation(s). Added new KeyValueExpandableArrayConverter to convert KeyValueExpandableArrayElement into properties with just a name and a value. Wrapped elements of the ExpandableArrayConverter in a DynamicPropertyBag so that visibility of properties can be controlled through the DynamicVisibleValidationMethod. Related to Issue [WTI-1304]

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

Former-commit-id: 61cd485b87796483c8e81a556077a188b56b04f2

Former-commit-id: 3392b1723f0acbffc8f39a15ee306e87f0733bdd

  1. … 10 more files in changeset.
Review related changes Related to Issue [WTI-1262]

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

Former-commit-id: 956e9c2e2851f8f9e75bd4555c2e7c2f0e8a848e

Former-commit-id: e967fa9200e8ab902e9642038d6a8589fd42d285

  1. … 3 more files in changeset.
Review related changes Related to Issue [WTI-1262]

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

Former-commit-id: d1fae9b586cabafa4d38b6da110b821a25c96c03

Former-commit-id: f012869fbcc80ea0d259b8b6939f2af1149a82f0

  1. … 6 more files in changeset.
Implemented and used TestHelper.AssertCollectionAreSame and TestHelper.AssertCollectionAreNotSame. Related to Issue [WTI-1262]

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

Former-commit-id: 45e9ac87b9ab4847dad533e1fdcdbcba7b84f044

Former-commit-id: 5f19f45d5a0d7020bfb6407b46215f82945a0ea4

  1. … 3 more files in changeset.
extracted AssertAreEqualButNotSame Related to Issue [WTI-1262]

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

Former-commit-id: af049f23c0512d3144849b953232863f29544cc7

Former-commit-id: a1332c15b0a513ff71e6988597d77b43fff8c874

  1. … 7 more files in changeset.
Moved test data from from integration closer to where they are used. Fixed test expectancies. Related to Issue [WTI-1194]

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

Former-commit-id: 3ac6a6b2f0cb6fb330da41f6d826f49d38682482

Former-commit-id: 5b3e08523720135d0af8b103a1da29a3016d48e5

  1. … 173 more files in changeset.
Incorporated comments review 1719: - Moved FileFilterGenerator from Core.Common.Gui to Utils: -- Added references to projects that require Utils -- Moved FileFilterGenerator related resources from Core.Common.Base to Utils -- Deleted redundant test class ExpectedFileTest - Adjusted test names - Added XML docs Related to Issue [WTI-1242]

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

Former-commit-id: 865b42401cd8168aa4aca7e8d048391d42f2b2da

Former-commit-id: bb0f3b2386007e10aadbec61e8f57178409c38df

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

  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.