Ringtoets.HeightStructures.Forms.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Extracted magic numbers. Improved structure of read-only property determination. Use helper methods in tests. Related to Issue [WTI-1051]

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

Former-commit-id: 483818293d2b9b8df7e835994949ccb3b6dd9afb

Former-commit-id: 07d51fd7321156eb1e9f4252cb02145e91e22fab

    • -16
    • +9
    ./PropertyClasses/HeightStructuresInputContextPropertiesTest.cs
  1. … 7 more files in changeset.
* Refactored similar unit tests. * Cleanup Related to Issue [WTI-1152]

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

Former-commit-id: a1c96581849f8586d84bec9db96b1df48965ce44

Former-commit-id: b6e2554626b0dc6c4c3dcf0c6d5eaa0c4bb2570c

    • -34
    • +8
    ./PropertyClasses/HeightStructuresFailureMechanismPropertiesTest.cs
  1. … 19 more files in changeset.
* Cleanup Related to Issue [WTI-1152]

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

Former-commit-id: 0c587a2d8f82f4c754ffebe470e798bf4ab0fbda

Former-commit-id: 5ed07b940a06bf84d4a05e51634fd7208f44b58d

    • -8
    • +4
    ./PropertyClasses/HeightStructuresFailureMechanismPropertiesTest.cs
  1. … 1 more file in changeset.
* Cleanup and more conform coding conventions. * StabilityStoneCoverFailureMechanismProperties now has IsRelevant property. * StabilityStoneCoverFailureMechanismProperties uses DynamicVisbility to hide properties for irrelevant failure mechanism.

Related to Issue [WTI-1152]

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

Former-commit-id: 67909f2001405a93d8a79f78657155b848769f94

Former-commit-id: 7f9022a1a4692611559ae06dafc5cc00f537fd24

    • -0
    • +4
    ./PropertyClasses/HeightStructuresFailureMechanismPropertiesTest.cs
  1. … 9 more files in changeset.
* HeightStructuresFailureMechanismProperties now has IsRelevant property. * HeightStructuresFailureMechanismProperties uses DynamicVisbility to hide properties for irrelevant failure mechanism.

Related to Issue [WTI-1152]

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

Former-commit-id: 7df91ec34d386b7996413c471d4f6596846f4e19

Former-commit-id: 6c401c9ede95c9fbadf9df90f35ac9a3f60d0e68

    • -9
    • +127
    ./PropertyClasses/HeightStructuresFailureMechanismPropertiesTest.cs
  1. … 1 more file in changeset.
used PropertyTestHelper.GetAllVisiblePropertyDescriptors where possible and sensible. Related to Issue [WTI-1051]

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

Former-commit-id: d3287464ebea6a899a1eb3c6908575438c55f63b

Former-commit-id: 344cd82a211c6c64b21cc9ff55e08a51d98bc46a

    • -5
    • +1
    ./PropertyClasses/HeightStructuresInputContextPropertiesTest.cs
  1. … 13 more files in changeset.
Implemented dynamic read only for stability point structure properties. Related to Issue [WTI-1051]

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

Former-commit-id: af5c8aed434f4528f9e86de5965c3c85ef48aeac

Former-commit-id: 3e5a1dfc266a5f0c8a53c970f48100aec8e08a95

    • -1
    • +7
    ./PropertyClasses/HeightStructuresInputContextPropertiesTest.cs
  1. … 5 more files in changeset.
Implemented dynamic read only for height structure properties and closing strucure properties. Related to Issue [WTI-1051]

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

Former-commit-id: 5a7bdf5f9885aea17eb0d78ed93358daac80d717

Former-commit-id: f1a37c4926d19467d2e5f03c00481c16999d7e57

    • -0
    • +40
    ./PropertyClasses/HeightStructuresInputContextPropertiesTest.cs
  1. … 4 more files in changeset.
Removed obsolete parameters from the IObservablePropertyChangeHandler interface. Related to Issue [WTI-1128]

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

Former-commit-id: 36607386075ba1f0f322b962bffc3843d1828d34

Former-commit-id: 5a4c6058b6e1e30b4348a22e62c65f242240d53a

    • -13
    • +4
    ./PropertyClasses/HeightStructuresInputContextPropertiesTest.cs
  1. … 41 more files in changeset.
