Application.Ringtoets.Storage.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Review related changes Related to Issue [WTI-1143]

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

Former-commit-id: 374248ca63fc07500fdc143e6e83a03e0849c8e8

Former-commit-id: 63b9a9aabfee49e3f8921528de5fa1973410e3ce

    • -1
    • +1
    ./Create/AssessmentSectionCreateExtensionsTest.cs
    • -1
    • +1
    ./Create/BackgroundDataCreateExtensionsTest.cs
    • -2
    • +2
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -5
    • +5
    ./Read/BackgroundDataEntityReadExtensionsTest.cs
  1. … 6 more files in changeset.
Extended functionaliry of WmtsBackgroundDataConfiguration: - Introduced default parameterless constructor which initializes an unconfigured WMTS background data configuration -- Replaced all unconfigured WmtsBackgroundDataConfigurations instances with parameterless constructor - Adjusted BackgroundDataProperties: -- It is not possible to reach a state where a WmtsBackgroundDataConfiguration is configured with NULL values on the properties -- Adjusted affected test Related to Issue [WTI-1141]

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

Former-commit-id: ff915c2908c06d7279c2a1d16fc1c555db379fac

Former-commit-id: aa9a8b4b5f250c2a35b632f8872f94bb7907abac

    • -11
    • +49
    ./Create/BackgroundDataCreateExtensionsTest.cs
  1. … 6 more files in changeset.
Fixed failing tests paired with ~tang_ds Related to Issue [WTI-1200]

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

Former-commit-id: 81a0cda2890db3415ea33bf6a30582b28a3ef34c

Former-commit-id: 7ebad29a3eb72bb8197cb991081f58f9fe0807dd

    • -4
    • +0
    ./Application.Ringtoets.Storage.Test.csproj
    • -2
    • +1
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -4
    • +3
    ./Read/BackgroundDataEntityReadExtensionsTest.cs
  1. … 8 more files in changeset.
Used RingtoetsWellKnownTileSources Removed dependency on Core.Components.GIS Related to Issue [WTI-1200]

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

Former-commit-id: 0a1fafb09bb7185e3b6ddf022a74e564a87a4957

Former-commit-id: bddb564235e363162b11bbb939fa2aaf8cd85b87

    • -8
    • +0
    ./Application.Ringtoets.Storage.Test.csproj
    • -5
    • +3
    ./Create/BackgroundDataCreateExtensionsTest.cs
  1. … 18 more files in changeset.
- Moved BackgroundDataIdentifiers and BackgroundMapDataType to Storage, as they're only storage applicable -- Updated affected XMLDoc - Removed resource values for the RingtoetsWellKnownTileSource.cs -- These are not used for the user interface representation, the property info panel gets its display information from the BackgroundData.Name string property already - Changed InvalidOperationException of the BackgroundDataConverter to a NotSupportedException -- Added test to verify behaviour

Related to Issue [WTI-1141]

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

Former-commit-id: cbc4454696fcf16ed9f3c5f60de51aa1333b2cbd

Former-commit-id: 39465c2d551abd7242853e8c77b9b03674301127

    • -0
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +40
    ./BackgroundDataIdentifiersTest.cs
  1. … 18 more files in changeset.
Introduced test helper to assert background data. Related to Issue [WTI-1141]

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

Former-commit-id: 1756f20fd2974aa2a37bb1a68a1ff3d0f998f834

Former-commit-id: 6d11526634c72fbd3d09f8ecd9d0ab1c3b6d85ba

    • -29
    • +1
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
  1. … 3 more files in changeset.
Updated database design. Related to Issue [WTI-1141]

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

Former-commit-id: 5a7e5c51d3e62d0d7ae5bc4d2af9f8d108e97cc8

Former-commit-id: 1702d7f9b982f4e70d5262c8333457e079ec0bdd

    • -2
    • +0
    ./Read/BackgroundDataEntityReadExtensionsTest.cs
  1. … 7 more files in changeset.
