Application.Ringtoets.Storage.TestUtil

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added persistence for FailureMechanismSection objects for piping and placeholders. Related to Issue [WTI-367]

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

Former-commit-id: cf6ecc186750331b5a47ae8973d0514f3810c3ab

Former-commit-id: ca26fae176445c909b31f5e67156103381a2de67

  1. … 34 more files in changeset.
Added tests for CreateConversionCollector, UpdateConversionCollector and FailureMechanismPlacholder create and update extensions. Moved Garbage collect call to a finally block, so that it is called before disposing the FileDisposeHelper (and therefore deleting the accessed file.) Related to Issue [WTI-290]

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

Former-commit-id: 8ec1876d9f4b97f4aee3cba8ffd965bae45cbe36

Former-commit-id: 08de2ae969fed23afdb9c0f2f30500c7f2ebfb62

  1. … 21 more files in changeset.
Prevent orphans of SoilProfile and SoilLayer Related to Issue [WTI-290]

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

Former-commit-id: d305ebc07f68b0c8e32185f46ccafb9b5187d373

Former-commit-id: 3128fee01f87647210d75b7b279bba1c4bfcc13b

  1. … 3 more files in changeset.
Made probability required for StochasticSoilProfileEntity. Added StochasticSoilProfilePersistor for StochasticSoilProfile persistency. Changed PipingSoilProfileConverter so that it instead converts complete StochasticSoilProfiles with PipingSoilProfile and SoilLayer. StochasticSoilModelPersistor now works on a single StochasticSoilModel instead of collections. Introduced abstract PerformChildPostSaveAction method in FailureMechanismPersistorBase so that children also can perform post save actions. Related to Issue [WTI-290]

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

Former-commit-id: c75d7c460c92714899dcb9dd50d6ef929efbbdf5

Former-commit-id: ce3e33a790818bf81aa10588614fa14d4090ca84

    • -0
    • +12
    ./Application.Ringtoets.Storage.TestUtil.csproj
  1. … 23 more files in changeset.
Added StochasticSoilModelEntity, StochasticSoilProfileEntity, SoilProfileEntity and SoilLayerEntity. Added Converter and Persistor for StochasticSoilModel. Removed GetDbTestSet factory method and containing class and renamed file to TestDbSet to match the left-over class. Related to Issue [WTI-290]

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

Former-commit-id: 315a5c5b54959b7bf3a114cd4ffd7c1dd96f02dd

Former-commit-id: 69419f36ffb783980d12641796ec02aebd75f349

    • -1
    • +1
    ./Application.Ringtoets.Storage.TestUtil.csproj
  1. … 22 more files in changeset.
- small review changes Related to Issue [WTI-409]

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

Former-commit-id: 133cf8dc48234534483596c935a91fef2afb979f

Former-commit-id: 8dd619dab9d2af2a34a363b00492757cc75e4520

  1. … 23 more files in changeset.
Added folders for AssessmentSection and FailureMechanism in Ringtoets.Common.Data. Related to Issue [WTI-432]

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

Former-commit-id: 1fc0cbe4ee37c6965f4c379f14cb08f3cc97cb23

Former-commit-id: ed20cfc1d253bbf457dbbb1f77de0910155f979c

  1. … 147 more files in changeset.
* Refactored constructor of AssessmentSection with AssessmentSectionComposition argument. Related to Issue [WTI-409]

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

Former-commit-id: e4765e238b5743b3e48c535c27ccb50d1bc1116e

Former-commit-id: 1b58db06a8af3dfd726777cc9b9f6fe590330de8

  1. … 12 more files in changeset.
* AssessmentSection.Composition is now persisted in database. ** Added Composition column to AssessmentSectionEntity table. * Version table -> VersionEntity table rename. Related to Issue [WTI-409]

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

Former-commit-id: 9de6f402c3e1c28213f7f5a61517ef013d2abee7

Former-commit-id: d8544c37b33e19f566b72daf56ca1ddd6dbebd27

  1. … 16 more files in changeset.
- Moved GC of FileDisposeHelper to the tests that depend on it -- Found out that calling *SQLiteConnection.ClearAllPools();* should close the connection pools. Unfortunately, in combination with the Entity Framework it does not seem to to have affect anything.

Related to Issue [WTI-476]

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

Former-commit-id: 714bcdc0449060510357432a4911f7c707119174

Former-commit-id: 0dbd339ef76ea75631b12f83cae703df639c6a68

  1. … 5 more files in changeset.
* Renamed DikeAssessmentSection to AssessmentSection and updated related classes, properties and fields accordingly Related to Issue [WTI-407]

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

Former-commit-id: 3a970242148801595d10b74d0ee4d58e998701c2

Former-commit-id: e951eb2c491cb5e0541a599b3aa71caed7952715

  1. … 77 more files in changeset.
Review changes Paired with @berg_jl

- Changed double precession to 1e-6

Related to Issue [WTI-332]

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

Former-commit-id: 4b14a402209aec8df95f9e1a56d815717fa8c372

Former-commit-id: b6813a8c308728286104ff55fbbe5fd9f47ad242

  1. … 28 more files in changeset.
