Core.Common.TestUtil

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Moved Ringtoets test files to Application.Ringtoets.Migration.Test/test-data Related to Issue [WTI-1060]

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

Former-commit-id: ea8c82641eb5a7bb9f192ed780415befadb8d788

Former-commit-id: 5bfb0944c6d7cd51b7d41a18f401ebcade0b4a2d

  1. … 29 more files in changeset.
* Renamed FileUtils to IOUtils and extended it with folder related validation methods. ** Defined DirectoryWriterErrorMessageBuilder to be used in validation message generation. * Extended MapControl with BackgroundMapData property. ** MapControl observes BackgroundMapData for changes. ** BackgroundMapData defines the coordinate system used, and will reprojet all other layers when needed. * Defined testing mocks for getting fake tile data, instead of requiring an internet connection for tests. * PipingFailureMechanismView makes use of the BackgroundMapData feature. Related to Issue [WTI-1088]

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

Former-commit-id: ebd8aca90052bb12a8d8167237267eb60e050684

Former-commit-id: 8a9624c64bec0ab4467267d9cbdbe12698bdff96

  1. … 65 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.
- Extended FileUtils to validate if a path is writable - Extended MigrationService with feature to actually migrate - Added tests - Added first version of a migration script Related to Issue [WTI-1060]

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

Former-commit-id: 4707789247d38b8610d6dfcea46f6f7ba3d5f83f

Former-commit-id: 0bfe0ab0ab08f18941c06964bbaebad464d3ff07

  1. … 25 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
    • +91
    ./DataGridViewTestHelper.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.
Merged revision(s) 7802-7807 from branches/Release/16_4: Ran Deltares cleanup Related to Issue [WTI-1065]

........

Adjusted validator of StabilityPointStructureParameterKeyword22 to only validate {{Mean}}

Related to Issue [WTI 1102]

........

Changes after review

paired with bouvrie

Related to Issue [WTI-1065]

........

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

Former-commit-id: 7837197cf36f26bd709d61e3d88aaf4c25e55313

Former-commit-id: ee9e4d26cca941db8a5cbd20d5b9735843e6b06f

  1. … 32 more files in changeset.
Ran Deltares cleanup Related to Issue [WTI-1065]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_4@7802 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 05a1c976155c91a0c967427812499bb5fef75a8d

Former-commit-id: 08d16a9e8e7c0987ca42dc9f7b5a4a09473501ff

  1. … 40 more files in changeset.
use nameof in ArgumentExceptions Reviewed by: tangerma

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

Former-commit-id: 9c57894ed74bd4bda07a642ac438b95a96f7fdbd

Former-commit-id: 18257c5da4b96f4217b8e7394aa113ddd658207f

  1. … 10 more files in changeset.
use nameof in Argument*Exceptions Reviewed by: tangerma

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

Former-commit-id: 489d965acd6cbed374e72d9a9f10deec8787bcfd

Former-commit-id: 0ef178298a4e4639093af98897cfb40d331b372d

  1. … 284 more files in changeset.
Implemented DataGridViewColorColumn for showing colors in a DataGridView Related to Issue [WTI-1071]

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

Former-commit-id: 54f74de478dd64614a7c75c8e5dc24978ab8193f

Former-commit-id: 4882baee85e2238719b1de09684ac7ca19ad88c6

  1. … 8 more files in changeset.
- Introduced exporter for dune locations. - Introduced test dune location output. Related to Issue [WTI-779]

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

Former-commit-id: 728902a8d8bebb877bff93409f94e85935d670c1

Former-commit-id: 2303f8fe478f03705f14f588c96d14ad17be072d

  1. … 12 more files in changeset.
Clear output on piping input change. Implemented RandomExtensions.NextRoundedDouble which returns a random RoundedDouble. Related to Issue [WTI-967]

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

Former-commit-id: 0ffea6e0e10b0ef3177fb36ae8b9173530bead71

Former-commit-id: a59c847497fa79889c366d5553c30b199efbfd0a

  1. … 5 more files in changeset.
- Upgraded Project ToolsVersion="4.0" to ToolsVersion="14.0" - Ignored ".vs" folder in trunk paired with tang_ds

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

Former-commit-id: beca2918e38aa1e3900b6bc17a0df7e8d1f9c8e3

Former-commit-id: 681a7a3764b91f67e1e97dc0d30f930c901276e0

  1. … 219 more files in changeset.
- Introduced NextEnumValue extension method for Random. - Review related changes: -- Used random value for enums in tests -- Renamed test name Related to Issue [WTI-986]

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

Former-commit-id: c8c8c8bef85e5705f56f74a2367e1dfc9052134f

Former-commit-id: 5163c008c98291b6b33d0c0a1cd67ea85ded26a4

  1. … 4 more files in changeset.
Fixing Resharper code issues. Related to Issue [WTI-1008]

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

Former-commit-id: ed7bdaf426b549dfa60896ccf59854697ad97eff

Former-commit-id: fa5e42a5f1f12ee8bcf3aefb993b7da5b4e4e3f7

  1. … 27 more files in changeset.
* Split single-line multi-variable declarations, as these violate code conventions. * fixed typos * Some cleanup * Improved variable names Related to Issue [WTI-791]

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

Former-commit-id: 7810fbf1cd1553e9b3c81e86ac9c1ee64a2a2b7d

Former-commit-id: 50dfb991732913182435b85b8aa66dd61752312a

  1. … 13 more files in changeset.
