Core.Common.Utils.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* 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.
* Moved EventedList from Core.Common.Utils to Core.GIS.SharpMap.Api Related to Issue [WTI-187]

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

Former-commit-id: 66256c3be2ec86e24b27f58ebbf47ea94557cb6b

    • -261
    • +0
    ./Collections/Generic/EventedListTest.cs
  1. … 29 more files in changeset.
* Removed Component flag from TestHelperTests.cs Related to Issue [WTI-90]

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

Former-commit-id: 3ed44e156a4148508555dba703d757acd07b85dc

removed unused test-data files Related to Issue [WTI-179]

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

Former-commit-id: 8b24b1e67f3ef923250f0ec3a34dfe4325476da1

    • -40521
    • +0
    ./test-data/File_over_10MB.txt
Added regression tests for context menus of MapLayerTreeViewNodePresenter and MapTreeViewNodePresenter, which are currently obtained from MapLegendView. Related to Issue [WTI-90]

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

Former-commit-id: b4405308b98a843fc72c201d982e0e4dfdd88a28

  1. … 4 more files in changeset.
Temp version, with decorator (and delete), but disabled and lookup table

Back to Framework 4.5

Related to Issue [WTI-199]

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

Former-commit-id: 3abcac765abfc25bd2fe1d34994e4130e96a50ba

  1. … 96 more files in changeset.
* Small clean ups * Removed IEventedList dependency from ITreeView related classes, introducing RegisterNodePresenter method to handle special 'after add' logic. * Removed IEventedList dependency from WizardDialog. * Removed INotifyCollectionChanging as it is not used. * Deleted unused classes and interfaces from Core.Common.Utils. Related to Issue [WTI-187]

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

Former-commit-id: 05ec6eaef57781d0e16ccb113e4114d211fcaa5c

  1. … 22 more files in changeset.
Improved TestHelper.AssertThrowsArgumentExceptionAndTestMessage implementation. Replaced ArgumentExceptions with ArgumentOutOfRangeExceptions where applicable. Made the use of random values in tests less risk-prone. Added assertions for total percentage of contribution. Related to Issue [WTI-168]

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

Former-commit-id: ebbed8b753ee15a7b606b00dcad76a7ec2a30766

  1. … 9 more files in changeset.
Updated constraints on Norm (>0) and Contribution(>0 and <=100). Added TestHelper.AssertExceptionCustomMessage which can be used to assert for custom exception messages. Exposed FailureMechanismContributionItem.Norm. Used more optimal Invalidate() (instead of Refresh()). Updated doc and tests. Related to Issue [WTI-168]

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

Former-commit-id: a9184622ae01d083c09734fa6db7c658445d10b8

  1. … 28 more files in changeset.
* Removed unused classes * Moved some code into TestHelper ** Also cleaned up TestHelper a bit. Related to Issue [WTI-187]

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

Former-commit-id: 038417f2ff4c5095a8bf31b1d37c2e31e643f9e6

  1. … 4 more files in changeset.
* Moved TimeNavigatableLabelFormatProvider to Core.Common.Controls.Swf/Charting/ * Removed unused methods and classes * Moved Resources*Attribute and related classes to their own sub-namesspace Attributes * Moved GraphicsExtensions to Drawing sub-namespace Related to Issue [WTI-187]

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

Former-commit-id: c6b4732c09eeda54a765331f031c14270e6765c0

    • -75
    • +0
    ./ChartViewDateTimeFormatProviderTest.cs
    • -102
    • +1
    ./Collections/EnumerableExtensionsTest.cs
    • -49
    • +0
    ./Reflection/DynamicTypeUtilsTest.cs
  1. … 74 more files in changeset.
* Removed unused classes, interfaces or members. * Moved NativeWin32 methods to their respective caller's libraries. * Moved NativeLibrary to Core.Common.Gui/Forms/MainWindow/Interop * Moved GraphicsExtensions in library to Drawing part Related to Issue [WTI-187]

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

Former-commit-id: 97766c6c3b6319b157189c9c0e3fc26171df63b4

    • -58
    • +0
    ./Collections/Extensions/ListExtensions.cs
  1. … 24 more files in changeset.