Core.Common.Gui.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added dispatcher.shutdown for tests involving MainForm http://stackoverflow.com/questions/6232867/com-exceptions-on-exit-with-wpf

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

Former-commit-id: 842e7b3ff7a72a45d24b1d5ad5485f439d827dbb

Former-commit-id: ae74573d4d7111baaf7a122b9da32a46ea83f49e

  1. … 6 more files in changeset.
Small review changes

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

Former-commit-id: 0c6ab7d64e62e5b5598a1a081db592bae01a8d4f

Former-commit-id: c3540bb920c9004048c9ec9a32a8693119d9f22d

    • -1
    • +4
    ./Forms/MessageWindow/MessageWindowTest.cs
Small review changes

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

Former-commit-id: c5fb9c03f5220d6dedbc1c8e18dc9f59fca90850

Former-commit-id: 3b67def4a0f6dfb0de77bdf07081d2e2a9123959

    • -7
    • +9
    ./Forms/MessageWindow/MessageWindowTest.cs
Added tests for SelectItemDialog and SelectViewDialog. Surrounded creation of MessageWindow with using for completeness.

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

Former-commit-id: 40dcee02c977a849bc66db80ad1222b8d4e6efda

Former-commit-id: df55338cac4448fa7f990c380b74880ec6ee2843

    • -2
    • +3
    ./Forms/MessageWindow/MessageWindowTest.cs
    • -0
    • +60
    ./Forms/SelectItemDialogTest.cs
    • -0
    • +61
    ./Forms/SelectViewDialogTest.cs
Added tests for MessageWindowDialog showing on toolstripitem click. Removed obsolete class.

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

Former-commit-id: 40f9f15ffd2cd716ee190f2a0a43c87fe22e37f7

Former-commit-id: 88f780a556faa07ecc5451ac012e65eff73fe162

    • -4
    • +74
    ./Forms/MessageWindow/MessageWindowTest.cs
  1. … 6 more files in changeset.
Loosened time-tolerance of test. Fails sometimes on buildserver

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

Former-commit-id: ccae73094d58a64e2b2ad65da45cd3b16af6a6e7

Former-commit-id: 7ca90a8736d480b3649529792368db6401f8dd83

- Updated PropertySpec such that it allows inheritance of property attributes Related to Issue [WTI-535]

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

Former-commit-id: 0d9f634644f40aa0bdae7ebfdacbd00dae90c875

Former-commit-id: 99ebd6444a90cf93e0b58126bf41397f63853e61

    • -25
    • +36
    ./PropertyBag/PropertySpecTest.cs
  1. … 1 more file in changeset.
Moved Standalone related data classes to Ringtoets.Common.Data. Removed type parameter from FailureMechanismBase and introduced IHasSectionResults<out T> so that covariance can be used. Added SimpleFailureMechanismResultView where results for assessment layer 2a can be chosen from a combobox. Added CustomFailureMechanismResultView where results for assessment layer 2a can be filled in. Related to Issue [WTI-513]

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

Former-commit-id: a0c023cfd8e201e01819d377baf4dcdbdbfd0125

Former-commit-id: 1f2e07e99168890233398dbed7b00bc94b223c12

    • -1
    • +22
    ./ContextMenu/ContextMenuBuilderTest.cs
  1. … 74 more files in changeset.
Split piping specific implementation from a base implementation from the FailureMechanismSectionResult class. Split piping specific implementation from a base implementation from the FailureMechanismResultView class. Removed projects' unused references. Related to Issue [WTI-513]

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

Former-commit-id: 697d2762deea51a795eee53a885a2e0c41761ac4

Former-commit-id: 88cf6034d7ed18e944ae388f9a33bc953197e4c8

  1. … 82 more files in changeset.
Fixed some typos

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

Former-commit-id: ff1c903dbd8faba8ec9e2d655102315654754030

Former-commit-id: 63ed618bfcc3ce7d6e3a83e9135b4b9362d96171

    • -1
    • +1
    ./PropertyBag/ReadOnlyPropertyDescriptorDecoratorTest.cs
  1. … 3 more files in changeset.
Added possibility to assert for log messages and log levels. Implemented IObservable on HydraulicBoundaryDatabaseContext to reroute attach/detach/notify to the assessmentSection instead. HydraulicBoundaryDatabaseImporter now works on the assessment section instead of the HydraulicBoundaryDatabaseContext. Refactored RingtoetsGuiPlugin to use IAssessmentSection rather than HydraulicBoundaryDatabaseContext in methods for opening a project file. Refactored to remove early returns in SelectDatabaseFile Added ProjectOpened listener to check for possibility to open the hydraulic database from the saved project. Refactored TreeNodeInfo tests so that dispose is taken out of the TearDown method so that verify can be called in the test rather than in the teardown.

Related to Issue [WTI-329]

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

