Core.Components.DotSpatial.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* 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.
- 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
    • +1
    ./Core.Components.DotSpatial.Test.csproj
  1. … 219 more files in changeset.
Merged revision(s) from branches/WTI 999

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

Former-commit-id: 5fadfe734513e4c262a9189b33e5ac16db42dc8c

Former-commit-id: 9c31b58309b4af7f2b4124049c1a3b34f4acee4f

    • -29
    • +25
    ./Converter/FeatureBasedMapDataConverterTest.cs
  1. … 54 more files in changeset.
Applied some final improvements Related to Issue [WTI-999]

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

Former-commit-id: ec6bdeaefe5b7addeea42067b4c5792ba8789f09

Former-commit-id: 351e4dc3f585d26406adda4c2fa45b915d505dc0

    • -2
    • +2
    ./Converter/FeatureBasedMapDataConverterTest.cs
  1. … 8 more files in changeset.
Cleaned up FeatureBasedMapDataConverterTest Related to Issue [WTI-999]

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

Former-commit-id: 449eca6fdee97df2d907b849822ca366a6dbec5e

Former-commit-id: da77c437bd2e64292e04fc726f8ebc8de3839a9b

    • -16
    • +14
    ./Converter/FeatureBasedMapDataConverterTest.cs
* Fixed some typos * Ensured TestFeatureBasedMapData is used Related to Issue [WTI-999]

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

Former-commit-id: ec81725a83205d65de9a7f2a7393ea1f212d13e6

Former-commit-id: d97b7f1bb8c3c44a2df7c84bb6d736bdaca4d4da

    • -9
    • +5
    ./Converter/FeatureBasedMapDataConverterTest.cs
  1. … 3 more files in changeset.
Review related changes Related to Issue [WTI-1018]

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

Former-commit-id: 05100945b1956fb659a1ff5626aa5c757294cb97

Former-commit-id: 7d4d29a055cc0496fed8e09e93711a6547719a34

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

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

Former-commit-id: dd3aa3df4a2906e8dcb2fbc630082f5b0bbf347a

Former-commit-id: 7bf8dff6ab95574555d16cb5ce2f64bbbb1152c7

    • -1
    • +0
    ./Converter/MapLineDataConverterTest.cs
  1. … 5 more files in changeset.
Extended ChartDataConverterTest Related to Issue [WTI-999]

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

Former-commit-id: cde3cf9e0f2a657dc094950c9137441a6b17333c

Former-commit-id: b049d4ca00520ed4597287b76e3854d9c9782db3

    • -6
    • +8
    ./Converter/FeatureBasedMapDataConverterTest.cs
  1. … 6 more files in changeset.
Fixed build server? Related to Issue [WTI-1018]

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

Former-commit-id: fa2792b742bdd5f8804fd8bbf57e7380667b90c5

Former-commit-id: 6556151477a8e32edf5da7ef8a8f7370e9c441c1

    • -4
    • +0
    ./Core.Components.DotSpatial.Test.csproj
  1. … 1 more file in changeset.
Cleaned up FeatureBasedMapDataConverterTest Related to Issue [WTI-1018]

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

Former-commit-id: 8199c0c0d8f76ad26babff6e8d2410808dac5c50

Former-commit-id: 8bbe1f2574b5c48e4ef93723641f0714e3e5a0d7

    • -115
    • +147
    ./Converter/FeatureBasedMapDataConverterTest.cs
    • -0
    • +4
    ./Core.Components.DotSpatial.Test.csproj
Fixed failing test Related to Issue [WTI-1018]

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

Former-commit-id: 982dd0178aa706e4f341689a02abd0a35336143f

Former-commit-id: a5122fdbf88548e75f53233a07960b4a8e981691

    • -2
    • +3
    ./Converter/FeatureBasedMapDataConverterTest.cs
Extended FeatureBasedMapDataConverterTest Extended FeatureBasedMapDataConverter with extra update extend call Related to Issue [WTI-1018]

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

Former-commit-id: 6ea2df0556981c531294a15e4a7356f8e7cf8454

Former-commit-id: ea052cdaa1bba8ff479490859d1c74fc0d8e2d3f

    • -1
    • +48
    ./Converter/FeatureBasedMapDataConverterTest.cs
  1. … 1 more file in changeset.
Added missing map data layer tests Related to Issue [WTI-1018]

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

Former-commit-id: 51ef162816b5b781cf54e84a43c97f74b591ac77

Former-commit-id: 8aacd0104a5dc8269cf1f37fa32988f83043b558

    • -1
    • +1
    ./Converter/FeatureBasedMapDataConverterTest.cs
  1. … 1 more file in changeset.