Core.Common.Base

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* Refactored RingtoetsProjectMigrator to move responsibility of determining target location for migrated project to seperate method. * Fixed 2 failing tests. Related to Issue [WTI-1049]

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

Former-commit-id: e725e71ba9d80444c8a49d6618832bee6ccd237d

Former-commit-id: 457b058abc9f8baa453a165f511492c49c895042

  1. … 10 more files in changeset.
* Some refactoring to RingtoetsProjectMigrator ** Now more clear return result for ShouldMigrate method between the need for migration or not or when the migration workflow is aborted. ** Moved responsibility of asking user for accepting migration from Migrate to ShouldMigrate method.

These steps have been taken as preparation to ask user for confirmation and location before starting an Activity to perform the actual migration and subsequently opening the migrated project.

Related to Issue [WTI-1049]

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

Former-commit-id: 3d793cf304e5f7f685b1d4341368297a7cbebdc7

Former-commit-id: 61ca241d865cafa2dc91367fd1dbf780aa790f73

    • -0
    • +44
    ./Storage/MigrationNeeded.cs
  1. … 5 more files in changeset.
Final changes to the migrator: - Adjusted inquiry such that it is consistent with the console application - Updated XMLDoc - Refactored RingtoetsProjectMigratorTest: -- Extracted general method which asserts the messages from the inquiry helper -- Added tests to assert behaviour of the migrator when the file to migrate to locks (unable to write) -- Replaced all DirectoryDisposeHelpers with the FileDisposeHelpers, because the SaveFileDialog interactions are now obsolete -- Some minor cleanup

Related to Issue [WTI-1095]

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

Former-commit-id: 024a738fb573f6a4a968fba23eb6b54b859b8596

Former-commit-id: acf833a66fdc442a399e5251063d7b6baa08fc0b

  1. … 4 more files in changeset.
Investigate alternative for failing SaveDialogTests on the buildserver: - Expanded the IInquiryHelper with a GetTargetFileLocation which takes a file filter and a suggested initial name as argument - Incorporated mentioned feature in the RingtoetsProjectMigrator - Adjusted failing tests Related to Issue [WTI-1095]

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

Former-commit-id: 5dcba28f6f531f2c0cc17da88348f279e582a6e1

Former-commit-id: b94f1c1b7bad927661d5eae11fecd6e414e30e71

  1. … 4 more files in changeset.
- Fixed failing tests: used Path.Combine to get the desired target path - Introduced a IMigrateProject: -- Will be used to inject the RingtoetsProjectMigrator in the StorageCommandHandler Related to Issue [WTI-1095]

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

Former-commit-id: a91dcf37e1ce0202f18834db2b39a8f26fa28191

Former-commit-id: cced646b70846232ac83e9628e40cd58cbea1d2a

    • -0
    • +59
    ./Storage/IMigrateProject.cs
  1. … 4 more files in changeset.
Incorporated comments review 1488: - Improved tests of StrategyBase: -- Replaced the return methods with properties to assert if they're called with the right input arguments -- Renamed several tests - Ran DeltaresClean - Inlined the ValidateItems function in the ObservableUniqueItemCollectionWithSourcePath Related to Issue [WTI-1075]

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

Former-commit-id: 4ffcec0c1dcd11672904c2b637269d6a80545364

Former-commit-id: eee856fa71a461b074affbe52ed8d0429d4a7333

    • -24
    • +14
    ./ObservableUniqueItemCollectionWithSourcePath.cs
  1. … 4 more files in changeset.
Improvements after review. Related to Issue [WTI-1133]

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

Former-commit-id: 331f6ea0cfe5494ebfc1e4fb917ee42212e8a114

Former-commit-id: e779a2129e8567975f4f85e6bb8e1ac14bd3bc43

  1. … 26 more files in changeset.
Incorporated comments review 1478: - Updated XMLDoc - Refactored ObservableUniqueItemCollectionWithSourcePath: -- Turned class into an abstract class -- Removed generic TFeature, because explicit knowledge is not needed -- Adjusted inherited classes or classes that make direct use of the ObservableUniqueItemCollectionWithSourcePath

Related to Issue [WTI-1075]

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

Former-commit-id: 68cb3152a1c682b33bb73740c7d2e1300459cde2

