AssessmentSectionTreeNodeInfoTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Fixed few tests - User interface is working properly again

Related to Issue [WTI-539]

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

Former-commit-id: b4c96c10199f66c3720e39769a0fc496fafae50f

Former-commit-id: 7435332826a0810c5703b3385bd9b8b398750fd6

    • -2
    • +2
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 21 more files in changeset.
- Renamed derived classes of *GuiPlugin* - removed unused resource Related to Issue [WTI-539]

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

Former-commit-id: 58102f6e709295f4a14681a3135926ce27d2eb4e

Former-commit-id: e58e4aba30a88a7639369b703019332ac660cb58

    • -12
    • +12
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 152 more files in changeset.
* Disposing of GuiPlugin implementations in TreeNodeInfo tests. ** Reformatted related code as well. * Some cleanup in various places. Related to Issue [WTI-636]

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

Former-commit-id: 4524f3c4c9e7477be29dcdf62a24d5acab47b329

Former-commit-id: 498b3880c77139d272b824e9b815b990cc2aa31f

    • -0
    • +12
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 64 more files in changeset.
Code cleanup. Replaced mock of TreeViewControl with actual TreeViewControl instance where possible. Dispose SurfaceLine selection view and DikeProfile selection views (for when generating calculations) Related to Issue [WTI-634]

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

Former-commit-id: e6c6a59d721729e2c0c05006ba933b0e05f19620

Former-commit-id: e2e1fef2cb68042001aab2c8c9a639e1ea4b0139

    • -9
    • +11
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 38 more files in changeset.
Turned ReferenceLineContext into ObservableWrappedObjectContextBase Related to Issue [WTI-543]

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

Former-commit-id: 31ec109712153422ead1648d6fcb2522b00342ee

Former-commit-id: 46741e1210a9e3288385e9755ce4695315c9e922

    • -2
    • +1
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 7 more files in changeset.
Turned RingtoetsPipingSurfaceLinesContext and HydraulicBoundaryDatabaseContext into a ObservableWrappedObjectContextBase Related to Issue [WTI-543]

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

Former-commit-id: b1523b77118c6e0ceab76ea4518f0ede4eba933b

Former-commit-id: d941bc4058a85d4497a7b484c4ffde3907749b59

    • -30
    • +27
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 14 more files in changeset.
* Turned CommentContext and FailureMechanismSectionResultContext into a WrappedObjectContextBase * Got rid of test duplication Related to Issue [WTI-543]

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

Former-commit-id: 6f363150c9dd568464e414dca4dff2f8c320f784

Former-commit-id: 12573a37d4a9bb7c27ed5936da113aed786d9397

    • -1
    • +1
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 27 more files in changeset.
Removed Arbitrary, Numeric and SimpleFailureMechanismContext (and tests) and made FailureMechanismContext non-abstract so it can be used for the standalone failure mechanisms. Related to Issue [WTI-510]

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

Former-commit-id: e4615c5d9a0c46b4a35ea39243bd481ae478e1fa

Former-commit-id: 4ce4cead263651977159a60c2cde5dd532fea2e9

    • -20
    • +56
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 12 more files in changeset.
Removed NumericFailureMechanismResult related classes and replaced with specific implementations for failure mechanisms which used these classes. Related to Issue [WTI-510]

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

Former-commit-id: e9c2028630106ceb73660d814016df3c59257f7a

Former-commit-id: ef50081ea42663557532318dc29e4c6015a69bf4

    • -12
    • +41
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 30 more files in changeset.
Rename of CustomFailureMechanism* classes to NumericFailureMechanism* classes. Rename of CustomProbabilityFailureMechanism* classes to ArbitraryProbabilityFailureMechanism* classes. Added exception handling of ArbitraryProbability Level2a values entered by users. Used reflection for binding columns to data properties. Added missing ArbitraryProbabilityFailureMechanismSectionResultContextTreeNodeInfoTest Cleanups Related to Issue [WTI-514]

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

Former-commit-id: 7aea897b8734eee95349c998fa1c46fd6d35b38c