Made CalculationInputPropertyChangeHandler independent of Calculation and ICalculation, but rather of an IObservable. Other specific information is contained in the CalculationInputPropertyChangeHandler implementation. Related to Issue [WTI-1128]

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

Former-commit-id: 5fc75460af45d1b1aac175c98ed48c1c95700135

Former-commit-id: ee7d2540dccf25a17c077d6f09d26e85991f84ac

    • -9
    • +7
    ./PropertyClasses/HeightStructuresInputContextPropertiesTest.cs
  1. … 72 more files in changeset.
Added ConfirmingVariationCoefficientNormalDistributionProperties. Implemented inquiry of user for ClosingStructuresInputContextProperties, HeightStructuresInputContextProperties and StabilityPointStructuresInputContextProperties.

Related to Issue [WTI-1128]

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

Former-commit-id: 10966234885bf6375c86b2fd125365b328975843

Former-commit-id: 59c2d23f563397f7b8910bc6e124621d72f74c2a

    • -0
    • +50
    ./PropertyClasses/HeightStructuresInputContextPropertiesTest.cs
  1. … 11 more files in changeset.
Added change handler for (part of) Structure related properties. Added ConfirmingNormalDistributionProperties. Related to Issue [WTI-1128]

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

Former-commit-id: 4c37f11ce8080881528edc61655b6c8d1df7a2c1

Former-commit-id: a76580ac21a78ef2a70250f36ab51078bfff557a

    • -8
    • +48
    ./PropertyClasses/HeightStructuresInputContextPropertiesTest.cs
  1. … 24 more files in changeset.
* MapControl now uses BackgroundMapDataContainer directly. ** TODO: Handling NotifyObservers on BackgroundMapDataContainer, in order to know if MapData property has changed. * Improved robustness of MapControl unit tests that make temporary backup of tile chaches. * BackgroundMapDataContainer moved from Ringtoets.Common.Data to Core.Components.Gis Related to Issue [WTI-1143]

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

Former-commit-id: 8368df4f1e33ebe99e86dde01ae0382a118890f8

Former-commit-id: 79fd13aafb4655934d563c8729e0cb4e703f8149

    • -45
    • +34
    ./Views/HeightStructuresFailureMechanismViewTest.cs
  1. … 43 more files in changeset.
* IAssessmentSection now has a BackgroundMapDataContainer instead of a WmtsMapData. * Added missing assertions to StorageSqLiteIntegrationTest for background map data. Related to Issue [WTI-1105]

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

Former-commit-id: adb7cf2213f1a01c9d8c63a93e789debaf9b574a

Former-commit-id: 4280f253668d55e313e171f3589ae967a70c56c1

    • -23
    • +12
    ./Views/HeightStructuresFailureMechanismViewTest.cs
  1. … 55 more files in changeset.
Review related changes Related to Issue [WTI-1059]

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

Former-commit-id: 591b4e8e6311f31f70283dad1426f0d44e27f700

Former-commit-id: f6bc1147601b0c7953fc88648973f128f6195f04

    • -3
    • +3
    ./PresentationObjects/HeightStructuresCalculationContextTest.cs
    • -3
    • +3
    ./PresentationObjects/HeightStructuresCalculationGroupContextTest.cs
    • -3
    • +3
    ./PresentationObjects/HeightStructuresFailureMechanismContextTest.cs
  1. … 23 more files in changeset.
* All MapControl users makes use of available WmtsMapData to put it on MapControl.BackgroundMapData. * Improved unit tests to use test stub object for retrieving map tiles. * Cleanup Related to Issue [WTI-1088]

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

Former-commit-id: 5837b0f29024f4d0bdfbeebef29ed9a18e77b6b6

Former-commit-id: 8d4d1b5549793d2f91dbdf707df2a72348bf56f0

    • -0
    • +8
    ./Ringtoets.HeightStructures.Forms.Test.csproj
    • -0
    • +27
    ./Views/HeightStructuresFailureMechanismViewTest.cs
  1. … 30 more files in changeset.
