ForeshoreProfilesImporter.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Renamed Ringtoets folder. WTI-1931

  1. … 15714 more files in changeset.
Changed copyright year. Paired with lubbers. WTI-1828

  1. … 6095 more files in changeset.
Ran Deltares Cleanup:

- Performed for Ringtoets.Common.IO and its test project and testutil

WTI-1767

  1. … 70 more files in changeset.
Directly evaluate enumerations when applicable. Related to Issue [WTI-1393]

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

Former-commit-id: cf8406a712503f8ef9b24bd41b7cf5047467cdc8

Former-commit-id: 366b18ed1a959d4a942dfdc092b9dba5ee848da9

  1. … 27 more files in changeset.
Remove ICollection occurrences Related to Issue [WTI-1401]

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

Former-commit-id: 4f402ace1fbc9ef790e29d63702cb0586e0456dc

Former-commit-id: 75401bb68313a4734fa513d5d0b33a3cfd497dbc

  1. … 20 more files in changeset.
Merge from branch 1289

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

Former-commit-id: ba3056d252e5c6e4ca7694457d6ac85073639d97

Former-commit-id: 7bce824a3d3e04d9e23e441c42e22972210259b3

  1. … 151 more files in changeset.
Unified the UpdateDataStrategyBase with the SurfaceLineUpdateDataStrategyBase again. Related to Issue [WTI-1289]

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

Former-commit-id: 89548b886f1788b065f7244472145cbb954cde75

Former-commit-id: 5125c70b8eaab6502caa71cbfec835ced3f46a79

  1. … 48 more files in changeset.
Incorporated comments review 1811: - Updated XMLDocs - Renamed and improved tests - Reverted the view implementation of closing structures to the original situation where the Set- and UpdateMapData updates all the drawn components in the view Related to Issue [WTI-1113]

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

Former-commit-id: 0133578969e55b3ba278da83717088d1551f9a72

Former-commit-id: f5d2509305c8c1c51e2bd64b4bd9d1484ccf47fc

  1. … 12 more files in changeset.
Extended ForeshoreProfilesImporter functionality: - Introduced the injects of a MessageProvider to provide messages depending on the desired situation - Added type descriptor in the ProfilesImporter base class which is to be provided to the MessageProvider in case an exception occurs -- Added tests to verify behaviour when UpdateDataException occurs - Removed unused references - Updated XMLDoc

Related to Issue [WTI-1113]

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

Former-commit-id: 22e8a4e6c03d3ae0791ac7879c134e7c2b1166f5

Former-commit-id: 0ff8658d884058e9160ba7d63a5614d3d8db315d

  1. … 8 more files in changeset.
Introduced the IForeshoreProfileUpdateStrategy in the ForeshoreProfilesImporter: - Adjusted affected tests Related to Issue [WTI-1113]

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

Former-commit-id: 854578c41d33bb65dc882ef7e72e8770bb4ff37f

Former-commit-id: e98581df8bc110d79d78228d9043d6e78ae81465

  1. … 2 more files in changeset.
Fix to guarantee uniqueness amongst ForeshoreProfiles based on ID Related to Issue [WTI-1260]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/17_1@9592 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 97d6e76ad02220bde92680b5a62795f6423e5728

Former-commit-id: 1f7a8d219fdafc0744e728ab4d4da4c9e37eac26

  1. … 3 more files in changeset.
Moved test data from from integration closer to where they are used. Fixed test expectancies. Related to Issue [WTI-1194]

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

Former-commit-id: 3ac6a6b2f0cb6fb330da41f6d826f49d38682482

Former-commit-id: 5b3e08523720135d0af8b103a1da29a3016d48e5

  1. … 173 more files in changeset.
Add file location of "VoorlandProfiel" collection: - Introduced ForeshoreProfileCollection for the failure mechanism that make use of an ObservableList to store foreshore profiles - Fixed affected tests - Added TestForeshoreProfile which allows to set a geometry and a custom ID to prevent ArgumentExceptions due to duplicate items - Adjusted migration script to prevent adding non-unique foreshore profiles which can cause an ArgumentException

Related to Issue [WTI-1112]

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

Former-commit-id: 91955406d3b4b9092027e14a053d20ed7d70ec27

Former-commit-id: 6ed0b86a3057bd1eb13d76355da5f47f3910e38e

  1. … 49 more files in changeset.
Updated license headers in ringtoets common. Related to Issue [WTI-1242]

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

Former-commit-id: ce33ce275ba930662636e02ef99d91e788db8757

Former-commit-id: 2a4583aeb892e314df72a61727f806c446493577

  1. … 551 more files in changeset.
Code cleanup: Ringtoets.Common Ringtoets.DuneErosion Ringtoets.HydraRing Ringtoets.Integration Related to Issue [WTI-1242]

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

Former-commit-id: 0032433ea9de109c256ed5de15ebb145f6be74fc

Former-commit-id: b5477e384031933ad12287ee6958f4f68d7f9566

  1. … 429 more files in changeset.
Merged all revision(s) from branches/UpdateDikeProfilesFeature

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

Former-commit-id: 5f84130acb4bd2113b949015b4049e0c0b5795c4

Former-commit-id: 86ce2960f4b2cd6be35b62d7b6608749e29f1022

  1. … 147 more files in changeset.
Read names from shape file in DikeProfilesImporter and ForeshoreProfilesImporter Related to Issue [WTI-1092]

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

Former-commit-id: 85d3ea9794590356e1ea030a51f48e5f6b393815

Former-commit-id: 0f9da876a50730e99421425cb6c2af06208fb89d

  1. … 9 more files in changeset.
Added required ID property to ForeshoreProfile Related to Issue [WTI-1092]

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

Former-commit-id: a5ac17d93c00edc44ab863f471af937703304078

Former-commit-id: d6e398f53cedd03a7e769e1b87a6da3bb573fe53

  1. … 50 more files in changeset.
Improvements after review. Related to Issue [WTI-1133]

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

Former-commit-id: 58a77f4e5772a50da48d0575dff08e8779780c01

Former-commit-id: 60fb8aa1c80c5a08394b38bb7ff07d7fe5a37678

  1. … 21 more files 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. … 35 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. … 26 more files in changeset.
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

Related to Issue [WTI-490]

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

Former-commit-id: 686bdd815ed5479367b69fb431a59ef8fc0df1a0

Former-commit-id: cf9ed26e6a2def68a2919f8324bb8ad59154109b

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

Related to Issue [WTI-490]

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

Former-commit-id: 409bfee1e3deebb4fe4368cb7010a8c4c37dae5e

Former-commit-id: 98175da77f6910f259097a90626bbb10450e2c8f

  1. … 20 more files in changeset.
Fixed some constraint violations. Related to Issue [WTI-1008]

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

Former-commit-id: 2bc863561f91a1b479611b2197c0ed12a5b633c6

Former-commit-id: 21c39d763b9a581faebfede2e66e3d13938822e4

  1. … 14 more files in changeset.
Implemented improvements of review 1074. Related to Issue [WTI-579]

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

Former-commit-id: c1d835c88e81b3e173bb9d70d6c79441f6c5fa79

Former-commit-id: e3649a25ed68ac995a4c6bcece2e170e09b42e98

  1. … 37 more files in changeset.
Moved Importers from Integration.Plugin to Common.IO Related to Issue [WTI-579]

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

Former-commit-id: b72457e77104425d7b84f4fbaa53aae505ad5507

Former-commit-id: 8b1758ebb5be77a182cd658d5ffa3cf5957fce6f

    • -0
    • +120
    ./ForeshoreProfilesImporter.cs
  1. … 52 more files in changeset.