Refactored DikesPipingFailureMechanismEntityPersistor and FailureMechanismEntityPersistorBase so that all of the logic could be moved into the base class. Added ReferenceLinePointEntities as property to the IRingtoetsEntities so that they can be easily retrieved through the RingtoetsContext. ReferenceLinePointEntities used in ReferenceLinePersistor. Removed Obsolete DatabaseSetHelper.cs. Implemented LastUpdated (in seconds from epoch). Related to Issue [WTI-332]

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

Former-commit-id: a130c8650aaa012a90edf3f8fbdc254918c7f8bf

Former-commit-id: c5ce1dbce52801fc914efa5caaa7d997d7c99c44

    • -1
    • +0
    ./Application.Ringtoets.Storage.TestUtil.csproj
  1. … 14 more files in changeset.
Updated IRingtoetsEntities to generate members of type DbSet instead of IDbSet, making it possible to use these properties directly for manipulations. Introduced RingtoetsEntities for a more natural way of setting up testing. Was also necessary due to the change of the member return types of IRingtoetsEntities. Related to Issue [WTI-332]

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

Former-commit-id: 631b4e1871760dffe421ee0f6224165134d07f5c

Former-commit-id: 9ad3a242186116a93f508aa86b3b44630cee82e1

    • -0
    • +2
    ./Application.Ringtoets.Storage.TestUtil.csproj
    • -0
    • +23
    ./RingtoetsEntitiesHelper.cs
  1. … 11 more files in changeset.
Remove (unnecessary) app config file. Related to Issue [WTI-332]

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

Former-commit-id: 68e2e8363aee5a9df3a56aa97c7977cf0fb2c7d3

Former-commit-id: 3ed11b742ffacae07204930fde3722c15c0cdb6e

    • -1
    • +0
    ./Application.Ringtoets.Storage.TestUtil.csproj
Replaced the removal entity-by-entity with the removeRange call for better performance in HydraulicLocationEntityPersistor. Related to Issue [WTI-332]

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

Former-commit-id: d0dc20a59ec8247217fbafe619cbd0c2f8479148

Former-commit-id: e8a269b40954b6dce5008efffe84d776a51c8a5f

    • -0
    • +13
    ./Application.Ringtoets.Storage.TestUtil.csproj
    • -0
    • +15
    ./DatabaseSetHelper.cs
  1. … 4 more files in changeset.
Added tests for Reference line persistence. Keep order of order column in ReferenceLinePointEntity table when reading reference line Related to Issue [WTI-332]

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

Former-commit-id: 1cbfafba98a768962b14067ee639f9756933c0b3

Former-commit-id: d31d1790d74ed16ddf41593b1388b6707d23b41e

  1. … 7 more files in changeset.
- Minor updates while reviewing Related to Issue [WTI-363]

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

Former-commit-id: 1407c6b4ed09521708274e9708fd7412935cfee6

Former-commit-id: 4dfa3a677687d467825d3ec935db5e0963a4f5ce

  1. … 6 more files in changeset.
Extended existing storage integration tests with hydraulic boundary database. Related to Issue [WTI-363]

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

Former-commit-id: c8ad14b2a57dada6c6e8cf8df9b7eea198ae4bc8

Former-commit-id: 9e89198d2d772a985763a99bcacff2ff2e4e76dc

  1. … 3 more files in changeset.
Refactored hydraulic location converter and persistor. Related to Issue [WTI-363]

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

Former-commit-id: e45430ed1db3edb3370d804bd50e898daaf64745

Former-commit-id: fc3db5217fc3a486016f73113eb5c5d3ffc2db70

    • -0
    • +4
    ./Application.Ringtoets.Storage.TestUtil.csproj
  1. … 9 more files in changeset.
- Review comments processed Related to Issue [WTI-434]

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

Former-commit-id: f05f341be86ca1b4eb879333768a3925aa0cf58f

Former-commit-id: 447cb6e97ffc42fd36f3f0ce3d1649cd844161b9

  1. … 19 more files in changeset.
- Updated database to not include DuneAssessmentSection Related to Issue [WTI-407]

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

Former-commit-id: f4876f5a9e3290687949dbe27105528f300cfcf7

Former-commit-id: df08440800f8a194cab0e196faa1c0680df9ba26

  1. … 18 more files in changeset.
- Added utils to auto-generate test databases. * Integrate the automatic generation of test databases in all tests that use test databases Related to Issue [WTI-434]

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

Former-commit-id: 73072de25065656a978f74d8970e1b0f91acf2b7

Former-commit-id: 0122f5be078ab12b718ff5737da620ea7babfe4a

    • -0
    • +41
    ./Application.Ringtoets.Storage.TestUtil.csproj
    • -0
    • +56
    ./RingtoetsProjectHelper.cs
    • -0
    • +112
    ./SqLiteDatabaseHelper.cs
  1. … 22 more files in changeset.
- Added storage util projects - Extended database validation with exception to log - Replaced *DatabaseStructure.sql* with an equivalent version, generated by Enterprise Architect Related to Issue [WTI-434]

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

Former-commit-id: 45035258828b9ec49ab364b8f2ced9d549d50e73

Former-commit-id: 48ced0cc6de6dcbbd28d18cadac5ddb909c82384

    • -0
    • +59
    ./Application.Ringtoets.Storage.TestUtil.csproj
    • -0
    • +15
    ./Properties/AssemblyInfo.cs
  1. … 13 more files in changeset.