Core.Common.Utils.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* 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.
- Small review changes - Introduced DirectoryRightsHelper Related to Issue [WTI-751]

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

Former-commit-id: 57120521a62b106d250ad0ad00bb00b88ecf8623

Former-commit-id: 384445f6e6b77f82a92bb54a6df209aa108515b0

  1. … 9 more files in changeset.
- Moved DeleteOldFiles to FileUtils - Tests added Related to Issue [WTI-751]

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

Former-commit-id: 8342ea49e01702a761abb6d05fd8634430e98e1f

Former-commit-id: a0eade3c717c09966e41074ca4ad2bcefaa65794

  1. … 8 more files in changeset.
Removed WebLink Related to Issue [WTI-675]

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

Former-commit-id: e9f8e0f866f6e232204ca7e11a6e88a7c52c1749

Former-commit-id: 6792816a39f90bedb31afd6b15484022362f4504

  1. … 10 more files in changeset.
Merged revision(s) from branches/DockingManager

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

Former-commit-id: a659ece93f5e2cda3b606e643c0541f9f8387c55

Former-commit-id: c3e38b068f67783b6246763950eb44f4da63ff21

    • -108
    • +0
    ./Events/NotifyCollectionChangeEventArgsTest.cs
  1. … 120 more files in changeset.
Applied final improvements Related to Issue [WTI-675]

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

Former-commit-id: d1bd9f488d3dbaf519aa0d4df7776b87939b2262

Former-commit-id: 6ba1f8d4d1118281c4502f118e5eb6041d9dd4a8

  1. … 7 more files in changeset.
Added license files to all projects except: Ringtoets.Application.SetUp Core.Common.Version Demo.Ringtoets Demo.Ringtoets.Test

Generated license files in projects.

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

Former-commit-id: 3acc9d7e6e84815f3fe9024f391e86456c362dc5

Former-commit-id: e0d4c1e5eded874de9d9391f8fe6af15b7369319

    • -1
    • +22
    ./Attributes/ResourcesCategoryAttributeTest.cs
    • -1
    • +22
    ./Attributes/ResourcesDescriptionAttributeTest.cs
    • -1
    • +22
    ./Builders/FileReaderErrorMessageBuilderTest.cs
    • -1
    • +22
    ./Builders/FileWriterErrorMessageBuilderTest.cs
    • -1
    • +22
    ./Drawing/GraphicsExtensionsTest.cs
    • -1
    • +22
    ./Events/NotifyCollectionChangeEventArgsTest.cs
    • -1
    • +22
    ./Extensions/CollectionExtensionsTest.cs
    • -1
    • +22
    ./Extensions/ComparableExtensionsTest.cs
    • -1
    • +22
    ./Extensions/EnumerableExtensionsTest.cs
    • -1
    • +22
    ./IO/EmbeddedResourceFileWriterTest.cs
  1. … 198 more files in changeset.
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. … 72 more files in changeset.
* All FailureMechanismSectionResults now have their Level2A and LevelThree properties initialized to double.NaN. * All FailureMechanismSectionResultViews now show double.NaN as "-" in the tables. * All FailureMechanismSectionResultViews now accept empty strings or "-" characters for Level2A and LevelThree properties of FailureMechanismSectionResults and intepret that as double.NaN. * Extracted repeated formatting text for Probabilities into helper and reused that common code. * Added parameter validation to Probability properties. * Improved Probability properties to be uniformly in the [0, 1] range (some where expressed as yearly return period). * Cleanup of projects. Related to Issue [WTI-660]

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

Former-commit-id: 76eb0f04008f538d0a45ec96b111dfece1c15620

Former-commit-id: d59ac121b4a0584564abb12e480d89fb49ca613f

  1. … 135 more files in changeset.
Got rid of INotifyCollectionChanged Related to Issue [WTI-675]

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

Former-commit-id: c7662b4d3be087a00266657057487c4dda4c3cb0

Former-commit-id: 2cef8037ee471a66741f19b8a18468aace8b8bd0

    • -87
    • +0
    ./Events/NotifyCollectionChangeEventArgsTest.cs
  1. … 6 more files in changeset.
Deleted obsolete resource. Cleanup of HeightStructuresGuiPlugin Related to Issue [WTI-671]

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

Former-commit-id: 9dfeef1544d4d5a0bf9c7968d0a999f7df37f2a9

