Ringtoets.HeightStructures.IO.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adding test data Related to Issue [WTI-1162]

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

Former-commit-id: 666f5f3aef07c5d0f003c2d0201bf5ea8e612f0c

Former-commit-id: b9a4206199d1a6d0f9e26fa506683aabd39b93fa

removed validation of stochast parameters during read (done in importer) Related to Issue [WTI-1162]

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

Former-commit-id: f827df80e8873d4c5b4bf55e44d1dcf38f5ccbb4

Former-commit-id: 945ed74b005636ee3f844bce90cb14a03c69a860

    • -0
    • +17
    ./Configurations/HeightStructuresCalculationConfigurationImporterTest.cs
  1. … 8 more files in changeset.
Merged MeanStandardDeviationStochastConfiguration and MeanVariationCoefficientStochastConfiguration into one StochastConfiguration object. Related to Issue [WTI-1162]

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

Former-commit-id: 2112c029bede69ad1ead26d02fc349abd2bbaba0

Former-commit-id: af848492741d39198569c3f16f1699e28204b30e

    • -1
    • +1
    ./Configurations/HeightStructuresCalculationConfigurationTest.cs
    • -8
    • +8
    ./Configurations/HeightStructuresCalculationConfigurationWriterTest.cs
  1. … 55 more files in changeset.
Removed "Wrong culture" tests for CalculationConfigurationReaders, because the XML type "Double" is culture invariant. A test to validate '0,5' as a Double is therefore always invalid. Since these tests already have a similar test containing a string value, the 'WrongCulture' tests are obsolete.

Source:

https://www.w3.org/TR/xmlschema-2/#double

"decimal has a lexical representation consisting of a finite-length sequence of decimal digits (#x30-#x39) separated by a period as a decimal indicator.

...

double values have a lexical representation consisting of a mantissa followed, optionally, by the character "E" or "e", followed by an exponent.

... The representations for exponent and mantissa must follow the lexical rules for integer and decimal."

Related to Issue [WTI-1166]

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

Former-commit-id: b75df33f17d7cf9c77ae41211458eaff81582a7e

Former-commit-id: 9f23ef3f782092a618f0d74263620e55801e2f8d

    • -22
    • +4
    ./Configurations/HeightStructuresCalculationConfigurationReaderTest.cs
  1. … 31 more files in changeset.
Implemented importing of properties from Closing Structures configurations. Related to Issue [WTI-1170]

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

Former-commit-id: 467f5ca8ef3c9001604a047c33c89bf8a36ad1de

Former-commit-id: e24ac1941e69f292ecccbbdf3c300d717444ea7b

    • -3
    • +3
    ./Configurations/HeightStructuresCalculationConfigurationImporterTest.cs
  1. … 44 more files in changeset.
moved the IO classes in HeightStructures.IO related to importing and exporting Configurations in a separate folder. Fixed doc + cleanup. Related to Issue [WTI-1169]

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

Former-commit-id: ce5cf57e97c3d969b064aa437af3cfb4bf512869

Former-commit-id: c5687dfb3472f77d1b61ce4b18d4cb01ef6653c7

    • -0
    • +237
    ./Configurations/HeightStructuresCalculationConfigurationExporterTest.cs
    • -0
    • +517
    ./Configurations/HeightStructuresCalculationConfigurationImporterTest.cs
    • -0
    • +484
    ./Configurations/HeightStructuresCalculationConfigurationReaderTest.cs
    • -0
    • +69
    ./Configurations/HeightStructuresCalculationConfigurationTest.cs
    • -0
    • +170
    ./Configurations/HeightStructuresCalculationConfigurationWriterTest.cs
    • -236
    • +0
    ./HeightStructuresCalculationConfigurationExporterTest.cs
    • -516
    • +0
    ./HeightStructuresCalculationConfigurationImporterTest.cs
    • -483
    • +0
    ./HeightStructuresCalculationConfigurationReaderTest.cs
    • -68
    • +0
    ./HeightStructuresCalculationConfigurationTest.cs
    • -169
    • +0
    ./HeightStructuresCalculationConfigurationWriterTest.cs
    • -5
    • +5
    ./Ringtoets.HeightStructures.IO.Test.csproj
  1. … 18 more files in changeset.
Merged IDistributionExtensions and IVariationCoefficientDistributionExtensions (Both of each) in one DistributionConversionExtensions class. Added missing test to ConfigurationClosingStructureInflowModelTypeConverterTest. Extracted resources from HeightStructuresCalculationConfigurationImporter. Cleanup and doc improvements Related to Issue [WTI-1163]

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

Former-commit-id: 429a51c2c638a92daed6dd430c0a4e4ebe5277d8

Former-commit-id: 707b17488ee93363856f5b41df6f9df4a82868ae

    • -5
    • +5
    ./HeightStructuresCalculationConfigurationImporterTest.cs
  1. … 23 more files in changeset.
