Core.Common.Utils.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
* Removed unused reflection methods from Core.Common.Utils. * Covered and documented Core.Common.Utils/Reflection. * Added reused of reflection or assembly based methods. Related to Issue [WTI-187]

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

Former-commit-id: f9791f3260e1c9559eb431001c20ab39ec197f4d

    • -0
    • +115
    ./Reflection/AssemblyUtilsTest.cs
    • -183
    • +283
    ./Reflection/TypeUtilsTest.cs
    • -0
    • +1
    ./Resources/testFile.txt
  1. … 11 more files in changeset.
Extracted ReferenceEqualityComparer class from BaseChart. Related to Issue [WTI-272]

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

Former-commit-id: 6c14d2e8b0baccf1df1148cc427e395d261a4ffe

    • -0
    • +97
    ./ReferenceEqualityComparerTest.cs
  1. … 6 more files in changeset.
* Added version to database * Added test-data for ringtoets databases * Moved FileUtils to Core.Common.Utils * Renamed Core.Common.Utils.Properties/Resource to Core.Common.Utils.Properties/Resources

Related to Issue [WTI-284]

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

Former-commit-id: 99e0a481b8b4a6abc91210fd23b345e3e4749f1b

    • -0
    • +77
    ./Builders/FileReaderErrorMessageBuilderTest.cs
  1. … 44 more files in changeset.
Moved other attributes closely related with DynamicPropertyBag from Core.Common.Utils to Core.Common.Gui. Related to Issue [WTI-187]

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

Former-commit-id: 4b9773d55b21ce3633c4a065f2bd858084432be5

    • -157
    • +0
    ./Attributes/DynamicReadOnlyAttributeTest.cs
    • -108
    • +0
    ./Attributes/DynamicReadOnlyValidationMethodAttributeTest.cs
    • -157
    • +0
    ./Attributes/DynamicVisibleAttributeTest.cs
    • -108
    • +0
    ./Attributes/DynamicVisibleValidationMethodAttributeTest.cs
  1. … 34 more files in changeset.
* Moved Core.Common.Utils.PropertyBag to Core.Common.Gui.PropertyBag * Moved PropertyOrderAttribute from Utils to Gui ** ? Other attributes might follow that are strongly related to DynamicPropertyBag ? Related to Issue [WTI-187]

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

Former-commit-id: da2b5d7e958a1b1332c01ff98d2f2ea203319f7d

    • -23
    • +0
    ./Attributes/PropertyOrderAttributeTest.cs
    • -334
    • +0
    ./PropertyBag/DynamicPropertyBagTest.cs
  1. … 42 more files in changeset.
* Deleted unused StringExtensions class. * Covered and documented all Core.Common.Utils/Extensions. Related to Issue [WTI-187]

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

Former-commit-id: 10d38b8b55d3d69bb38cc5a1038e966ed59e19a0

    • -0
    • +78
    ./Extensions/CollectionExtensionsTest.cs
    • -12
    • +101
    ./Extensions/ComparableExtensionsTest.cs
    • -5
    • +26
    ./Extensions/EnumerableExtensionsTest.cs
    • -39
    • +0
    ./Extensions/StringExtensionsTests.cs
  1. … 5 more files in changeset.
* Fully covered Core.Common.Utils.Events. * Added factory methods to NotifyCollectionChangeEventArgs, together with some cleaning. Related to Issue [WTI-187]

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

Former-commit-id: a7de907902c01b7429077c3d775584a4ced2d633

    • -0
    • +33
    ./Events/EventArgsTest.cs
    • -0
    • +87
    ./Events/NotifyCollectionChangeEventArgsTest.cs
  1. … 14 more files in changeset.
* Fully covered Core.Common.Utils.Drawing functionality. * Fixed bug in TestHelper.AssertImagesAreEqual as it was not actually comparing pixel images, but also image-metadata (header, footer, etc). Related to Issue [WTI-187]

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

Former-commit-id: e0b5028abb834d856a33e5b66820946f4282108e

    • -0
    • +71
    ./Drawing/GraphicsExtensionsTest.cs
    • -0
    • +57
    ./Drawing/ImageExtensionsTest.cs
    • binary
    ./Resources/Black2x2.png
    • binary
    ./Resources/TestImage.png
    • binary
    ./Resources/TestImageHalfOpacityOnBlack2x2.png
    • binary
    ./Resources/TestImageWithBlack.png
  1. … 4 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. … 21 more files in changeset.
Removed *target* folder, which contained performance reports in HTML Related to Issue [WTI-180]

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

Former-commit-id: 3d40de9bc0cb89e7b4dd9e0de96d72f5d913cb48

  1. … 2 more files in changeset.
* Applied Microsoft C# design guidelines for Attributes * Fully covered all remaining Attribute classes in Core.Common.Utils. Related to Issue [WTI-187]

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

Former-commit-id: 56c72aa42d4359cbe023c8bceb96891d4919baef

    • -0
    • +23
    ./Attributes/PropertyOrderAttributeTest.cs
    • -0
    • +45
    ./Attributes/ResourcesCategoryAttributeTest.cs
    • -0
    • +45
    ./Attributes/ResourcesDescriptionAttributeTest.cs
    • -0
    • +45
    ./Attributes/ResourcesDisplayNameAttributeTest.cs
  1. … 9 more files in changeset.