FailureMechanismSectionsImporterTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updated resource( name)s Related to Issue [WTI-1097]

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

Former-commit-id: caa80ed0d43933a02165c1f2d3862399d7fc5370

Former-commit-id: 26e14907c3372f9a2083348f054a6a508ffe3f83

    • -2
    • +2
    ./FailureMechanismSectionsImporterTest.cs
  1. … 14 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
    • +1
    ./FailureMechanismSectionsImporterTest.cs
  1. … 551 more files in changeset.
Removed code redudancies using code cleanup Related to Issue [WTI-1242]

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

Former-commit-id: a4184612412083ad60d3a4e536abd67e2556054e

Former-commit-id: 88487e11184954b002f5e4adf51ca28ff8a1ad25

    • -3
    • +3
    ./FailureMechanismSectionsImporterTest.cs
  1. … 142 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

    • -98
    • +97
    ./FailureMechanismSectionsImporterTest.cs
  1. … 429 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
    • +1
    ./FailureMechanismSectionsImporterTest.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

    • -2
    • +2
    ./FailureMechanismSectionsImporterTest.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
    • +1
    ./FailureMechanismSectionsImporterTest.cs
  1. … 5 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
    • +102
    ./FailureMechanismSectionsImporterTest.cs
  1. … 26 more files in changeset.
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

Related to Issue [WTI-490]

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

Former-commit-id: 23833a1f4ab3ad81a333e16378aed3b8bbbfc8dc

Former-commit-id: a49e8600ea0079ae498547eb7ea55a3832ed1292

    • -1
    • +102
    ./FailureMechanismSectionsImporterTest.cs
  1. … 2 more files in changeset.
Incorporated comments review 1319: - Updated resource values for the error messages to desired values Related to Issue [WTI-982]

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

Former-commit-id: 685dd38be45ff7a444c08c44157ff7708a8da416

Former-commit-id: 736742a1adc61f6956fcd02539acb5b0cb82102f

    • -4
    • +4
    ./FailureMechanismSectionsImporterTest.cs
  1. … 2 more files in changeset.
Separated error messages when importing FailureMechanismSections: - Error message when the section lies too far from the reference line - Error message when the total length of the imported section differs from the total length of the section Related to Issue [WTI-982]

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

Former-commit-id: 2e55f6905f6a2abd36cd84972c79cf65bafd90e4

Former-commit-id: 7aa6c8c6b7cffca90da03923951357143771e978

    • -4
    • +4
    ./FailureMechanismSectionsImporterTest.cs
  1. … 3 more files in changeset.
* Introduced IReferenceLineReplaceHandler and its implementation. ** Applied Dependency Injection on ReferenceLineImporter to abstract ReferenceLine replacement specifics (also removing dependencies such as View logic!) * Moved integration test data production methods to generally available location (new test project created for it) ** Created DataImportHelper class (Replaced several IntegrationTestHelper classes with identical implementation) Related to Issue [WTI-440]

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

Former-commit-id: 327965238ad610377b99e3b293193784bb2ef163

Former-commit-id: efce33cd742bfd09ba26d9337f1508223c8a2559

    • -103
    • +53
    ./FailureMechanismSectionsImporterTest.cs
  1. … 90 more files in changeset.
used lower case after colon when using FileReaderErrorMessageBuilder. Added FirstToLower method in StringExtensions. Related to Issue [WTI-948]

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

Former-commit-id: e9d3cccc3d91f565fc53bdfffabb2449c517437e

Former-commit-id: b80c97fbcc39c0000d0348fb5fa4591371f53bed

    • -3
    • +3
    ./FailureMechanismSectionsImporterTest.cs
  1. … 58 more files in changeset.
Incorporated comments review review 1190

Paired with berg_jl

Related to Issue [WTI-948]

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

Former-commit-id: 6f722728ef1374f0330626efd20d8d99f148f48f

Former-commit-id: bb366453084937c8a7ff2864966608b575e63902

    • -1
    • +1
    ./FailureMechanismSectionsImporterTest.cs
  1. … 6 more files in changeset.
Added test data for failure mechanism sections with empty name fields. Added improved error handling for when the name field is empty. Related to Issue [WTI-948]

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

Former-commit-id: 45cdd5d6d17d7712ab687b02b0386598716d3c6c

Former-commit-id: 122d080f392c198e36a3dfef56248d84c64f1e3c

    • -1
    • +27
    ./FailureMechanismSectionsImporterTest.cs
  1. … 6 more files in changeset.
* Added standard serialization constructor to all Exception classes. * Explicitly defined culture for string.Format methods. * Replaced IFileImporter.ProgressChanged property to method (recommendation by C# coding conventions) * Renamed classes containing win32.dll invokes to NativeMethods (recommendation by C# coding conventions)

Related to Issue [WTI-931]

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

Former-commit-id: 78fae4fb038935c7a58a0fb534baa750b173d589

Former-commit-id: fc7d0938a3677be66218915a3e665a9cc6757df9

    • -4
    • +2
    ./FailureMechanismSectionsImporterTest.cs
  1. … 164 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
    • +601
    ./FailureMechanismSectionsImporterTest.cs
  1. … 52 more files in changeset.