Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

    • -0
    • +4
    ./Migration.Core.Storage.Test/Migration.Core.Storage.Test.csproj
    • -0
    • +329
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
  1. … 6 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

    • -0
    • +4
    ./Migration.Core.Storage.Test/Migration.Core.Storage.Test.csproj
    • -6
    • +107
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
  1. … 1 more file 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

    • -0
    • +4
    ./Migration.Core.Storage.Test/Migration.Core.Storage.Test.csproj
    • -1
    • +4
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
    • -0
    • +4
    ./Migration.Core.Storage.TestUtil.Test/Migration.Core.Storage.TestUtil.Test.csproj
    • -2
    • +6
    ./Migration.Core.Storage.TestUtil.Test/TestVersionedFileMigratorTest.cs
    • -4
    • +21
    ./Migration.Core.Storage.TestUtil/TestVersionedFileMigrator.cs
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

    • -2
    • +2
    ./Migration.Core.Storage.Test/Migration.Core.Storage.Test.csproj
    • -3
    • +3
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
    • -3
    • +3
    ./Migration.Core.Storage.Test/packages.config
    • -2
    • +2
    ./Migration.Core.Storage.TestUtil.Test/Migration.Core.Storage.TestUtil.Test.csproj
    • -3
    • +3
    ./Migration.Core.Storage.TestUtil.Test/Properties/AssemblyInfo.cs
    • -3
    • +3
    ./Migration.Core.Storage.TestUtil.Test/TestVersionedFileMigratorTest.cs
    • -3
    • +3
    ./Migration.Core.Storage.TestUtil.Test/packages.config
    • -2
    • +2
    ./Migration.Core.Storage.TestUtil/Migration.Core.Storage.TestUtil.csproj
    • -3
    • +3
    ./Migration.Core.Storage.TestUtil/Properties/AssemblyInfo.cs
    • -3
    • +3
    ./Migration.Core.Storage.TestUtil/TestVersionedFileMigrator.cs
  1. … 56 more files in changeset.
Added validator to VersionedFileMigrator Added tests for TestVersionedFileMigrator Related to Issue [WTI-1060]

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

Former-commit-id: 720edd06258a189f1aaeee883a2f8df39eec14e5

Former-commit-id: 33dce58148f55711551a559dc8befd07736a50ff

    • -0
    • +14
    ./Migration.Core.Storage.TestUtil.Test/Migration.Core.Storage.TestUtil.Test.csproj
    • -1
    • +35
    ./Migration.Core.Storage.TestUtil.Test/TestVersionedFileMigratorTest.cs
    • -0
    • +1
    ./Migration.Core.Storage.TestUtil.Test/packages.config
    • -0
    • +7
    ./Migration.Core.Storage.TestUtil/TestVersionedFileMigrator.cs
  1. … 4 more files in changeset.
Moved test classes to TestUtil project Added tests for test classes Updated XMLdoc Related to Issue [WTI-1060]

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

Former-commit-id: 236bbef1ecad71ce317198d40575c32df335a03a

Former-commit-id: 7e0fa107a44153d47b18c18622aab4a2224ec62c

    • -0
    • +5
    ./Migration.Core.Storage.TestUtil.Test/Migration.Core.Storage.TestUtil.Test.csproj
    • -0
    • +26
    ./Migration.Core.Storage.TestUtil.Test/packages.config
  1. … 15 more files in changeset.
Removed migration options to 17.0 (was only here to validate migration path)

Related to Issue [WTI-1060]

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

Former-commit-id: 661df7a83ca2f96502328326b89dfa5bb3a440ad

Former-commit-id: d14859461d3825d88ea8d5d69055e76432ff4c23

    • binary
    ./Migration.Core.Storage.Test/test-data/EmptyDatabase.rtd
  1. … 9 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

    • -0
    • +4
    ./Migration.Core.Storage.Test/Migration.Core.Storage.Test.csproj
    • -1
    • +7
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
    • -0
    • +1
    ./Migration.Core.Storage.Test/packages.config
    • -0
    • +3
    ./Migration.Core.Storage.TestUtil/TestVersionedFileMigrator.cs
  1. … 5 more files in changeset.
