Application.Ringtoets.Migration.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Created RingtoetsProjectMigrator: - GUI handler for determining when a file should be migrated and performs the migration - Added tests - Removed unused reference Related to Issue [WTI-1095]

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

Former-commit-id: d94000a2583fb23bc4f5a00fdaf6ebe6764791a3

Former-commit-id: 23536a9d5c9045d0ba7526835a4da47bab7b0ff4

    • -0
    • +40
    ./Application.Ringtoets.Migration.Test.csproj
    • -0
    • +440
    ./RingtoetsProjectMigratorTest.cs
  1. … 6 more files in changeset.
Created new Application.Migration project which will be responsible for the GUI migration logic - Updated License - Corrected the GlobalAssembly reference Related to Issue [WTI-1095]

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

Former-commit-id: 23dbbb0d041401d4be9ae3b62d361b0ea6a34f82

Former-commit-id: 21f778a456d7422b2f532c48ff3324901f13a663

    • -1
    • +6
    ./Application.Ringtoets.Migration.Test.csproj
Created new Application.Migration project which will be responsible for the GUI migration logic - Updated License - Renamed and moved existing Application.Migration projects: -- Application.Migration --> Application.Migration.Core which will serve as the main library for all related Migration Ringtoets functionality -- Application.MigrationConsole --> Application.Migration.Console -- Updated the TestDataPath to point to the correct path Related to Issue [WTI-1095]

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

Former-commit-id: 26428f30b3c9f36ab105d8aa3a93e3df6449211b

Former-commit-id: dcb9d35bd6a34039e0d7b5a66b001036eed19c95

    • -65
    • +2
    ./Application.Ringtoets.Migration.Test.csproj
    • -40
    • +0
    ./RingtoetsDatabaseQueryBuilderTest.cs
    • -124
    • +0
    ./RingtoetsDatabaseSourceFileTest.cs
    • -242
    • +0
    ./RingtoetsSqLiteDatabaseFileMigratorTest.cs
    • binary
    ./test-data/UnsupportedVersion8.rtd
  1. … 79 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

    • -5
    • +5
    ./RingtoetsSqLiteDatabaseFileMigratorTest.cs
  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

    • -5
    • +5
    ./RingtoetsSqLiteDatabaseFileMigratorTest.cs
  1. … 32 more files in changeset.
Modified old project to contain values that are invalid in the new version of projects. Related to Issue [WTI-1070]

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

Former-commit-id: a08d37df2b95d3b82dbcfe71b7a4f1b36f773097

Former-commit-id: 18e1210a8a794ce19fcb6e50e38497302fa78f33

- 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

    • -6
    • +8
    ./RingtoetsSqLiteDatabaseFileMigratorTest.cs
  1. … 10 more files in changeset.
- Updated texts Related to Issue [WTI-1060]

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

Former-commit-id: 68650ad5922e20b88aa738c2210247718418450c

Former-commit-id: f6d8c7a149f3210a91ff604a419ad58307f33301

  1. … 2 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

    • -4
    • +4
    ./RingtoetsSqLiteDatabaseFileMigratorTest.cs
  1. … 11 more files in changeset.
Fixed migration script so that it works when there are more than one assessment sections in one project. Updated the FullTestProject164.rtd with the demo project. Now, the project consists of (this should be the standard for future releases): - A FullTestProject - A demo assessment section Related to Issue [WTI-1060]

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

Former-commit-id: 69e0442bf211245524f227615ec6319208905d59

Former-commit-id: 0c6fcb27eebccbf51762ad9de6c57a533efe514f

  1. … 1 more file in changeset.
Fixed Dispose implementation, see: * https://msdn.microsoft.com/en-us/library/fs2xkftw(v=vs.110).aspx * https://msdn.microsoft.com/en-us/library/ms182329.aspx Modified test names according to review suggestions paired with berg_jl Related to Issue [WTI-1060]

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

Former-commit-id: 0309ea4270612fcb1bcc18fc4a5e736b9d1722d2

Former-commit-id: 8e47735d6edd9e2f33431dd21d6f9c686651c976

  1. … 4 more files in changeset.
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

    • -2
    • +3
    ./RingtoetsSqLiteDatabaseFileMigratorTest.cs
  1. … 5 more files in changeset.
Introduced ValidateVersion and used where possible Refactored ConsoleHelper.GetWindowWidth Created test case source for Valid and Invalid Ringtoets versions Related to Issue [WTI-1060]

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

Former-commit-id: f0424502c7e1f90654dc31ea041ff7fa20f92254

Former-commit-id: 377895345b2dd85a3e894d7d5c63a60cb3b13cb0

  1. … 8 more files in changeset.
Review related changes Related to Issue [WTI-1060]

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

Former-commit-id: a49ab132bc83e24096bab6c44313eff9822ddaac

Former-commit-id: 93877f5bf2e9e6cc5190c466524b3e1a3f6e8be0

  1. … 17 more files in changeset.
Linked minimum database version for migration to RingtoetsVersionHelper Updated migration with new minimum version Related to Issue [WTI-1060]

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

Former-commit-id: 6eb7cad3ce90b6ade3917b0fedc39cf302441011

Former-commit-id: e98ea607aec97db86055198a61af55acf3e47110

    • -0
    • +4
    ./Application.Ringtoets.Migration.Test.csproj
    • -2
    • +2
    ./RingtoetsSqLiteDatabaseFileMigratorTest.cs
  1. … 7 more files in changeset.
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

    • -2
    • +2
    ./RingtoetsSqLiteDatabaseFileMigratorTest.cs
  1. … 7 more files in changeset.
