Core.Common.TestUtil

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Introduced EqualsGuidelinesTestFixture for testing overrides of Equals() implementations - Implemented for PipingSoilProfile - Added TypeCheck for PipingSoilProfile - Updated XMLDoc of the TestFixture

Related to Issue [WTI-1390]

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

Former-commit-id: 6d80982aba7b1beb9623ddb38e7d04a4c72145b9

Former-commit-id: a680a31c918775f8be6d2228dd1434852d5b433d

  1. … 2 more files in changeset.
Introduced EqualsGuidelinesTestFixture for testing overrides of Equals() implementations Related to Issue [WTI-1390]

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

Former-commit-id: de58410b0dfc768960111790317774ee0995353b

Former-commit-id: 579a43849c2acd3dc403a55c56664cff823d1afd

    • -0
    • +200
    ./EqualsGuidelinesTestFixture.cs
- Removed 'CodeAnalysisRuleSet' from csproj files. The code analysis will therefore be set to the default 'MinimumRecommendedRules.ruleset' - Made sure all TestUtil projects are build in the bin of their own project instead of in de solution bin folder Related to Issue [WTI-1463]

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

Former-commit-id: 2a4c73910431f0e6b6b5d66ebae6d467e7ff5ebe

Former-commit-id: c9f3932e498d991968cd76961b1598d7e40ffd66

  1. … 291 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. … 60 more files in changeset.
Review related changes: - Updated name of test class - Updated tests

Related to Issue [WTI-1295]

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

Former-commit-id: 6e53fdc9926c483bace1df9cb82205561b32a38f

Former-commit-id: d6968ea0163c214a9454dcd7794533e11ea89612

    • -0
    • +62
    ./EnumWithDisplayNameTestFixture.cs
  1. … 20 more files in changeset.
Review related changes Related to Issue [WTI-1400]

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

Former-commit-id: b11ad8edcf0cce03c5224e0fce1a52481deed2a1

Former-commit-id: 7e452141cb811720dad365861feda2714af7c389

  1. … 3 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.
- Added converter for GridDeterminationType and DikeSoilScenario - Added new TestFixture for Enum tests Related to Issue [WTI-1295]

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

Former-commit-id: 836243816d95298a3f0394305bd94a99c12cb5be

Former-commit-id: 934959cf1e5699e3ddcb89f070eca305861fddda

    • -0
    • +52
    ./EnumValuesTestFixture.cs
  1. … 17 more files in changeset.
- Added validation for MacroStabilityInwardsGrid X and Z - Updated tests to comply with the new restrictions on the MacroStabilityInwardsGrid - Added overload for Random.NextRoundedDouble with range Related to Issue [WTI-1400]

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

Former-commit-id: c3004e5a0c7735345a8b66e548cde9e67490c77a

Former-commit-id: e58a79f58922074521c2b76c8ef8529c024d6aba

  1. … 16 more files in changeset.
- Introduced testutil project to assert geometry related classes in Core.Common.Base -- Cleaned up Core.Common.TestUtil by removing Core.Common.Base related test utils to the new project

Related to Issue [WTI-1366]

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

Former-commit-id: 2f3dfb8949cabc8267ed8de867266e4bd3eb1b01

Former-commit-id: 12a3a2c3043b142017917308689a321773725aca

  1. … 8 more files in changeset.
Implement review comments, improve tests and names, update xmldoc, inline some checks Related to Issue [WTI-1391]

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

Former-commit-id: 5fb39e58032f2ab2ed02d126a9003c75c1580181

Former-commit-id: f4adacc4c9cca722a4e16e85656e7e3792c9a67a

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

Update NUnit, NUnitForms and nunit console runner. Adapt test in StorageMigrationIntegrationTest to work with these new versions. Paired with ~kleijn

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

Former-commit-id: d32ca7d8738b0bb50b4f4ac19fa9e7c268f965e9

Former-commit-id: e24bfa0dc5657b1d0e6ca1568bd40cf07e9b637a

  1. … 399 more files in changeset.
Revert NUnit update

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

Former-commit-id: 1d73f8246f0dfc579d22331767d1b8d1916a1738

Former-commit-id: 2be271427816a015a44cc959568214acc6e2a12e

  1. … 384 more files in changeset.
Update NUnit to 3.8.1

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

Former-commit-id: 79700b393691e91c968151e820e18665334d429f

Former-commit-id: b3c165824399f30e6b937de3b001599a2df685f1

  1. … 396 more files in changeset.
- Added a PreconsolidationStress class on the RT side: -- Incorporated class into the SoilLayer2D for macrostability

Related to Issue [WTI-1341]

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

Former-commit-id: 9c2d48c50d7fe78bce7b81a4e35158b62d196b60

Former-commit-id: 39b3a3aa5a6b1ee6ddbbe50e44172d8d63007b82

    • -1
    • +1
    ./CustomExceptionDesignGuidelinesTestFixture.cs
  1. … 13 more files in changeset.
- Implemented SoilProfileCreator. - Added comparers to test the WTIStability data. Related to Issue [WTI-1297]

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

Former-commit-id: 9c521fb56dedfa30f753399016b07f02813fb5c9

Former-commit-id: f6d40e265e35a823069366f5eb4d6c4c4014414b

  1. … 13 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.
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.
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.
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.
Core.Components.Charting.TestUtil.Test: - Added core.common.version ref - Sanitized AssemblyInfo.cs - Added GlobalAssembly link Removed obsolete <AllowedReferenceRelatedFileExtensions>none</AllowedReferenceRelatedFileExtensions> from projects Replaced <DebugType>pdbonly</DebugType> with <DebugType>none</DebugType> for test projects in ReleaseForCodeCoverage configuration. Related to Issue [WTI-1272]

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

Former-commit-id: 74ee4dd27678a18952f28919028d8e8814d46617

Former-commit-id: e91cb2b6dae36d8d3cfa8bede7cbc70ad87f90d6

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