Former-commit-id: e952cc1b1089a3ff69cbd50a8d7a46f82a9f3659

Former-commit-id: baa90cb0d08b480946f020297e3ef473199ff4b5

  1. … 29 more files in changeset.
- Created read only version of *ExpandableArrayConverter* - Set TopLevels properties in *StochasticSoilProfileProperties* as *ExpandableReadOnlyArrayConverter* Related to Issue [WTI-416]

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

Former-commit-id: ea044c882bf52ca7d9750c74c29b0692524a6f10

Former-commit-id: f8cfd0cc99f084951aaff6b05f9415b26d387a88

    • -1
    • +22
    ./Converters/ExpandableArrayConverterTest.cs
    • -0
    • +62
    ./Converters/ExpandableReadOnlyArrayConverterTest.cs
  1. … 4 more files in changeset.
- Moved ReadOnlyPropertyDescriptorDecorator to Core.Common.Gui Related to Issue [WTI-416]

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

Former-commit-id: a745c57ab4d44a327043ea1aaa0c1b27dbca996c

Former-commit-id: 1e11aedb070815f494912474ba6b5525d16c3f38

    • -0
    • +180
    ./PropertyBag/ReadOnlyPropertyDescriptorDecoratorTest.cs
  1. … 5 more files in changeset.
* Fixed failing tests due to incorrect tolerances in the double comparison. * Removed RoundDoubleToDecimalPlacesConverter. Related to Issue [WTI-388]

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

Former-commit-id: 1215044a3bb488ac6f88ae895073690dfca7f620

Former-commit-id: 4f0d54e8468a5394a3af75335c18b473fe270d85

    • -427
    • +0
    ./Converters/RoundDoubleToDecimalPlacesConverterTest.cs
  1. … 5 more files in changeset.
* Moved RoundedDoubleConverter from Core.Common.Gui/Converters to Core.Common.Base/TypeConverters. * RoundedDouble has TypeConverter defined to prevent having to declare all properties in property-window with RoundedDoubleConverter. * Extended RoundedDouble with '-' operator. * Changes IDistribution.Mean from double to RoundedDouble. Related to Issue [WTI-388]

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

Former-commit-id: d60284fb16873fb41af391f13b7f212ba33eca1a

Former-commit-id: 4530c8e39bd952e5a7db8c0ab814d2b1ad9633a1

    • -117
    • +0
    ./Converters/RoundedDoubleConverterTest.cs
  1. … 36 more files in changeset.
* Introduced TypeConverter to be used with RoundedDouble editable property control field. * RoundedDouble now has explicit cast from double to RoundedDouble. * Used Math.Round(double, int) API to prevent having to roundtrip to decimal. Also has more accurate 'number of decimals'. * RoundedDouble constructor refactorings. * PipingInput now has ExitPointL and EntryPointL as RoundedDouble. Related to Issue [WTI-388]

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

Former-commit-id: 526f9ff6b020e4718add2dba1aaae259930df73d

Former-commit-id: d1774deeae4f90d0df667370350841782cc5a005

    • -0
    • +117
    ./Converters/RoundedDoubleConverterTest.cs
  1. … 17 more files in changeset.
* Extended RoundDoubleToDecimalPlacesConverter with ConvertFrom. Related to Issue [WTI-388]

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

Former-commit-id: 3c937aa8acef6865f631eebb056b19efdaf73698

Former-commit-id: 26e53c75e5657a6b8bc7e3be388572940621e141

    • -0
    • +83
    ./Converters/RoundDoubleToDecimalPlacesConverterTest.cs
  1. … 1 more file in changeset.
* Introduced TypeConverter for converting doubles (and textual representations) to rounded versions of those values. Related to Issue [WTI-388]

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

Former-commit-id: 3023884603e7eb4f39d4e0a19cebcca2d2a4df01

Former-commit-id: a5509ce0c8641049a8a1c4a294af1f3c7090c7b7

    • -0
    • +344
    ./Converters/RoundDoubleToDecimalPlacesConverterTest.cs
  1. … 2 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

    • -1
    • +1
    ./Commands/ExportImportCommandHandlerTest.cs
  1. … 29 more files in changeset.
Fixed review comments Related to Issue [WTI-320]

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

Former-commit-id: f0a3a190f615c4f07d2c0acddbf52e8be6b48028

Former-commit-id: bc3e3e0c74bce97659a658fbd2b1c2c5e2704d11

    • -0
    • +42
    ./Commands/StorageCommandHandlerTest.cs
  1. … 2 more files in changeset.
* Refactored how ApplicationCore determines if it has importers for a given data object. ** IFileImporter extended with CanImportOn method, where FileImporterBase follows the logic that was in ApplicationCore ** FailureMechanismSectionsImporter overrides CanImportOn to prevent imports when no referenceline is available.

Related to Issue [WTI-365]

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

