Core.Common.Utils.Test

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

    • -0
    • +46
    ./Builders/DirectoryWriterErrorMessageBuilderTest.cs
  1. … 62 more files in changeset.
Fixed typo in FileUtilsTest Added tests for RingtoetsDatabaseFile Related to Issue [WTI-1060]

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

Former-commit-id: bd18347bb1ea20e569716864567dcfc2e25c4ffe

Former-commit-id: 9617f63487e8201a7123fa49a1357f6706b9e69e

  1. … 3 more files in changeset.
- Updated XMLdoc for FileUtils - Cleaned projects from files - Set scripts as embedded resource - Introduced VersionedFile Related to Issue [WTI-1060]

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

Former-commit-id: 503924b04acb680e4c6de131b979f796f7c56ea3

Former-commit-id: c2933c6e7da0ace4313cd83c8b14917620ae5dd2

  1. … 21 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.
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. … 335 more files in changeset.
Updating the version number from 16.4.2 to 16.4.3 paired with tang_ds Related to Issue [WTI-1065]

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

Former-commit-id: ca45c7421f540feffc32527c7fb5f8abc50738d6

Former-commit-id: 1c3ffeca88bda495029fd892faf6ee7c86a9dbf6

  1. … 2 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. … 33 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. … 41 more files in changeset.
Use of nameof operator in Resource* attributes. Reviewed by: bouvrie

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

Former-commit-id: f5bb0e00d51b1760f788726105a1fc99df20e024

Former-commit-id: 2624919c5c7a37b1da3486ef3d4dd8d40c6f62c5

    • -3
    • +3
    ./Attributes/ResourcesDisplayNameAttributeTest.cs
  1. … 79 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.
Updating version from 16.4.1 to 16.4.2 Related to Issue [WTI-1010]

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

Former-commit-id: 504e9c96d48b91123b4ef359f18d75aed008eb41

Former-commit-id: 3c7a7ac13976e9980ac440bb604d1525d60e0f97

  1. … 2 more files in changeset.
Updated version number. Related to Issue [WTI-1009]

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

Former-commit-id: 92d6f2f9fb464fbe69afea18e7b4fc60e9f90116

Former-commit-id: 26815859f47b8948c804682e60c5af8c69b4af0e

  1. … 2 more files in changeset.
Performed Resharper cleanup

Related to Issue [WTI-1008]

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

Former-commit-id: 23d17fd6b5257a25b167839d9106eea6fa7be554

Former-commit-id: 4a817a07bc646924777514e78010c89bc0fdf9b5

  1. … 114 more files in changeset.
Moved embedded resources into EmbeddedResources sub directories. Removed the reference to these resources from the resource files. Related to Issue [WTI-1008]

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

Former-commit-id: 5c0d1011ccd959efd8d8bd4430bd38d274bf4cd9

Former-commit-id: ac0e94f17859ad6db4e7eb9de3f88a435b05c9a8

    • -0
    • +0
    ./EmbeddedResources/EmbeddedResource1.txt
    • -0
    • +0
    ./EmbeddedResources/EmbeddedResource2.txt
    • -0
    • +0
    ./EmbeddedResources/NonEmbeddedResource.txt
    • -0
    • +1
    ./EmbeddedResources/testFile.txt
  1. … 65 more files in changeset.
fixed some of the issues found by visual studio code analysis. Related to Issue [WTI-1008]

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

Former-commit-id: 4dcef30e569dc8609e9b3dcd59e1299528a62ac7

Former-commit-id: 1ef53f9f4c43b24815cbbe85c972603a390face5

    • -0
    • +23
    ./Exceptions/InvalidTypeParameterExceptionTest.cs
  1. … 10 more files in changeset.
Fixed some constraint violations. Related to Issue [WTI-1008]

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

Former-commit-id: 2bc863561f91a1b479611b2197c0ed12a5b633c6

Former-commit-id: 21c39d763b9a581faebfede2e66e3d13938822e4

  1. … 13 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
    • +1
    ./Extensions/EnumerableExtensionsTest.cs
  1. … 28 more files in changeset.