Former-commit-id: 3e983eaebb15fdbe735d2ae5c62aa07d82a65242

    • -19
    • +8
    ./ObservableUniqueItemCollectionWithSourcePath.cs
  1. … 17 more files in changeset.
Review related changes Related to Issue [WTI-1135]

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

Former-commit-id: 79b1c6bb86ceec6e05faa412e77c53419240048b

Former-commit-id: 4e6fb4e002026817f9837bba738e8ac1d44daabf

    • -1
    • +1
    ./ObservableUniqueItemCollectionWithSourcePath.cs
  1. … 42 more files in changeset.
Incorporated comments review 1468: - Final refactoring of the derived classes from the ObservableCollectionWithSourcePath: -- Extended functionality of the ObservableUniqueItemCollectionWithSourcePath to ensure that at least one feature is given for the validation on the uniqueness of items -- Adjusted the inherited classes with new signature -- Added and fixed failing tests - Moved resource from Forms to Data for the shared display name between the Data and Form layer in Piping

Related to Issue [WTI-1075]

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

Former-commit-id: 8f83ec6400451549356efd9f20d927d42205140d

Former-commit-id: b27663c546ef469624f9a5bf847bd5a118eea841

    • -22
    • +55
    ./ObservableUniqueItemCollectionWithSourcePath.cs
  1. … 23 more files in changeset.
Incorporated comments review 1468: - First refactoring of the derived classes from the ObservableCollectionWithSourcePath: -- Renamed class that it represents a collection with unique items -- Extracted method to get unique features from an object Related to Issue [WTI-1075]

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

Former-commit-id: ca2e766323a3dab411a508b14467d5230d70be37

Former-commit-id: 70b7615b7831401251adc0a9919d10193828537c

    • -159
    • +0
    ./ObservableCollectionWithSourcePath.cs
    • -0
    • +188
    ./ObservableUniqueItemCollectionWithSourcePath.cs
  1. … 18 more files in changeset.
Removed obsolete FileResult. Renamed ExpectedFile to FileFilterGenerator. Updated doc and performed cleanups. Other small improvements. Related to Issue [WTI-1070]

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

Former-commit-id: c7a7dde63238ab597409a15fa06e4403571bd27c

Former-commit-id: 20d5e5224cd7fb10ee003e29defbe3c4268fe344

    • -6
    • +11
    ./ObservableCollectionWithSourcePath.cs
  1. … 67 more files in changeset.
Changed ValidateItems interface so that only ArgumentExceptions are allowed to be thrown. Related to Issue [WTI-1093]

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

Former-commit-id: 3dd7a95a6aa5d1d7c4f3ed36338c8e2ef7e93fdd

Former-commit-id: 3461c8453d85846474f5077c2f4aded4dd892db4

    • -1
    • +2
    ./ObservableCollectionWithSourcePath.cs
  1. … 1 more file in changeset.
