Core.Components.Gis.IO.Test

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

    • -23
    • +0
    ./Importers/FeatureBasedMapDataImporterTest.cs
  1. … 26 more files in changeset.
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. Related to Issue [WTI-490]

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

Former-commit-id: a7ed9765b1704388f2feef56e6987b3c879533e1

Former-commit-id: 92c188923122822809c1403794b1e86914fa41f5

    • -23
    • +0
    ./Importers/FeatureBasedMapDataImporterTest.cs
  1. … 3 more files in changeset.
- Upgraded Project ToolsVersion="4.0" to ToolsVersion="14.0" - Ignored ".vs" folder in trunk paired with tang_ds

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

Former-commit-id: beca2918e38aa1e3900b6bc17a0df7e8d1f9c8e3

Former-commit-id: 681a7a3764b91f67e1e97dc0d30f930c901276e0

  1. … 219 more files in changeset.
Changes after review. Related to Issue [WTI-1016]

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

Former-commit-id: 7eea8f3346f21c5f0ae2283c6d7eeb94f731f07c

Former-commit-id: 3cd3e2fe4ed82c29d50bcd0f2aeae9999e698f04

  1. … 7 more files in changeset.
Added extra test. Related to Issue [WTI-1016]

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

Former-commit-id: 0ef33b03a24c6ef70ebabb77eb30dcd5bc7bbc97

Former-commit-id: 8b6fc3da2b3baee8786cb78d9906319f388d3a22

    • -0
    • +26
    ./Importers/FeatureBasedMapDataImporterTest.cs
Implemented canceling of data import. Related to Issue [WTI-1016]

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

Former-commit-id: 514e369e2e29b218e49680e6c3b1d3a2976862fc

Former-commit-id: a87956557b7c1981e8c510c3598390594a9b4864

    • -0
    • +23
    ./Importers/FeatureBasedMapDataImporterTest.cs
  1. … 3 more files in changeset.
Implemented data importing FeatureBasedMapDataImporter. Related to Issue [WTI-1016]

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

Former-commit-id: a03dc3055bce82fa1a36f206c1dfcc84b5bc97fa

Former-commit-id: 68958eab49dff79a88c9d46151fe7a153784d826

    • -0
    • +23
    ./Importers/FeatureBasedMapDataImporterTest.cs
  1. … 3 more files in changeset.
Implemented error handling in FeatureBasedMapDataImporter. Related to Issue [WTI-1016]

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

Former-commit-id: aa967fa82180e450b372303a5f56b3e2aac64fea

Former-commit-id: 6f8b19b8e8a5bec56f8086c10c1c6eef719f3a79

    • -0
    • +84
    ./Importers/FeatureBasedMapDataImporterTest.cs
  1. … 6 more files in changeset.
Introduced new importer to import FeatureBasedMapData Related to Issue [WTI-1016]

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

Former-commit-id: 735f1f01d2537f932f7ca415a07e07f09e88a3a8

Former-commit-id: b8cdbbd1835ebf87c9b5a09429838be6783e92b2

    • -0
    • +45
    ./Importers/FeatureBasedMapDataImporterTest.cs
  1. … 4 more files in changeset.
Performed Resharper cleanup

Related to Issue [WTI-1008]

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

Former-commit-id: 23d17fd6b5257a25b167839d9106eea6fa7be554

Former-commit-id: 4a817a07bc646924777514e78010c89bc0fdf9b5

    • -8
    • +14
    ./Readers/ShapeFileReaderBaseTest.cs
  1. … 114 more files in changeset.
Renamed some resources Related to Issue [WTI-1018]

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

Former-commit-id: 65dc412b20b25fb713636a0945b3fa3bdfa7295f

Former-commit-id: 07495eb0929053779bf0a3dbe249cd43fd8be788

  1. … 7 more files in changeset.
Read attributes when importing polygon shape files. Related to Issue [WTI-958]

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

Former-commit-id: d34362d5dbbc1be241d039fb7aa68790ecc78896

