Console

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

    • -3
    • +3
    ./src/Migration.Console/ConsoleHelper.cs
  1. … 52 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

    • -0
    • +59
    ./src/Migration.Console/ConsoleHelper.cs
  1. … 7 more files in changeset.
Renamed Application.Ringtoets.MigrationConsole to AssemblyName Ringtoets Migrator Related to Issue [WTI-1060]

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

Former-commit-id: 12de078379d89198e3dd0da26c762fd36197495a

Former-commit-id: 3aab901ab901a37463faf7e1f341e2d091268ea1

  1. … 3 more files 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. … 11 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

    • -33
    • +0
    ./src/Migration.Console/MigrationTool.cs
  1. … 13 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
    • +3
    ./src/Migration.Console/MigrationTool.cs
  1. … 7 more files in changeset.
Moved Ringtoets specific resources from Migration.Console to Application.Ringtoets.Migration Related to Issue [WTI-1060]

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

Former-commit-id: ec31d89a8ff2bede9b674a3dd980311536a4f040

Former-commit-id: 951c31fba3834c3a68faa61c11ba7ee6c5ae63ca

    • -118
    • +116
    ./src/Migration.Console/Properties/Resources.resx
  1. … 8 more files in changeset.
Removed VersionedFile.cs and mocked where possible Related to Issue [WTI-1060]

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

Former-commit-id: 700844db5d785203cc325cf540657e36ee0d3881

Former-commit-id: 48fcbbe9dd288871367c2322666947e47972adb7

  1. … 9 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
    • +31
    ./src/Migration.Console/MigrationTool.cs
  1. … 10 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. … 23 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. … 4 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

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

    • -24
    • +0
    ./src/Migration.Console/ConsoleHelper.cs
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.
Set Copy locals Cleanup projects Related to Issue [WTI-1060]

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

Former-commit-id: b56e7d38c5618425cc8efa6962d95ad68038ddc2

Former-commit-id: 42c7c87b289f28207b93094381e059cf31d085cb

  1. … 8 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. … 1 more file 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
    • +71
    ./src/Migration.Console/EnvironmentControl.cs
    • -0
    • +39
    ./src/Migration.Console/ErrorCode.cs
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

    • -120
    • +0
    ./src/Migration.Console/Application.cs
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

    • -0
    • +8
    ./src/Migration.Console/ConsoleHelper.cs
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

Added projects for console test utilities Related to Issue [WTI-1060]

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

Former-commit-id: c67af9fcf96508b2ae5b6dcf83dfdf155116c36e

Former-commit-id: 282e4d458bb634d29620598dc506f17f1f57d5da

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

    • -1
    • +93
    ./src/Migration.Console/Application.cs
    • -0
    • +73
    ./src/Migration.Console/ConsoleHelper.cs
    • -0
    • +147
    ./src/Migration.Console/Properties/Resources.Designer.cs
    • -0
    • +122
    ./src/Migration.Console/Properties/Resources.resx
    • -0
    • +78
    ./test/Migration.Console.Test/ConsoleOutput.cs
- 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

    • -3
    • +1
    ./src/Migration.Console/Application.cs
  1. … 13 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

  1. … 335 more files in changeset.