Incorporated comments review 1423: - Added exception message to the ObservableTestAssessmentSectionStub to clarify the intention of the NotImplementedException: stub only mocks basic and Observable behaviour, the ChangeComposition behaviour should be substituted by a proper mock instead when it is needed. - Replaced ObservableTestAssessmentSectionStub with empty mocks in the failure mechanism views when applicable - Corrected typos and extended XMLDocs - Added assertion for IsVisible property of the BackgroundMapData in the tests AssessmentSection and AddNewDemoAssessmentSectionCommand for completeness Related to Issue [WTI-1085]

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

Former-commit-id: b2f501a9311883f64d72ffbb5c3efb24256adeef

Former-commit-id: 6760318ab45892ce1c18c5f6f1bcd3843d5d0031

    • -9
    • +33
    ./Views/HeightStructuresFailureMechanismViewTest.cs
  1. … 15 more files in changeset.
- Moved Testhelper functions from the DataGridViewCellTestHelper to DataGridViewTestHelper for coherence - Deleted obsolete files - Removed unused references

Paired with bouvrie

Related to Issue [WTI-1044]

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

Former-commit-id: 9489e6615c4fa4e02720a908477e4461898d8fab

Former-commit-id: 4e13b627dfa1d26b297159ebb10fd987bc6f56fd

    • -5
    • +5
    ./Views/HeightStructuresFailureMechanismResultViewTest.cs
  1. … 23 more files in changeset.
Upgraded to NUnit 3.6.0 Assert.IsNullOrEmpty(...) --> Assert.That(string.IsNullOrEmpty(...)); [STAThread] --> [Apartment(ApartmentState.STA)] [RequiresSTA] --> [Apartment(ApartmentState.STA)]

Current directory <> output dir

http://stackoverflow.com/questions/35852979/using-resharper-nunit-tests-start-in-a-random-temporary-directory

NUnit 3.0 stopped changing current directory.

use TestContext.TestDirectory as the location of your file.

Related to Issue [WTI-1047]

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

Former-commit-id: 8e98e0fcf163c22a6a73ac3aadca4cf947804b0e

Former-commit-id: 490f137aa03123596bf0293183ace6db4f4614e9

    • -2
    • +2
    ./Ringtoets.HeightStructures.Forms.Test.csproj
  1. … 335 more files in changeset.
Merged revision(s) 7773 from branches/Release/16_4: Changed type of *WidthFlowApertures* (Breedte van doorstroomopening) from CoefficientOfVariation to StandardDeviation note: storage change (names of the columns) has not yet been executed

Removed Application.Ringtoets/Application.Ringtoets.csproj post build action, which was needed for MSBuild2015

........

Related to Issue [WTI-1102]

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

Former-commit-id: 342282b213d520bc60ebd90113af4ab47b1c929d

Former-commit-id: 91abb8a151c800d1c462c52940cdfb3a8c7bb08d

    • -1
    • +1
    ./PropertyClasses/HeightStructurePropertiesTest.cs
  1. … 70 more files in changeset.
Removed validation for the HeightStructures whether the failuremechanism contains any sections to enable or disable the Validate(All) and Calculate(All) buttons in the context menu: - Adjusted affected tests: assessment section mocks --> stubs, because property getter of AssessmentSection.HydraulicBoundaryDatabase is called - Removed obsolete tests that assert the behavior when a section is set or not - Cleaned up tests: -- Removed geometry definitions for the failure mechanism sections when used -- Renamed parameters such that suffices -Stub and -Mock are dropped

Related to Issue [WTI-1064]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_4@7785 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 2f54b0a4571697f2406ac59e51da67fa8b4040b4

Former-commit-id: 860a8cb4454cd6862d56897dc0b5709e6c6c080c

    • -185
    • +65
    ./TreeNodeInfos/HeightStructuresCalculationContextTreeNodeInfoTest.cs
    • -216
    • +96
    ./TreeNodeInfos/HeightStructuresCalculationGroupContextTreeNodeInfoTest.cs
    • -175
    • +79
    ./TreeNodeInfos/HeightStructuresFailureMechanismContextTreeNodeInfoTest.cs
  1. … 1 more file in changeset.
Changed type of *WidthFlowApertures* (Breedte van doorstroomopening) from CoefficientOfVariation to StandardDeviation note: storage change (names of the columns) has not yet been executed

Removed Application.Ringtoets/Application.Ringtoets.csproj post build action, which was needed for MSBuild2015