Former-commit-id: 6a1fee63d94f78f56e5feb399dc4a91dfcc4f6f6

    • -2
    • +2
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 79 more files in changeset.
Added CustomProbabilityFailureMechanismSectionResult for adding failure mechanism section results where the value for Assessment layer 2a is a probability. Added CustomProbabilityFailureMechanismSectionResultRow to display the result in a grid. Added CustomProbabilityFailureMechanismResultView to display all results in a grid. Added CustomProbabilityFailureMechanismContext to be able to set observers in the CustomProbabilityFailureMechanismResultView. Related to Issue [WTI-514]

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

Former-commit-id: 362a1edf08f5a823abf1dbd1cedab5c3346ee6f5

Former-commit-id: 6cdbeebfb0bb4835792ff369d6657261c822d9a5

    • -3
    • +13
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 29 more files in changeset.
Added missing failure mechanisms to the assessment section. Made specific method for contributing failure mechanisms so they don't show up in the contribution view. Related to Issue [WTI-615]

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

Former-commit-id: e58e522558456d6dee970ccd3d5a72b188ef1c0d

Former-commit-id: 2664ae146c830c717b4bbf838b084b809a5a9c82

    • -1
    • +1
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 39 more files in changeset.
Added GrassCoverErosionInwardsFailureMechanismResultView. Simplified name of CalculationScenarioStatus. Extracted FailureMechanismSectionResultRow views. Introduced specific failure mechanism classes for every stand alone failure mechanism. Introduced CustomFailureMechanismSectionResult for a section result with a double value for assessment layer 2a. Introduced SimpleFailureMechanismSectionResult for a section result with a enum value for assessment layer 2a. Introduced a CustomFailureMechanismContext and SimpleFailureMechanismContext to be able to serve different views and tree nodes.

Related to Issue [WTI-513]

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

Former-commit-id: 762fcf66929fb610968976e6b240e358cd5ea89d

Former-commit-id: f048a61abadfc0feb700bb3ab7d1c515cf7b87ee

    • -4
    • +4
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 93 more files in changeset.
Renamed dir of Placeholders to StandAlone to better match its content. Updated some variable and method names related to old placeholder name. Removed obsolete AssessmentResult from StandAloneFailureMechanism. Removed obsolete Ringtoets.Common.Placeholder project. Related to Issue [WTI-515]

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

Former-commit-id: 1a35e3ed308f09dfc43ccb7c2263aaf15787c7b6

Former-commit-id: accd4c5c6c60bf320b6864410341aae752add3b5

    • -4
    • +4
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 34 more files in changeset.
Renamed FailureMechanismPlaceholder* to StandAloneFailureMechanism* Related to Issue [WTI-515]

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

Former-commit-id: 43edefd19815b6c702c1a8c50452695c7da9ab5e

Former-commit-id: ebb9d69c2b61ad2315d402635574e38929ce6f8e

    • -2
    • +2
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 35 more files in changeset.
Added required code parameter to FailureMechanismBase. Made name required for FailureMechanismBase. Added code column to ContributionView. Related to Issue [WTI-508]

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

Former-commit-id: 65c9d838f484d29b60c50e7fb6b364e3b9a8920a

Former-commit-id: f277a4cf9e193d6ce49b4b1e4a0e2b0ffb1b6141

    • -1
    • +1
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 23 more files in changeset.
Added shortcuts for Genereer scenario's... and Is relevant context menu items. Added shortcut for Genereer scenario's... button in PipingCalculationsView. Prevented CalculationGroup from being selected when making a failure mechanism relevant. Related to Issue [WTI-429]

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

Former-commit-id: fe1d165008e29b2d80b849e232a5080f1ca9f9bc

Former-commit-id: 0df2f5a2699ad68775f2ccea7d68d35633dfb98c

    • -6
    • +1
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 15 more files in changeset.
- Added property *Code* to Failure mechanisms. Related to Issue [WTI-462]

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

Former-commit-id: bd37be69c228236a69b2ef12dc6134f290218027

