TestHelper.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updated TestHelper. WTI-1931

Removed all occurrences of Ringtoets in Core: WTI-1931

- Updated string values, comments, classes and parameter names within the namespace

  1. … 17 more files in changeset.
Updated license headers in source files of test\Core.Common. WTI-1931

  1. … 241 more files in changeset.
Changed copyright year. Paired with lubbers. WTI-1828

  1. … 6095 more files in changeset.
Cleanup: Fixed localizable string. WTI-1767

  1. … 2 more files in changeset.
Added thread sleep. WTI-1022

Added method to TestHelper to help with testing when timers are involved. WTI-1022

  1. … 1 more file in changeset.
- Removed checked in ScratchPad -> create a Ringtoets_ScratchPad folder in %temp% - Adjusted tests

part of issue WTI-1527

  1. … 2 more files in changeset.
Perform cleanup of Application.* and Core.Common.* Related to Issue [WTI-1463]

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

Former-commit-id: b788636893eb77186560c1c94da58be5e39bc269

Former-commit-id: adb82617948f02594e9f459279d36825f7d91060

  1. … 67 more files in changeset.
Implement review comments from review 2235 Related to Issue [WTI-1452]

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

Former-commit-id: 602b35c23ee8bc1137eaacdf2f184a15b2715eef

Former-commit-id: a8535eafe48b3e6eb3a5ffbec5ed0c326e9dba49

  1. … 12 more files in changeset.
Change TestHelper.GetSolutionRoot to always have an execution context to prevent appdomain unloaded exceptions when running tests.

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

Former-commit-id: d5da276bce35e57bbb1c5de1dcc4222560cfbef3

Former-commit-id: 12a928110a7944d9f08a3c1344a5a43ae3a1eb97

Added extra test cases. Used SoilLayerProperties instead of the pass-through properties on SoilLayer1D and SoilLayer2D (MacroStabilityInwards). Cleanups. Related to Issue [WTI-1342]

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

Former-commit-id: 758c2f4357100541e91974617f9bf374341f0a5e

Former-commit-id: bd64f22fd1d2007e66dced718cd056a6d7b0d30d

  1. … 60 more files in changeset.
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.
Review related changes Related to Issue [WTI-1289]

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

Former-commit-id: 7024afc34e5904688ab443dff47f40a8ddc6d6cf

Former-commit-id: 7b2f509497db1baa0a2afc48416568bea9eaabb8

  1. … 34 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.
Incorporated comments review 1959: Relevant comments for illustration point fault tree data model and forms projects - Updated XMLDocs - Converted new Tuple --> Tuple.Create - Inverted if statement in data model for the fault treenode related class - Adjusted IllustrationPointControlItems: -- wraps a TopLevelIllustrationPointBase instead of an object to prevent information loss and casts -- Adjusted helper, use distinct instead of array retrievals to have the same logic as its property class -- Removed NULL item verification in the collection from the helper class - Simplified and added missing tests Related to Issue [WTI-1308]

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

Former-commit-id: f6dd317f5156d8dccc68fee462606c00c3fb72cb

Former-commit-id: 3ef18114114da459468058dd2e136728a4c2d0f9

  1. … 23 more files in changeset.
Incorporated comments review 1959: - Relevant comments for storage and core.common -- Updated XMLDoc -- Renamed function -- Improved tests

Related to Issue [WTI-1308]

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

Former-commit-id: 6e23272a101a01689cf7052727e04e17e8520c98

Former-commit-id: 51c5084c3e9669df022cda3f54bdbd92bd624d51

  1. … 7 more files in changeset.
Improved existing implementations of existing services that read illustration points: - Introduced a TestGeneralResult containing only FaultTreeIllustrationPoints to Assert behaviour on the classes that make use of the GeneralResult converters - Added TestHelper method which allows assertions on the generated Exceptions in the log - Added missing tests which assert the logging behaviour when a calculation does not converge

Related to Issue [WTI-1308]

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

Former-commit-id: c92d4f326db7c4987492c09192b089ad36d106ca

Former-commit-id: b417dc94e8227e4ef0963f43297b60641bd2cb8c

  1. … 9 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.
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. … 817 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.
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. … 290 more files in changeset.
Removed unused references fixed typo paired with bouvrie Related to Issue [WTI-1049]

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

Former-commit-id: 3d002b4243d9f0109eb93ae7554f04834585ac76

Former-commit-id: b8dc47f846a37f8df0cfe56d8ce83faee121aab7

  1. … 5 more files in changeset.
* Fixed typos. * Renamed MigrationNeeded to MigrationRequired. * Cleanup. * Asserting log messages improved by taking type of message into account. * Moved CriticalFileReadException from Core.Common.IO\Exceptions to Core.Common.Base\IO * Task is now disposed when disposing ActivityProgressDialog * Put license header back Related to Issue [WTI-1049]

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

Former-commit-id: 54560eb7ca6c0a99cdcf14b0406c23b9eca57311

Former-commit-id: 3b703601071d34a3cca2779d0c671f3d3ddabcd9

  1. … 124 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. … 4 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.