PipingSurfaceLinesCsvImporterTest.cs

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

    • -1772
    • +0
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 151 more files in changeset.
Removing superfluous Ringtoets prefix from files. Related to Issue [WTI-1289]

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

Former-commit-id: 9c00d140fe013eb2378047c3180e2536ac114463

Former-commit-id: d2e02edcd1145cc87730840a3a14d7f107257c53

    • -1772
    • +0
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 19 more files in changeset.
Inlined resources in piping tests. Related to Issue [WTI-1266]

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

Former-commit-id: 72a0f93d414bc861d85572bc34c4b97aa37a200b

Former-commit-id: b6b75f91804f3a6f420b426beeadbf957628d764

    • -172
    • +89
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 28 more files in changeset.
Removed RingtoetsPipingSurfaceLineUpdateException.cs Related to Issue [WTI-1172]

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

Former-commit-id: 2f09683f772476fa0fb12c63fdecfc4ba4037884

Former-commit-id: b1a38b56fdd0f1c65f3365bb633c96c389cc0667

    • -3
    • +40
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 14 more files in changeset.
Performed cleanup.

Paired with berg_jl

Related to Issue [WTI-1243]

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

Former-commit-id: ae470666b04338291ed9d6e1a564320b9a9596fd

Former-commit-id: 13de3f470e6d1179c5c4a7aca862cd1481c108f0

    • -3
    • +2
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 16 more files in changeset.
Updated license headers in Piping. Related to Issue [WTI-1242]

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

Former-commit-id: fda79840b5ca2b26234f71f990a231a69cefce05

Former-commit-id: 22decd2346491fae07602843fbe9b8931260bcc6

    • -1
    • +1
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 394 more files in changeset.
Changed all local vars to consts if possible. Related to Issue [WTI-1242]

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

Former-commit-id: 4684a5017b9aff9f6175f7d781cb29409f50a18e

Former-commit-id: 853c649ebc49a9513535e40ec705d5b928af0bc4

    • -10
    • +10
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 283 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

    • -32
    • +31
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 147 more files in changeset.
Incorporated comments tester: - Corrected typo - Added GetCancelledLogMessageText for the MessageProviders to provide the appropriate log message text when an importer action is cancelled -- Removed unused Resources -- Implemented feature for the surfacelines and the stochastic soil models - Added tests for asserting the level of generated log message Related to Issue [WTI-1192]

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

Former-commit-id: ae4f3eba89ba6fe848d12df197b72ccc4518eb9f

Former-commit-id: e8f4b071b2a409b6d5388dbf1cc56df3baa190b7

    • -182
    • +199
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 15 more files in changeset.
Separated progress steps: - Validation or processing imported data is extracted out of the "Adding data to Model" step. Separate progress message added and made it cancellable - Added test to verify behaviour Related to Issue [WTI-1192]

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

Former-commit-id: 0ccf60f546482dc1ae81a324bfbd85b0757b85e7

Former-commit-id: 98a5ec5442293cb87eb6428ddfd7afdbf1792b5f

    • -19
    • +76
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 5 more files in changeset.
Introduced MessageProviders for the StochasticSoilModel and the PipingSurfaceLinesCsvImporter: - Adjusted affected tests, stubbed where applicable - Corrected compilation errors: update helpers use the UpdateMessageProvider, import helpers the ImportMessageProvider Related to Issue [WTI-1192]

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

Former-commit-id: 60ba14c758d3ff2591039fbd391c4e13464172ef

Former-commit-id: 67f3a302070f7424f0958fc834e8eaca649f7772

    • -34
    • +176
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 19 more files in changeset.
Updated tests with GetScratchPadPath Paired with tangerma Related to Issue [WTI-1088]

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

Former-commit-id: 76b37a547837d85495939bef575161003eb4f535

