Application.Ringtoets.Storage.TestUtil.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Application.Ringtoets code-cleanup Related to Issue [WTI-1242]

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

Former-commit-id: 1dc375faca87ba9dd08674d41e7bee35f48076f4

Former-commit-id: ca18aace27e6f81479199e7f11c384076797e63b

    • -1
    • +1
    ./RingtoetsProjectMigrationTestHelperTest.cs
  1. … 96 more files in changeset.
Fixed all license headers for Application. Related to Issue [WTI-1242]

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

Former-commit-id: a265407a884a7af0041a187319e83c89188ad9fb

Former-commit-id: 6a142da56fb884110a6a72c54dd7280cf57d32b6

  1. … 18 more files in changeset.
Implemented review comments: - Introduced a RingtoetsProjectMigrationTestHelper: -- Can be used to retrieve file paths to latest, supported or unsupported files -- Can be used to retrieve all file paths to the supported outdated project files -- Replaced explicit project file calls with methods from the test helper Related to Issue [WTI-1095]

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

Former-commit-id: 64aa9cbe289ee0c728cd30e9d23b962591cc0d90

Former-commit-id: 54d365a5c6b2ca6f9d0990ee27abfc38286968a1

    • -0
    • +21
    ./Application.Ringtoets.Storage.TestUtil.Test.csproj
    • -0
    • +144
    ./RingtoetsProjectMigrationTestHelperTest.cs
  1. … 10 more files in changeset.
Assigned values to SoilProfileType. Implemented read and create routines for persisting the SoilProfileType. Related to Issue [WTI-1191]

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

Former-commit-id: afaa20cb9df2f593722fbeff0a4faa102405d54e

Former-commit-id: 44aa9b8de014fd1c67f4c1b4151626d8c9035b8e

  1. … 6 more files in changeset.
Updated tests with GetScratchPadPath Paired with tangerma Related to Issue [WTI-1088]

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

Former-commit-id: 76b37a547837d85495939bef575161003eb4f535

Former-commit-id: 342ddbae4245ac328542bb682fede067eb760c54

  1. … 21 more files in changeset.
- Used nameof methods instead of random path to create test file names. - Bubbled IOException when trying to delete a test file and it fails so we know that the file is not deleted. Paired with @janssen

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

Former-commit-id: e808c5751086faf8a2b72d918e1074adb5044314

Former-commit-id: 4ba1926135f291f4b4a4ecb3debc1e7712f492c3

  1. … 25 more files in changeset.
* More tests now write to Scratchpad folder instead of some test data path (or to temp) Related to Issue [WTI-1088]

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

Former-commit-id: 52b0d6344e1d95add3b4fb21d5fc94c6cabdd09f

Former-commit-id: 8971cf5a936306f7e587726a9e1c205a79758950

  1. … 36 more files in changeset.
Applied method to lock the files in FileDisposeHelper where possible Related to Issue [WTI-1060]

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

Former-commit-id: 67621ad852eab313bb0d99c8dda5d629855744ad

Former-commit-id: 4d57b4761a5442330b5e001af2c718a25dae097c

  1. … 6 more files in changeset.
Converted the ObservableCollection holding the surface lines in the PipingFailureMechanism into an ObservableCollectionWithSourcePath: - Fixed failing tests

Related to Issue [WTI-1083]

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

Former-commit-id: 81557b9811bbce02f4f93498e6d8a3accec9cd30

Former-commit-id: 1427f9cba7220f16d9b239a5b298feed2eb296aa

  1. … 1 more file in changeset.
Changed VersionEntity column Version from INTEGER to VARCHAR(20) Introduced VersionHelper to compare Ringtoets database versions Related to Issue [WTI-1060]

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

Former-commit-id: 6ebb54b5a9df46429348ddad8f5c8121cca7fa0c

Former-commit-id: 0a83896ee9ac97f3018f9b4ee6ab097278f0b451

  1. … 13 more files in changeset.