Implemented reader for closing structures calculation configurations. For height structures calculations configuration reader tests, added values for stochasts variation coefficient/standard deviation where not present, because not importing this is not the responsibility of the reader. This makes the tests more representative for the purpose of the reader. Related to Issue [WTI-1169]

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

Former-commit-id: e044c6b9a1faaaa1fcf703d7ffe82ad36ee2160c

Former-commit-id: b95da4738f69027ebb50cb8cff127a1a6ad328d1

    • -10
    • +9
    ./HeightStructuresCalculationConfigurationReaderTest.cs
  1. … 89 more files in changeset.
Renamed SchemaBreakWaterTypeConverter to ConfigurationBreakWaterTypeConverter Implemented ConfigurationClosingStructureInflowModelTypeConverter Implemented ClosingStructuresCalculationConfigurationWriter Related to Issue [WTI-1168]

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

Former-commit-id: 9d4353a489fa9caa36986ef04d180df172eaf598

Former-commit-id: c35ffe6f8e72b8c778affb33d9e8ffd0fc1bbec5

    • -18
    • +18
    ./HeightStructuresCalculationConfigurationWriterTest.cs
  1. … 23 more files in changeset.
Renamed SchemaBreakWaterType to ConfigurationBreakWaterType because this better matches the configuration prefixes and suffixed that are used throughout the codebase. Added ClosingStructuresCalculationConfiguration and ConfigurationClosingStructureInflowModelType which will contain data to be imported/exported for closing structures failure mechanism calculations. Related to Issue [WTI-1168]

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

Former-commit-id: fee8f167410c497691643819374cfbbc41ea075b

Former-commit-id: 5a998957410ea17ee360f41779a8735a75bc4bda

    • -1
    • +1
    ./HeightStructuresCalculationConfigurationReaderTest.cs
    • -1
    • +1
    ./HeightStructuresCalculationConfigurationWriterTest.cs
  1. … 31 more files in changeset.
Implemented importer of StructuresCalculation<HeightStructure> configurations. Added IVariationCoefficientDistributionExtensions for setting parameters of IVariationCoefficientDistribution from configurations. Related to Issue [WTI-1163]

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

Former-commit-id: 801f15d077c2033cffed8ce4b94c2b330bd5cae7

Former-commit-id: aed6b2c34fcafba66707200ce2b01c21ac9acb4a

    • -0
    • +516
    ./HeightStructuresCalculationConfigurationImporterTest.cs
    • -0
    • +1
    ./Ringtoets.HeightStructures.IO.Test.csproj
  1. … 31 more files in changeset.
Added StabilityPointStructuresCalculationConfiguration Updated XMLdoc and added test for HeightStructuresCalculationConfiguration(null) Related to Issue [WTI-1165]

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

Former-commit-id: dc7189dc52ed72af938ff3cf0a54154440fa881a

Former-commit-id: 4640876bfb08879581fec06dede3a1ecc617b853

    • -0
    • +11
    ./HeightStructuresCalculationConfigurationTest.cs
  1. … 5 more files in changeset.
Renamed ReadBreakWaterType to SchemaBreakWaterType. Separated helper classes from configuration classes. Implemented conversion from BreakWaterType to SchemaBreakWaterType and reverse. Related to Issue [WTI-1161]

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

Former-commit-id: fa3b82400f902b82fb07e059ffd31689dadddd63

Former-commit-id: 932c47c26ec024c71922d6d551d4fddb5cc4ce38

    • -2
    • +4
    ./HeightStructuresCalculationConfigurationExporterTest.cs
    • -1
    • +1
    ./HeightStructuresCalculationConfigurationReaderTest.cs
    • -1
    • +1
    ./HeightStructuresCalculationConfigurationWriterTest.cs
  1. … 36 more files in changeset.
Rename of CalculationConfigurationGroup to CalculationGroupConfiguration as the latter is more consistent. Related to Issue [WTI-1161]

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

Former-commit-id: b4b934e9651c2d2326c7b1b300cf381674ef91d7

Former-commit-id: f32c649b2d887c504262b897f0dfa694dc14a747

    • -2
    • +2
    ./HeightStructuresCalculationConfigurationWriterTest.cs
  1. … 10 more files in changeset.
Implemented parsing of calculation element for height structures, fixed tests and added tests. Related to Issue [WTI-1162]

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

Former-commit-id: e16be582770c247f04e95357800d833eeb16050b

Former-commit-id: b387172ee52037b0fb18c08f48b575236d218e7a

    • -4
    • +256
    ./HeightStructuresCalculationConfigurationReaderTest.cs
  1. … 2 more files in changeset.
Prepared invalid test data for HeightStructuresCalculationConfigurationReader. Unfinished implementation of the HeightStructuresCalculationConfigurationReader added. Related to Issue [WTI-1162]

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

