Core.Components.DotSpatial.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Only expose tileSource schema in IConfiguration Related to Issue [WTI-1143]

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

Former-commit-id: 3efdd98432277a0cdaa3707bd1e2a5f8b04871eb

Former-commit-id: 2a7a8cafc8b972641e782b5dcbd580d62f068189

    • -21
    • +6
    ./Layer/BruTile/BruTileLayerTest.cs
  1. … 8 more files in changeset.
* 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
    • +1
    ./Layer/FeatureBasedMapDataLayerFactoryTest.cs
  1. … 22 more files in changeset.
Merged revision(s) from branches/WTI-1088 Related to Issue [WTI-1088]

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

Former-commit-id: 33abf8bc20b8724d9bf5cadc4a1a404bd4f3b9dc

Former-commit-id: 338c1378907add09d2a5d6e980c7896a12c533e6

    • -14
    • +11
    ./Core.Components.DotSpatial.Test.csproj
  1. … 188 more files in changeset.
Moved Projections folder.

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/WTI-1088@8509 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: d67360b66dd02d3847910809f24fd29d345cf667

Former-commit-id: 505e06705b07b5b4520b1f1a2ce0334486ab564b

    • -3
    • +3
    ./Core.Components.DotSpatial.Test.csproj
    • -0
    • +405
    ./Projections/ReprojectExtensionsTest.cs
    • -0
    • +176
    ./Projections/TileReprojectorTest.cs
    • -0
    • +172
    ./Projections/WorldFileTest.cs
  1. … 8 more files in changeset.
Fixed compilation errors.

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/WTI-1088@8483 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: bd94d9579c7648998f3dc57409b6253fbf8420d1

Former-commit-id: 7109fd5b13517d0d22409dd9563749f1d5258701

    • -0
    • +8
    ./Core.Components.DotSpatial.Test.csproj
  1. … 11 more files in changeset.
Moved Tile fetching logic to BruTile.IO project.

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/WTI-1088@8456 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: d6057b459439e6dbd9957f5934030fc34e0464d4

Former-commit-id: 47a1eb931062864d371a1cfdf601f458eceedd79

    • -3
    • +0
    ./Core.Components.DotSpatial.Test.csproj
  1. … 29 more files in changeset.
Moved BruTile comfigurations to BruTile project.

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/WTI-1088@8454 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 693fbb92a49f32efd3702c517dfaf3eea86766d7

Former-commit-id: c981a50429e3fb42d4eb7f4978ab1523b9982a28

    • -5
    • +0
    ./Core.Components.DotSpatial.Test.csproj
  1. … 37 more files in changeset.
Moved exceptions to BruTile project.

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/WTI-1088@8453 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: a4fffc791ced5ded000116f7e4313d1a1bf5e413

Former-commit-id: a0b3ac2088b1853dbc2ba4ca5a681be0c0320d85

    • -3
    • +0
    ./Core.Components.DotSpatial.Test.csproj
  1. … 22 more files in changeset.
Added BruTile projects so we can separate it from DotSpatial logic. Related to Issue [WTI-1088]

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

Former-commit-id: 3393f04ece091c3fa47a083beddc0ad6d911c14a

Former-commit-id: 2c56fd5acb012dfd57dc1b3a9371a37fcdb5f9ad

    • -1
    • +0
    ./Core.Components.DotSpatial.Test.csproj
  1. … 14 more files in changeset.
* More usage of Scratchpad folder for writing files. Related to Issue [WTI-1088]

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

Former-commit-id: 8856b7fab3e3f8af7ceee814491404db5552b75f

Former-commit-id: 1e71081ef1143d371c46702fc8455722cf548b1e

  1. … 8 more files in changeset.
* Final cleanup * Explicit exception for requiring configured MapData in TileSchemaFactory Related to Issue [WTI-1131]

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

Former-commit-id: 3c2b30bf482c24d5e144be5b97b78442ac767bde

Former-commit-id: 2d29a96955cc64dbbf4e0c5ccaaa906b296d0ec1

    • -25
    • +31
    ./Layer/BruTile/BruTileLayerTest.cs
  1. … 5 more files in changeset.