Upgraded to NUnit 3.6.0 Assert.IsNullOrEmpty(...) --> Assert.That(string.IsNullOrEmpty(...)); [STAThread] --> [Apartment(ApartmentState.STA)] [RequiresSTA] --> [Apartment(ApartmentState.STA)]

Current directory <> output dir

http://stackoverflow.com/questions/35852979/using-resharper-nunit-tests-start-in-a-random-temporary-directory

NUnit 3.0 stopped changing current directory.

use TestContext.TestDirectory as the location of your file.

Related to Issue [WTI-1047]

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

Former-commit-id: 8e98e0fcf163c22a6a73ac3aadca4cf947804b0e

Former-commit-id: 490f137aa03123596bf0293183ace6db4f4614e9

    • -2
    • +2
    ./Application.Ringtoets.Storage.TestUtil.Test.csproj
  1. … 333 more files in changeset.
Extended storage of DuneLocation to include input properties Updated integration test with DuneErosionFailureMechanism Fixed some typos Ran Deltares cleanup Related to Issue [WTI-1043]

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

Former-commit-id: 11c6c83ae18adda08c974e89d42451897563c7f1

Former-commit-id: 3a8d9df3ad92ec5100d0eff66a27f8ad3b8fac4a

    • -0
    • +4
    ./Application.Ringtoets.Storage.TestUtil.Test.csproj
    • -0
    • +23
    ./RingtoetsProjectTestHelperTest.cs
  1. … 10 more files in changeset.
Added persistence of StochasticSoilModels SourcePath. Related to Issue [WTI-1080]

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

Former-commit-id: 22451592cd5131e46f68009b4689e0dd39555094

Former-commit-id: 8539300372a919269506d7f86e50549bf5f81f8d

  1. … 11 more files in changeset.
Updated SQLite to latest version (104) paired with berg_jl

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

Former-commit-id: b7f49496d25e38cc4ff409d44a86b09d8ab5b536

Former-commit-id: b44681b37cdf650d516bbce670eef9e8de813e4a

    • -7
    • +7
    ./Application.Ringtoets.Storage.TestUtil.Test.csproj
  1. … 214 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
    ./Application.Ringtoets.Storage.TestUtil.Test.csproj
  1. … 219 more files in changeset.
- Updated RingtoetsProjectTestHelper - Fixed name of unique contraint Related to Issue [WTI-987]

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

Former-commit-id: c6a97c2f595f124464c6456ca9edddc4e8b80f4d

Former-commit-id: fd1f95340ba26c860257ea3cb3fad098a174192c

    • -25
    • +47
    ./RingtoetsProjectTestHelperTest.cs
  1. … 3 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
    ./Application.Ringtoets.Storage.TestUtil.Test.csproj
  1. … 425 more files in changeset.
* Removed unit tests that were already covered by slightly more complex unit test. * Moved TestForeshoreProfile and improved it's reuse. ** Removed references where no longer required. * Renamed ForeshoreTreeNodeInfoTest to ForeshoreProfileTreeNodeInfoTest, and also some cleanup. Related to Issue [WTI-965]

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

Former-commit-id: 4de737bc59cf63abb6637a75d874aab2fd0e3b95

Former-commit-id: f88ad8e6054a3c1917dfe283c28ccb541223c9e4

    • -1
    • +0
    ./Application.Ringtoets.Storage.TestUtil.Test.csproj
  1. … 38 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
    • +1
    ./Application.Ringtoets.Storage.TestUtil.Test.csproj
  1. … 97 more files in changeset.
Incorporated review comments: - Editorial changes: moved lines around to improve consistency. Checked for similar tests across the Structures - Extracted function to retrieve validation rules depending on the calculation type in ClosingStructuresCalculationService - Changed parameter names

Related to Issue [WTI-927]

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

Former-commit-id: e1580d2ed171698fd39b5bc43af134da09314a84

Former-commit-id: f5567d00dde1ac54ef7a753d24bc7c9d73dc1ff8

  1. … 8 more files in changeset.
- Extended RingtoetsProjectTestHelper and tests

Related to Issue [WTI-916]

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