Former-commit-id: dcad50e489502ec852d19381b1c5cd29197f4730

    • binary
    ./Resources/TestImageHalfOpacityOnBlack2x2.png
  1. … 1 more file in changeset.
Fixed AssertImagesAreEqual method. Changes for failing tests due to the fix. Added validation menu items for HeightStructures failure mechanism / calculation group / calculation. Related to Issue [WTI-671]

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

Former-commit-id: 99754d3ddc161bf4b1e92acc545b9b1b57abf79e

Former-commit-id: b11e389a2094031f5a7468501732059a2b89ccdd

    • binary
    ./Resources/TestImageHalfOpacityOnBlack2x2.bmp
  1. … 45 more files in changeset.
- Changed PipingSemiProbabilisticOutput_Categories_Sellmeijer name. - Implemented category ordening for property control. Related to Issue [WTI-629]

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

Former-commit-id: 651810a98f46eebec355c43f2b9d6a6273c5c1e9

Former-commit-id: ebe16140375e94f714417bbacf115ddb3426f001

    • -0
    • +20
    ./Attributes/ResourcesCategoryAttributeTest.cs
  1. … 4 more files in changeset.
Added test for TypeUtils.GetMemberName(<method call expression>) Related to Issue [WTI-510]

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

Former-commit-id: 981d8217303e0902de3659953598730f8366453c

Former-commit-id: 0d5c7cd220b5ddb4f8316491f5a02aa61aaee6e8

Added extra tests for adding comboBoxColumn in DataGridViewControl. Related to Issue [WTI-482]

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

Former-commit-id: 68d87bc85e61a0da2bbbee00accde61308c4a656

Former-commit-id: 336dd1f9a4ccc5b0f5bca29a55c7dbea8c8fc30e

  1. … 4 more files in changeset.
Moved GetSingleFailureMechanism to FailureMechanismBaseUpdateExtensions. Reverted removal of StandAloneFailureMechanismUpdateExtensionsTest. Added tests/docs.

Related to Issue [WTI-513]

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

Former-commit-id: 212b984cd7b783cd22b21516f13fcf20b2b4d44e

Former-commit-id: fc2dda7f570a67f52a4f1072f74b018ce28aaac0

    • -2
    • +1
    ./Exceptions/InvalidTypeParameterExceptionTest.cs
  1. … 27 more files in changeset.
Added InvalidTypeParameterException to throw when type parameter constraints fall short. Extracted EnumDisplayWrapper to wrap enum values with a DisplayName. Added TestFailureMechanism which can be used in tests. Added documentation and tests. Related to Issue [WTI-513]

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

Former-commit-id: 09b92c65cbf4b57c58a9ddb0105df2888ffc87f8

Former-commit-id: 0640a0cf7ea9ea521b7a3eae69d8d002fe808e62

    • -0
    • +90
    ./EnumDisplayWrapperTest.cs
    • -0
    • +118
    ./Exceptions/InvalidTypeParameterExceptionTest.cs
  1. … 35 more files in changeset.
- Processed first review comments Related to Issue [WTI-465]

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

Former-commit-id: 97566f96edb66751924e04ffdaadd40a9cbbbd12

Former-commit-id: e43ca39f658759fa3c05b4b4c3a94458f9c6f743

    • -2
    • +78
    ./Attributes/ResourcesDisplayNameAttributeTest.cs
    • -64
    • +0
    ./Attributes/ResourcesEnumDisplayNameAttributeTest.cs
  1. … 23 more files in changeset.
- Introduced EnumTypeConverter for localization of enum types in a property class -- Use ResourcesEnumDisplayNameAttribute on the enum values - Moved the calculation input property class to *GrassCoverErosionInwardsInputContextProperties* - Introduced new property class for *GrassCoverErosionInwardsCalculationContextProperties* with just the calculation name Related to Issue [WTI-465]

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

Former-commit-id: c1e191dfbf69a0d28f534506faac77a7b71f2981

Former-commit-id: b8d5e5ebfa2470a39dc1518d97139c97758a7e53

    • -0
    • +64
    ./Attributes/ResourcesEnumDisplayNameAttributeTest.cs
  1. … 26 more files in changeset.
* Paired with Elmar ** Implemented fixed for WTI-453: *** Reformatted code for improved readability. *** Ensured created files are deleted from file-system in unit test. *** Reformatted unit tests to be more consistent with existing unit tests.

