Ringtoets.ClosingStructures.Data.TestUtil.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merged revision(s) 9599, 9601 from trunk: - Changed matching criteria for the DikeProfile from a CalculationConfiguration from a Name to an ID for the importers - Introduced teststructure objects that allow setting an ID - Updated XMLDocs - Updated affected parameternames Related to WTI 1269

........

- Changed matching criteria for the XStructures from a CalculationConfiguration from a Name to an ID for the Writer

- Renamed parameter to clarify intent

- Updated resource value to be consistent with the DikeProfile implementation

- Adjusted affected tests

Related to WTI 1269

........

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/17_1@9605 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 6117c8b29ddd23ef032c28a9a5ee57e34850f701

Former-commit-id: 2f3b2967b9e3e63c3cec0643ed03a1a26f7ff1a4

  1. … 38 more files in changeset.
- Changed matching criteria for the DikeProfile from a CalculationConfiguration from a Name to an ID for the importers - Introduced teststructure objects that allow setting an ID - Updated XMLDocs - Updated affected parameternames Related to Issue [WTI-1259]

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

Former-commit-id: b0df0c34d55c5236dc0642a9be55e0ec835ca2d7

Former-commit-id: 7d2f25cff4652ef67a14915a281fa123cc5cfb35

  1. … 12 more files in changeset.
Updated license headers in closing structures. Related to Issue [WTI-1242]

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

Former-commit-id: 5a03cb1d99896451fdd116fd91f43111326d522e

Former-commit-id: 7ea0ca69c2c9e8c84762f009465b4ae31b5d2ca6

    • -1
    • +1
    ./TestClosingStructureCalculationTest.cs
    • -1
    • +1
    ./TestClosingStructuresFailureMechanismTest.cs
  1. … 113 more files in changeset.
Code cleanup: Ringtoets.ClosingStructures Ringtoets.HeightStructures Ringtoets.StabilityPointStructures Related to Issue [WTI-1242]

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

Former-commit-id: 3f4503acaaefd0ce6c0cedf203052514f2e4c106

Former-commit-id: 0b20cb147ebd8f29f45b7034e47a99711b0e3187

  1. … 109 more files in changeset.
Review related changes Related to Issue [WTI-1059]

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

Former-commit-id: 9921b10380fde6456180e3da127e317554fde067

Former-commit-id: 757b0f388091c352a0bdbf741db35f7a361e2aa6

    • -2
    • +24
    ./TestClosingStructuresFailureMechanismTest.cs
  1. … 19 more files in changeset.
Added contribution validation for structures failure mechanisms Related to Issue [WTI-1059]

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

Former-commit-id: 7a609e01770ea1f08163eb5137836628e9c5ff63

Former-commit-id: 2455b688acec17aeec5ea2d0834b7171e63d96e3

    • -0
    • +1
    ./Ringtoets.ClosingStructures.Data.TestUtil.Test.csproj
    • -0
    • +18
    ./TestClosingStructuresFailureMechanismTest.cs
  1. … 24 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.ClosingStructures.Data.TestUtil.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. … 70 more files 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. … 60 more files in changeset.
- Upgraded Project ToolsVersion="4.0" to ToolsVersion="14.0" - Ignored ".vs" folder in trunk paired with tang_ds

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

Former-commit-id: beca2918e38aa1e3900b6bc17a0df7e8d1f9c8e3

Former-commit-id: 681a7a3764b91f67e1e97dc0d30f930c901276e0

    • -1
    • +1
    ./Ringtoets.ClosingStructures.Data.TestUtil.Test.csproj
  1. … 219 more files in changeset.
* Changed ClosingStructure.ProbabilityOpenStructureBeforeFlooding to ProbabilityOrFrequencyOpenStructureBeforeFlooding, as it's not a probability value. ** Updated related validation methods as well. * Changed validation for the above parameter such at values greater than 1 are accepted during the import. * Improved validation during import for LogNormalDistribution.Mean, guarding validating that the value must be greater than 0.

Related to Issue [WTI-1029]

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

Former-commit-id: 1feb3919c0a6ae5bea7ad1d22866bd5bf17f6cff