* Introduced ControlsTestHelper to expose helper methods related to faking user interaction with controls. * FailureMechanismContribution now keeps the same otherFailureMechanism instance for it's whole lifetime. * FailureMechanismContributionItem now exposes it's internal IFailureMechanism. * Removed unused resource and method. * Moved responsibility of closing views for irrelevant marked IFailureMechanism from FailureMechanismContributionView to FailureMechanismContributionItemRow * Introduced AssessmentSectionCompositionChangeHandler and moved code away from FailureMechanismContributionView. ** FailureMechanismContributionView now uses AssessmentSectionCompositionChangeHandler. Related to Issue [WTI-791]

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

Former-commit-id: 78821f0b39be58810d650ea80f1b9610d4bc8c0f

Former-commit-id: 7571de1deb8de32ab9d12d23b2cdca3a5f9b0103

    • -0
    • +62
    ./ControlsTestHelper.cs
  1. … 27 more files in changeset.
- Review related changes paired with bouvrie Related to Issue [WTI-931]

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

Former-commit-id: 08d3502c090c09a8bda1840af9595e3a1ff50965

Former-commit-id: 021b9a30c3d0ce21272912dee24e3d2b6dac4318

  1. … 14 more files in changeset.
Incorporated comments review 1176

Paired with janssen

Related to Issue [WTI-931]

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

Former-commit-id: caf6ee7611042698e1c3825f88054cdc6d2c419e

Former-commit-id: aa9603d60888fe2b9df0424071acb03e28bd446e

  1. … 11 more files in changeset.
Replaced 'occured' with 'occurred'. Related to Issue [WTI-921]

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

Former-commit-id: 3df71d574a05c6231d4e6368a358ebd06dc26e26

Former-commit-id: 051ae9c5619ba7837e9e41d24440044e9d962130

  1. … 25 more files in changeset.
- Ensure the technical reference guide can be build via Doxygen - Ran Deltares cleanup on every project that was touched Related to Issue [WTI-931]

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

Former-commit-id: 8f75344419774da76c09075d5ac8308830a35a8b

Former-commit-id: e26553796c0f3ada7c458ada2db8e053610b8161

  1. … 115 more files in changeset.
* Added standard serialization constructor to all Exception classes. * Explicitly defined culture for string.Format methods. * Replaced IFileImporter.ProgressChanged property to method (recommendation by C# coding conventions) * Renamed classes containing win32.dll invokes to NativeMethods (recommendation by C# coding conventions)

Related to Issue [WTI-931]

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

Former-commit-id: 78fae4fb038935c7a58a0fb534baa750b173d589

Former-commit-id: fc7d0938a3677be66218915a3e665a9cc6757df9

    • -0
    • +52
    ./SerializationTestHelper.cs
  1. … 162 more files in changeset.
Added test for HydraRingSettingsDatabaseHelper Added test for services using the HydraRingSettingsDatabaseHelper Related to Issue [WTI-919]

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

Former-commit-id: dcfbd7b5fabf11f1138e811bd4209fb085b26db0

Former-commit-id: 1a82cfd6bdbbd0b7b65585ed7e799f44bd0be7d8

  1. … 12 more files in changeset.
* Resolved solvable Resharper issues. * Fixed typo in display name of Linear Model for StabilityPointStructure calculation input. * Fixed inheritance bug related to Attribute in whole solution. Related to Issue [WTI-931]

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

Former-commit-id: 7ac9feb47be8d8ec2ee3c83ff914611134305f09

Former-commit-id: 04c41b2f251475618637cce83329e34639907d61

  1. … 107 more files in changeset.
- Check the code coverage configuration of the trunk Related to Issue [WTI-931]

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

Former-commit-id: 60655265b27b5521f0a53b0998b9ce77e069342f

Former-commit-id: e0560a24c08e4583c331a82ea5348baac1a32bfe

  1. … 97 more files in changeset.
- Some XMLdoc related changes - Added tests for FileDisposeHelperTest Related to Issue [WTI-931]

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

Former-commit-id: 77c87ba591192bdd285d37f194ef4c3587be5787

Former-commit-id: fb1887410da13bb09ff78cf6d529d20c51f16d37

  1. … 1 more file in changeset.
Deltares clean-up for Core.Common - Renamed GetLengthsBasedOnReletative to GetLengthsBasedOnRelative - Moved regions down in file Related to Issue [WTI-931]

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

Former-commit-id: a32f95f755c625c08cd50600752daafbd813038f

Former-commit-id: fd19f66c962d2aefbbec884c4976032ebd4f8cc7

  1. … 3 more files in changeset.
* Made variabletype explicit. * Added xml docs to method to make it clear what it's behavior is. * Added InvalidEnumArgumentException to default sections of switch statements. * Renamed resource (and reused it)

Related to Issue [WTI-926]

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

Former-commit-id: bc454db9c282f8f142b9ddd4e0d6b2f7141a5ef6

Former-commit-id: f83d1d7387f86e9c8cb1edf2cf839799e3180065

  1. … 14 more files in changeset.
* Refactored code to be moved into RandomExtensions (and fixed a bug with it) Related to Issue [WTI-935]

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

Former-commit-id: 35166059ce639aaf523715a5e8cd8244a706d5ae

Former-commit-id: 136080fc932663fb4a25b5cd161017bde2e90b59

  1. … 3 more files in changeset.