Former-commit-id: 272557e6563077a307fb12ed98ab1f2e04610415

    • -0
    • +22
    ./Readers/PolygonShapeFileReaderTest.cs
    • -0
    • +1
    ./Readers/PolylineShapeFileReaderTest.cs
  1. … 1 more file in changeset.
Read attributes when importing point shape files. Related to Issue [WTI-958]

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

Former-commit-id: a422db61048e4b6c02d2a424fb3a6c721b807a68

Former-commit-id: 38b6a8860d7c279fb304c26f32e41b098f7a6660

    • -0
    • +19
    ./Readers/PointShapeFileReaderTest.cs
  1. … 3 more files in changeset.
Set default selected attribute when importing shape file. Related to Issue [WTI-958]

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

Former-commit-id: 5bb3e42a72ca13cd75d51a50f30ae0e327cf8434

Former-commit-id: 1749b0e302443645e45812be6be13161ee2d34e0

    • -0
    • +2
    ./Readers/PolylineShapeFileReaderTest.cs
  1. … 1 more file in changeset.
git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/WTI-957@6741 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 132bfaee2cffe74e30a5fce1d4ef6231fb33e4fc

Former-commit-id: b874e7fec1e968f35c3ee45d6f2ae74a0010d11e

    • -13
    • +13
    ./Readers/PointShapeFileReaderTest.cs
    • -1
    • +1
    ./Readers/PolygonShapeFileReaderTest.cs
    • -11
    • +11
    ./Writers/PointShapeFileWriterTest.cs
    • -1
    • +1
    ./Writers/PolylineShapeFileWriterTest.cs
  1. … 68 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

    • -2
    • +2
    ./Readers/PolygonShapeFileReaderTest.cs
    • -2
    • +2
    ./Readers/PolylineShapeFileReaderTest.cs
  1. … 54 more files in changeset.
Added exception handling for unknown columns IDataReaderExtensions. Added test for the base implementation of CopyMetaDataIntoFeature, which should correctly read null values. Related to Issue [WTI-948]

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

Former-commit-id: 6def9369dc68d3d803284d9eda2071d9f2d98ab3

Former-commit-id: 815b581fbe601d6453809fcc5b22e2ca4a46e32e

    • -2
    • +93
    ./Readers/ShapeFileReaderBaseTest.cs
    • binary
    ./test-data/Attribute_EachTypeNullValue_QGis.dbf
    • -0
    • +1
    ./test-data/Attribute_EachTypeNullValue_QGis.prj
    • -0
    • +1
    ./test-data/Attribute_EachTypeNullValue_QGis.qpj
    • binary
    ./test-data/Attribute_EachTypeNullValue_QGis.shp
    • binary
    ./test-data/Attribute_EachTypeNullValue_QGis.shx
    • binary
    ./test-data/Shape_DBNullSignalerinValue.dbf
    • -0
    • +1
    ./test-data/Shape_DBNullSignalerinValue.prj
    • binary
    ./test-data/Shape_DBNullSignalerinValue.shp
    • binary
    ./test-data/Shape_DBNullSignalerinValue.shx
  1. … 3 more files in changeset.
- Check the code coverage configuration of the trunk Related to Issue [WTI-931]

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

Former-commit-id: 60655265b27b5521f0a53b0998b9ce77e069342f

Former-commit-id: e0560a24c08e4583c331a82ea5348baac1a32bfe

  1. … 97 more files in changeset.
Merged revision(s) 5600 from branches/Release/16_2: Performed resharper code cleanup. Related to WTI 869

........

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

Former-commit-id: 1f5cdbd9c71ae2e15c1a8f780256c4d349800dac

Former-commit-id: ba09cc58d6bd919ea2d05d633cd306752a558bfe

  1. … 177 more files in changeset.
Performed resharper code cleanup. Related to Issue [WTI-869]

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

Former-commit-id: 7ebd4da86463a8ac1225474d630da6be1e0cd0d3

Former-commit-id: 7c050c7874e5fd687bf433ee85ab3fc4a5c4dd7d

  1. … 185 more files in changeset.