Former-commit-id: 4cfc7f0351199cc8908a9251b321c4a3575602d1

Former-commit-id: f7dfa0c1a75688499f5cfc2a8f9ccb2793db52b6

    • -10
    • +75
    ./Commands/ExportImportCommandHandlerTest.cs
    • -4
    • +4
    ./ContextMenu/GuiContextMenuItemFactoryTest.cs
  1. … 7 more files in changeset.
- Added project comparer to check if the current project is equal to a new project. In such case, no "save changes" dialog should pop-up Related to Issue [WTI-320]

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

Former-commit-id: 5c6477a62b8b73f280d05b7f6161bab5fcb2c28c

Former-commit-id: 32dfcedec9a014aa22165d17e76cefd8e6c152b4

    • -3
    • +3
    ./Commands/StorageCommandHandlerTest.cs
  1. … 6 more files in changeset.
- Implemented MessageBox when project differs from the last saved project Related to Issue [WTI-320]

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

Former-commit-id: 337dd51c12b239f2ac1b69a7fb8a41c635307d9e

Former-commit-id: f27d41a828025e10e96adf03e72cbbdc0ab8cb43

    • -4
    • +180
    ./Commands/StorageCommandHandlerTest.cs
  1. … 7 more files in changeset.
* Renamed RunReportLogAppender to RenderedMessageLogAppender Related to Issue [WTI-337]

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

Former-commit-id: 178ad3e7d05b2ede18e94b78e169bd210ebc8292

Former-commit-id: 32e00ab5bd6003ffe08b26110259e1a8398eb3c1

    • -0
    • +145
    ./Appenders/RenderedMessageLogAppenderTest.cs
    • -145
    • +0
    ./Appenders/RunReportLogAppenderTest.cs
  1. … 5 more files in changeset.
Changed expectancies in tests. Related to Issue [WTI-381]

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

Former-commit-id: 23df215d688c2f0b6231f02650b390a8b9898e94

Former-commit-id: 5b00be45594ceb1bb04ef0af22c3ec42978e326b

Created new view for AssessmentSectionBase so we won't have to use a wrapper object. Related to Issue [WTI-353]

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

Former-commit-id: 534ba6b5ff2029c0ab56917c801a21f0389e436c

Former-commit-id: a7f0a24e26f481df43224348f0b77fd9ac8a07fd

  1. … 13 more files in changeset.
Last typo's fixed for WTI-Review-333 Related to Issue [WTI-337]

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

Former-commit-id: a00d115a8d2138035fd8351fb18f332607e8727f

Former-commit-id: 36457ad99961ddcd35d267ae14bc4275ebf4a3d5

    • -7
    • +7
    ./Attributes/DynamicVisibleAttributeTest.cs
    • -3
    • +3
    ./Attributes/DynamicVisibleValidationMethodAttributeTest.cs
    • -1
    • +1
    ./Forms/SplashScreen/SplashScreenTest.cs
    • -1
    • +1
    ./PropertyBag/DynamicPropertyBagTest.cs
  1. … 20 more files in changeset.
* Fixed failing test

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

Former-commit-id: d6e992c3591d6f0b6f20d21754cdd756bf4b74fd

Former-commit-id: a4000257a9949d9959aace692903f5e04506a3cf

* Implemented review suggestions from WTI-Review-319 ** Fixing typo's ** Extra XML docs ** Improved consistency ** Removed obsolete tests ** Split tests to improve readability Related to Issue [WTI-337]

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

Former-commit-id: 1116e927199781c11f61b477a300c8afbe2d07e3

Former-commit-id: 52e3e9f95fcba68cbb73e497ad02b8d883d8454c

    • -0
    • +50
    ./Commands/ProjectCommandHandlerTest.cs
    • -50
    • +0
    ./Commands/ProjectCommandsHandlerTest.cs
    • -2
    • +2
    ./Commands/StorageCommandHandlerTest.cs
    • -178
    • +1
    ./Commands/ViewCommandHandlerTest.cs
    • -1
    • +1
    ./ContextMenu/ContextMenuBuilderTest.cs
    • -10
    • +30
    ./ContextMenu/GuiContextMenuItemFactoryTest.cs
    • -4
    • +4
    ./ContextMenu/TreeViewContextMenuItemFactoryTest.cs
    • -4
    • +2
    ./Converters/ExpandableArrayConverterTest.cs
    • -2
    • +4
    ./Forms/SplashScreen/SplashScreenTest.cs
  1. … 72 more files in changeset.
* Final cleanup Core.Common.Gui resources. Related to Issue [WTI-337]

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

Former-commit-id: 0c390810b0e34998ebb5f468348885ca323b06b7

    • -1
    • +1
    ./ContextMenu/ContextMenuBuilderTest.cs
    • -1
    • +1
    ./ContextMenu/GuiContextMenuItemFactoryTest.cs
  1. … 19 more files in changeset.