Related to Issue [WTI-1102]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_4@7773 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 9a076019f5caf170d779ad16f8f1c8188e9a39a3

Former-commit-id: 068fa68d9844c31b4cd81c4ff74cb1f47ab2d245

    • -1
    • +1
    ./PropertyClasses/HeightStructurePropertiesTest.cs
  1. … 60 more files in changeset.
* Defined BruTileLayer with WMTS connectivity. ** Classes based on https://github.com/FObermaier/DotSpatial.Plugins * Note: app.config added bu Nuget. Probably in order to resolve BruTile.Desktop dependency on an older version of SQLite, which i've set to ignore the dependency on the old SQLite. Related to Issue [WTI-1088]

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

Former-commit-id: f9fc0e320eea992e04250addb23b310f9b348a02

Former-commit-id: 8f2ecf22a1d5ec3cea0f1d7d342b882b5e6e78e7

    • -0
    • +1
    ./Ringtoets.HeightStructures.Forms.Test.csproj
  1. … 210 more files in changeset.
Changes after review. Related to Issue [WTI-300]

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

Former-commit-id: ea2d1b3d94f400611cebf468592996b33ce82917

Former-commit-id: 8d709484994cc3ed6ffdab9b6181f15e732e8674

    • -3
    • +3
    ./Views/HeightStructuresFailureMechanismViewTest.cs
  1. … 8 more files in changeset.
Changes after review. Related to Issue [WTI-300]

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

Former-commit-id: 62f404e1e8cdd4248cb5f2942bab1bc49ec8745c

Former-commit-id: 8e6fc0fcb3ae021ff643dc591feda79a186690ed

    • -39
    • +3
    ./Views/HeightStructuresFailureMechanismViewTest.cs
  1. … 12 more files in changeset.
replaced dynamicPropertyBag.GetProperties calls using BrowsableAttribute.Yes with PropertiesTestHelper.GetAllVisiblePropertyDescriptors. Related to Issue [WTI-1080]

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

Former-commit-id: 7926c1e6e6d633e6adf53623745ddc2c4d94bc4f

Former-commit-id: b3846f8b124cc30c09fe43a5de7498aa2a2aebac

    • -5
    • +2
    ./PropertyClasses/HeightStructurePropertiesTest.cs
  1. … 15 more files in changeset.
- Made sure features are not added when foreshore profiles don't have geometries. - Refactored tests. Related to Issue [WTI-300]

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

Former-commit-id: 0936e93f6fc8aba5e1113123cd618f7157455344

Former-commit-id: 92f672fdae074dd04dd2e654beabe5f103586812

    • -42
    • +76
    ./Views/HeightStructuresFailureMechanismViewTest.cs
  1. … 14 more files in changeset.
* Introduced WmtsMapData class * Extended AssessmentSection with BackgroundMapData property. * AssessmentSection.BackgroundMapData exposed in project tree. * Refactoring common code for test stub implementation of IAssessmentSection. Related to Issue [WTI-1085]

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

Former-commit-id: d2fbeb9b138f4410f10feba12b416b00984a3bfb

Former-commit-id: a51d7b249c1e2a0257b91407dbef3ebeaf964c5c

    • -41
    • +17
    ./Views/HeightStructuresFailureMechanismViewTest.cs
  1. … 45 more files in changeset.
Added some missing license header files. Renamed tests to match what is tested. Related to Issue [WTI-972]

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

Former-commit-id: 8cd2e7edf77f423240cb5eda122e5e7db0e70027

Former-commit-id: 2c9fbc42be8a55eaa73ece30b8905fab3c42a1d4

    • -2
    • +2
    ./PropertyClasses/HeightStructuresFailureMechanismPropertiesTest.cs
  1. … 14 more files in changeset.
Added changehandler call from StabilityPointStructuresFailureMechanismProperties. Introduced constructor parameters for StabilityPointStructuresFailureMechanismProperties. Related to Issue [WTI-974]

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

Former-commit-id: a670b565a1dc408222b91fe217e198227e93259b

Former-commit-id: 3226913a6a51353107cc2ec6e4e287482c953360

    • -0
    • +2
    ./PropertyClasses/HeightStructuresFailureMechanismPropertiesTest.cs
  1. … 9 more files in changeset.