Merged revision(s) 8903-8904, 8907-8908, 8912, 8916-8917, 8920-8921, 8924, 8926-8927, 8929, 8931 from branches/WTI-1141-refactoring Related to Issue [WTI-1141]

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

Former-commit-id: 20121aade51e77a9fb98f916933be489ac2e4622

Former-commit-id: 9bc973dd3346f28033a593cb3b574457c29554d9

    • -7
    • +7
    ./Create/AssessmentSectionCreateExtensionsTest.cs
    • -24
    • +66
    ./Create/BackgroundDataCreateExtensionsTest.cs
    • -4
    • +18
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -19
    • +22
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -21
    • +37
    ./Read/BackgroundDataEntityReadExtensionsTest.cs
    • -2
    • +20
    ./Read/ProjectEntityReadExtensionsTest.cs
  1. … 39 more files in changeset.
Fixed tests in storage.

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

Former-commit-id: 0f5a4a036ad35e2180e4d347e5913919b2062c93

Former-commit-id: 1ef9d9fd4e09d03210e6b999fc1e57a76694f9db

    • -5
    • +8
    ./Create/AssessmentSectionCreateExtensionsTest.cs
    • -12
    • +10
    ./Create/BackgroundDataCreateExtensionsTest.cs
    • -2
    • +18
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -4
    • +13
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -4
    • +18
    ./Read/BackgroundDataEntityReadExtensionsTest.cs
    • -2
    • +20
    ./Read/ProjectEntityReadExtensionsTest.cs
  1. … 5 more files in changeset.
Implemented configuration as parameter constructor of background data.

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

Former-commit-id: 013067d24396c6c4070fc2e6ba11156ecbbec455

Former-commit-id: fd23f590a49cf4bc4a444a89ce7b59eae2387ddd

    • -6
    • +4
    ./Create/BackgroundDataCreateExtensionsTest.cs
  1. … 16 more files in changeset.
Removed redundant properties from backgroundData.

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

Former-commit-id: 5c7ed04e46e00791955102db4f5d784af9ad7cbc

Former-commit-id: 909421b6a2bfdf29f5d6e7c8a25ac017e46a1f64

    • -3
    • +1
    ./Create/AssessmentSectionCreateExtensionsTest.cs
    • -6
    • +2
    ./Create/BackgroundDataCreateExtensionsTest.cs
    • -2
    • +0
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -2
    • +0
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -5
    • +0
    ./Read/BackgroundDataEntityReadExtensionsTest.cs
  1. … 14 more files in changeset.
Merged revision(s) 8909-8915 from trunk

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

Former-commit-id: 972252736fabd10cfb50bbd2482e5770a8ddc841

Former-commit-id: d1f46ccda4e478196ccdb9c1a86be87d8927e0a7

    • -4
    • +4
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
  1. … 3 more files in changeset.
- Mirrored WellKnownTileSource with the RingToets equivalent - Fixed failing tests - Added elseif instead of if in the BackgroundDataCreateExtensions, because mapdata configurations are defined as either-or and not as and/or

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

Former-commit-id: 4c41a5350eb2f10f108a858511d3192b38b8783c

Former-commit-id: 8868536b1e96c7cfdd22567dd8ac45538cb86c5c

    • -1
    • +1
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
  1. … 4 more files in changeset.
Fixed compilation errors: - Removed uses of BackgroundData.Parameters - Extended ReadExtensions with capability to read out the two IMapDataConfigurations and instantiate them correctly with the KVPs stored in the Dictionary -- Updated affected tests - Updated CreateExtensions to fill the dictionary depending on the required properties in the BackgroundData.Configurations -- Updated affected tests

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

Former-commit-id: f22824aad6460d6d643435d58084c812b29e4eaa

Former-commit-id: 39adddff684ea17eef9172cee9e1093321aa0ecb

    • -1
    • +0
    ./Create/AssessmentSectionCreateExtensionsTest.cs
    • -18
    • +68
    ./Create/BackgroundDataCreateExtensionsTest.cs
    • -1
    • +1
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -13
    • +9
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -13
    • +20
    ./Read/BackgroundDataEntityReadExtensionsTest.cs
  1. … 3 more files in changeset.