Former-commit-id: 1e27c7785b6b96e006be7f9505fa80cddd794ef9

Former-commit-id: ae2d52f74cab348c153a22552347019d5ae0620f

    • -57
    • +0
    ./HeightStructureCalculationConfigurationTest.cs
    • -1
    • +1
    ./HeightStructuresCalculationConfigurationExporterTest.cs
    • -0
    • +232
    ./HeightStructuresCalculationConfigurationReaderTest.cs
    • -0
    • +57
    ./HeightStructuresCalculationConfigurationTest.cs
    • -6
    • +6
    ./HeightStructuresCalculationConfigurationWriterTest.cs
    • -1
    • +2
    ./Ringtoets.HeightStructures.IO.Test.csproj
  1. … 66 more files in changeset.
Fix in testdata Related to Issue [WTI-1161]

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

Former-commit-id: 1a691b0db8e9ea4b2ffc15b3e6f1c21de5dc355e

Former-commit-id: 3fd61c4b9e69712a03c39da3f2f2b0c3708baf86

    • -1
    • +1
    ./HeightStructuresCalculationConfigurationWriterTest.cs
  1. … 1 more file in changeset.
Added testdata

Related to Issue [WTI-1161]

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

Former-commit-id: 278813c6da94969feea86690c1346c852c5274e9

Former-commit-id: 19266115cff1719e518f7b6d99d8d8a4fc77986a

Implemented context menu export item for calculation and groups in height structures failure mechanism. Added test cases for the exporter. Related to Issue [WTI-1161]

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

Former-commit-id: 100c942d9ee5573de96690bee1ead91dba31e74f

Former-commit-id: f5bb0de92ffa420d589c66837f37a19ccde46503

    • -40
    • +119
    ./HeightStructuresCalculationConfigurationExporterTest.cs
  1. … 9 more files in changeset.
fixed test for writing height calculation configuration Related to Issue [WTI-1161]

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

Former-commit-id: 7363041de03f369088b8ae0848ea83f0890c740c

Former-commit-id: cef9bb7f85db84aa7da9cfa1dbc7933eb09cb368

    • -4
    • +4
    ./HeightStructuresCalculationConfigurationWriterTest.cs
Refactored exporter / writer structure so that an actual writer can be used in the exporter instead of a less robust extension method approach. Related to Issue [WTI-1161]

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

Former-commit-id: 346c098d73f03d6d9f17ae31c61d501bfd563ace

Former-commit-id: 1ee1691764af1dbdd09945f2c06ea8a49687a687

    • -0
    • +155
    ./HeightStructuresCalculationConfigurationExporterTest.cs
    • -0
    • +169
    ./HeightStructuresCalculationConfigurationWriterTest.cs
    • -146
    • +0
    ./HeightStructuresCalculationConfigurationXmlWriterExtensionsTest.cs
    • -1
    • +10
    ./Ringtoets.HeightStructures.IO.Test.csproj
  1. … 43 more files in changeset.
Implemented XmlWriter extensions for writing out HeightStructureCalculationConfiguration to XML. Related to Issue [WTI-1161]

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

Former-commit-id: ed724628a4c1e59c13ff9fa0d56b5636f2405e98

Former-commit-id: cd1fcfd9103d6d6a0081a98cfb129f2f658bab00

    • -0
    • +57
    ./HeightStructureCalculationConfigurationTest.cs
    • -0
    • +146
    ./HeightStructuresCalculationConfigurationXmlWriterExtensionsTest.cs
    • -0
    • +11
    ./Ringtoets.HeightStructures.IO.Test.csproj
  1. … 14 more files in changeset.
* Refactored all mentions of value ranges in Resources throughout the solution and replaced those by injecting instances of Range. ** This solution supports globalization of the application better. Related to Issue [WTI-1131]

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

Former-commit-id: 538fdcf21635994ca70269397fc37237a4788338

Former-commit-id: a4d242b68c1b86b5416cc9059c9fdc072ca06270

  1. … 13 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.IO.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. … 69 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. … 59 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.HeightStructures.IO.Test.csproj
  1. … 219 more files in changeset.
used lower case after colon when using FileReaderErrorMessageBuilder. Added FirstToLower method in StringExtensions. Related to Issue [WTI-948]

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

Former-commit-id: e9d3cccc3d91f565fc53bdfffabb2449c517437e

Former-commit-id: b80c97fbcc39c0000d0348fb5fa4591371f53bed

  1. … 58 more files in changeset.
(Editorial) - Added missing license headers - Reformatted some of the *.config files in case no return was present between the XML header and license information

Related to Issue [WTI-931]

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

Former-commit-id: 5dfd4dc63c35031adc767ea3a2c4f4e24d7ed898

Former-commit-id: 0f3568dc4158e992538fd5781ff0ab0d52355d37

  1. … 41 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.HeightStructures.IO.Test.csproj
  1. … 97 more files in changeset.