Moved Ringtoets test files to Application.Ringtoets.Migration.Test/test-data Related to Issue [WTI-1060]

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

Former-commit-id: ea8c82641eb5a7bb9f192ed780415befadb8d788

Former-commit-id: 5bfb0944c6d7cd51b7d41a18f401ebcade0b4a2d

    • binary
    ./Migration.Core.Storage.Test/test-data/FullTestProject164.rtd
    • binary
    ./Migration.Core.Storage.Test/test-data/UnsupportedVersion8.rtd
  1. … 26 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

    • -8
    • +4
    ./Migration.Core.Storage.Test/Migration.Core.Storage.Test.csproj
    • -200
    • +2
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
    • -0
    • +1
    ./Migration.Core.Storage.TestUtil.Test/Migration.Core.Storage.TestUtil.Test.csproj
    • -0
    • +25
    ./Migration.Core.Storage.TestUtil.Test/TestVersionedFileMigratorTest.cs
    • -0
    • +11
    ./Migration.Core.Storage.TestUtil/Migration.Core.Storage.TestUtil.csproj
    • -0
    • +43
    ./Migration.Core.Storage.TestUtil/TestVersionedFileMigrator.cs
  1. … 19 more files in changeset.
Added test utility project for testing Migration.Core.Storage Related to Issue [WTI-1060]

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

Former-commit-id: 65933de6812373ed7d9252b856862b56e684ae8b

Former-commit-id: b868a3476ae7d5c82c2ffbe52ef332ea1a0e9434

    • -0
    • +58
    ./Migration.Core.Storage.TestUtil.Test/Migration.Core.Storage.TestUtil.Test.csproj
    • -0
    • +27
    ./Migration.Core.Storage.TestUtil.Test/Properties/AssemblyInfo.cs
    • -0
    • +59
    ./Migration.Core.Storage.TestUtil/Migration.Core.Storage.TestUtil.csproj
    • -0
    • +27
    ./Migration.Core.Storage.TestUtil/Properties/AssemblyInfo.cs
  1. … 1 more file 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

    • -2
    • +2
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
  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

    • -6
    • +24
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
  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

    • -3
    • +39
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
  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

    • -10
    • +7
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
  1. … 2 more files in changeset.
Added FullTestProject164.rtd for complete backward compatibility integration test Set StochasticSoilModelCollection location to "Onbekend" for old projects Added backward compatibility integration test Cleanup of csproj files Related to Issue [WTI-1060]

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

Former-commit-id: ddea5dc2c5cf6718be7cd0a2074b276db4e445a9

Former-commit-id: 7fe56fc8063e6876ce65a0a3baa6681cb8e11006

    • -21
    • +0
    ./Migration.Core.Storage.Test/Migration.Core.Storage.Test.csproj
    • -1
    • +0
    ./Migration.Core.Storage.Test/packages.config
    • binary
    ./Migration.Core.Storage.Test/test-data/FullTestProject164.rtd
  1. … 4 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

    • -0
    • +62
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
    • binary
    ./Migration.Core.Storage.Test/test-data/UnsupportedVersion8.rtd
  1. … 2 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

    • -3
    • +5
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
  1. … 14 more files in changeset.
Added error code for success (0) Introduced ErrorInvalidCommandLine instead of ErrorBadArguments Moved all Exit calls to RingtoetsMigrationTool.Main Related to Issue [WTI-1060]

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

Former-commit-id: 82a17cc107434adb07e66200dbf1bf98a5e8b4b0

Former-commit-id: 28b5b49dfd922812ab8b2266bad6b9531a29e777

    • -0
    • +4
    ./Migration.Core.Storage.Test/Migration.Core.Storage.Test.csproj
  1. … 3 more files in changeset.