* Fixed bug in deserializing a AssessmentSectionEntity, where it did not copy the BackgroundMapDataType value. * Fixed incorrect default value for BackgroundData. Related to Issue [WTI-1049]

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

Former-commit-id: d91fc1ed27d685a85641139fb4899adb952f6fc7

Former-commit-id: e4e1c6be4741deaee404379e28a3acfcbeac0eb4

    • -4
    • +4
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
  1. … 3 more files in changeset.
Incorporated comments review 1560: - Changed List to Array - Reverted unwanted removal of return Related to Issue [WTI-1141]

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

Former-commit-id: 9517060caae0378dd6565c5a584b040bd53e9be2

Former-commit-id: 2da9983d2cfc2f9eac8589c4d22d3e46b87e6399

    • -1
    • +1
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -3
    • +2
    ./Read/BackgroundDataEntityReadExtensionsTest.cs
  1. … 1 more file in changeset.
Set default background map data to Well Known Tile source Bing Arial Related to Issue [WTI-1200]

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

Former-commit-id: 18c16647d58d10ad0f718e53002478392bcd44a8

Former-commit-id: 8a0bc5f3d6ae87cf7ba7b877fafaaf8b743ef542

    • -0
    • +1
    ./Create/AssessmentSectionCreateExtensionsTest.cs
    • -17
    • +5
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
  1. … 5 more files in changeset.
Deltares cleanup after review Related to Issue [WTI-1049]

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

Former-commit-id: 41fe916cc0126c725715b7404e4abefd02f9ecb0

Former-commit-id: 1d88184ea779739d656adbab0f391092dd395d33

    • -4
    • +1
    ./Exceptions/CannotDetermineFingerprintExceptionTest.cs