Former-commit-id: 342ddbae4245ac328542bb682fede067eb760c54

    • -1
    • +1
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 21 more files in changeset.
Incorporated comments tester: - Instances that were updated after import were not notified. Added an override of the DoPostImportUpdates - Added test Related to Issue [WTI-1094]

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

Former-commit-id: fc222b6c4191b6037e54c2b6b8b49d12d75ecafc

Former-commit-id: 2560762fc88e1d4b2940de603189243cc84628b5

    • -1
    • +47
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 1 more file in changeset.
* More usage of Scratchpad folder for writing files. Related to Issue [WTI-1088]

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

Former-commit-id: 8856b7fab3e3f8af7ceee814491404db5552b75f

Former-commit-id: 1e71081ef1143d371c46702fc8455722cf548b1e

    • -7
    • +10
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 8 more files in changeset.
Incorporated comments review 1458: - Renamed interface - Improved XMLDoc - Fixed typos in functions, reran Deltares cleanup for to fix formatting - Removed unused reference - Added missing tests Related to Issue [WTI-1075]

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

Former-commit-id: 305e56fb79b3fae4b710b6eac5451aa2322c00da

Former-commit-id: 1ca1a584c8584647c595fc516e30304b66a09eb8

    • -19
    • +19
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 12 more files in changeset.
- Updated texts of ValidateFilePath Added method GetFullPath that throws only ArgumentExceptions Related to Issue [WTI-1060]

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

Former-commit-id: c17a15c75b90157638db91f8a04112cafacf43d8

Former-commit-id: 0eed903d451361194e8d2111d155a0755c633259

    • -11
    • +11
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 33 more files in changeset.
- Updated texts - Changed ValidateFilePath to write the chars Path.GetFileName validates against (Path.GetInvalidPathChars()) in its exception Related to Issue [WTI-1060]

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

Former-commit-id: 2035c7d87c781c6d0cc8fa7a3fdd46eb85a9b7e1

Former-commit-id: 0bb23d23531231bb7c07834ec39505714bb049a7

    • -1
    • +1
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 24 more files in changeset.
Implemented RingtoetsSurfaceLineCollection to store unique surface lines (no duplicate items with the same name): - Applied class for the strategies - Fixed affected tests - Removed unused references

Related to Issue [WTI-1075]

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

Former-commit-id: bdfb49b25b2ee5959323ee54f6100d12712031df

Former-commit-id: c61213e8748ebb2f2635ee1f24fb3ebfc5295c7e

    • -7
    • +7
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 23 more files in changeset.
- Removed unused references - Added removing surface lines from the failure mechanism functionality in the corresponding replace data strategy: -- Tests added to cover for functionality -- Added failureMechanism as a constructor argument to also clear the dependent data - Corrected test names Related to Issue [WTI-1075]

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

Former-commit-id: 164affc2642f9409977ae566ed0f985672020885

Former-commit-id: 659989299b101b23eff71a73b120bf14586069dd

    • -1
    • +1
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 6 more files in changeset.
- Added UpdateInfos to include update info tests - Extended PipingPlugIn test with asserts on the GetUpdateInfos function - Connected the importers with the correct strategies for the update and import functionality - Rearranged the argument order of the piping surface line importer in a more logical way - Fixed typos in XMLDocs

Related to Issue [WTI-1075]

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

Former-commit-id: ca4b09061daa8d0e0df9103580097bff04e7793e

Former-commit-id: babb3c57bdbf60b76c8247558d01412ef7043751

    • -38
    • +38
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 9 more files in changeset.
Cleaned up some code hierarchies Related to Issue [WTI-1135]

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

Former-commit-id: 852a743befd47106f8b3a7e330ab692dc77632bb

Former-commit-id: f66c0c339bd98568173cba1b25c66f7f366d644c

    • -1
    • +1
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 30 more files in changeset.
Implemented ISurfaceLineUpdateStrategy for the surface line importer: - Adjusted tests, introduced an internal TestSurfaceLineUpdateStrategy to be independent of the concrete implementations - Renamed interface for consistency reasons: name is now consistent with the soil model equivalent - Hooked up the strategy with the PipingPlugin, AddNewDemoAssessmentSectionCommand and DataImportHelper Related to Issue [WTI-1075]

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

