VersionedFileMigratorTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adapted copyright year. WTI-2195

  1. … 33 more files in changeset.
Updated license headers in source files of Migration. WTI-1931

  1. … 47 more files in changeset.
Changed copyright year. Paired with lubbers. WTI-1828

  1. … 6095 more files in changeset.
Ran Deltares Cleanup:

- Ran for the Migration folder

WTI-1767

  1. … 10 more files in changeset.
Updated license headers in migration. Related to Issue [WTI-1242]

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

Former-commit-id: ecb901f7c0c1efbeece6410ff987962d31488a68

Former-commit-id: 175a195d386bb6476e81d8f27e5bbd435b6f1d2f

  1. … 47 more files in changeset.
Changed all local vars to consts if possible. Related to Issue [WTI-1242]

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

Former-commit-id: 4684a5017b9aff9f6175f7d781cb29409f50a18e

Former-commit-id: 853c649ebc49a9513535e40ec705d5b928af0bc4

  1. … 283 more files in changeset.
Migration code-cleanup. Related to Issue [WTI-1242]

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

Former-commit-id: 45ce281897e51129081d727db424eb9b2a74aaa6

Former-commit-id: 33f835656bd3791a75f6005f1d793fbb15e04558

  1. … 10 more files in changeset.
- Used nameof methods instead of random path to create test file names. - Bubbled IOException when trying to delete a test file and it fails so we know that the file is not deleted. Paired with @janssen

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

Former-commit-id: e808c5751086faf8a2b72d918e1074adb5044314

Former-commit-id: 4ba1926135f291f4b4a4ecb3debc1e7712f492c3

  1. … 25 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.
- Updated texts Related to Issue [WTI-1060]

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

Former-commit-id: f6c28a3cf3890d7739e3f084ca0f4fcf7640e320

Former-commit-id: e3b698b0078df6750460ad154b53b8d585ce964f

  1. … 13 more files in changeset.
- Updated texts Related to Issue [WTI-1060]

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

Former-commit-id: 3ba9b10bd5ee3c9252c80fb3ecc8700e483bbf5c

Former-commit-id: a219d79996006a6c4ff9ab9b597b9ce321dd72db

  1. … 11 more files in changeset.
Review related changes, simplified tests Related to Issue [WTI-1060]

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

Former-commit-id: db39d5e4b68d658865d3ed8f9e65a93d992d2ff1

Former-commit-id: 0f3766fb52dbabe3bc06ca0dc7bc729430a1e3aa

Applied method to lock the files in FileDisposeHelper where possible Related to Issue [WTI-1060]

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

Former-commit-id: 67621ad852eab313bb0d99c8dda5d629855744ad

Former-commit-id: 4d57b4761a5442330b5e001af2c718a25dae097c

  1. … 6 more files in changeset.
Added coverage for VersionedFileComparer for a chaining migration

Related to Issue [WTI-1060]

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

Former-commit-id: 56a27f9ae375c0d2e0cf5a4800bcc28b4a6988a2

Former-commit-id: 8987c5643ce8cf55d5e8e42a3111b26918514c02

Added exception handling for VersionedFileComparer Added coverage for VersionedFileComparer Added single quotes surrounding "version" in messages Related to Issue [WTI-1060]

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

Former-commit-id: 5d87ebf9e7b068e515bbaac29664b7e76916a4fb

Former-commit-id: 072aacd56a266acb0b6e579a76d70ba1c0190061

  1. … 7 more files in changeset.
Added tests for VersionedFileMigrator Related to Issue [WTI-1060]

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

Former-commit-id: dec0f22f8085c2ee2b6ce8e49574069617b51219

Former-commit-id: ee1d491d56c0953c3e84111e767f8c9477f590dd

  1. … 2 more files in changeset.
Extended VersionedFileMigrator Related to Issue [WTI-1060]

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

Former-commit-id: 25e2e301f9d64a1c671f7ff67760fc6937f93c16

Former-commit-id: a36fcdfa527eb899b852baa61b6e40276313998a

  1. … 4 more files in changeset.
Changed license of Migrator to GNU Lesser General Public License Various review related changes Related to Issue [WTI-1060]

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

Former-commit-id: 9f0ef06051d4b46e8dd8e42c4f72cf35ae2c07ca

Former-commit-id: cb795f6985db519fc3dfc11b1e5290d76aac76f1

  1. … 66 more files in changeset.