Former-commit-id: 4042c706d0d3e8e43598a9f73c35bb3418574e2e

    • -1
    • +1
    ./TestClosingStructureCalculationTest.cs
  1. … 37 more files in changeset.
* Moved HydraulicBoundaryLocation and related classes from HydraRing.Data to Ringtoets.Common.Data\Hydraulics * Removed HydraRing.Data and related test projects. * Moved importer related test data from HydraRing.IO to Ringtoets.Common.IO Related to Issue [WTI-988]

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

Former-commit-id: 17347220df48d78521b65d257dde9b4ffdace273

Former-commit-id: dc5ddfa6d8f3719bd2dd4a2f62ed94f98f962499

    • -4
    • +0
    ./Ringtoets.ClosingStructures.Data.TestUtil.Test.csproj
  1. … 426 more files in changeset.
Renamed Commentable.Comments to Comment.Body Related to Issue [WTI-983]

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

Former-commit-id: cdeaf9685c9c6b52624d8a755a52835936a0564e

Former-commit-id: 0f2d7929b9cd815fcd65770b767b001efca4e49b

    • -1
    • +1
    ./TestClosingStructureCalculationTest.cs
  1. … 108 more files in changeset.
- Removed ICommentable from ICalculation and replaced it with a Commentable property Related to Issue [WTI-983]

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

Former-commit-id: d58e8379d2a7a2ac41eb68aec287b032b325ed7d

Former-commit-id: 85de1e68b87e73b7e36e44ada2077190b55de29a

    • -1
    • +1
    ./TestClosingStructureCalculationTest.cs
  1. … 68 more files in changeset.
- Check the code coverage configuration of the trunk Related to Issue [WTI-931]

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

Former-commit-id: 60655265b27b5521f0a53b0998b9ce77e069342f

Former-commit-id: e0560a24c08e4583c331a82ea5348baac1a32bfe

    • -0
    • +1
    ./Ringtoets.ClosingStructures.Data.TestUtil.Test.csproj
  1. … 97 more files in changeset.
Deltares clean-up for Demo and Ringtoets.ClosingStructures Related to Issue [WTI-931]

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

Former-commit-id: 6d9cbf33f673a9fc02f238e6bc59877b871277db

Former-commit-id: 436f5d6c5a25e7fd20bd93ae2077b05e5abaf038

  1. … 11 more files in changeset.
* Hide particular properties from PropertyGridView, dependent on ModelType of ClosingStructure calculation. Related to Issue [WTI-923]

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

Former-commit-id: 6c5790e816fc03ee0476fc7b00f984a25ed99247

Former-commit-id: 9a549599ed680b9cbd84bc895ecd5b9e1d9b4939

  1. … 4 more files in changeset.
Generalized three structures Calculations to StructuresCalculation class. Related to Issue [WTI-594]

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

Former-commit-id: a8405ee298bf3c641f426352c072744f2e3685cb

Former-commit-id: 5968cf3a46e1b19065199c498dbd525ef5f26552

    • -1
    • +2
    ./TestClosingStructureCalculationTest.cs
  1. … 93 more files in changeset.
Connecting ClosingStructureCalculationActivity with relevant services: - Implemented functionality in the plugin as specified by the CalculationContextTreeNodeInfoTests (Note: one function is still missing) - Added basic functionality for the validation of input parameters: validate hydraulic boundary location and DB connection - Renamed inconsistent names in the ClosingStructuresCalculationServiceTest - Adjusted TestClosingStructuresCalculation: one probability value was uninitialized

Related to Issue [WTI-554]

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

Former-commit-id: d67f48b0cf39e9911bf89af66c4c9d59d2180130

Former-commit-id: 0985bcd17011fc22fb933332858adc5420bc039e

    • -0
    • +1
    ./TestClosingStructureCalculationTest.cs
  1. … 8 more files in changeset.
Connecting ClosingStructureCalculationActivity with relevant services: - Introduced ClosingStructuresHelper to retrieve the FailureMechanismSection for the calculation (exact copy as its HeightStructure equivalent) - Introduced ClosingStructureDataSynchronizationService for clearing data (exact copy as its HeightStructure equivalent) - Extended TestClosingStructure: location and name can be given as constructor parameters - Extended ClosingStructuresCalculationActivity

