Core.Common.TestUtil.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Documented exceptions thrown by FileDisposeHelper. Restructured test data so that TestDataCopyHelper became obsolete. Restructured tests so that DirectoryDisposeHelper became obsolete. Extended FileUtils with IsValidFilePath.

Related to Issue [WTI-666]

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

Former-commit-id: 7bed29310919ea82c6700affd257a7e68b942633

Former-commit-id: 418f990752da2b746fa44a116f2266b30835f853

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

    • -0
    • +143
    ./DirectoryDisposeHelperTest.cs
    • -1
    • +22
    ./DoubleWithToleranceComparerTest.cs
    • -1
    • +22
    ./Point2DComparerWithToleranceTest.cs
  1. … 39 more files in changeset.
Updated doc with return section. Updated test to test what was described in the test name. Related to Issue [WTI-652]

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

Former-commit-id: 326f213a51c01108ff32dff0e1683a6629aa50d1

Former-commit-id: 3cec6baffda373107ffa45a66357760d43cb9c89

  1. … 1 more file in changeset.
Changes after review. Related to Issue [WTI-652]

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

Former-commit-id: bacf6f678b8cf9692a91ed7224413bb00fede539

Former-commit-id: 21883a9d6c25cd7ce59f984ed609aee3d97b380b

  1. … 7 more files in changeset.
* More cleanup related to disposing objects, and making it more clear which exception is intentional in different threads.

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

Former-commit-id: d0d0bb470e258371cdb9f9b4e73c932a957d46cf

Former-commit-id: 1f9330a6f45bd0ebf8efd2a54be6b0785c3507b8

  1. … 5 more files in changeset.
* Moved Point2DComparerWithTolerance from Math2DTest to Core.Common.TestUtil * PolygonShapeFileReader now reads inner rings of a polygon, instead of only outer ring and incorrectly interpret inner rings. ** Updated the validation of MapPolygonData to allow for inner rings in MapGeometry. ** Updated MapPolygonDataConverter accoridingly do properly create polygon layers with holes. Related to Issue [WTI-478]

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

Former-commit-id: dbc4ac9e2ef823ae96c8d2dbb7571375ee69a480

Former-commit-id: 02e1ddfcce132b6beb7da5bb5aa5e395144227bf

    • -0
    • +69
    ./Point2DComparerWithToleranceTest.cs
  1. … 17 more files in changeset.
Added HydraulicDatabaseHelper with method to verify the currently set HRD path. Added verification of the HRD path before design water level calculations are added as activities. Refactored HydraulicBoundaryDatabaseImporter so that a separate ValidateAndConnectTo call is no longer necessary. Related to Issue [WTI-329]

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

Former-commit-id: 0e6ebc1278e493c7d2beb16af82e737495310882

Former-commit-id: d12a3f44e878a3d5252795f3da775265197f3b84

  1. … 15 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. … 19 more files in changeset.
* Implemented review suggestions of WTI-Review-369: ** Made Point2D, Point3D and Segment2D more clearly immutable. ** Removed Point2D default constructor (now more consistent with point3D) ** Math2D.SplitLineAtLenghts improvements: *** Reuse of epsilonForComparisons. *** Xml docs. *** variable naming. ** Remove IFileImporter.SupportedItemType and made FileImporterBase generic with type-parameter to use instead. ** Improved test names. ** Optimizations in FailureMechanismSectionsImporter. ** Test coverage for DoubleWithToleranceComparer. ** Improved text resources. Related to Issue [WTI-365]

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

Former-commit-id: 9e27e584fe2b6fd5244140250c9ddd9a82bd3e65

Former-commit-id: 12a7c688737048e0aea43a05962cb795dc6fcccb

    • -0
    • +114
    ./DoubleWithToleranceComparerTest.cs
  1. … 28 more files in changeset.
* Merged MathUtils into ComparableExtensions. * Removed TypeConverter. * Moved TestHelperTest from Core.Common.Utils.Test to Core.Common.TestUtil.Test and related test-data. * Fully covered and documented root of Core.Common.Utils. Related to Issue [WTI-187]

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

Former-commit-id: 72a534c6b345b6ba66294b1837e9b7aa578a6536

    • -0
    • +83
    ./Properties/Resources.Designer.cs
    • -0
    • +127
    ./Properties/Resources.resx
    • binary
    ./Resources/abacus.png
    • binary
    ./Resources/acorn.png
  1. … 23 more files in changeset.
Refactored: - WindowsFormsTestHelperTest - GuiTestHelper - ProjectExplorerGuiPlugin - ProjectTreeViewTest Related to Issue [WTI-163]

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

Former-commit-id: 75555d5977462c6423aafd4155675012ff570fcb

  1. … 2 more files in changeset.
Change test method names to correct standards. Related to Issue [WTI-163]

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

Former-commit-id: 2118e8503daf08d0b26f92d888d62e712890b9a4

Improved pdb configuration Related to Issue [WTI-309]

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

Former-commit-id: 95c06c9a739ec690e52abe7ac71566ab2dfe1049

  1. … 21 more files in changeset.
removed reference from one test project to another to make sure the tests are only executed once Related to Issue [WTI-250]

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

Former-commit-id: be509f3fc0b52b962e12278aa2a7dabe1f6c6471

  1. … 20 more files in changeset.
updated copyright year to 2016 Related to Issue [WTI-45]

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

Former-commit-id: 314677460610374d04aeb1921780609d57f78bbf

  1. … 14 more files in changeset.
Renamed TestUtils to TestUtil Related to Issue [WTI-184]

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

Former-commit-id: d7daba7b69132117103600f3370c1324765c1c86

    • -0
    • +69
    ./Core.Common.TestUtil.Test.csproj
    • -0
    • +35
    ./Properties/AssemblyInfo.cs
    • -0
    • +135
    ./WindowsFormsTestHelperTest.cs
  1. … 136 more files in changeset.