Core.Common.Utils.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* Fixed typos. * Extra test cases for GrassCoverErosionInwardsCalculationConfigurationReader. * *CalculationConfigurationReader now directly take Name, as the value cannot be null because of the schema. * Refactored checking infinity for *CalculationConfigurationReader tests. * Readded License headers. Related to Issue [WTI-1154]

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

Former-commit-id: e5eaaf5c85c848d2387df9da92df0e4655cdd819

Former-commit-id: 57e5fe2464d4f2bb4d43d237a48dc53e00612076

  1. … 22 more files in changeset.
* Cleanup unused Resources. * Renamed *TypeConverter to *Converter, to be consistent with TypeConverters in .Net framework ** Only exception is EnumTypeConverter, because that inherits from EnumConverter. Related to Issue [WTI-1154]

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

Former-commit-id: fd1f72dc0518d0537d60434f9a5c087cc5223796

Former-commit-id: 87b46155441c0324e43ae49dadddc7f2053234a9

    • -0
    • +260
    ./NullableEnumConverterTest.cs
    • -260
    • +0
    ./NullableEnumTypeConverterTest.cs
  1. … 30 more files in changeset.
Updated version number Related to Issue [WTI-1197]

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

Former-commit-id: 0369694af810f3a93eb19c2d30c3532f9c083048

Former-commit-id: 0bba47d43174157b97b506a23f498be1b50dca9c

  1. … 2 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.
* Propagated the use of the Scratchpad folder for tests. Related to Issue [WTI-1088]

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

Former-commit-id: c281e86c4daafcc0bcf1935b84d9594d33246d4d

Former-commit-id: d130d71090209dd15f3efbf6e71d30b4181b0ca6

  1. … 7 more files in changeset.
Improved loop and added exception doc. Related to Issue [WTI-1060]

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

Former-commit-id: a137a0511897d4af53f94d26e978c1219264bc4c

Former-commit-id: a0da5ac2523421fef29e91bb71c3fb363c497b23

  1. … 1 more file in changeset.
- Updated texts of ValidateFilePath Added method GetFullPath that throws only ArgumentExceptions Related to Issue [WTI-1060]

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

Former-commit-id: c17a15c75b90157638db91f8a04112cafacf43d8

Former-commit-id: 0eed903d451361194e8d2111d155a0755c633259

  1. … 33 more files in changeset.
Changed invocations of Path.GetInvalidFileNameChars() to Path.GetInvalidPathChars() where appropriate. Related to Issue [WTI-1060]

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

Former-commit-id: f68419a6786407fdbcab4cc9ecb6df2d38f9629f

Former-commit-id: 95c49baffa303369bbd953c0c443b1830e8f1bb0

  1. … 7 more files in changeset.
- Updated texts - Changed ValidateFilePath to write the chars Path.GetFileName validates against (Path.GetInvalidPathChars()) in its exception Related to Issue [WTI-1060]

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

Former-commit-id: 2035c7d87c781c6d0cc8fa7a3fdd46eb85a9b7e1

Former-commit-id: 0bb23d23531231bb7c07834ec39505714bb049a7

  1. … 24 more files in changeset.
* Introduced EnumTestFixture and used throughout solution. * Extended TypeUtils with GetDisplayName for enum values. * Introduced ImageBasedMapData ** WmtsMapData now inherits from ImageBasedMapData ** Newly introduced WellKnownTileSource also inherits from ImageBasedMapData Related to Issue [WTI-1105]

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

Former-commit-id: 1a77fc96e65eb336b41b3db4eda31975494145bb

Former-commit-id: 5f6096b6eff37624574906891869115b3bb56695

  1. … 27 more files in changeset.
* Improved error messaging for ColorAccess * Cleanup and improved XML docs Related to Issue [WTI-1088]

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

Former-commit-id: ba83a3bd99ffb502069f2a804be592c7f371d899

Former-commit-id: 04b720a0d17e49e6a0143710c703958d29221758

  1. … 16 more files in changeset.
Adapted version number Related to Issue [WTI-1140]

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

Former-commit-id: f24d5652b8bb40e28c660a2d44eda46fbb328c28

Former-commit-id: c0d224d7bec23876f344ceced2c1ae045d00cc4b

  1. … 1 more file in changeset.
* Introduced base TestFixture class for testing design of custom exceptions: CustomExceptionDesignGuidelinesTestFixture ** Refactored all ExceptionTest classes to used this new base-class. * Functional testcoverage for Core.Components.DotSpatial\Layer\BruTile\Configurations * PersistentCacheConfiguration no longer supports SQLite cache * ITileSourceFactory now guarantees that all ITileSource elements returned have a WmtsTileSchema. * TODO: More functional coverage for WmtsLayerConfiguration

Related to Issue [WTI-1088]

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

Former-commit-id: 0cd7c47dc7ee2221f69b7c3b4d88205d087c691e

Former-commit-id: b3dbe965ce4a4266af1d8284ad481d2449db14e7

    • -97
    • +37
    ./Exceptions/InvalidTypeParameterExceptionTest.cs
  1. … 61 more files in changeset.
Created Test util projects for Migration.Scripts.Data Renamed ValidateFilePathIsWritable to CreateFileIfNotExists, since it also creates the file Related to Issue [WTI-1060]

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

Former-commit-id: abafe76f7888e3a3b20b814ccae92372aadb747b

Former-commit-id: 5dc5de346f588c0ff0fe3728da01f1a070bd75a6

  1. … 10 more files in changeset.
* updated license delivered with installer and internally to comply with Apache 2.0 requirements * Moved ColorAccess class to Core.Common.Utils * Functional coverage for Core.Components.DotSpatial\Layer\BruTile\Projections Related to Issue [WTI-1088]

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

Former-commit-id: 5ea0e9d236b6e1fe75f093b5d9ddf39c351b2b68

Former-commit-id: 6edf169774efa7d4918f8190425cb2fcc1b36188

    • -0
    • +181
    ./Drawing/ColorAccessTest.cs
    • binary
    ./Resources/acornWithCross.png
  1. … 32 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

    • -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.