- Added files and tests to check the exceptions that are generated when the .shp file is empty or corrupt Related to Issue [WTI-862]

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

Former-commit-id: 77f805a41843d6c27339525eaf86356054c46b8f

Former-commit-id: d2e369efc9c78dc249034ca3027bd8a35f8f16f5

    • -0
    • +51
    ./Readers/PointShapeFileReaderTest.cs
    • binary
    ./test-data/CorruptFile.shp
    • -0
    • +0
    ./test-data/EmptyFile.shp
  1. … 3 more files in changeset.
Improved error messages for when reading shape files. Related to Issue [WTI-862]

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

Former-commit-id: f319b071ab355481213233344bd5fb55f18543ea

Former-commit-id: 67ba82d65c41103b3fa4ecc73c17d8da8ff919b5

    • -2
    • +2
    ./Readers/PolygonShapeFileReaderTest.cs
    • -2
    • +2
    ./Readers/PolylineShapeFileReaderTest.cs
  1. … 13 more files in changeset.
updated error message when shape file does not contain geometries of type Line Related to Issue [WTI-862]

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

Former-commit-id: 59c6a8c848ecd64cbe56fe58058739c1160dd4f5

Former-commit-id: d90ea1b48ca3a4c12e07c48128fade7fb2760586

    • -1
    • +1
    ./Readers/PolylineShapeFileReaderTest.cs
  1. … 5 more files in changeset.
Changes after review. Related to Issue [WTI-862]

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

Former-commit-id: 7ff2939721c731eb6d0097ce2ff6a81c626144fd

Former-commit-id: c3ef114b8aba2ec92251adb6c3c5e8227a7c46ae

    • -1
    • +1
    ./Readers/PolylineShapeFileReaderTest.cs
  1. … 10 more files in changeset.
- Show right error message when a reference line file is in use and cannot be opened. - Changed resource for more clear messaging. Related to Issue [WTI-862]

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

Former-commit-id: 77b3f657a268181f83adaf5a7138a4639b5229c5

Former-commit-id: c11d8e51bf0980300c474a0412c56c057542acbe

    • -1
    • +1
    ./Readers/PolygonShapeFileReaderTest.cs
    • -1
    • +1
    ./Readers/PolylineShapeFileReaderTest.cs
  1. … 5 more files in changeset.
Merged revision(s) 4851 from branches/Release/16_1_1: Implemented improvements from testing.

........

Related to Issue [WTI-507]

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

Former-commit-id: 3a825f22b7105fb6570360605abec2b244946611

Former-commit-id: 96058e4042aa8a645609849758c651325e1d33ee

  1. … 2 more files in changeset.
Implemented improvements from testing. Related to Issue [WTI-507]

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

Former-commit-id: bf54f9479db05eb25babd44cbe2957204bc473a7

Former-commit-id: 016e4576295cde90aa73cb8b88252dbf6539ffc1

  1. … 2 more files in changeset.
Implemented improvements from testing. Related to Issue [WTI-507]

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

Former-commit-id: de88dc3c1c49d7ce461662028a93b3382dac6d62

Former-commit-id: 14480f49691c28acf6ec89e915f76c48d7330fc5

  1. … 2 more files in changeset.
* Cleanup Core.Components test and source projects.

Related to Issue [WTI-737]

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

Former-commit-id: e43482c8d3c88447940f3da14abeebf091a03a9c

Former-commit-id: ceea7f89ce9e85a05303af3fba2ecf2f58113cc5

    • -27
    • +28
    ./Readers/PointShapeFileReaderTest.cs
    • -15
    • +15
    ./Readers/ShapeFileReaderBaseTest.cs
  1. … 50 more files in changeset.
Sanitize AssemblyInfo.cs Related to Issue [WTI-737]

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

Former-commit-id: 32332309c685116a280df0d92aea1e9b040224ad

Former-commit-id: 12c586e7da6cd345780fded5caf6959465d6e85b

  1. … 73 more files in changeset.