Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Added solution structure for Migration added first projects for Migraton tool Related to Issue [WTI-1060]

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

Former-commit-id: 44e9d482efbf6829953065ea03af60f953c04111

Former-commit-id: ece6eb14f08a7751e6beadddcf6c3726430aa13c

    • -0
    • +80
    ./Migration.Core.Storage.Test/Migration.Core.Storage.Test.csproj
    • -0
    • +27
    ./Migration.Core.Storage.Test/Properties/AssemblyInfo.cs
    • -0
    • +27
    ./Migration.Core.Storage.Test/packages.config
  1. … 10 more files in changeset.