Moved strings to Resources Added tests for RingtoetsDatabaseQueryBuilder and RingtoetsDatabaseSourceFile Related to Issue [WTI-1060]

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

Former-commit-id: 93f05bc9fa6910b40a18d1abbbda444dea70c393

Former-commit-id: 21eec5f13b8dd6aed5ba776045aee19c7ea48c40

    • binary
    ./Migration.Core.Storage.Test/test-data/EmptyDatabase.rtd
  1. … 9 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
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
  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

    • -7
    • +7
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
  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

    • -0
    • +26
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
  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

    • -2
    • +0
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
  1. … 4 more files in changeset.
- Cleaned projects from files Related to Issue [WTI-1060]

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

Former-commit-id: ad983a85a4dcbe27d4947a04483d780511b7e766

Former-commit-id: e4138ec7e1cbd115e7e27d62981d81c1b63209a5

    • -67
    • +0
    ./Migration.Core.Storage.Test/MigrationDatabaseSourceFileTest.cs
    • -75
    • +0
    ./Migration.Core.Storage.Test/MigrationDatabaseTargetFileTest.cs
    • -72
    • +0
    ./Migration.Core.Storage.Test/MigrationServiceTest.cs
  1. … 5 more files in changeset.
Added VersionedFileMigrator and tests Related to Issue [WTI-1060]

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

Former-commit-id: 22ee44b08843082c7cfacec8ba0b64c52b049325

Former-commit-id: 0b83a5f3dfd7d972f838743c4ca7733ae2b1de6d

    • -0
    • +1
    ./Migration.Core.Storage.Test/Migration.Core.Storage.Test.csproj
    • -0
    • +104
    ./Migration.Core.Storage.Test/VersionedFileMigratorTest.cs
  1. … 2 more files in changeset.
- Updated XMLdoc for FileUtils - Cleaned projects from files - Set scripts as embedded resource - Introduced VersionedFile Related to Issue [WTI-1060]

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

Former-commit-id: 503924b04acb680e4c6de131b979f796f7c56ea3

Former-commit-id: c2933c6e7da0ace4313cd83c8b14917620ae5dd2

    • -3
    • +12
    ./Migration.Core.Storage.Test/Migration.Core.Storage.Test.csproj
    • -0
    • +1
    ./Migration.Core.Storage.Test/packages.config
  1. … 20 more files in changeset.
- Extended FileUtils to validate if a path is writable - Extended MigrationService with feature to actually migrate - Added tests - Added first version of a migration script Related to Issue [WTI-1060]

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

Former-commit-id: 4707789247d38b8610d6dfcea46f6f7ba3d5f83f

Former-commit-id: 0bfe0ab0ab08f18941c06964bbaebad464d3ff07

    • -2
    • +18
    ./Migration.Core.Storage.Test/Migration.Core.Storage.Test.csproj
    • -0
    • +67
    ./Migration.Core.Storage.Test/MigrationDatabaseSourceFileTest.cs
    • -0
    • +75
    ./Migration.Core.Storage.Test/MigrationDatabaseTargetFileTest.cs
    • -0
    • +72
    ./Migration.Core.Storage.Test/MigrationServiceTest.cs
    • binary
    ./Migration.Core.Storage.Test/test-data/Demo164.rtd
    • binary
    ./Migration.Core.Storage.Test/test-data/Demo171.rtd
  1. … 20 more files in changeset.
Added projects for migration scripts Related to Issue [WTI-1060]

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

Former-commit-id: 40fb5a1ed8863616e70af2792ec142c0403bf315

Former-commit-id: 48f8f8bcbaeb4e0fb40d192a505cef3e3208b090

    • -12
    • +20
    ./Migration.Core.Storage.Test/Migration.Core.Storage.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
    ./Migration.Core.Storage.Test/Migration.Core.Storage.Test.csproj
    • -2
    • +1
    ./Migration.Core.Storage.Test/packages.config
  1. … 335 more files in changeset.