Ringtoets.HeightStructures.Forms.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Setting usage of MapDataTestHelper.AssertWmtsMapData to MapDataTestHelper.AssertImageBasedMapData Related to Issue [WTI-1143]

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

Former-commit-id: 9982d7fd7a76f8451378191759c8010117e0ea1e

Former-commit-id: 113b632d7f3bc0d8cca2558186b63424c733bb18

    • -3
    • +3
    ./Views/HeightStructuresFailureMechanismViewTest.cs
  1. … 12 more files in changeset.
Renamed BackgroundMapData to BackgroundData Related to Issue [WTI-1141]

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

Former-commit-id: 2715b971cffb03ad61647c566bb60be9cfe3fcef

Former-commit-id: 6b63bb411db0a974cd8d67ba6954b2bb80b8b0d4

    • -10
    • +10
    ./Views/HeightStructuresFailureMechanismViewTest.cs
  1. … 52 more files in changeset.
Merged revision(s) 8572, 8581, 8593, 8601, 8607, 8611, 8615, 8617, 8619, 8624-8625, 8627-8628, 8630-8631, 8633-8635, 8641-8643, 8647, 8649-8650 from branches/WTI-1141 Related to Issue [WTI-1141]

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

Former-commit-id: 1f8acde332b8f0093e5d9c93d5eba74d24692029

Former-commit-id: f63e245456af04dad5d1b878dac1101794edb8bd

    • -1
    • +32
    ./Views/HeightStructuresFailureMechanismViewTest.cs
  1. … 54 more files in changeset.
Extended view tests *Data_EmptyFailureMechanismContext_* with an assert that the background MapData is equal to the AssessmentSection's background

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

Former-commit-id: f4add32bcb45011c59bad9bc3b3eed9626554638

Former-commit-id: d82a84e1028b7491c7e46f6a14e4ee159c209c96

    • -0
    • +3
    ./Views/HeightStructuresFailureMechanismViewTest.cs
  1. … 10 more files in changeset.
Removed background container property from MapControl

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

Former-commit-id: 6c01aa225acddb5303d9cc602072d9d986db0302

Former-commit-id: ee6fc7030423976df42de108c0036c4aa069b64e

    • -2
    • +2
    ./Views/HeightStructuresFailureMechanismViewTest.cs
  1. … 24 more files in changeset.
* renamed method Related to Issue [WTI-1051]

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

Former-commit-id: b701630a317cddc0076ad16fbe620c72a57d9c69

Former-commit-id: 94cd757336ad305f557dfcf3913928763fa90553

    • -1
    • +1
    ./PropertyClasses/HeightStructuresInputContextPropertiesTest.cs
  1. … 4 more files in changeset.
Set new BackgroundMapData in HeightStructuresFailureMechanismView

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

Former-commit-id: e11e9130e53302f03dc41c855d38e3239a700984

Former-commit-id: 2a12c096b7814c78af892d10b142a16ff7239887

    • -1
    • +29
    ./Views/HeightStructuresFailureMechanismViewTest.cs
  1. … 1 more file in changeset.
used AssertRequiredPropertyDescriptorProperties in structure input property tests. Related to Issue [WTI-1051]

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

Former-commit-id: 5775d456378019d56fa6382206c3fe19621a31d1

Former-commit-id: 776eefd5faa86aa3371f4224641b36e45319605a

    • -3
    • +6
    ./PropertyClasses/HeightStructuresInputContextPropertiesTest.cs
  1. … 2 more files in changeset.
Added DistributionPropertiesTestHelper to help with asserting the subproperties of Distribution properties objects. Used them in the structure property classes. Related to Issue [WTI-1051]

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

Former-commit-id: aa7a69e79bc2d25253356b86773c8a0574d78f6b

Former-commit-id: 01003ad77598a0fa2a4fa2b6fd1228829ef9dfc3

    • -10
    • +1
    ./PropertyClasses/HeightStructuresInputContextPropertiesTest.cs
  1. … 6 more files in changeset.
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.