Ringtoets.Integration.TestUtils

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Incorporated comments review 1439 Made improvements to the TestDataGenerator: - Wrote test class for coverage - Renamed and introduced new functions for creating a new AssessmentSection to better reflect what they represent - Updated XMLDoc for said functions - Updated failing tests, because new calculation configurations were added that influenced the generated data - Ensured that all the calculations of the failure mechanisms within the TestDataGenerator have ALL possible (sensible) calculation configurations -- Added configuration for the PipingTestDataGenerator. Note: this class does NOT have any tests

Related to Issue [WTI-1081]

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

Former-commit-id: e9f39b25e8aa4d8a0c7a965cf8fba263e0570ab1

Former-commit-id: 7407c1fed0e8aa8f253cbd52be0adc0fe1985de6

    • -0
    • +4
    ./Ringtoets.Integration.TestUtils.csproj
  1. … 8 more files in changeset.
Removed need of change handler as part of the importer. Related to Issue [WTI-1093]

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

Former-commit-id: e0442d548d88a06725bf8b672c9d55cd1336d619

Former-commit-id: 5eb84782d6408dfe1bb9ea3c3b7d869f36653c84

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

  1. … 9 more files in changeset.
Moved StochasticSoilModelImporter to IO namespace. Added IStochasticSoilModelChangeHandler to inquire user for change confirmation. Implemented TestStochasticSoilModelChangeHandler utility class to use in testing. Added Ringtoets.Piping.IO.TestUtil to house the utility class. Implemented StochasticSoilModelChangeHandler with a basic implementation. Extracted TestStochasticSoilModelUpdateModelStrategy from StochasticSoilModelImporterTest. Related to Issue [WTI-1093]

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

Former-commit-id: daa6aaa9971d4c85b57003a53b2dff1138ea52cc

Former-commit-id: 79e4b525884bc0d7a9dc1f2a0af9d6aa57e7d9bf

    • -0
    • +8
    ./Ringtoets.Integration.TestUtils.csproj
  1. … 34 more files in changeset.
Added validation for Probability of StochasticSoilProfile. Added StochasticSoilmodelUpdateException. Provided base implementation of the DoPostImport (cancelable behavior) and an overridable DoPostImportUpdates to implement just the model updates. Added Strategy postfix to IStochasticSoilModelUpdateStrategy implementations. Fixed liskov issue with StochasticSoilModelUpdateDataStrategy. Related to Issue [WTI-1070]

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

Former-commit-id: 1b86b03430a8714c43abdb447dbf9a561426a94e

Former-commit-id: 781140c2712d3dd80e4e97c162a8455e54d8227d

  1. … 40 more files in changeset.
Improved message window messages according to WTI 940 as part of review 1428: - Adjusted messages - Fixed affected tests - Ran DeltaresClean

Related to Issue [WTI-1081]

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

Former-commit-id: 281447a99470c46161e9276c568c62199e535010

Former-commit-id: c4d9969958a0dc34ce8219c32882db8f2c25d86b

  1. … 5 more files in changeset.
Incorporated review comments review 1428: - Introduced overload in the TestDataGenerator: now possible to get a fully configured AssessmentSection with a desired AssessmentSectionComposition. - Removed obsolete preconditions from the tests since it's possible to explicitly configure the AssessmentSection when being initialized

Related to Issue [WTI-1081]

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

Former-commit-id: 3f4ee86131cf844bae27def225dfbc5514a7032d

Former-commit-id: 96a58839fb55887e45b531b36e2c3853962ac6e4

  1. … 1 more file in changeset.
Implemented functionality to not always remove all the output when changing the contributions. Related to Issue [WTI-1081]

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

Former-commit-id: c6d405c04eb80092a140955efc7082f9ecdd50c0

Former-commit-id: 1beb7b2cc8fb57344aa8e30887af0646b4539051

  1. … 4 more files in changeset.
Added IStochasticSoilModelUpdateStrategy which is used to differentiate between the two update strategies after importing stochastic soil models. Implemented StochasticSoilModelReplaceData as one of the two strategies. Created incorrect and unused implementation of StochasticSoilModelUpdateData strategy, to be improved later. Related to Issue [WTI-1070]

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

Former-commit-id: 4962792d5571ff86be5db7467c0a148d8ffd2dab

Former-commit-id: fcd1962eb2a576d83fd6eb72224f7220f1c2dcac

  1. … 10 more files in changeset.
* Defined BruTileLayer with WMTS connectivity. ** Classes based on https://github.com/FObermaier/DotSpatial.Plugins * Note: app.config added bu Nuget. Probably in order to resolve BruTile.Desktop dependency on an older version of SQLite, which i've set to ignore the dependency on the old SQLite. Related to Issue [WTI-1088]

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