* Introduced Range class and FormattableConstants * Refactored all mentions of value ranges in Resources throughout the solution and replaced those by injecting instances of Range. ** This solution supports globalization of the application better. * Removed Dotspatial Legend related stuff from BruTileLayer and IConfiguration (and it's derivatives). * Cleanup in BruTileLayer. * Extended ProbabilityHelper with method for validating probability values. Related to Issue [WTI-1131]

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

Former-commit-id: d5a767df415eb68fcef3ebd2503020ed5f4979cc

Former-commit-id: 1bdd5e06da36a1dbb69f6e6e4d1e529805155d47

    • -38
    • +18
    ./Layer/BruTile/BruTileLayerTest.cs
  1. … 81 more files in changeset.
* Introduced WellKnownTileSourceLayerConfiguration. ** Refactored common code with WmtsLayerConfiguration into PersistentCacheConfiguration. * IDispose implementations for IConfiguration and AsyncTileFetcher now better follow MSDN guidelines. Related to Issue [WTI-1143]

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

Former-commit-id: 0d6c56ba219681e332746f9a7008c6b39c44ccfc

Former-commit-id: 21c1eb9c10848d336f1a6c3b403ce197193ce912

    • -0
    • +1
    ./Core.Components.DotSpatial.Test.csproj
    • -0
    • +151
    ./Layer/BruTile/Configurations/WellKnownTileSourceLayerConfigurationTest.cs
  1. … 9 more files in changeset.
* Refactored BruTileLayer to deal with two exceptional edge-cases gracefully. * Remaining functional test coverage for BruTileLayer. Related to Issue [WTI-1131]

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

Former-commit-id: c3a5b892e21ba2f680cbf7c3ddca7a390bd74648

Former-commit-id: fb29f6f7fe83302528268cf5350c93970d04f431

    • -66
    • +265
    ./Layer/BruTile/BruTileLayerTest.cs
  1. … 1 more file in changeset.
* Introduced ITileFetcher interface, that AsyncTileFetcher implements. * Replaced dependency on AsyncTileFetcher to depend on ITileFetcher. Related to Issue [WTI-1131]

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

Former-commit-id: c8dc2daff5314a0f59f1f86a38c39a3aa67787fe

Former-commit-id: 9c68a32c9e1237ab61fa7b9efeb68dd0da013431

    • -351
    • +302
    ./Layer/BruTile/BruTileLayerTest.cs
  1. … 7 more files in changeset.
* Removed timer from BruTileLayer as it was only started in unreachable code. (timer start was also unreachable in original code) * Functional coverage for BruTileLayer.DrawRegions Related to Issue [WTI-1131]

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

Former-commit-id: 04fb82042b44b42981bd8e5b303839e037ceafb1

Former-commit-id: c2ba620f103e87c34512c289c7221f711d2e88c8

    • -0
    • +21
    ./Core.Components.DotSpatial.Test.csproj
    • -0
    • +368
    ./Layer/BruTile/BruTileLayerTest.cs
    • binary
    ./Resources/BackgroundLayerAfterAddingHalfTransparentTestTiles.png
    • binary
    ./Resources/BackgroundLayerCanvas.png
    • binary
    ./Resources/BackgroundLayerCanvasAfterAddingTestTiles.png
    • binary
    ./Resources/BackgroundLayerCanvas_smaller.png
    • binary
    ./Resources/BackgroundLayerCanvas_smallerAfterAddingTestTiles.png
    • binary
    ./Resources/blue_256x256.png
    • binary
    ./Resources/green_256x256.png
  1. … 2 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

    • -2
    • +0
    ./Core.Components.DotSpatial.Test.csproj
  1. … 17 more files in changeset.
* IConfiguration is now disposable. ** WmtsLayerConfiguration is now responsible of disposing composite TileFetcher. * Functional test coverage for BruTileLayer (not finished). * Improved BruTileLayer to better conform to DotSpatial expectancies.

Related to Issue [WTI-1131]

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

Former-commit-id: cd372d7dd6f8c85aea7a036945f384fb1a3e12e5

Former-commit-id: 2e34f254a4056355bb40de4c31267148cbe0028c

    • -83
    • +405
    ./Layer/BruTile/BruTileLayerTest.cs
  1. … 5 more files in changeset.
* Test coverage for BruTileLayer (not finished yet) Related to Issue [WTI-1131]

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

Former-commit-id: d8d7c906d3146b1c6b7b15c1a611550f0bfdde29

Former-commit-id: 0e670e0be41917f6d7bc6ad4582a9f40b45f8c04

    • -0
    • +1
    ./Core.Components.DotSpatial.Test.csproj
    • -0
    • +316
    ./Layer/BruTile/BruTileLayerTest.cs
  1. … 1 more file in changeset.
* Complete functional coverage for Core.Components.DotSpatial\Layer\BruTile\Configurations. Related to Issue [WTI-1131]

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

Former-commit-id: ef6e141d1ad4583a187a77f2cfd1d99736ea04ed

Former-commit-id: e6f05762254bf7e040248345117eaebdc62af688

  1. … 1 more file in changeset.
* Fixed MouseCoordinatesMapExtension such that it will always show coordinates in RD-new coordinate system. ** Renamed class to RdNewMouseCoordinatesMapExtension to better reflect intent. * Fix null ref exception when disposing AsyncTileFetcher ** Solved Problem: worker thread could access null-ed fields before being aborted when AsyncTileFetcher.Dispose was called. Related to Issue [WTI-1088]

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

Former-commit-id: 73044793512bd71138c75fb014cd36272a593dde

Former-commit-id: 0f052f209dcd90f4adbad6087ada99c8d39dc0cf

    • -1
    • +1
    ./Core.Components.DotSpatial.Test.csproj
    • -92
    • +0
    ./MouseCoordinatesMapExtensionTest.cs
    • -0
    • +92
    ./RdNewMouseCoordinatesMapExtensionTest.cs
  1. … 5 more files in changeset.
* Improved reliability of unit test on slow running environments, by eliminating potential race-condition. Related to Issue [WTI-1088]

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

Former-commit-id: 691be7b2f0fd1fa515b88d676e2e505016f1800e

Former-commit-id: f7dfb0f4d3de6b8eb6ba49277d3b46071f20b560

* 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

    • -0
    • +27
    ./Core.Components.DotSpatial.Test.csproj
    • -0
    • +141
    ./Layer/BruTile/Configurations/BruTileReflectionHelperTest.cs
    • -0
    • +108
    ./Layer/BruTile/Configurations/WmtsLayerConfigurationTest.cs
  1. … 54 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
    • +23
    ./Core.Components.DotSpatial.Test.csproj
    • -0
    • +405
    ./Layer/BruTile/Projections/ReprojectExtensionsTest.cs
    • -0
    • +176
    ./Layer/BruTile/Projections/TileReprojectorTest.cs
    • -0
    • +172
    ./Layer/BruTile/Projections/WorldFileTest.cs
    • -0
    • +93
    ./Properties/Resources.Designer.cs
    • -0
    • +130
    ./Properties/Resources.resx
    • binary
    ./Resources/abacus.png
    • binary
    ./Resources/source.png
    • binary
    ./Resources/target.png
  1. … 28 more files in changeset.
* Full functional coverage of Core.Components.DotSpatial.Layer.Brutile.TileFetching. * Removed sychronous mode from TileFetcher. * Renamed TileFetcher to AsyncTileFetcher. Related to Issue [WTI-1088]

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

Former-commit-id: 8f90c42a4d0c14434caf5dfbb919afc4093618be

Former-commit-id: 00835a04b769417abec9ac11afbcb452e8f4e7c4

    • -0
    • +7
    ./Core.Components.DotSpatial.Test.csproj
    • -0
    • +494
    ./Layer/BruTile/TileFetching/AsyncTileFetcherTest.cs
    • -0
    • +61
    ./Layer/BruTile/TileFetching/NoopTileCacheTest.cs
    • -0
    • +46
    ./Layer/BruTile/TileFetching/TileReceivedEventArgsTest.cs
  1. … 10 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
    • +1
    ./Core.Components.DotSpatial.Test.csproj
    • -0
    • +53
    ./Layer/BruTile/Configurations/TileSourceFactoryTest.cs
  1. … 64 more files in changeset.
* Fixed lib references. Related to Issue [WTI-1088]

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

Former-commit-id: d2b12f7cb0ebf00ab92aad61f6cc2de4b8426eb2

Former-commit-id: 9b67bfc1f0af92f1bcd491e121ceacac87793a84

    • -1
    • +1
    ./Core.Components.DotSpatial.Test.csproj
* Made FeatureBasedMapData aware of projections. ** Alls FeatureBasedMapData are assumed to be defined in RD-New coordinate system. * MapControl now also defines a coordinate system. ** Note: Assumed that MapControl's coordinate system does not change. Related to Issue [WTI-1088]

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

Former-commit-id: a9f09fecc6adbab6324e118f9ff2b3f20795a324

Former-commit-id: 37ec4fadb6c0b4833fca9b227c96cd9493b95ac8

    • -1
    • +117
    ./Converter/FeatureBasedMapDataConverterTest.cs
    • -0
    • +4
    ./Core.Components.DotSpatial.Test.csproj
  1. … 14 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

    • -2
    • +2
    ./Core.Components.DotSpatial.Test.csproj
  1. … 335 more files in changeset.
* Defined BruTileLayer with WMTS connectivity. ** Classes based on https://github.com/FObermaier/DotSpatial.Plugins * Note: app.config added bu Nuget. Probably in order to resolve BruTile.Desktop dependency on an older version of SQLite, which i've set to ignore the dependency on the old SQLite. Related to Issue [WTI-1088]

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

Former-commit-id: f9fc0e320eea992e04250addb23b310f9b348a02

Former-commit-id: 8f2ecf22a1d5ec3cea0f1d7d342b882b5e6e78e7

    • -0
    • +1
    ./Core.Components.DotSpatial.Test.csproj
  1. … 210 more files in changeset.