FileDisposeHelperTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Removed TestUtil.Test projects. WTI-2195

  1. … 35 more files in changeset.
Small improvements. WTI-2003

  1. … 4 more files in changeset.
Updated license headers in source files of test\Core.Common. WTI-1931

  1. … 241 more files in changeset.
Changed copyright year. Paired with lubbers. WTI-1828

  1. … 6095 more files in changeset.
Ran Deltares Cleanup:

- Performed for Common.TestUtil and Common.Util.Test namespaces

WTI-1767

  1. … 16 more files in changeset.
Updated license headers in core. Related to Issue [WTI-1242]

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

Former-commit-id: e7f214adee97782d28ee82f096d8cc27547439e6

Former-commit-id: b339ec31825c8ea8fed91e675069b65afba8433b

  1. … 817 more files in changeset.
Core code-cleanup. Searched for superfluous this. for property assignments as well.

Related to Issue [WTI-1242]

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

Former-commit-id: ecb498b6096a9d8b0a66e69428411d5ae18ec80a

Former-commit-id: 9cc4bad09e38263256924549eaa807b887009030

  1. … 290 more files in changeset.
Cleaned up some test code Related to Issue [WTI-1229]

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

Former-commit-id: 73da0e601591f6d5a7d1a7f67700570e863c51f1

Former-commit-id: 1cd1a766d9641dcde2b76ef4431c1c1232f89a03

  1. … 1 more file in changeset.
* Fix attempt for FileDisposeHelper and DirectoryDisposeHelper to perform multiple attempts for deleting file/folder and waiting for finalizers when failing. Related to Issue [WTI-1229]

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

Former-commit-id: 0fc2bacae5cffb8e2611e67caa3642ea8f0f5abf

Former-commit-id: 208b6580935083833eaa986ff6131ecfe98b3d37

  1. … 2 more files in changeset.
Created extra folder for working directory in ScratchPad that is removed on test class TearDown. Related to Issue [WTI-1143]

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

Former-commit-id: ab0239ed0504f7b7985d0e37124af01d9865fcdd

Former-commit-id: 015fddc3f3b0b92c1c209afbf8fe0bfb4f68bfac

- 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.
* Propagated the use of the Scratchpad folder for tests. Related to Issue [WTI-1088]

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

Former-commit-id: c281e86c4daafcc0bcf1935b84d9594d33246d4d

Former-commit-id: d130d71090209dd15f3efbf6e71d30b4181b0ca6

  1. … 7 more files in changeset.
Fixed Dispose implementation, see: * https://msdn.microsoft.com/en-us/library/fs2xkftw(v=vs.110).aspx * https://msdn.microsoft.com/en-us/library/ms182329.aspx Modified test names according to review suggestions paired with berg_jl Related to Issue [WTI-1060]

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

Former-commit-id: 0309ea4270612fcb1bcc18fc4a5e736b9d1722d2

Former-commit-id: 8e47735d6edd9e2f33431dd21d6f9c686651c976

  1. … 5 more files in changeset.
Created method to lock the files in FileDisposeHelper

Related to Issue [WTI-1060]

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

Former-commit-id: cf200112fe4cc6f7b116b10789756cdd455cfeee

Former-commit-id: e7781162166cbb6dd42603c6adb9d5e6377ace5d

  1. … 2 more files in changeset.
- Some XMLdoc related changes - Added tests for FileDisposeHelperTest Related to Issue [WTI-931]

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

Former-commit-id: 77c87ba591192bdd285d37f194ef4c3587be5787

Former-commit-id: fb1887410da13bb09ff78cf6d529d20c51f16d37

  1. … 1 more file in changeset.
Merged revision(s) 5006-5019 from branches/Release/16_1_1: Resharper cleanup Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

constants now are at the beginning of test files.

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Cleanup project references.

Related to Issue WTI 737

........

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

Former-commit-id: 21f2b2d3f74765437bc2f5ac6001d62a6c3afd98

Former-commit-id: 79979c7e6cb96a998c3b1a0d4fc4d9bd4bf10566

  1. … 219 more files in changeset.
* Improved readability of tests * Turned String into string Related to Issue [WTI-757]

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

Former-commit-id: 701ea98de739f0f328ead01558e5e443c904e706

Former-commit-id: cdb77cc67acfc2869c510cc8a1f32c0201a5f40e

  1. … 141 more files in changeset.
Added DirectoryDisposeHelper to create directories and have them removed when Disposing the instance. Modified FileDisposeHelper so that the Create method doesn't need to be called every time. HydraRingInitializationService and HydraRingConfigurationService are now responsible for writing their files themselves. Introduced HydraRingFileName with file name constants for in-/output files. Made TargetProbabilityCalculationParser and ExceedanceProbabilityCalculationParser non-static, so that output can be set on the parsers and read after parsing. Added license headers to Core.Common.TestUtil and Core.Common.TestUtil.Test files. Added Ringtoets.HydraRing.Calculation.TestUtil which contains a TestTargetProbabilityCalculationInput which can be used for testing. Added Ringtoets.HydraRing.Calculation.TestUtil.Test for tests. Related to Issue [WTI-666]

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

Former-commit-id: 65a4114dbe4f5ac9b516fd2753693db31aa4304e

Former-commit-id: 55601eb9116b1dff7de78dae0cd1a3d4385ea0a5

  1. … 47 more files in changeset.
Final review related changes => Paired with janssen Related to Issue [WTI-476]

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

Former-commit-id: 4c2f9e83710722134b95651bbaa2afcd7ffd14c3

Former-commit-id: f3e4288ba1ef7a6e8400726f05baf6c6f311e2c6

review comments processed Related to Issue [WTI-476]

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

Former-commit-id: 825558a3738611bda110966bcccd824d8ca8e08d

Former-commit-id: be3cda7288bbaacfad9356cbf7c49b7cb785b3d0

  1. … 6 more files in changeset.
review comments processed - Fixed invalid test *Parse_NotExistingOutputFile_ReturnsNull* Related to Issue [WTI-476]

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

Former-commit-id: 19ca9ff925c70124f02aae14375d3c2c285fddcb

Former-commit-id: 00ee49a8c1c039ea80497b9b87486a1345bd9f6d

  1. … 13 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.
- Extended FileDisposeHelper to support multiple files that are guaranteed to be deleted upon disposal. - Implemented *PerformCalculation* for *ExceedanceProbabilityCalculationOutput* Related to Issue [WTI-476]

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

Former-commit-id: 7a76766169ac55a3e4b54b1c8ee9b5f8751344d7

Former-commit-id: 175f2ab6ab6fd6fd6971d29d79d08f8dd49f129f

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

    • -0
    • +91
    ./FileDisposeHelperTest.cs
  1. … 20 more files in changeset.