Former-commit-id: ad7c4aa64070da4693653bbcdc286728f16d96da

    • -1
    • +1
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 25 more files in changeset.
* Made MapGeometry more generic by changing Points property to a PointCollections property (from always 1 sequence of 2d points to N sequences of 2D points) ** Updated ???ShapeFileReader classes accordingly. ** Added validation to FeatureBasedMapData and derived classes to enforce proper configured MapGeometry instances.

* Unrelated:

** Deleted 2 unused variables.

Related to Issue [WTI-478]

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

Former-commit-id: 526768841485e749ccfd0134dc30684cf3130ea2

Former-commit-id: 086112c439fb3bf9d5dadbf1df586b5bb776f641

    • -1
    • +0
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 38 more files in changeset.
* Changes for WTI-Review-469: ** Renamed IComment to ICommentable and updates XML docs. ** ICommentContext and CommentView do not have IAssessmentSection properties any more. Instead RingtoetsGuiPlugin view-closure code has been improved. *** Also fixed bug: Deleting a piping calculation group now does properly close an open CommentView for any child calculation at any depth. *** Improved test coverage for closing CommentView for various data. ** Some cleanup *** Reformatted code to reduce long lines of code. *** Reordered lines of code to improve code coherence. *** Not making mocks of simple objects, neither of IDisposable concrete objects. *** Closure of MockRepositories with VerifyAll methods.

Related to Issue [WTI-432]

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

Former-commit-id: a73e75f933d656c7b099234a683edf7a0fa368a4

Former-commit-id: 2993abae0543056ba28925d3595f06a3cbc903ea

    • -1
    • +1
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 22 more files in changeset.
Changes after review. Related to Issue [WTI-422]

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

Former-commit-id: e378a5044c756f8104f59efe21850853fb265a6d

Former-commit-id: 26e08ea46766bff51548e62e0760bba5ad1872ea

    • -2
    • +3
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 60 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

    • -83
    • +123
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 29 more files in changeset.
Made CommentContext generic. Related to Issue [WTI-432]

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

Former-commit-id: 246842a7305f0d5c7ccf1afa393bc4f50cc8ef53

Former-commit-id: 7c1b4778678959b62e95e73e0fc5cad8522738a3

    • -2
    • +2
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 13 more files in changeset.
Added folders for AssessmentSection and FailureMechanism in Ringtoets.Common.Data. Related to Issue [WTI-432]

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

Former-commit-id: 1fc0cbe4ee37c6965f4c379f14cb08f3cc97cb23

Former-commit-id: ed20cfc1d253bbf457dbbb1f77de0910155f979c

    • -0
    • +2
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 147 more files in changeset.
Changes after review. Related to Issue [WTI-422]

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

Former-commit-id: 3a3817d4a286c9c6bd3f49bc31fe611d59e49ac3

Former-commit-id: 57792c4536e20dd4ec73bc6ea1b2ab51ccf2b576

    • -2
    • +2
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 74 more files in changeset.
* Introduced FailureMechanismContributionContext as view model object for FailureMechanismContribution. * Refactored FailureMechanismContributionView to work with the new context object. Related to Issue [WTI-409]

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

Former-commit-id: 943ee2ed71b8dc693264bc3d070438318a47e857

Former-commit-id: 01d6bfc79a5ab2da6fae76cbe1ba519a09b9dc4b

    • -1
    • +3
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 14 more files in changeset.
- Removed AssessmentSectionComment - Added AssessmentSectionCommentContext. Related to Issue [WTI-430]

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

Former-commit-id: a159385d8bcf197d5af368a865185fde080d1d55

Former-commit-id: 9c8f04bb673b8f47476d67adf69814ef6186d6b3

    • -5
    • +4
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 23 more files in changeset.
- Review changes Related to Issue [WTI-407]

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

Former-commit-id: 049a27d62a6f1b2f38f489865846cde9c5f59b51

Former-commit-id: af4ed23ff7789b73dbcf46d82f5d197f07e465d5

    • -0
    • +275
    ./AssessmentSectionTreeNodeInfoTest.cs
  1. … 22 more files in changeset.