* Refactored FingerprintHelper such that it no longer uses a MemoryStream (which can overload it's internal buffer when too much data is put into it), and now uses a FileStream to a temp file instead. ** Introduced CannotDetermineFingerprintException in order to wrap potential IO-related exceptions that can not occur when working with FingerprintHelper. Related to Issue [WTI-1049]

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

Former-commit-id: 271043e9b9cfbd2269aa098ad4957d40a7c13a27

Former-commit-id: fd2ea0920c45048fdf75ffa1ced25af2923d6820

    • -0
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +35
    ./Exceptions/CannotDetermineFingerprintExceptionTest.cs
  1. … 6 more files in changeset.
Implemented FilteredKeyDictionary which prevents items being added for keys that are not allowed. Related to Issue [WTI-1141]

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

Former-commit-id: 3aa870ab8b10f9152eb4be2acc713774055b4451

Former-commit-id: 209dd477f22b1329fb8ec9d44c2dbca8cd67c6f6

    • -60
    • +0
    ./Read/BackgroundDataEntityReadExtensionsTest.cs
  1. … 7 more files in changeset.
* removed superfluous code parts. Related to Issue [WTI-1075]

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

Former-commit-id: bb8a59441029448d52fa994571fb88e0ba2a0395

Former-commit-id: 158accdea15a102fdcb15309d3e6f435dbb5c5f3

    • -24
    • +7
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
Incorporated comments developer: - Updated migration script for the surface lines and stochastic soil model - Updated constraints in the database - Added test to prevent that tight uniqueness constraints prevent saving or loading projects

Paired with janssen

Related to Issue [WTI-1075]

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

Former-commit-id: 3c7188ff804fb14f714eb29897cfe4bad9864956

Former-commit-id: bd51a945a0080f6febd081ec7a8fe613b0f86dfd

    • -0
    • +31
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
  1. … 4 more files in changeset.
Improvements after review read extensions. Related to Issue [WTI-1141]

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

Former-commit-id: f40ea23523a8e1d32d3919ed207112c6147d1595

Former-commit-id: e42afc4b7dd51b0f011b09e7cbcae58739e4cc9d

    • -1
    • +1
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
    • -22
    • +27
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -32
    • +27
    ./Read/BackgroundDataEntityReadExtensionsTest.cs
  1. … 1 more file in changeset.
Improvements after review create extensions. Related to Issue [WTI-1141]

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

Former-commit-id: cee856adbe1b024b495d06984b6599e25fab154a

Former-commit-id: 7487cf1a77acc29aa172cd8b2120ada2e6d1ab14

    • -1
    • +7
    ./Create/AssessmentSectionCreateExtensionsTest.cs
    • -13
    • +6
    ./Create/BackgroundDataCreateExtensionsTest.cs
  1. … 2 more files in changeset.
Created extra folder for working directory in ScratchPad that is removed on test class TearDown Related to Issue [WTI-1143]

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

Former-commit-id: 5542652dde7016e74e029466821e1fdb295e0ee9

Former-commit-id: 4d78403cc2293d8b18df616e11e6ea25a0e52a1e

    • -59
    • +65
    ./IntegrationTests/StorageMigrationIntegrationTest.cs
    • -29
    • +26
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
* Fixed typos. * Renamed MigrationNeeded to MigrationRequired. * Cleanup. * Asserting log messages improved by taking type of message into account. * Moved CriticalFileReadException from Core.Common.IO\Exceptions to Core.Common.Base\IO * Task is now disposed when disposing ActivityProgressDialog * Put license header back Related to Issue [WTI-1049]

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

Former-commit-id: 54560eb7ca6c0a99cdcf14b0406c23b9eca57311

Former-commit-id: 3b703601071d34a3cca2779d0c671f3d3ddabcd9

    • -4
    • +4
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
  1. … 124 more files in changeset.
Implemented review comments: - Updated XMLDoc - Used concrete implementation of the RingtoetsProjectMigrator for the integration test instead of a Mock (because it's an integration test) Related to Issue [WTI-1095]

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

Former-commit-id: 40e2969a2250431c1e420864968b358c8141148e

Former-commit-id: 1c82b16ad9be201148f72a29b07e366aae931446

    • -3
    • +3
    ./IntegrationTests/StorageMigrationIntegrationTest.cs
  1. … 1 more file in changeset.
Implemented review comments: - Introduced a RingtoetsProjectMigrationTestHelper: -- Can be used to retrieve file paths to latest, supported or unsupported files -- Can be used to retrieve all file paths to the supported outdated project files -- Replaced explicit project file calls with methods from the test helper Related to Issue [WTI-1095]

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

Former-commit-id: 64aa9cbe289ee0c728cd30e9d23b962591cc0d90

Former-commit-id: 54d365a5c6b2ca6f9d0990ee27abfc38286968a1

    • -6
    • +7
    ./IntegrationTests/StorageMigrationIntegrationTest.cs
  1. … 11 more files in changeset.
* Refactored StorageCommandHandler to use OpenProjectActivity. * Fixed bug in ActivityProgressDialog related to cross-threading exceptions. ** Implementation was not guaranteed to use the correct SynchronizationContext. ** Removed ProgressReporter, due to now being obsolete. ** Setting of SynchronizationContext no longer required in unit tests. * Changed default value for MigrationNeeded.

Related to Issue [WTI-1049]

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

Former-commit-id: 40eb861411768c4a895eae17f71470458887712d

Former-commit-id: b19c95c5b04582cf50f772cb1dbfcc34f8b1fb6d

    • -1
    • +1
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
  1. … 14 more files in changeset.
Added key to BackgroundDataIdentifiers for WellKnown Related to Issue [WTI-1141]

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

Former-commit-id: cbd8350f548223e5d46c59aad2887bc6f97b273d

Former-commit-id: 38e10be50b90376d89ee1ae627b043b603dbaf5a

    • -15
    • +1
    ./Create/BackgroundDataCreateExtensionsTest.cs
    • -8
    • +90
    ./Read/BackgroundDataEntityReadExtensionsTest.cs
  1. … 4 more files in changeset.