Former-commit-id: 34da07331d186fa59a5103e911ed44716cfed9dd

Former-commit-id: 0957e34befc81909cfa4d8859a3586a4a60ae7e1

    • -24
    • +27
    ./RingtoetsProjectTestHelperTest.cs
  1. … 4 more files in changeset.
- Extended RingtoetsProjectTestHelper and tests Related to Issue [WTI-914]

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

Former-commit-id: 790f6edbccd9f6572e7eafc9b8cc6555cfe689d6

Former-commit-id: 540f71d5285acf04b081ce3a21efff1f764eecf3

  1. … 2 more files in changeset.
* Integrated the new Read and Create extension methods for StabilityPointStructure calculations in the CalculationGroup extension methods and StabilityPointStructureFailureMechanism read extension. * Added missing CalculationGroup assert method for ClosingStructure Related to Issue [WTI-913]

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

Former-commit-id: ed8bb60a371019ace863fe9be91423bda4c274af

Former-commit-id: 4e8bc02ae614fb26f5e2a0c97f60398ca03158f8

    • -0
    • +13
    ./RingtoetsProjectTestHelperTest.cs
  1. … 10 more files in changeset.
Implement validation service: - Fixed failed test as a consequence of extending the TestForeshoreProfile class

Related to Issue [WTI-927]

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

Former-commit-id: f488ab0e5e975990c7c6ecf471be8939cbb42582

Former-commit-id: f131643479cd492b64915fcc9c130e6d4d4fc95d

Implement validation service: - Fixed failed test as a consequence of extending the TestForeshoreProfile class Related to Issue [WTI-927]

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

Former-commit-id: 82c9dea4f4c0095e3b6e2a2d5719a026622436f3

Former-commit-id: e32bfec967ec1e52a8f370618a6294ec8c6c8cbc

Implement validation service: - Removed CreateForeshoreProfile calls: test object TestForeshoreProfile was extended: -- Now possible to specify it with and without default breakwater (optional constructor argument) -- Also possible to set a specific BreakWater object on the foreshore profile

Related to Issue [WTI-927]

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

Former-commit-id: bb29fbd42227e2f5fcb45c1f5686602148e25933

Former-commit-id: d3149c5daad18902beae2fb67a5ebf40a35e28be

  1. … 6 more files in changeset.
Removed LayerTwoA property from StabilityPointStructuresSectionResultEntity Updated Create extensions for ClosingStructuresFailureMechanismSectionResult to persist relation to calculation. Related to Issue [WTI-910]

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

Former-commit-id: 58a9ea289193daa82c3fcc521df16bf31df901b9

Former-commit-id: deddedfaa07282a6bbecf185e3f372caeae80a54

  1. … 15 more files in changeset.
* Defined Input and Output create/read methods in the calculation related Create/Read Extension methods, for improved consistency. * Fixed typo. * Refactored softcasts to hard casts in unit test. * Use of CollectionAssert.IsEmpty Related to Issue [WTI-908]

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

Former-commit-id: e0a2fa7797509e2058c7149d13dcb8db17b84d3e

Former-commit-id: b932162820f92255a65fe2b7167e31fb0113e27c

    • -32
    • +21
    ./RingtoetsProjectTestHelperTest.cs
  1. … 13 more files in changeset.
- Extended RingtoetsProjectTestHelper and tests Related to Issue [WTI-908]

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

Former-commit-id: a1379c6831678a41789a840ddbbd3c4eb4f90593

Former-commit-id: f72bc225998218e70c9deadda196ca625648e4a2

  1. … 2 more files in changeset.
* CalculationGroup for ClosingStructureFailureMechanism now stored in database. ** ClosingStructure calculations in CalculationGroup are now persisted as well. Related to Issue [WTI-907]

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

Former-commit-id: ea0abb0f0991240caca7922171478ec0c61d0a17

Former-commit-id: b9f593286c47376f9fc00fd317a94a18020e401c

    • -0
    • +11
    ./RingtoetsProjectTestHelperTest.cs
  1. … 10 more files in changeset.