Various review related changes

Related to Issue [WTI-1060]

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

Former-commit-id: 470dff7df1471130399ed0aa37152fd2be9eccae

Former-commit-id: 800301e395949ce32878b0584b551fccc7ed3a84

  1. … 1 more file in changeset.
Fixed FullTestProject164.rtd such that all ForeshoreProfiles have names Removed DefaultEnvironmentControl.cs Related to Issue [WTI-1060]

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

Former-commit-id: 6e6bf42d5fe9fd264b0eb5d6ddf56f91bfc8fb39

Former-commit-id: 18deb6429671294e9f2829c19e26040f154aea31

  1. … 8 more files in changeset.
Various review related changes Related to Issue [WTI-1060]

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

Former-commit-id: 0ea760c603ca2f9027e48c58e3ab01246b84ebad

Former-commit-id: de1b1c0100b80f5c09f21ae9e3102b1dd6e8f8c8

    • -4
    • +5
    ./RingtoetsSqLiteDatabaseFileMigratorTest.cs
  1. … 3 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. … 65 more files in changeset.
Paired with ~berg_jl to possibly refactor parts of Migration Related to Issue [WTI-1060]

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

Former-commit-id: b543dd74b8f248a2237f65d6065d7a20e1604585

Former-commit-id: e4b5dc7b2ebefcf63624e175be545eb7daecfa72

  1. … 6 more files in changeset.
Fixed test paths in Application.Ringtoets.Migration Changed Demo164.rtd to FullTestProject164.rtd, since it is a more complete testcase Created new test project: FullTestProject171.rtd Related to Issue [WTI-1060]

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

Former-commit-id: 793262d9233b175e27062326f046a1f278e586ae

Former-commit-id: 6f1e05aac81181b12e573115fe698ef72e1f90b6

    • -7
    • +7
    ./RingtoetsSqLiteDatabaseFileMigratorTest.cs
    • binary
    ./test-data/FullTestProject171.rtd
  1. … 1 more file in changeset.
Updated XMLdoc Added test for ConsoleOutput.Dispose Related to Issue [WTI-1060]

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

Former-commit-id: 42788323d4a1662970edfa851cf1b00ec6caee75

Former-commit-id: dcd3711e27ef3731dc6473585d65a895500d4cca

  1. … 12 more files in changeset.
Created Test util projects for Migration.Scripts.Data Renamed ValidateFilePathIsWritable to CreateFileIfNotExists, since it also creates the file Related to Issue [WTI-1060]

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

Former-commit-id: abafe76f7888e3a3b20b814ccae92372aadb747b

Former-commit-id: 5dc5de346f588c0ff0fe3728da01f1a070bd75a6

  1. … 10 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
    ./test-data/EmptyDatabase.rtd
  1. … 7 more files in changeset.
Removed SQLiteException from Migration namespace Set output type of Migration.Console from Exe to Library - Migration.Console.MigrationTool can therefore be removed Removed redundant Resources Related to Issue [WTI-1060]

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

Former-commit-id: a53f44c89f3bcb0ad97cab59300e49e1e6e099bd

Former-commit-id: 27071fae492cf91ffc11fd729de69cdc81abfb6c

  1. … 15 more files in changeset.
Added actual test for RingtoetsUpgradeScript Related to Issue [WTI-1060]

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

Former-commit-id: 82ab92a872f65299f963898220488da4bdef6ef3

Former-commit-id: 92630b6b5753c40123abb70d8a3c7e80332e8750

  1. … 1 more file in changeset.
Optimized code duplication Related to Issue [WTI-1060]

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

Former-commit-id: c8d396c86d64aa90ad5bd4a8e9b1769f643f2daf

Former-commit-id: 3ae62b60677768aef2963de8661d11266609def9

  1. … 3 more files in changeset.
Renamed CriticalDatabaseMigrationException to CriticalMigrationException, for it is also applicable for migrations that don't use databases Renamed FileMigrationScript to MigrationScript for it only applies for migrations that uses files Related to Issue [WTI-1060]

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

Former-commit-id: d1afc9a7a2df79e4481c11eaa73b105c04826273

Former-commit-id: 6c33baf69ac83b65d1a5d7ee4db8bf4f48f2180e

    • -0
    • +1
    ./Application.Ringtoets.Migration.Test.csproj
    • -0
    • +126
    ./RingtoetsCreateScriptTest.cs
    • -5
    • +5
    ./RingtoetsSqLiteDatabaseFileMigratorTest.cs
  1. … 14 more files in changeset.
Moved Ringtoets files from Migration to Application.Ringtoets.Migration Related to Issue [WTI-1060]

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

Former-commit-id: 3918636619e0d8d87e025c46ad131edac1033a31

Former-commit-id: 5963389522f4c2d08c89b506c092c63e01bf480c

    • -0
    • +7
    ./Application.Ringtoets.Migration.Test.csproj
    • -0
    • +233
    ./RingtoetsDatabaseFileTest.cs
    • -0
    • +40
    ./RingtoetsDatabaseQueryBuilderTest.cs
    • -0
    • +122
    ./RingtoetsDatabaseSourceFileTest.cs
  1. … 16 more files in changeset.