Application.Ringtoets.Storage.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Implemented review comments: - Set the owner of the dialog windows of the DialogBasedInquiryHelper -- Fixed affected tests - Added assertions for the log level severity - Corrected typos in XML docs - Corrected reference settings - Added missing integration tests Related to Issue [WTI-1095]

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

Former-commit-id: ee73e748a0bfbe46c7cc81b43aeae35429b04b5f

Former-commit-id: 6de73e069e8defde63b355a77826f15c39e4ec30

    • -0
    • +4
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +74
    ./IntegrationTests/StorageMigrationIntegrationTest.cs
  1. … 6 more files in changeset.
Added background type in create and read extensions. Related to Issue [WTI-1141]

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

Former-commit-id: 3bb1df757426d03b7181e939a1df635f8f528781

Former-commit-id: 961a6eb57e27e514cf4cdd694d5582e1de984d14

    • -3
    • +4
    ./Create/BackgroundDataCreateExtensionsTest.cs
    • -1
    • +4
    ./Read/BackgroundDataEntityReadExtensionsTest.cs
  1. … 2 more files in changeset.
Renamed read extensions from backgroundMapData to backgroundData Related to Issue [WTI-1141]

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

Former-commit-id: d63cd5c076357b51b6d2ea0a5ed2694484f91d34

Former-commit-id: c80f9c5b1d83c7986733a83c1da4acd396a8a87d

    • -1
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +167
    ./Read/BackgroundDataEntityReadExtensionsTest.cs
    • -167
    • +0
    ./Read/BackgroundMapDataEntityReadExtensionsTest.cs
  1. … 5 more files in changeset.
- Updated database design - Implemented new database design. Related to Issue [WTI-1141]

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

Former-commit-id: 39cf123b1b60fe1269ee7bb96292a5c1885588ce

Former-commit-id: f80ab2bd1aff4b29355c5c0d16c2fef3cc0b3510

    • -0
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -5
    • +3
    ./Create/AssessmentSectionCreateExtensionsTest.cs
    • -11
    • +20
    ./Create/BackgroundDataCreateExtensionsTest.cs
    • -41
    • +50
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -0
    • +65
    ./Read/BackgroundDataMetaEntityReadExtensionsTest.cs
    • -20
    • +78
    ./Read/BackgroundMapDataEntityReadExtensionsTest.cs
    • -4
    • +4
    ./Read/ProjectEntityReadExtensionsTest.cs
  1. … 16 more files in changeset.
Changed integration test for BackgroundData Related to Issue [WTI-1141]

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

Former-commit-id: 7047a5d7c18bd55b4aff2437993d0db90ade2965

Former-commit-id: c0c6cd32ce3fa67f8562d2792e6c1fdd5db9608f

    • -21
    • +7
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
Changed storage so that it handles with BackgroundData instead of BackgroundMapDataContainer. Related to Issue [WTI-1141]

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

Former-commit-id: 652d7c5d33baf5b6bd70ed7a4cccecaaceebb70c

Former-commit-id: 96597a4870ef0ed6b2e8d8e9a2f420882e740f67

    • -1
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -5
    • +2
    ./Create/AssessmentSectionCreateExtensionsTest.cs
    • -0
    • +116
    ./Create/BackgroundDataCreateExtensionsTest.cs
    • -178
    • +0
    ./Create/BackgroundMapDataContainerCreateExtensionsTest.cs
    • -15
    • +11
    ./Read/AssessmentSectionEntityReadExtensionsTest.cs
    • -23
    • +17
    ./Read/BackgroundMapDataEntityReadExtensionsTest.cs
  1. … 6 more files in changeset.
* Refactored RingtoetsProjectMigrator to move responsibility of determining target location for migrated project to seperate method. * Fixed 2 failing tests. Related to Issue [WTI-1049]

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

Former-commit-id: e725e71ba9d80444c8a49d6618832bee6ccd237d

Former-commit-id: 457b058abc9f8baa453a165f511492c49c895042

    • -0
    • +1
    ./IntegrationTests/StorageMigrationIntegrationTest.cs
    • -2
    • +4
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
  1. … 9 more files in changeset.
Incorporated the RingtoetsProjectMigrator in the StorageCommandHandler: - Fixed compilation errors of affected tests -- Introduced mocks where necessary - Ran DeltaresClean Related to Issue [WTI-1095]

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

Former-commit-id: d546ad32067db464f96e9faa5a55aaa2b5eef6ca

Former-commit-id: c73bfdeaf395de90207b9bdedc43baf05869ac0b

    • -1
    • +9
    ./IntegrationTests/StorageMigrationIntegrationTest.cs
    • -4
    • +19
    ./IntegrationTests/StorageSqLiteIntegrationTest.cs
  1. … 13 more files in changeset.