Former-commit-id: f9fc0e320eea992e04250addb23b310f9b348a02

Former-commit-id: 8f2ecf22a1d5ec3cea0f1d7d342b882b5e6e78e7

    • -0
    • +1
    ./Ringtoets.Integration.TestUtils.csproj
  1. … 210 more files in changeset.
Introduced StochasticSoilModelCollection which is an ObservableList of StochasticSoilModel with an added property for the last known file path. Set last known file path from the importer when import is successful. Renamed PipingSoilProfilesImporter to StochasticSoilModelImporter to better match its responsibility. Used string interpolation and nameof. Inlined resources in tests.

Related to Issue [WTI-1080]

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

Former-commit-id: d516d97af58d226b9e94f0d78a9b4548f05ed432

Former-commit-id: 2f9f840fa4c706712e251ccbf92d97fa7af8461b

  1. … 16 more files in changeset.
modified logic with relation to removing foreshore/dike profiles to only return calculations which had output that is cleared due to the change. Related to Issue [WTI-973]

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

Former-commit-id: 17c1dad357f70f1ecfe52b5299cd9c580492a9f3

Former-commit-id: 946b5bf4041ffa141dc4854ba078b8496ea6a60b

  1. … 5 more files in changeset.
Introduced construction properties for DuneLocationOutput Related to Issue [WTI-777]

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

Former-commit-id: 07a3df5ca1d180d97120b05d45580822f58f435e

Former-commit-id: 5d13dd05d6825eeb11ae11d65a090ef3e35ddc88

  1. … 8 more files in changeset.
Introduced construction properties for DuneLocation. Related to Issue [WTI-777]

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

Former-commit-id: 251c24cde8242f4b51b1b0a344c86425e76c2539

Former-commit-id: f59f3ac154b0f64f451b7be5d6acebb78b4c3f6c

  1. … 10 more files in changeset.
Clear dune location output when changing contribution. Related to Issue [WTI-777]

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

Former-commit-id: 64d9e18859d1b36dcca98359320b361cfc49545f

Former-commit-id: 156102cfa4bc6245ef741096ea34bc015407f42d

    • -0
    • +4
    ./Ringtoets.Integration.TestUtils.csproj
  1. … 6 more files in changeset.
* Extended IReferenceLineReplaceHandler with DoPostReplacementUpdates to allow for actions to be resolved after the replacement of the ReferenceLine took place. ** Main reason behind this architectural choice, is allowing for UI updates from non-UI threads. ** ReferenceLineImporter makes use of this new method in the DoPostImportUpdates method. * ReferenceLineReplaceHandler now keeps track of deleted objects and closes views for those objects in the DoPostReplacementUpdates method. ** Introduced ClearResults class for this purpose. ** Updated DataSynchronisationService methods related to replacing the ReferenceLine and now keep track of both changed objects as well as removed objects. * Cleanup in some commands to use IViewCommands. Related to Issue [WTI-1034]

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

Former-commit-id: 239f69a11ed199f938d5dd31e76f60772ad40072

Former-commit-id: 9cb0286bb78c272cc2d2cb43b703d0fc9ad386f3

    • -0
    • +9
    ./Ringtoets.Integration.TestUtils.csproj
  1. … 53 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
    • +1
    ./Ringtoets.Integration.TestUtils.csproj
  1. … 219 more files in changeset.
* Improved performance of an integration test. ** Paired and reviewed by Janssen.

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

Former-commit-id: 093a3ad17d47abcb0f9fcd930fdb4a9cdd3b4713

Former-commit-id: a0116c998a3c3c87281fa359e80cb17562cb4711

  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. … 114 more files in changeset.
Added missing headers. Related to Issue [WTI-1008]

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

Former-commit-id: 5f927efe1743a5ed1cd78e89a2bc4f49d3cfba79

Former-commit-id: c98379396348018284827c6bf4fc38d6f11d7cff

  1. … 11 more files in changeset.
Moved embedded resources into EmbeddedResources sub directories. Removed the reference to these resources from the resource files. Related to Issue [WTI-1008]

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

Former-commit-id: 5c0d1011ccd959efd8d8bd4430bd38d274bf4cd9

