Migration.Console.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
- 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.
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. … 5 more files in changeset.
Changed console texts according to updated issue Related to Issue [WTI-1060]

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

Former-commit-id: c0fbba915e84e9b947c4b4b94ea81f043ab21ff8

Former-commit-id: 0c8ee99938310c20fadefbea6d1304d05b5d4723

  1. … 6 more files in changeset.
Review related changes

Related to Issue [WTI-1060]

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

Former-commit-id: ae4daed1b2c38f874a0e2307f2e902f6d6433192

Former-commit-id: bc27b1c2a762b75d2e2345b0d2f1fc7038bdf980

  1. … 3 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. … 18 more files in changeset.
Introduced base class for Consoles Extracted static Main from RingtoetsMigrationTool Related to Issue [WTI-1060]

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

Former-commit-id: a38d8082bf861fd55caefcb4345f77494ae820f3

Former-commit-id: 3c36c414fdd0f1d0de000ecc67b2daa65fb8f806

    • -0
    • +257
    ./ConsoleBaseTest.cs
  1. … 13 more files in changeset.
Various review related changes - Changed EnvironmentControl.Exit to accept ErrorCode Enum instead of int Related to Issue [WTI-1060]

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

Former-commit-id: 0419d307421da40b733e5ab4aefef17b648baad5

Former-commit-id: 1d72404e8e30e3c42e2e44ab1f340a32011cab97

  1. … 5 more files 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. … 6 more files in changeset.
Various review related changes Fixed failing test

Related to Issue [WTI-1060]

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

Former-commit-id: 9c1c671a1a0a571c9ddc8b7067b595605c1e849a

Former-commit-id: f7e74626f0360437fddbc589733d72009c0ce1af

  1. … 5 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. … 61 more files in changeset.
Changes requested by tester: - Renamed *Ringtoets Migrator* to *Migratiehulpprogramma* - Changed Commands used in RingtoetsMigrationConsole -- --help and -help remain -- One argument (if not help command) is interpreted as "IsSupported" command -- Two commands (if not help command) is interpreted as "Migrate" command. Note that it is no longer possible to upgrade to any other version than the current. Related to Issue [WTI-1060]

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

Former-commit-id: 162df8fb2d316c4e4cf4e185b9b81fa8edd8bbf8

Former-commit-id: 91e8ec7208828fccaebc98e840c4f2f9b3c11a50

  1. … 8 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.
Moved Ringtoets console tool to Application.Ringtoets.Console Related to Issue [WTI-1060]

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

Former-commit-id: 2f62c505df5fffcf219c398225e5d02e56df5597

Former-commit-id: 67b4c298d470b0cbfd4895475eceaffcca6429d2

    • -0
    • +28
    ./MigrationToolTest.cs
  1. … 14 more files in changeset.
- Added projects Application.Ringtoets.MigrationConsole and Application.Ringtoets.Migration Related to Issue [WTI-1060]

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

Former-commit-id: 156f75e37c05ec3b98390f40cc78864c9f16c4e5

Former-commit-id: 4eae3af31f9cecaf95fcdc1a8df973b352816e93

  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.
Added feature that displays inner exception to console Related to Issue [WTI-1060]

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

Former-commit-id: a90dd8a8bf3e9b408a37d1eb90a7763518a0e8f5

Former-commit-id: b0b9c613f60cd81b52352e56e03781691af62a74

  1. … 3 more files in changeset.
Cleanup ConsoleHelper Related to Issue [WTI-1060]

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

Former-commit-id: 79a862a4319c347fee71141aa19bbd88671a3d52

Former-commit-id: de27ce661cf8dbe07139ee2bfc86d433e4f33132

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

  1. … 3 more files in changeset.
Moved strings to Resources Extended XMLdoc Related to Issue [WTI-1060]

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

Former-commit-id: 7fbe56012e5b7868268e23a8659f142d81d1e859

Former-commit-id: 73967118f819082d27547bad7e2716c7df8faf11

  1. … 3 more files in changeset.
proper cleanup after file was created

Related to Issue [WTI-1060]

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

Former-commit-id: e411082e2f5b48805409de01382e93bd05aab196

Former-commit-id: 37ffad9d13b5130ae3aaee82804bf7e3cee73004

Added EnvironmentControl and DefaultEnvironmentControl to be able to test a call to Environment.Exit() Added ErrorCode for the possible error codes Extended XMLdocs Extended RingtoetsMigrationTool with migration action Related to Issue [WTI-1060]

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

Former-commit-id: 80d7a05f1e748f8b5c4483b6e6c2068877e00b31

Former-commit-id: 5cd937a4346842f22ab1b8f885b610eb2f327db6

    • -0
    • +39
    ./DefaultEnvironmentControlTest.cs
    • -0
    • +80
    ./EnvironmentControlTest.cs
  1. … 10 more files in changeset.
Moved to TestUtils Related to Issue [WTI-1060]

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

Former-commit-id: f0b54c0ad340172800914e743db20bbda69caa55

Former-commit-id: cc94f07d9f1d09689630a5ba5438abf6a705ace0

    • -0
    • +51
    ./RingtoetsMigrationToolTest.cs
  1. … 8 more files in changeset.
Added TearDown to ensure the console text is reset to Gray Added Null chacks before color is set Related to Issue [WTI-1060]

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

Former-commit-id: ea3a253379a28c13cc4dfca3d15fe32ed14bdf6b

Former-commit-id: e03cd0edf24cb5cd9d1c12b22e3c3feb3b411aad

  1. … 1 more file in changeset.
Added TearDown to ensure the console text is reset to Gray Related to Issue [WTI-1060]

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

Former-commit-id: f64a2e8ce51ac9ac6dcb1a5067a5892e861e22a8

Former-commit-id: cad9be8e5de912f0b7738c5c4168a1fd7c1a719e

Updated console application Added console helper to unify output Added ConsoleOutput to capture console output Related to Issue [WTI-1060]

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

Former-commit-id: 63e4d51dce70d1daa13c21da0a88d4456553e14a

Former-commit-id: 37f55475956fc03b453f36010bf4d1c25a69f0da

    • -0
    • +203
    ./ConsoleHelperTest.cs
    • -0
    • +79
    ./ConsoleOutputTest.cs
  1. … 6 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

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

  1. … 14 more files in changeset.