Moved RingtoetsVersionComparerto Application.Ringtoets.Migration Related to Issue [WTI-1060]

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

Former-commit-id: 7df13afb7799475987d9d9f7699296a1f33c877e

Former-commit-id: e3c3ce81cf08e0e596e14a39c2c9c833d614889e

  1. … 8 more files in changeset.
Introduced abstraction layer between Ringtoets and Migration Moved Ringtoets specific migration classes to Application.Ringtoets.Migration Related to Issue [WTI-1060]

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

Former-commit-id: e4d959e51d724750fa5be6a6c4584ca3c059160c

Former-commit-id: cc145206b2a877e1fadcc67a96fdb4f786bd1a9f

  1. … 24 more files in changeset.
Introduced IVersionedFile for dependency injection later on Related to Issue [WTI-1060]

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

Former-commit-id: e2a7191f68235084150d15ff7df5cc014b78b8e9

Former-commit-id: 4fece4419fd2b585dfae172ce15a2ba01915a7ed

  1. … 9 more files in changeset.
- Added message for successful migration to console - Added feature to disallow using the same path for source and target file - Fixed typo Migrade to Migrate Related to Issue [WTI-1060]

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

Former-commit-id: 96a2df8c3082369f492733b9f1c5b52426e809f3

Former-commit-id: 22b6428e0118cfc41802a84a69dc3258e6c1ddc6

  1. … 7 more files in changeset.
Implemented feature to fail with error text when target file is not writable Related to Issue [WTI-1060]

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

Former-commit-id: 3f6ff64cd1093608d1264810ffd3cfa8fdacf58e

Former-commit-id: b1b7ac91e48e692320c21949feaaebd2492cb257

  1. … 3 more files in changeset.
Now, VersionedFileMigrator overwrites the target file if it already exists Related to Issue [WTI-1060]

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

Former-commit-id: b3b57553bcbf5800025d7a9353d4b07bdbae124e

Former-commit-id: cf5215da3c2d1f81c16e6f7cb3a1802ba588c3ab

  1. … 2 more files in changeset.
Added tests for VersionedFileMigrator.Migrate Related to Issue [WTI-1060]

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

Former-commit-id: 0b065edbcb7427e960814f6ca65f95f9648c8d0f

Former-commit-id: 5f8132e882933c0a0b818a92cf2ad86ea27eb5c7

  1. … 3 more files in changeset.
Introduced RingtoetsVersionComparer Added failure conditions for VersionedFileMigrator.Migrate Added DatabaseStructure17.0.sql so we have a valid testcase Related to Issue [WTI-1060]

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

Former-commit-id: fcf39fe48bca0d24de204a44161ba2da5478813d

Former-commit-id: eefbd51215d2e52895ac3b62deb21f441fedcff1

  1. … 14 more files in changeset.
Updated migration script to be able to fully upgrade to version 17.1 Related to Issue [WTI-1060]

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

Former-commit-id: 36f5d7832f9c62d57af4829b21fd8778e109ee27

Former-commit-id: 388d47c828d3c5b728367e3ee27bfedfd06638d9

  1. … 1 more file in changeset.
Updated migration script with more tables to migrate extended test to assert for the new version Related to Issue [WTI-1060]

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

Former-commit-id: c6b5f4432911d5b14558053be63048b5d84cdc37

Former-commit-id: 5ee4cef1d4e89d7fb670b13366877f7ba88cd9bc

  1. … 1 more file in changeset.
Implemented an actual migration from version 4 to version 17.1 Removed "CreateFile" from OpenDatabaseConnection to ensure it does not overwrite the file. Extended tests for MigrationScript Related to Issue [WTI-1060]

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

Former-commit-id: 61b8f1a38eff792eca656eeb546bda63cdae5ed1

Former-commit-id: 8fdf928c894a1e87cfa251f43d380551e8602750

  1. … 4 more files in changeset.
Removed link to latest version of the databaseStructure (not needed) Introduced tests CriticalDatabaseMigrationException Updated VersionedFileMigratorTest Related to Issue [WTI-1060]

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

Former-commit-id: 90e84d5a65968630399d8c96d8d4beb669d655e3

Former-commit-id: 7b922a21a2af0bfc9da3a478f5d6c0e875aaf8c2

  1. … 4 more files in changeset.