Former-commit-id: 4ccd0f22d485c61168ad0889cfd8ef0004f7a3a4

Former-commit-id: 35be3671e707113e48c9fec3cb5caee637353326

    • -107
    • +183
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 9 more files in changeset.
Incorporated comments review 1444: - Improved test and variable names - Renamed test class to reflect which class it's actually testing Related to Issue [WTI-1083]

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

Former-commit-id: 361a2b40edd09623e9908c2a3554a95e477a196a

Former-commit-id: 63116986ccb04e7f07fecf7919539179bf1ac726

    • -2
    • +2
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 4 more files in changeset.
Converted the ObservableCollection holding the surface lines in the PipingFailureMechanism into an ObservableCollectionWithSourcePath: - Fixed compiling errors and failing tests

Note: storage functionality is not enabled yet and file location will not persist at this moment!

Related to Issue [WTI-1083]

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

Former-commit-id: 4f6e7d5a4f4e8f047a6230835920361b8cf39f2d

Former-commit-id: 3699faaf2ab4c01df1729eb0c274687cedb599b8

    • -81
    • +66
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 17 more files in changeset.
Enable canceling when importing the piping surface lines: - Removed obsolete message to indicate adding imported data to the data model started - Adjusted affected tests

Related to Issue [WTI-492]

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

Former-commit-id: 8b0d2f22603df608a58d5968d19089bb36f2669c

Former-commit-id: 45262a5aaf08943706c2f5aaa61a89736dfe9a78

    • -28
    • +18
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 3 more files in changeset.
Enable canceling when importing the piping surface lines: - Removed obsolete message to indicate adding imported data to the data model was finished - Removed alias for the RingtoetsPipingPluginResources in the importer - Adjusted affected tests Related to Issue [WTI-492]

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

Former-commit-id: d936c482a1dfea814cecb7ddf310ce0ce88cd087

Former-commit-id: d06eed43a24d9562290ee2d93a740f8a4d0efa91

    • -30
    • +20
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 3 more files in changeset.
Enable canceling when importing the piping surface lines: - Extracted the add-function from the AddImportedDataToModel - Added test to verify behavior when canceling during the processing of the imported data

Note:

There's no test to verify the behavior when the user cancels between the steps of processing the import data and actually adding the processed import data to the ObservableList of PipingSurfaceLines. This is because there's no NotifyProgress handle in this stage to subscribe on (and subsequently cancel the action)

Related to Issue [WTI-492]

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

Former-commit-id: db6a521f81e69375ec4d9677ca802918d911aa7b

Former-commit-id: fbb8d18747770829ef3c6d51afc3ccc031bcaf5b

    • -6
    • +7
    ./PipingSurfaceLinesCsvImporterTest.cs
  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
    • +1
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 35 more files in changeset.
- Added NotifyProgress calls when adding data to the data model - Synchronised message values across all the importers

Note:

No tests are available to verify the cancel behaviour for the FeatureBasedMapData because it has no NotifyProgress (and consequently no SetProgress handle to set the Action it should execute during the import)

Related to Issue [WTI-490]

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

Former-commit-id: ee82e9d839a1acfffb0ccb4ff219a30856c744e7

Former-commit-id: a79f8f2e64e63d1e9bac5672052dc8bc143bf91f

    • -9
    • +9
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 18 more files in changeset.
Implemented Reuse tests in the concrete implementations of the FileImporterBase Related to Issue [WTI-490]

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

Former-commit-id: d766c4944786409b114582323cf947d60e99337f

Former-commit-id: 0ff0cb1b31a88afc319a093050888e49cd2428f5

    • -1
    • +2
    ./PipingSurfaceLinesCsvImporterTest.cs
  1. … 5 more files in changeset.