Core.Common.Base.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Added extra coverage for the FileImporterBase. Related to Issue [WTI-490]

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

Former-commit-id: b797eb6462a81a4190d128214f4091c238c4fed9

Former-commit-id: 01e21e08d598f1f5fad84f6c67fcb93a6d20d6f8

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. … 33 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. … 8 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

    • -3
    • +29
    ./Service/FileImportActivityTest.cs
  1. … 25 more files in changeset.
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

Related to Issue [WTI-490]

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

Former-commit-id: b54ccb13a0780daf3321fcbc02998200ae3283da

Former-commit-id: 22fd647c89a1cc3b0d4f812e4018335057f64e80

    • -3
    • +29
    ./Service/FileImportActivityTest.cs
  1. … 2 more files in changeset.
Reverted some changes Related to Issue [WTI-490]

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

Former-commit-id: 393a81aac4454cde27f7e6d667c125be4feb4c81

Former-commit-id: 9f0e2dd030a3f7922b3d222910b7f7c36eff6e02

  1. … 4 more files in changeset.
Ensured PostImportUpdates are also performed for import routines that are canceled Related to Issue [WTI-490]

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

Former-commit-id: e656c1c86281862b19fcbed4d24fb1ad93a27d17

Former-commit-id: 64de80ca92d93bfd541aabe98834020536dda166

  1. … 4 more files in changeset.
Fixed bug when cancelling an import action results in a failed state of the activity: - Activity checks if it wasn't cancelled. If it was, do not set the activity state to failed; otherwise check the result of the import action - Added test to assert the behaviour

Related to Issue [WTI-982]

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

Former-commit-id: 130e530ddcc3eea92352e5a4e389a83109f89119

Former-commit-id: ffaf023f8720c812f357f0d8b9fd4e2739c39336

    • -0
    • +20
    ./Service/FileImportActivityTest.cs
  1. … 1 more file 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.
Changed the behavior in the FileImportActivity. If the fileImporter.Import() returns FALSE (failed import), the Activity state will be set to ActivityState.Failed to indicate that the import action was unsuccessful. Related to Issue [WTI-982]

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

Former-commit-id: 252f988a74852e53593cd278cf5d3ea682a9fd0e

Former-commit-id: 1782136886b4160733dad2821df1635b8d0d0d5d

    • -0
    • +20
    ./Service/FileImportActivityTest.cs
  1. … 1 more file 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

  1. … 113 more files in changeset.
fixed some of the issues found by visual studio code analysis. Related to Issue [WTI-1008]

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

Former-commit-id: fef2b3d374da75bd0bf1cb0a7e0052ed2ed1b76a

Former-commit-id: 78097e95edb99bbc2b4ba6a5e9ce21be8d5f5d39

  1. … 16 more files in changeset.
Fixing Resharper code issues. Related to Issue [WTI-1008]

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

Former-commit-id: ed7bdaf426b549dfa60896ccf59854697ad97eff

Former-commit-id: fa5e42a5f1f12ee8bcf3aefb993b7da5b4e4e3f7

    • -1
    • +0
    ./TypeConverters/RoundedDoubleConverterTest.cs
  1. … 28 more files in changeset.
Cleanup of redundant code. Usings around Observer and RecursiveObserver in tests. Added missing assertions in StructuresImporterTest. Related to Issue [WTI-1008]

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

Former-commit-id: 9ccef14b391e704d281bf0faff92d0c939a8772f

Former-commit-id: a756b06bb38731d29379ec9fb39b4f6d0133fe72

  1. … 22 more files in changeset.
* Made variable explicit. * Extracted result of method call for reuse. Related to Issue [WTI-989]

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

Former-commit-id: efc628f5146da16db8f3d1f1bed0f1ad458ec42d

Former-commit-id: a02d349e3fd774ecf37675c4e6083b8802e5c12c

  1. … 1 more file in changeset.