Former-commit-id: ac0e94f17859ad6db4e7eb9de3f88a435b05c9a8

    • binary
    ./EmbeddedResources/DR6.soil
    • -0
    • +5
    ./EmbeddedResources/DR6_surfacelines.csv
    • -0
    • +5
    ./EmbeddedResources/DR6_surfacelines.krp.csv
    • binary
    ./EmbeddedResources/HLCD.sqlite
    • binary
    ./EmbeddedResources/HRD dutch coast south.config.sqlite
    • binary
    ./EmbeddedResources/HRD dutch coast south.sqlite
    • binary
    ./EmbeddedResources/traject_6-3.dbf
    • -0
    • +1
    ./EmbeddedResources/traject_6-3.prj
    • binary
    ./EmbeddedResources/traject_6-3.shp
    • binary
    ./EmbeddedResources/traject_6-3.shx
    • binary
    ./EmbeddedResources/traject_6-3_vakken.dbf
    • -0
    • +1
    ./EmbeddedResources/traject_6-3_vakken.prj
    • binary
    ./EmbeddedResources/traject_6-3_vakken.shp
    • binary
    ./EmbeddedResources/traject_6-3_vakken.shx
    • -139
    • +1
    ./Properties/Resources.Designer.cs
  1. … 61 more files in changeset.
Merged revision(s) 7189-7225 from branches/WTI 986NormWhenCalculatingHBN: Related to Issue [WTI 986] Related to Issue [WTI 986]

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

Former-commit-id: 7c535aa794b05c282a2e7f894c25a29eb94834ab

Former-commit-id: 50e0994b625c57413ab66513693f6a8d27845513

  1. … 64 more files in changeset.
Introduced TestDikeHeightAssessmentOutput Fixed tests Related to Issue [WTI-986]

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

Former-commit-id: 6a83feaa0272232186f1f2d3f920f931b74e1d78

Former-commit-id: 6b4433fc6bfced136012fc248736a0ebdb6dc38d

  1. … 29 more files in changeset.
Updated HydraulicBoundaryLocation to have CalculationConvergence not publicly settable Related to Issue [WTI-987]

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

Former-commit-id: 8bb88bed1bfafb9e2757389ed312e068e9b47d3f

Former-commit-id: 9abf4e779c96e12dad33710c2a30806ece92188e

  1. … 7 more files in changeset.
Updated data synchronization service to remove output Reduced dependency of publicly setting the CalculationCovergence in tests Related to Issue [WTI-987]

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

Former-commit-id: 039274c1e8b3f8e2c46a4f542715f6e4bc9696fb

Former-commit-id: 4cc92b0c0b626275c836cb439927e63b2e190d27

  1. … 7 more files in changeset.
* Moved HydraulicBoundaryLocation and related classes from HydraRing.Data to Ringtoets.Common.Data\Hydraulics * Removed HydraRing.Data and related test projects. * Moved importer related test data from HydraRing.IO to Ringtoets.Common.IO Related to Issue [WTI-988]

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

Former-commit-id: 17347220df48d78521b65d257dde9b4ffdace273

Former-commit-id: dc5ddfa6d8f3719bd2dd4a2f62ed94f98f962499

    • -4
    • +0
    ./Ringtoets.Integration.TestUtils.csproj
  1. … 425 more files in changeset.
* Moved HydraulicBoundaryDatabase from HydraRing.Data to Ringtoets.Common.Data/Hydraulics ** Cleaned up references accordingly. Related to Issue [WTI-988]

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

Former-commit-id: 1cbfbcf8ccef4a1896ad4e79d8ec20cbc464353d

Former-commit-id: b18bac07e03abd4a1cc70e3c40475e7759521c86

  1. … 133 more files in changeset.
* Fixed bug in FailureMechanismContributionView where pressing Esc validated current value before reverting the value back to the value in the data model. * Improved XML docs. * Added preconditions for FailureMechanismContributionNormChangeHandler and create unit tests for whole implementation. * Improved resources. Related to Issue [WTI-791]

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

Former-commit-id: d6242344bf1258f694ceb9d148134fdae6942472

Former-commit-id: 84e4151a0a239f6e693fe7720ef6b8efdc277fe9

  1. … 8 more files in changeset.
* Fixed typos. * Refactored common code to new methods. * Fixed correct responsibility of filtering out duplicate observable notification. * Improved XML docs. * Improved returning all affected objects by some 'clear' methods of DataSynchronisationService classes. * Readded license header. * Simplified RhinoMock argument restraints. * Fixed test filename. * Fixed test structure of Integration tests conform coding conventions. Related to Issue [WTI-440]

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

Former-commit-id: 575f790757a486d0efa5b560c8170dc02cefb1f5

Former-commit-id: 8f94dd18882a6eaa65a1a9ca5592839b0d8b8084

  1. … 33 more files in changeset.
* Moved ReferenceLineReplacementHandler from Ringtoets.Integration.Service to Ringtoets.Integration.Plugin/Handlers Related to Issue [WTI-791]

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

Former-commit-id: c46924e52c1f8341795e6a72d35f9a6139e12b69

Former-commit-id: 1d3a45da865230a5bc6f31024f756f9299474728

    • -3
    • +3
    ./Ringtoets.Integration.TestUtils.csproj
  1. … 17 more files in changeset.