Related to Issue [WTI-419]

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

Former-commit-id: c4392f8fd09a6165c71c85b0162582308efe107e

Former-commit-id: 7f96beb37abcff1f2b6c99f6bb9e5d6fd74bba45

    • -9
    • +35
    ./IO/EmbeddedResourceFileWriterTest.cs
  1. … 2 more files in changeset.
Review related changes Related to Issue [WTI-419]

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

Former-commit-id: 2d1570b76889528c91f2ed0b8caf9ef792e099ba

Former-commit-id: 9f6886a577014e907c8b6812d3198143216d00e7

    • -0
    • +6
    ./IO/EmbeddedResourceFileWriterTest.cs
  1. … 3 more files in changeset.
Improved EmbeddedResourceFileWriter => Comments => Added tests Related to Issue [WTI-419]

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

Former-commit-id: 02ff55dcb2f98c5cdf56b33bf01dccb6baab561a

Former-commit-id: 70141fb436e3a2f5e1169a7862709c1946a78502

    • -0
    • +68
    ./IO/EmbeddedResourceFileWriterTest.cs
    • -0
    • +0
    ./Resources/EmbeddedResource1.txt
    • -0
    • +0
    ./Resources/EmbeddedResource2.txt
    • -0
    • +0
    ./Resources/NonEmbeddedResource.txt
  1. … 1 more file in changeset.
Implemented HydraulicBoundaryDatabaseReader in RingtoetsGuiPlugin for validating and version checking the selected database. Related to Issue [WTI-326]

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

Former-commit-id: 79978cce16d0e58bd717304b499f8bce1c081b3b

Former-commit-id: da17585494182087a6d659f57d3affb192086777

  1. … 8 more files in changeset.
# Added feature to check if files are equal Related to Issue [WTI-326]

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

Former-commit-id: c66fec785763c82c718d145161b258b5568cd3e4

Former-commit-id: e7013745a1fca1400b8ef03b1ac9269dc3d4def5

    • -0
    • +1
    ./test-data/FileToCompare_Different.txt
    • -0
    • +1
    ./test-data/FileToCompare_Equal.txt
    • -0
    • +1
    ./test-data/FileToCompare_Original.txt
  1. … 4 more files in changeset.
Removed IsNumericalType which became obsolete. Removed exclude in Ringtoets.doxygen.svn.

Related to Issue [WTI-261]

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

Former-commit-id: 7050962938c1cf1d2f07fae8d652c4e7668e5a83

  1. … 2 more files in changeset.
* Implemented review suggestions from WTI-Review-269: ** Removed Validation related classes. ** Improved XML docs.

Related to Issue [WTI-187]

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

Former-commit-id: b5064b9fe60b0e2b234017f56401e6bdea667742

    • -206
    • +0
    ./Validation/ValidationIssueTest.cs
    • -336
    • +0
    ./Validation/ValidationReportTest.cs
  1. … 9 more files in changeset.
* Implemented review suggestions of WTI-Review-268: ** Xml docs cleanup/improvements. ** Refactoring of Url to WebLink. ** Some code cleanup. ** Refactored usages of SettingsHelper and moved that class to Core.Common.Gui. Related to Issue [WTI-187]

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

Former-commit-id: 053b0bfb6f8e4d1b38997d57e311d629f828bd3b

    • -28
    • +0
    ./Extensions/EnumerableExtensionsTest.cs
  1. … 37 more files in changeset.
Moved FileWriterErrorMessageBuilder to Core.Common.Utils Related to Issue [WTI-286]

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

Former-commit-id: 4b9cd6f7602a689a5cce712ec5181d76c5d7487c

    • -0
    • +25
    ./Builders/FileWriterErrorMessageBuilderTest.cs
  1. … 8 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
    • +20
    ./Extensions/ComparableExtensionsTest.cs
  1. … 24 more files in changeset.
* Full covered and documented Core.Common.Utils/Validation. Related to Issue [WTI-187]

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

Former-commit-id: c2575e7e6150d1c4d6d0b3d24a7d2f934ae09289

    • -0
    • +206
    ./Validation/ValidationIssueTest.cs
    • -13
    • +273
    ./Validation/ValidationReportTest.cs
  1. … 5 more files in changeset.