Core.Common.Utils.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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.
* Refactored and fully covered DynamicVisibkeAttribute and related attributes. Related to Issue [WTI-187]

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

Former-commit-id: 346cb87370b4389c0eebf27b3a846d63f5819769

    • -18
    • +18
    ./Attributes/DynamicReadOnlyAttributeTest.cs
    • -0
    • +157
    ./Attributes/DynamicVisibleAttributeTest.cs
    • -0
    • +108
    ./Attributes/DynamicVisibleValidationMethodAttributeTest.cs
    • -0
    • +88
    ./Attributes/TestCaseClasses/DynamicVisibilityTestCases.cs
  1. … 9 more files in changeset.
* Refactored and fully covered DynamicReadOnlyAttribute and related attributes. * Moved extensions tests from Attributes folder to new Extensions folder. * Moved DisplayFormatAttribute to Core.GIS.GeoAPI. * Removed DynamicEditorAttribute. Related to Issue [WTI-187]

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

Former-commit-id: cb25d1b4034240c15509ee63c61d7d9c9b5eee0f

    • -40
    • +0
    ./Attributes/ComparableExtensionsTest.cs
    • -0
    • +157
    ./Attributes/DynamicReadOnlyAttributeTest.cs
    • -0
    • +108
    ./Attributes/DynamicReadOnlyValidationMethodAttributeTest.cs
    • -41
    • +0
    ./Attributes/EnumerableExtensionsTest.cs
    • -39
    • +0
    ./Attributes/StringExtensionsTests.cs
    • -0
    • +88
    ./Attributes/TestCaseClasses/DynamicReadOnlyTestCases.cs
    • -0
    • +40
    ./Extensions/ComparableExtensionsTest.cs
    • -0
    • +41
    ./Extensions/EnumerableExtensionsTest.cs
    • -0
    • +39
    ./Extensions/StringExtensionsTests.cs
    • -2
    • +2
    ./PropertyBag/DynamicPropertyBagTest.cs
  1. … 14 more files in changeset.
* Merged PropertyBag into DynamicPropertyBag. * Moved classes inside PropertyBag to separate files. * Removed TextDocument Related to Issue [WTI-187]

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

Former-commit-id: a8b57635182aaad16fce2a1901f355e39f740200

    • -1
    • +1
    ./PropertyBag/DynamicPropertyBagTest.cs
  1. … 17 more files in changeset.
Removed redundant references Related to Issue [WTI-184]

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

Former-commit-id: 7cce662f09fbea770a5ccd1907965eb998100b39

  1. … 7 more files in changeset.
* Restructured namespaces of classes within Core.Common.Utils Related to Issue [WTI-187]

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

Former-commit-id: abb5674060f8ad81b77df2d12f35c924e8285cbe

    • -0
    • +40
    ./Attributes/ComparableExtensionsTest.cs
    • -0
    • +41
    ./Attributes/EnumerableExtensionsTest.cs
    • -0
    • +39
    ./Attributes/StringExtensionsTests.cs
    • -39
    • +0
    ./Collections/EnumerableExtensionsTest.cs
    • -1
    • +2
    ./PropertyBag/DynamicPropertyBagTest.cs
  1. … 94 more files in changeset.
* Moved INotifyPropertyChange from Core.Common.Utils to Core.GIS.SharpMap.Api * Removed out-of-date TODO's Related to Issue [WTI-187]

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

Former-commit-id: c2ce35eadc537a608cb90276dfbf60383ce5dbdb

    • -24
    • +2
    ./PropertyBag/DynamicPropertyBagTest.cs
  1. … 9 more files in changeset.