Related to Issue [WTI-554]

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

Former-commit-id: d012afdfbe58a814a251ec14ee1f7fda3a692f9b

Former-commit-id: d0160bbe79591388194164d3b6d3ae6a1c3c23d8

  1. … 17 more files in changeset.
Connecting Hydraring: - Initialized all NaN values to valid numbers in the TestClosingStructuresCalculation - Probability parameters that were set as a deterministic variable for the Hydraring output are now set as a NormalDistribution with a standard deviation of 0 to prevent Hydraring from crashing. (paired with kleijn)

Related to Issue [WTI-554]

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

Former-commit-id: 21ebca6b1f6de067816f3d92688646e3777ff0ef

Former-commit-id: f313479fa5381ba6313c875820237bf09d6c77fd

    • -0
    • +5
    ./TestClosingStructureCalculationTest.cs
  1. … 9 more files in changeset.
Connecting Hydraring: - Added IStructuresClosureCalculator to the HydraRingCalculatorFactory and TestHydraRingCalculatorFactory - Overloaded AreEqual method to assess Hydraring StructuresClosureInput

Added ClosingStructuresCalculationService:

- Input feedthrough created for vertical wall

Related to Issue [WTI-554]

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

Former-commit-id: a18caebf7a86a0477f185121f157329d0d7b5e2d

Former-commit-id: a1b3d86ee680cd975e669ea4ecda0f6eab1307cd

    • -1
    • +1
    ./TestClosingStructureCalculationTest.cs
  1. … 11 more files in changeset.
Connecting Hydraring: - Added IStructuresClosureCalculator to the HydraRingCalculatorFactory

Test objects

- Added a TestClosingStructureCalculation object with a default hydraulic boundary location and closure structure. This object is a valid calculation when it is run through the Validation method

Related to Issue [WTI-554]

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

Former-commit-id: 0fa0621c88a2fc6e2beb0a65f36ecb096f6828a3

Former-commit-id: 934f7664bcd8a2faae39eee5d03c712b3b396ca2

    • -0
    • +9
    ./Ringtoets.ClosingStructures.Data.TestUtil.Test.csproj
    • -0
    • +66
    ./TestClosingStructureCalculationTest.cs
  1. … 4 more files in changeset.
* Improved Xml docs. * Removed unused resources. * Introduced PropertiesTestHelper. * Improved test coverage. * Renamed *DistributionVariationProperties to VariationCoefficient*DistributionProperties. * Improved value conversion in StructureImporters (read value is more explicit). * Added missing license headers. * Improved error message for IDistribution.StandardDeviation (is now consistent with actual check). * Renamed some test data files to be consistent with our naming conventions. Related to Issue [WTI-631]

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

Former-commit-id: d8ad6a2d231966045269b63805204d4600ebebad

Former-commit-id: 08cdd918da2a2cacb6afd897f4c1a21292ddac5a

  1. … 82 more files in changeset.
Changed RoundedDouble into double for probability related properties in structures Related to Issue [WTI-556]

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

Former-commit-id: 7adb5a4e0e220ba677ea255ba87e0c3b3653b9e2

Former-commit-id: 8094e7aabdddcaa8c6a629f08939832da5269857

  1. … 7 more files in changeset.
* Fixed typo in file headers (AlphanumeriekeWaarde -> AlfanumeriekeWaarde) * Fixed failing tests (incorrect expectations) Related to Issue [WTI-631]

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

Former-commit-id: 55bfc05d6863125a62fe3803a61ea0598d10f1c7

Former-commit-id: 718083e6b5351dec9e8ea09c5fac763b24915e7a

  1. … 48 more files in changeset.
* Refactored constructor for ClosingStructure to have ConstructionProperties as parameter. Related to Issue [WTI-631]

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

Former-commit-id: ab06fa68d6d01a69d4d22a6be1e5e83a637d84e3

Former-commit-id: 578cac758331c36f1530112400a6a5cc3b2136f3

    • -0
    • +27
    ./Properties/AssemblyInfo.cs
    • -0
    • +86
    ./Ringtoets.ClosingStructures.Data.TestUtil.Test.csproj
    • -0
    • +125
    ./TestClosingStructureTest.cs
  1. … 13 more files in changeset.