Created new tables for HydraulicBoundary location output updated read en create extensions to store the output Exposed DesignWaterLevel, WaveHeight, DesignWaterLevelCalculationConvergence, and waveHeightCalculationConvergence in HydraulicBoundaryLocation from the corresponding output. These properties will be read-only soon. Extended TestHydraulicBoundaryLocation to create only DesignWaterLevelOutput and or WaveHeightOutput Related to Issue [WTI-987]

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

Former-commit-id: 3d97b2d5c20904d3618c3891ffaf428febe26cb7

Former-commit-id: b23014a54b9637c6ba750ca9a11ddb45de1383fb

  1. … 48 more files in changeset.
- Updated return periods to norm for WaveConditions calculations Related to Issue [WTI-1019]

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

Former-commit-id: c8afc99ea4cffa199c541bed3d5d7f77a20eab42

Former-commit-id: 54448072d156690e49ac17c44c321a0d58bbff34

  1. … 8 more files in changeset.
Extended tests for the StatisticsConverter: - Added more testcases between and including the maximum user input value - ReliabilityToProbability and vice versa explicitly covered Related to Issue [WTI-897]

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

Former-commit-id: 1276667fb62af4e8bd7b3f8e591c1de7b1fef544

Former-commit-id: c9520ac05a7d49190cd8a2a2fd27e82f5a8a9bf9

- Extended StatisticsConverter with ProbabilityToReliability and ReliabilityToProbability - Renamed NormToBeta to ReturnPeriodToReliability - Renamed "norm" to "return period" in tests

Related to Issue [WTI-897]

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

Former-commit-id: dafa27cc7d0aa3e142e1574957acefb7330f99f2

Former-commit-id: 069233ced8f4423accc35ea21b30e93cc8a95eea

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

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

Former-commit-id: 4c20be08d01f7ec53cd301990629a225af0798ee

Former-commit-id: 91495825e41f478a989c10059a37f9316ae0405d

  1. … 7 more files in changeset.
Added test for error message starting with upper case. Related to Issue [WTI-948]

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

Former-commit-id: 779bd87f47ea3a6d3d5e12d62e2c170353e377b2

Former-commit-id: e96e86b3e4f774dcc7a2b034ea272ffd05b637b6

    • -0
    • +15
    ./Builders/FileReaderErrorMessageBuilderTest.cs
used lower case after colon when using FileReaderErrorMessageBuilder. Added FirstToLower method in StringExtensions. Related to Issue [WTI-948]

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

Former-commit-id: e9d3cccc3d91f565fc53bdfffabb2449c517437e

Former-commit-id: b80c97fbcc39c0000d0348fb5fa4591371f53bed

    • -0
    • +28
    ./Extensions/StringExtensionsTest.cs
  1. … 57 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. … 13 more files in changeset.
Updated version number Related to Issue [WTI-930]

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

Former-commit-id: b1639cc85707e3963e8b9f1abcee93855561965c

Former-commit-id: fa3d2db98070a9aba4bce2ba0a468a396211b537

  1. … 2 more files in changeset.
Reverted version number

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

Former-commit-id: c94e98dbf663cb5360c35f2daf7d02eb40278738

Former-commit-id: c65f4301408ec499626e7674abc50d417f3849eb

  1. … 2 more files in changeset.
* Adapted some default values for GEKB * Fixed failing tests

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

Former-commit-id: 721418c1f2ce199677d9bab706e0b2659e74c56e

Former-commit-id: 704e46ff72019625365bb8594cde5ea5de3ac40d

  1. … 2 more files in changeset.
- Fixed failed test Related to Issue [WTI-930]

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

Former-commit-id: 3eeaa07331ab72af99f806f3265166945cf75e72

Former-commit-id: d7630b52f0542e138b0618af36295e71720aa0ef

* parameter null validation added. * renamed 'object' to 'value'. Related to Issue [WTI-931]

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

Former-commit-id: dabe727b5cf43fa26a054b71b83f3dbabfae4224

Former-commit-id: e3290a26dfa352699943ea96e1275e3fb375403b

    • -0
    • +33
    ./Drawing/GraphicsExtensionsTest.cs
    • -0
    • +29
    ./Extensions/CollectionExtensionsTest.cs
    • -0
    • +29
    ./Extensions/EnumerableExtensionsTest.cs
    • -0
    • +22
    ./IO/EmbeddedResourceFileWriterTest.cs
  1. … 31 more files in changeset.