* Introduced Range class and FormattableConstants * Refactored all mentions of value ranges in Resources throughout the solution and replaced those by injecting instances of Range. ** This solution supports globalization of the application better. * Removed Dotspatial Legend related stuff from BruTileLayer and IConfiguration (and it's derivatives). * Cleanup in BruTileLayer. * Extended ProbabilityHelper with method for validating probability values. Related to Issue [WTI-1131]

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

Former-commit-id: d5a767df415eb68fcef3ebd2503020ed5f4979cc

Former-commit-id: 1bdd5e06da36a1dbb69f6e6e4d1e529805155d47

    • -0
    • +48
    ./FormattableConstants.cs
  1. … 82 more files in changeset.
Added verification of the database schema of DSoil-Model in which stochastic soil model names need to be unique. Introduced StochasticSoilModelCollection which has additional validation for the uniqueness of the StochasticSoilModel Name. Renamed files containing Table constants. Related to Issue [WTI-1093]

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

Former-commit-id: 80c9a9206c20d8fdfa23712d2c68f9f13cc67378

Former-commit-id: b1779cca6f30e7472f2c9620524f4f5ae6031db2

    • -0
    • +10
    ./ObservableCollectionWithSourcePath.cs
  1. … 55 more files in changeset.
* BackgroundMapDataContainer now notifies observers of child map data Related to Issue [WTI-1105]

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

Former-commit-id: fcbaf5742db13c1d222cad41cc7800934236b80d

Former-commit-id: 924688ffb5c515b78849f7eccbb527ae96a2b42c

  1. … 2 more files in changeset.
Turned the StochasticSoilModelCollection into a collection that uses generics: - Stores elements of type T and the source path (same functionality as the StochasticSoilModelCollection) - Modified influenced components, fixed failing tests Related to Issue [WTI-1083]

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

Former-commit-id: e49abec52fc1d6390fe033f62ed83ea72907ec2b

Former-commit-id: 512f88aa9067fcf94700873b63491b69b276b41a

    • -0
    • +143
    ./ObservableCollectionWithSourcePath.cs
  1. … 22 more files in changeset.
Added validation for Probability of StochasticSoilProfile. Added StochasticSoilmodelUpdateException. Provided base implementation of the DoPostImport (cancelable behavior) and an overridable DoPostImportUpdates to implement just the model updates. Added Strategy postfix to IStochasticSoilModelUpdateStrategy implementations. Fixed liskov issue with StochasticSoilModelUpdateDataStrategy. Related to Issue [WTI-1070]

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

Former-commit-id: 1b86b03430a8714c43abdb447dbf9a561426a94e

Former-commit-id: 781140c2712d3dd80e4e97c162a8455e54d8227d

  1. … 38 more files in changeset.
* Introduced base TestFixture class for testing design of custom exceptions: CustomExceptionDesignGuidelinesTestFixture ** Refactored all ExceptionTest classes to used this new base-class. * Functional testcoverage for Core.Components.DotSpatial\Layer\BruTile\Configurations * PersistentCacheConfiguration no longer supports SQLite cache * ITileSourceFactory now guarantees that all ITileSource elements returned have a WmtsTileSchema. * TODO: More functional coverage for WmtsLayerConfiguration

Related to Issue [WTI-1088]

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

Former-commit-id: 0cd7c47dc7ee2221f69b7c3b4d88205d087c691e

Former-commit-id: b3dbe965ce4a4266af1d8284ad481d2449db14e7

  1. … 61 more files in changeset.
Merged revision(s) 7802-7807 from branches/Release/16_4: Ran Deltares cleanup Related to Issue [WTI-1065]

........

Adjusted validator of StabilityPointStructureParameterKeyword22 to only validate {{Mean}}

Related to Issue [WTI 1102]

........

Changes after review

paired with bouvrie

Related to Issue [WTI-1065]

........

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

Former-commit-id: 7837197cf36f26bd709d61e3d88aaf4c25e55313

Former-commit-id: ee9e4d26cca941db8a5cbd20d5b9735843e6b06f

  1. … 28 more files in changeset.
Ran Deltares cleanup Related to Issue [WTI-1065]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_4@7802 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 05a1c976155c91a0c967427812499bb5fef75a8d

Former-commit-id: 08d16a9e8e7c0987ca42dc9f7b5a4a09473501ff

  1. … 35 more files in changeset.
use nameof in ArgumentExceptions Reviewed by: tangerma

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

Former-commit-id: e3c15c6c005fe58c9c93290e71360a514522a360

Former-commit-id: 3c75b59518770b613e8d73e2c0a71b08da4fd8a7

  1. … 5 more files in changeset.
use nameof in Argument*Exceptions Reviewed by: tangerma

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

Former-commit-id: 489d965acd6cbed374e72d9a9f10deec8787bcfd

Former-commit-id: 0ef178298a4e4639093af98897cfb40d331b372d

  1. … 279 more files in changeset.
Added operator overloads for RoundedDouble (as discussed in Tech meeting) paired with tang_ds

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

Former-commit-id: e2187faa4083564b7a6cae6b9263f57b2ca1304d

Former-commit-id: 0b736ad40e3fd146360771b0d8c692d684fca45d

  1. … 1 more file in changeset.
Incorporated comments review 1385: (Editorial) - Made the spelling of "Canceled" or "Uncancelable (opposed to "Cancelled" or "Uncancellable") consistent throughout the application.

Note:

"Cancellation" is legit U.S. spelling and therefore unchanged. "Cancelation" is not common and rarely used.

Related to Issue [WTI-490]

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

Former-commit-id: 665e259f03237740e63d6441088354043dae52f2

Former-commit-id: 98c98ae04c081843c7bab2c55946744a8d06dad2

  1. … 34 more files in changeset.
Incorporated comments review 1385: - Improved FileImporterBase: -- Use null propagation -- Removed unnecessary setter -- Virtual method to abstract method, fixed affected failing tests - Improved StructuresImporter: -- Used nameof function -- Renamed private field parameter name conform coding standards - Minor editorial changes - Removed redundant aliases

Related to Issue [WTI-490]

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

Former-commit-id: ae36ef10b17db21a36e1c42d2fff77760a8665d6

Former-commit-id: 125e339e8568945268976ffc402eba124269dfff

  1. … 6 more files in changeset.
Get rid of AffectedNonTargetObservableInstances property in FileImporterBase Related to Issue [WTI-490]

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

Former-commit-id: b4399ab53f7c2aac15418f5353df3a273c66df30

Former-commit-id: ad12f9acfead5c0cbdb94f1fdff36c99392b06e6

  1. … 3 more files in changeset.
Merged revision(s) 7595-7638 from branches/WTI-490:

Merged revision(s) 7537-7594 from trunk

........

Initial commit of changes from kleijn:

- Removed HandleUserCancellingImport: FileImporter should not decide on its own how to handle Canceled actions. Consequently removed the messages that are generated by these handles

- Added logic to the importers: Cancelling is not possible when putting data on the data model. Action will always execute when it is in this stage

- Added branching paths in the activity: Import() returns false when it has failed or is cancelled

Note: failing tests will be fixed in following commits

........

Fixed tests of the FileImporterBase and Activity:

- Checks on the states are made for the 4 different paths of the Import:

-- Import successful, canceled or not

-- Import not successful, canceled or not

- Moved logging from the activity to the importer

- Added tests to assert mentioned behaviour

........

Fixed tests of the PipingSurfaceLinesCsvImporter:

- Added test to verify behaviour when canceling at the two stages during the import

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Added resource value for the ImportActivity (missing file commit)

........

Fixed tests of the PipingSoilProfilesImporter:

- Added test to verify behaviour when canceling at the three stages during the import

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Cleaned redundant brackets

........

Fixed tests of the StructuresImporter:

- Added test to verify behaviour when canceling at the two stages during the import. Test regarding cancelling while Creating structures is missing

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

Adjusted test in PipingSoilProfilesImporterTest

- Changed initial value of the result to make clear that the value is set correctly

........

Fixed tests of the ProfilesImporters:

- Added test to verify behaviour when canceling at the two stages during the import. Test regarding cancelling while Creating structures is missing

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Removed obsolete Cancel call in the PipingSoilProfilesImporterTest

........

FileImporters should call Observers in case the import was successfull AND was cancelled at an uncancellable stage.

Note: test is missing to verify this behaviour

........

Fixed tests of the ProfilesImporters:

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Temporarily removed the Cancel tests, because the FeatureBasedMapDataImporter does not have a handle for NotifyProgress. Hence, Cancel method cannot be invoked when Import is running.

........

Fixed tests of the FailureMechanismSectionsImporter:

- Added test to verify behaviour when canceling at the three stages during the import

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Cleaned up tests in the StructuresImporterTest

........

Fixed tests of the ReferenceLineImporter:

- Added test to verify behaviour when canceling at the two stages during the import

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

........

Related to Issue [WTI-490]

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

Former-commit-id: 1c355702dfbd410c7c4733529d8db9e243496eba

Former-commit-id: 75c614862d018947936ef85e3775a125c425c032

  1. … 23 more files in changeset.
FileImporters should call Observers in case the import was successfull AND was cancelled at an uncancellable stage.

Note: test is missing to verify this behaviour

Related to Issue [WTI-490]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/WTI-490@7633 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: e83b44b0f9859bd3ab8158432cbbb7e8f6fcea42

Former-commit-id: 2d24eded9c720fa9d27095f2fe3beee65d42f323

Fixed tests of the PipingSurfaceLinesCsvImporter: - Added test to verify behaviour when canceling at the two stages during the import - Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base - Added resource value for the ImportActivity (missing file commit)

Related to Issue [WTI-490]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/WTI-490@7618 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 57abd999d6185e5e4841d6fa1c380dc3c8c9cc39

Former-commit-id: 836f2fc05903415944c167b13983d49f290d5216

  1. … 4 more files in changeset.