Incorporated comments review 1223: - Implemented IComparable in the RoundedDouble - Added null-check in the HydraulicBoundaryLocationEditor, because the GetPropertiesObject(context) can be null.

Related to Issue [WTI-989]

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

Former-commit-id: dc360d26af8ec209a0b13225ace1db5328197df8

Former-commit-id: 58cbfed5222b113a4bb1b48c9c86b4d6bc8a9ad1

  1. … 3 more files in changeset.
* parameter null validation added. * renamed 'object' to 'value'. Related to Issue [WTI-931]

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

Former-commit-id: dabe727b5cf43fa26a054b71b83f3dbabfae4224

Former-commit-id: e3290a26dfa352699943ea96e1275e3fb375403b

  1. … 35 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

    • -1
    • +0
    ./Data/RoundedPoint2DCollectionTest.cs
    • -0
    • +23
    ./Storage/CouldNotConnectExceptionTest.cs
    • -0
    • +23
    ./Storage/StorageValidationExceptionTest.cs
    • -0
    • +23
    ./Storage/UpdateStorageExceptionTest.cs
    • -1
    • +1
    ./TypeConverters/RoundedDoubleConverterTest.cs
  1. … 157 more files in changeset.
* Removed unused references in the solution. Related to Issue [WTI-931]

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

Former-commit-id: d3103841ab6e9adba07b05cb228ae2e636a5274c

Former-commit-id: a03541460ccbd16a759c489bef9b4312fe0a0b80

  1. … 40 more files in changeset.
* Resolved solvable Resharper issues. * Fixed typo in display name of Linear Model for StabilityPointStructure calculation input. * Fixed inheritance bug related to Attribute in whole solution. Related to Issue [WTI-931]

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

Former-commit-id: 7ac9feb47be8d8ec2ee3c83ff914611134305f09

Former-commit-id: 04c41b2f251475618637cce83329e34639907d61

    • -1
    • +1
    ./Data/RoundedPoint2DCollectionTest.cs
    • -4
    • +25
    ./TypeConverters/RoundedDoubleConverterTest.cs
  1. … 108 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.
Deltares clean-up for Core.Common - Renamed GetLengthsBasedOnReletative to GetLengthsBasedOnRelative - Moved regions down in file Related to Issue [WTI-931]

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

Former-commit-id: a32f95f755c625c08cd50600752daafbd813038f

Former-commit-id: fd19f66c962d2aefbbec884c4976032ebd4f8cc7

  1. … 3 more files in changeset.
* Create and Read extension methods for StabilityPointStructure instances. * Introduced RoundedDouble.NaN constant (removes the proliferation of casting from double.NaN to RoundedDouble) Related to Issue [WTI-911]

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

Former-commit-id: e0faff5c1252f482de48e7849a8d4ae3f6bf1d5c

Former-commit-id: 2f2757c0a49641b703a66ca60d5ab0e28b7e7098

  1. … 71 more files in changeset.
Code cleanup. Related to Issue [WTI-935]

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

Former-commit-id: 3e612095ba933283dce090635109a6e0a4c5f109

Former-commit-id: c3d5a86f4543e47795b7d4fe327a926294fa8858

  1. … 49 more files in changeset.
Review related changes

Paired with tangerma

Related to Issue [WTI-581]

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

Former-commit-id: 54075dc7365c2227c36e125b77d07034ed810883

Former-commit-id: 72ff48d60a70ab04964d901e0c260f28132c1ec4

  1. … 8 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.
* Made StochasticSoilModelContext plural (multiple models!) * Fixed typos. * Improved XML docs. * Improved test coverage. * More relevant functional coverage on ArgumentExceptions. * Minor improvements. * Cleanup. Related to Issue [WTI-497]

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

Former-commit-id: f9702e3e2eb4d781a77e9f91539f492d30ee5fa6

Former-commit-id: 3a5bf5a43ce2435d7d999cb0a08f8d8ac716efa1

  1. … 29 more files in changeset.