Index: Ringtoets/Common/src/Ringtoets.Common.IO/FileImporters/CalculationConfigurationImporter.cs
===================================================================
diff -u -rba686f1e57553487d9e0d2ce1e8547b55a162947 -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Common/src/Ringtoets.Common.IO/FileImporters/CalculationConfigurationImporter.cs (.../CalculationConfigurationImporter.cs) (revision ba686f1e57553487d9e0d2ce1e8547b55a162947)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/FileImporters/CalculationConfigurationImporter.cs (.../CalculationConfigurationImporter.cs) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -23,7 +23,6 @@
using System.Collections.Generic;
using System.Linq;
using Core.Common.Base.IO;
-using Core.Common.IO.Exceptions;
using Core.Common.IO.Readers;
using log4net;
using Ringtoets.Common.Data.Calculation;
@@ -41,7 +40,7 @@
/// The type of the data read from the XML file by the reader.
public abstract class CalculationConfigurationImporter
: FileImporterBase
- where TConfigurationReader : ConfigurationReader
+ where TConfigurationReader : CalculationConfigurationReader
where TReadCalculation : class, IReadConfigurationItem
{
private static readonly ILog log = LogManager.GetLogger(typeof(CalculationConfigurationImporter));
Index: Ringtoets/Common/src/Ringtoets.Common.IO/Readers/CalculationConfigurationReader.cs
===================================================================
diff -u
--- Ringtoets/Common/src/Ringtoets.Common.IO/Readers/CalculationConfigurationReader.cs (revision 0)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/Readers/CalculationConfigurationReader.cs (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,234 @@
+// Copyright (C) Stichting Deltares 2016. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Xml;
+using System.Xml.Linq;
+using System.Xml.Schema;
+using Core.Common.Base.IO;
+using Core.Common.Utils;
+using Core.Common.Utils.Builders;
+using Ringtoets.Common.IO.Properties;
+using Ringtoets.Common.IO.Schema;
+using CoreCommonUtilsResources = Core.Common.Utils.Properties.Resources;
+
+namespace Ringtoets.Common.IO.Readers
+{
+ ///
+ /// Base class for reading a configuration from XML and creating a collection of corresponding
+ /// , typically containing one or more .
+ ///
+ /// The type of calculation items read from XML.
+ public abstract class CalculationConfigurationReader
+ where TReadCalculation : IReadConfigurationItem
+ {
+ private const string defaultSchemaName = "ConfiguratieSchema.xsd";
+
+ private readonly XDocument xmlDocument;
+
+ ///
+ /// Creates a new instance of .
+ ///
+ /// The file path to the XML file.
+ /// A string representing the main schema definition.
+ /// A containing
+ /// zero to more nested schema definitions. The keys should represent unique file names by which
+ /// the schema definitions can be referenced from ; the
+ /// values should represent their corresponding schema definition string.
+ /// Thrown when
+ /// is null.
+ /// Thrown when:
+ ///
+ /// - is invalid.
+ /// - is invalid.
+ /// - contains invalid schema definition values.
+ /// - , all together with its referenced
+ /// , contains an invalid schema definition.
+ /// - contains schema definitions that are not
+ /// referenced by .
+ /// - does not reference the default schema definition
+ /// ConfiguratieSchema.xsd.
+ ///
+ ///
+ /// Thrown when:
+ ///
+ /// - points to a file that does not exist.
+ /// - points to a file that does not contain valid XML.
+ /// - points to a file that does not pass the schema validation.
+ /// - points to a file that does not contain configuration elements.
+ ///
+ ///
+ protected CalculationConfigurationReader(string xmlFilePath, string mainSchemaDefinition, IDictionary nestedSchemaDefinitions)
+ {
+ IOUtils.ValidateFilePath(xmlFilePath);
+
+ ValidateFileExists(xmlFilePath);
+
+ xmlDocument = LoadDocument(xmlFilePath);
+
+ ValidateToSchema(xmlDocument, xmlFilePath, mainSchemaDefinition, nestedSchemaDefinitions);
+
+ ValidateNotEmpty(xmlDocument, xmlFilePath);
+ }
+
+ ///
+ /// Reads the configuration from the XML and creates a collection of corresponding .
+ ///
+ /// A collection of read .
+ public IEnumerable Read()
+ {
+ return ParseElements(xmlDocument.Root?.Elements());
+ }
+
+ ///
+ /// Parses a read calculation element.
+ ///
+ /// The read calculation element to parse.
+ /// A parsed .
+ protected abstract TReadCalculation ParseCalculationElement(XElement calculationElement);
+
+ ///
+ /// Validates whether a file exists at the provided .
+ ///
+ /// The file path to validate.
+ /// Thrown when no existing file is found.
+ private static void ValidateFileExists(string xmlFilePath)
+ {
+ if (!File.Exists(xmlFilePath))
+ {
+ string message = new FileReaderErrorMessageBuilder(xmlFilePath)
+ .Build(CoreCommonUtilsResources.Error_File_does_not_exist);
+
+ throw new CriticalFileReadException(message);
+ }
+ }
+
+ ///
+ /// Loads an XML document from the provided .
+ ///
+ /// The file path to load the XML document from.
+ /// Thrown when the XML document cannot be loaded.
+ private static XDocument LoadDocument(string xmlFilePath)
+ {
+ try
+ {
+ return XDocument.Load(xmlFilePath, LoadOptions.PreserveWhitespace | LoadOptions.SetLineInfo | LoadOptions.SetBaseUri);
+ }
+ catch (Exception exception)
+ when (exception is InvalidOperationException
+ || exception is XmlException
+ || exception is IOException)
+ {
+ string message = new FileReaderErrorMessageBuilder(xmlFilePath)
+ .Build(CoreCommonUtilsResources.Error_General_IO_Import_ErrorMessage);
+
+ throw new CriticalFileReadException(message, exception);
+ }
+ }
+
+ ///
+ /// Validates the provided XML document based on the provided schema definitions.
+ ///
+ /// The XML document to validate.
+ /// The file path the XML document is loaded from.
+ /// A string representing the main schema definition.
+ /// A containing
+ /// zero to more nested schema definitions
+ /// Thrown when the provided XML document does not match
+ /// the provided schema definitions.
+ /// Thrown when does not
+ /// reference the default schema definition ConfiguratieSchema.xsd.
+ private static void ValidateToSchema(XDocument document, string xmlFilePath, string mainSchemaDefinition,
+ IDictionary nestedSchemaDefinitions)
+ {
+ if (!mainSchemaDefinition.Contains(defaultSchemaName))
+ {
+ throw new ArgumentException($"'{nameof(mainSchemaDefinition)}' does not reference the default schema '{defaultSchemaName}'.");
+ }
+
+ var combinedXmlSchemaDefinition = new CombinedXmlSchemaDefinition(
+ mainSchemaDefinition,
+ nestedSchemaDefinitions.Concat(new[]
+ {
+ new KeyValuePair(defaultSchemaName, Resources.ConfiguratieSchema)
+ })
+ .ToDictionary(kv => kv.Key, kv => kv.Value));
+
+ try
+ {
+ combinedXmlSchemaDefinition.Validate(document);
+ }
+ catch (XmlSchemaValidationException exception)
+ {
+ string message = string.Format(Resources.ConfigurationReader_Configuration_contains_no_valid_xml_line_0_position_1_reason_2,
+ exception.LineNumber,
+ exception.LinePosition,
+ exception.Message);
+
+ throw new CriticalFileReadException(new FileReaderErrorMessageBuilder(xmlFilePath).Build(message), exception);
+ }
+ }
+
+ ///
+ /// Validates whether the provided XML document is not empty.
+ ///
+ /// The XML document to validate.
+ /// The file path the XML document is loaded from.
+ /// Thrown when the provided XML document does not contain configuration items.
+ private static void ValidateNotEmpty(XDocument document, string xmlFilePath)
+ {
+ if (!document.Descendants()
+ .Any(d => d.Name == ConfigurationSchemaIdentifiers.CalculationElement
+ || d.Name == ConfigurationSchemaIdentifiers.FolderElement))
+ {
+ string message = new FileReaderErrorMessageBuilder(xmlFilePath)
+ .Build(Resources.ConfigurationReader_No_configuration_items_found);
+
+ throw new CriticalFileReadException(message);
+ }
+ }
+
+ private IEnumerable ParseElements(IEnumerable elements)
+ {
+ foreach (XElement element in elements)
+ {
+ if (element.Name == ConfigurationSchemaIdentifiers.CalculationElement)
+ {
+ yield return ParseCalculationElement(element);
+ }
+
+ if (element.Name == ConfigurationSchemaIdentifiers.FolderElement)
+ {
+ yield return ParseFolderElement(element);
+ }
+ }
+ }
+
+ private ReadCalculationGroup ParseFolderElement(XElement folderElement)
+ {
+ return new ReadCalculationGroup(folderElement.Attribute(ConfigurationSchemaIdentifiers.NameAttribute)?.Value,
+ ParseElements(folderElement.Elements()));
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Common/src/Ringtoets.Common.IO/Readers/CalculationConfigurationReaderHelper.cs
===================================================================
diff -u
--- Ringtoets/Common/src/Ringtoets.Common.IO/Readers/CalculationConfigurationReaderHelper.cs (revision 0)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/Readers/CalculationConfigurationReaderHelper.cs (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,106 @@
+// Copyright (C) Stichting Deltares 2016. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using System.Linq;
+using System.Xml;
+using System.Xml.Linq;
+
+namespace Ringtoets.Common.IO.Readers
+{
+ ///
+ /// Helper methods related to instances.
+ ///
+ public static class CalculationConfigurationReaderHelper
+ {
+ ///
+ /// Gets the double value from a descendant element.
+ ///
+ /// The that contains the descendant element.
+ /// The name of the descendant element.
+ /// The value of the element, or null when the
+ /// does not have descendant elements of .
+ /// Thrown when any parameter is null.
+ public static double? GetDoubleValueFromDescendantElement(XElement parentElement, string descendantElementName)
+ {
+ if (parentElement == null)
+ {
+ throw new ArgumentNullException(nameof(parentElement));
+ }
+ if (descendantElementName == null)
+ {
+ throw new ArgumentNullException(nameof(descendantElementName));
+ }
+
+ XElement descendantElement = GetDescendantElement(parentElement, descendantElementName);
+
+ return descendantElement != null
+ ? (double?) XmlConvert.ToDouble(descendantElement.Value)
+ : null;
+ }
+
+ ///
+ /// Gets the string value from a descendant element.
+ ///
+ /// The that contains the descendant element.
+ /// The name of the descendant element.
+ /// The value of the element, or null when the
+ /// does not have descendant elements of .
+ /// Thrown when any parameter is null.
+ public static string GetStringValueFromDescendantElement(XElement parentElement, string descendantElementName)
+ {
+ if (parentElement == null)
+ {
+ throw new ArgumentNullException(nameof(parentElement));
+ }
+ if (descendantElementName == null)
+ {
+ throw new ArgumentNullException(nameof(descendantElementName));
+ }
+
+ XElement descendantElement = GetDescendantElement(parentElement, descendantElementName);
+
+ return descendantElement?.Value;
+ }
+
+ ///
+ /// Gets a descendant element with the given .
+ ///
+ /// The that contains the descendant element.
+ /// The name of the descendant element.
+ /// The element, or null when the
+ /// does not have descendant elements of .
+ /// Thrown when any parameter is null.
+ public static XElement GetDescendantElement(XElement parentElement, string descendantElementName)
+ {
+ if (parentElement == null)
+ {
+ throw new ArgumentNullException(nameof(parentElement));
+ }
+ if (descendantElementName == null)
+ {
+ throw new ArgumentNullException(nameof(descendantElementName));
+ }
+
+ return parentElement.Descendants(descendantElementName).FirstOrDefault();
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.IO/Readers/ConfigurationReader.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.IO/Readers/ConfigurationReaderHelper.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Common/src/Ringtoets.Common.IO/Readers/IReadConfigurationItem.cs
===================================================================
diff -u -r4136a0156ea9e20e7e1aca569c5e89cbc713fed2 -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Common/src/Ringtoets.Common.IO/Readers/IReadConfigurationItem.cs (.../IReadConfigurationItem.cs) (revision 4136a0156ea9e20e7e1aca569c5e89cbc713fed2)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/Readers/IReadConfigurationItem.cs (.../IReadConfigurationItem.cs) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -22,7 +22,7 @@
namespace Ringtoets.Common.IO.Readers
{
///
- /// Interface for configuration items that are read via .
+ /// Interface for configuration items that are read via .
///
public interface IReadConfigurationItem
{
Index: Ringtoets/Common/src/Ringtoets.Common.IO/Readers/ReadCalculationGroup.cs
===================================================================
diff -u -r4136a0156ea9e20e7e1aca569c5e89cbc713fed2 -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Common/src/Ringtoets.Common.IO/Readers/ReadCalculationGroup.cs (.../ReadCalculationGroup.cs) (revision 4136a0156ea9e20e7e1aca569c5e89cbc713fed2)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/Readers/ReadCalculationGroup.cs (.../ReadCalculationGroup.cs) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -24,7 +24,7 @@
namespace Ringtoets.Common.IO.Readers
{
///
- /// Class that represents a calculation group that is read via .
+ /// Class that represents a calculation group that is read via .
///
public class ReadCalculationGroup : IReadConfigurationItem
{
Index: Ringtoets/Common/src/Ringtoets.Common.IO/Ringtoets.Common.IO.csproj
===================================================================
diff -u -r78e404373f030f9fef45733c2f6c560d6ea58b21 -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Common/src/Ringtoets.Common.IO/Ringtoets.Common.IO.csproj (.../Ringtoets.Common.IO.csproj) (revision 78e404373f030f9fef45733c2f6c560d6ea58b21)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/Ringtoets.Common.IO.csproj (.../Ringtoets.Common.IO.csproj) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -82,8 +82,8 @@
-
-
+
+
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/CalculationConfigurationImporterTest.cs
===================================================================
diff -u -re55a25791932bd0452d1f01e331794a57e4db15d -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/CalculationConfigurationImporterTest.cs (.../CalculationConfigurationImporterTest.cs) (revision e55a25791932bd0452d1f01e331794a57e4db15d)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/CalculationConfigurationImporterTest.cs (.../CalculationConfigurationImporterTest.cs) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -144,14 +144,14 @@
Assert.IsFalse(importSuccessful);
}
- private class TestCalculationConfigurationImporter : CalculationConfigurationImporter
+ private class TestCalculationConfigurationImporter : CalculationConfigurationImporter
{
public TestCalculationConfigurationImporter(string filePath, CalculationGroup importTarget)
: base(filePath, importTarget) {}
- protected override TestConfigurationReader CreateConfigurationReader(string xmlFilePath)
+ protected override TestCalculationConfigurationReader CreateConfigurationReader(string xmlFilePath)
{
- return new TestConfigurationReader(xmlFilePath);
+ return new TestCalculationConfigurationReader(xmlFilePath);
}
protected override ICalculationBase ParseReadCalculation(ReadCalculation readCalculation)
@@ -163,15 +163,15 @@
}
}
- private class TestConfigurationReader : ConfigurationReader
+ private class TestCalculationConfigurationReader : CalculationConfigurationReader
{
private static readonly string mainSchemaDefinition =
File.ReadAllText(Path.Combine(TestHelper.GetTestDataPath(
TestDataPath.Ringtoets.Common.IO,
"ConfigurationReader"),
"validConfigurationSchema.xsd"));
- public TestConfigurationReader(string xmlFilePath)
+ public TestCalculationConfigurationReader(string xmlFilePath)
: base(xmlFilePath, mainSchemaDefinition, new Dictionary()) {}
protected override ReadCalculation ParseCalculationElement(XElement calculationElement)
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/Readers/CalculationConfigurationReaderHelperTest.cs
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/Readers/CalculationConfigurationReaderHelperTest.cs (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/Readers/CalculationConfigurationReaderHelperTest.cs (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,191 @@
+// Copyright (C) Stichting Deltares 2016. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using System.Collections.Generic;
+using System.Xml.Linq;
+using NUnit.Framework;
+using Ringtoets.Common.IO.Readers;
+
+namespace Ringtoets.Common.IO.Test.Readers
+{
+ [TestFixture]
+ public class CalculationConfigurationReaderHelperTest
+ {
+ [Test]
+ public void GetDoubleValueFromDescendantElement_ParentElementNull_ThrowArgumentNullException()
+ {
+ // Call
+ TestDelegate test = () => CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(null, "");
+
+ // Assert
+ var exception = Assert.Throws(test);
+ Assert.AreEqual("parentElement", exception.ParamName);
+ }
+
+ [Test]
+ public void GetDoubleValueFromDescendantElement_DescendantElementNameNull_ThrowArgumentNullException()
+ {
+ // Call
+ TestDelegate test = () => CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(new XElement("Root"), null);
+
+ // Assert
+ var exception = Assert.Throws(test);
+ Assert.AreEqual("descendantElementName", exception.ParamName);
+ }
+
+ [Test]
+ public void GetDoubleValueFromDescendantElement_ValidDescendantElement_ReturnValue()
+ {
+ // Setup
+ const string descendantElementName = "number";
+ const double descendantElementValue = 3;
+
+ var element = new XElement("Root", new XElement(descendantElementName, descendantElementValue));
+
+ // Call
+ double? readValue = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(element, descendantElementName);
+
+ // Assert
+ Assert.AreEqual(descendantElementValue, readValue.Value);
+ }
+
+ [Test]
+ public void GetDoubleValueFromDescendantElement_InvalidDescendantElement_ReturnNull()
+ {
+ // Setup
+ var element = new XElement("Root", new XElement("number", (double) 3));
+
+ // Call
+ double? readValue = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(element, "invalidName");
+
+ // Assert
+ Assert.IsNull(readValue);
+ }
+
+ [Test]
+ public void GetStringValueFromDescendantElement_ParentElementNull_ThrowArgumentNullException()
+ {
+ // Call
+ TestDelegate test = () => CalculationConfigurationReaderHelper.GetStringValueFromDescendantElement(null, "");
+
+ // Assert
+ var exception = Assert.Throws(test);
+ Assert.AreEqual("parentElement", exception.ParamName);
+ }
+
+ [Test]
+ public void GetStringValueFromDescendantElement_DescendantElementNameNull_ThrowArgumentNullException()
+ {
+ // Call
+ TestDelegate test = () => CalculationConfigurationReaderHelper.GetStringValueFromDescendantElement(new XElement("Test"), null);
+
+ // Assert
+ var exception = Assert.Throws(test);
+ Assert.AreEqual("descendantElementName", exception.ParamName);
+ }
+
+ [Test]
+ public void GetStringValueFromDescendantElement_ValidDescendantElement_ReturnValue()
+ {
+ // Setup
+ const string descendantElementName = "text";
+ const string descendantElementValue = "valueText";
+
+ var element = new XElement("Root", new XElement(descendantElementName, descendantElementValue));
+
+ // Call
+ string readValue = CalculationConfigurationReaderHelper.GetStringValueFromDescendantElement(element, descendantElementName);
+
+ // Assert
+ Assert.AreEqual(descendantElementValue, readValue);
+ }
+
+ [Test]
+ public void GetStringValueFromDescendantElement_InvalidDescendantElement_ReturnNull()
+ {
+ // Setup
+ var element = new XElement("Root", new XElement("number", "valueText"));
+
+ // Call
+ string readValue = CalculationConfigurationReaderHelper.GetStringValueFromDescendantElement(element, "invalidName");
+
+ // Assert
+ Assert.IsNull(readValue);
+ }
+
+ [Test]
+ public void GetDescendantElement_ParentElementNull_ThrowArgumentNullException()
+ {
+ // Call
+ TestDelegate test = () => CalculationConfigurationReaderHelper.GetDescendantElement(null, "");
+
+ // Assert
+ var exception = Assert.Throws(test);
+ Assert.AreEqual("parentElement", exception.ParamName);
+ }
+
+ [Test]
+ public void GetDescendantElement_DescendantElementNameNull_ThrowArgumentNullException()
+ {
+ // Call
+ TestDelegate test = () => CalculationConfigurationReaderHelper.GetDescendantElement(new XElement("Test"), null);
+
+ // Assert
+ var exception = Assert.Throws(test);
+ Assert.AreEqual("descendantElementName", exception.ParamName);
+ }
+
+ [Test]
+ [TestCaseSource(nameof(XElements))]
+ public void GetDescendantElement_ValidDescendantName_ReturnElement(XElement parentElement)
+ {
+ // Call
+ XElement element = CalculationConfigurationReaderHelper.GetDescendantElement(parentElement, "descendant");
+
+ // Assert
+ Assert.IsNotNull(element);
+ Assert.AreEqual("descendant", element.Name.LocalName);
+ }
+
+ [Test]
+ public void GetDescendantElement_InvalidDescendantName_ReturnNull()
+ {
+ // Setup
+ var parentElement = new XElement("Root", new XElement("Child", new XElement("descendant")));
+
+ // Call
+ XElement element = CalculationConfigurationReaderHelper.GetDescendantElement(parentElement, "something_else");
+
+ // Assert
+ Assert.IsNull(element);
+ }
+
+ private static IEnumerable XElements
+ {
+ get
+ {
+ yield return new TestCaseData(new XElement("Root", new XElement("descendant")));
+ yield return new TestCaseData(new XElement("Root", new XElement("Child", new XElement("descendant"))));
+ }
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/Readers/ConfigurationReaderHelperTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/Readers/ConfigurationReaderTest.cs
===================================================================
diff -u -re55a25791932bd0452d1f01e331794a57e4db15d -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/Readers/ConfigurationReaderTest.cs (.../ConfigurationReaderTest.cs) (revision e55a25791932bd0452d1f01e331794a57e4db15d)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/Readers/ConfigurationReaderTest.cs (.../ConfigurationReaderTest.cs) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -40,7 +40,7 @@
private readonly string validMainSchemaDefinition;
private readonly string testDirectoryPath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Common.IO,
- "ConfigurationReader");
+ "CalculationConfigurationReader");
private static IEnumerable InvalidConfigurations
{
@@ -62,7 +62,7 @@
public void Constructor_NoFilePath_ThrowArgumentException(string invalidFilePath)
{
// Call
- TestDelegate call = () => new ConfigurationReader(invalidFilePath, validMainSchemaDefinition, new Dictionary());
+ TestDelegate call = () => new CalculationConfigurationReader(invalidFilePath, validMainSchemaDefinition, new Dictionary());
// Assert
string expectedMessage = $"Fout bij het lezen van bestand '{invalidFilePath}': bestandspad mag niet leeg of ongedefinieerd zijn.";
@@ -78,7 +78,7 @@
string invalidFilePath = validFilePath.Replace("Config", invalidPathChars[3].ToString());
// Call
- TestDelegate call = () => new ConfigurationReader(invalidFilePath, validMainSchemaDefinition, new Dictionary());
+ TestDelegate call = () => new CalculationConfigurationReader(invalidFilePath, validMainSchemaDefinition, new Dictionary());
// Assert
string expectedMessage = $"Fout bij het lezen van bestand '{invalidFilePath}': "
@@ -93,7 +93,7 @@
string invalidFilePath = Path.Combine(testDirectoryPath, Path.DirectorySeparatorChar.ToString());
// Call
- TestDelegate call = () => new ConfigurationReader(invalidFilePath, validMainSchemaDefinition, new Dictionary());
+ TestDelegate call = () => new CalculationConfigurationReader(invalidFilePath, validMainSchemaDefinition, new Dictionary());
// Assert
string expectedMessage = $"Fout bij het lezen van bestand '{invalidFilePath}': bestandspad mag niet verwijzen naar een lege bestandsnaam.";
@@ -107,7 +107,7 @@
string invalidFilePath = Path.Combine(testDirectoryPath, "notExisting.xml");
// Call
- TestDelegate call = () => new ConfigurationReader(invalidFilePath, validMainSchemaDefinition, new Dictionary());
+ TestDelegate call = () => new CalculationConfigurationReader(invalidFilePath, validMainSchemaDefinition, new Dictionary());
// Assert
string expectedMessage = $"Fout bij het lezen van bestand '{invalidFilePath}': het bestand bestaat niet.";
@@ -125,7 +125,7 @@
string filePath = Path.Combine(testDirectoryPath, fileName);
// Call
- TestDelegate call = () => new ConfigurationReader(filePath, validMainSchemaDefinition, new Dictionary());
+ TestDelegate call = () => new CalculationConfigurationReader(filePath, validMainSchemaDefinition, new Dictionary());
// Assert
string expectedMessage = $"Fout bij het lezen van bestand '{filePath}': het bestand kon niet worden geopend. Mogelijk is het bestand corrupt of in gebruik door een andere applicatie.";
@@ -145,7 +145,7 @@
fileDisposeHelper.LockFiles();
// Call
- TestDelegate call = () => new ConfigurationReader(path, validMainSchemaDefinition, new Dictionary());
+ TestDelegate call = () => new CalculationConfigurationReader(path, validMainSchemaDefinition, new Dictionary());
// Assert
string expectedMessage = $"Fout bij het lezen van bestand '{path}': het bestand kon niet worden geopend. Mogelijk is het bestand corrupt of in gebruik door een andere applicatie.";
@@ -163,7 +163,7 @@
string xsdPath = Path.Combine(testDirectoryPath, "mainSchemaDefinitionNotReferencingDefaultSchema.xsd");
// Call
- TestDelegate call = () => new ConfigurationReader(filePath, File.ReadAllText(xsdPath), new Dictionary());
+ TestDelegate call = () => new CalculationConfigurationReader(filePath, File.ReadAllText(xsdPath), new Dictionary());
// Assert
var exception = Assert.Throws(call);
@@ -178,7 +178,7 @@
string filePath = Path.Combine(testDirectoryPath, fileName);
// Call
- TestDelegate call = () => new ConfigurationReader(filePath, validMainSchemaDefinition, new Dictionary());
+ TestDelegate call = () => new CalculationConfigurationReader(filePath, validMainSchemaDefinition, new Dictionary());
// Assert
var exception = Assert.Throws(call);
@@ -193,7 +193,7 @@
string filePath = Path.Combine(testDirectoryPath, "invalidFolderNoName.xml");
// Call
- TestDelegate call = () => new ConfigurationReader(filePath, validMainSchemaDefinition, new Dictionary());
+ TestDelegate call = () => new CalculationConfigurationReader(filePath, validMainSchemaDefinition, new Dictionary());
// Assert
string expectedMessage = $"Fout bij het lezen van bestand '{filePath}': het XML-document dat de configuratie" +
@@ -210,7 +210,7 @@
string filePath = Path.Combine(testDirectoryPath, "emptyConfiguration.xml");
// Call
- TestDelegate call = () => new ConfigurationReader(filePath, validMainSchemaDefinition, new Dictionary());
+ TestDelegate call = () => new CalculationConfigurationReader(filePath, validMainSchemaDefinition, new Dictionary());
// Assert
string expectedMessage = $"Fout bij het lezen van bestand '{filePath}': het XML-document dat de configuratie" +
@@ -226,7 +226,7 @@
string filePath = Path.Combine(testDirectoryPath, "validConfiguration.xml");
// Call
- TestDelegate call = () => new ConfigurationReader(filePath, validMainSchemaDefinition, new Dictionary());
+ TestDelegate call = () => new CalculationConfigurationReader(filePath, validMainSchemaDefinition, new Dictionary());
// Assert
Assert.DoesNotThrow(call);
@@ -237,7 +237,7 @@
{
// Setup
string filePath = Path.Combine(testDirectoryPath, "validConfigurationEmptyFolder.xml");
- var configurationReader = new ConfigurationReader(filePath, validMainSchemaDefinition, new Dictionary());
+ var configurationReader = new CalculationConfigurationReader(filePath, validMainSchemaDefinition, new Dictionary());
// Call
IList readConfigurationItems = configurationReader.Read().ToList();
@@ -256,7 +256,7 @@
{
// Setup
string filePath = Path.Combine(testDirectoryPath, "validConfiguration.xml");
- var configurationReader = new ConfigurationReader(filePath, validMainSchemaDefinition, new Dictionary());
+ var configurationReader = new CalculationConfigurationReader(filePath, validMainSchemaDefinition, new Dictionary());
// Call
IList readConfigurationItems = configurationReader.Read().ToList();
@@ -318,11 +318,11 @@
validMainSchemaDefinition = File.ReadAllText(Path.Combine(testDirectoryPath, "validConfigurationSchema.xsd"));
}
- private class ConfigurationReader : ConfigurationReader
+ private class CalculationConfigurationReader : CalculationConfigurationReader
{
- public ConfigurationReader(string xmlFilePath,
- string mainSchemaDefinition,
- IDictionary nestedSchemaDefinitions)
+ public CalculationConfigurationReader(string xmlFilePath,
+ string mainSchemaDefinition,
+ IDictionary nestedSchemaDefinitions)
: base(xmlFilePath, mainSchemaDefinition, nestedSchemaDefinitions) {}
protected override ReadCalculation ParseCalculationElement(XElement calculationElement)
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/Ringtoets.Common.IO.Test.csproj
===================================================================
diff -u -r78e404373f030f9fef45733c2f6c560d6ea58b21 -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/Ringtoets.Common.IO.Test.csproj (.../Ringtoets.Common.IO.Test.csproj) (revision 78e404373f030f9fef45733c2f6c560d6ea58b21)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/Ringtoets.Common.IO.Test.csproj (.../Ringtoets.Common.IO.Test.csproj) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -84,7 +84,7 @@
-
+
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/empty.xml
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/empty.xml (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/empty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1 @@
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/emptyConfiguration.xml
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/emptyConfiguration.xml (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/emptyConfiguration.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/invalidCalculationNoName.xml
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/invalidCalculationNoName.xml (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/invalidCalculationNoName.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/invalidFolderNoName.xml
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/invalidFolderNoName.xml (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/invalidFolderNoName.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/invalidXmlContent.xml
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/invalidXmlContent.xml (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/invalidXmlContent.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,5 @@
+
+
+
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/mainSchemaDefinitionNotReferencingDefaultSchema.xsd
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/mainSchemaDefinitionNotReferencingDefaultSchema.xsd (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/mainSchemaDefinitionNotReferencingDefaultSchema.xsd (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/textContent.xml
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/textContent.xml (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/textContent.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1 @@
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus finibus magna, sed pellentesque lorem imperdiet nec. Mauris porttitor nisl blandit placerat aliquet. Aliquam nisl arcu, pretium ut erat quis, congue sagittis odio. Maecenas felis ante, dictum aliquet laoreet ac, consectetur ac purus. Donec non tristique libero, ut vulputate est. Fusce hendrerit justo eu vehicula dignissim. Duis auctor velit vitae vestibulum bibendum. Proin nec pharetra est, id ultricies sem. Aliquam dignissim blandit accumsan. Phasellus bibendum magna sed vestibulum dictum. Nullam vel ipsum quis turpis pulvinar convallis a et lectus. Maecenas eros orci, suscipit id elementum et, fringilla eget ligula. Nulla elit tellus, varius a nisl eget, ornare tempor libero.
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/textContent.xsd
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/textContent.xsd (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/textContent.xsd (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1 @@
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus finibus magna, sed pellentesque lorem imperdiet nec. Mauris porttitor nisl blandit placerat aliquet. Aliquam nisl arcu, pretium ut erat quis, congue sagittis odio. Maecenas felis ante, dictum aliquet laoreet ac, consectetur ac purus. Donec non tristique libero, ut vulputate est. Fusce hendrerit justo eu vehicula dignissim. Duis auctor velit vitae vestibulum bibendum. Proin nec pharetra est, id ultricies sem. Aliquam dignissim blandit accumsan. Phasellus bibendum magna sed vestibulum dictum. Nullam vel ipsum quis turpis pulvinar convallis a et lectus. Maecenas eros orci, suscipit id elementum et, fringilla eget ligula. Nulla elit tellus, varius a nisl eget, ornare tempor libero.
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/validConfiguration.xml
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/validConfiguration.xml (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/validConfiguration.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/validConfigurationEmptyFolder.xml
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/validConfigurationEmptyFolder.xml (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/validConfigurationEmptyFolder.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/validConfigurationSchema.xsd
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/validConfigurationSchema.xsd (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/CalculationConfigurationReader/validConfigurationSchema.xsd (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/ConfigurationReader/empty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/ConfigurationReader/emptyConfiguration.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/ConfigurationReader/invalidCalculationNoName.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/ConfigurationReader/invalidFolderNoName.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/ConfigurationReader/invalidXmlContent.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/ConfigurationReader/mainSchemaDefinitionNotReferencingDefaultSchema.xsd'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/ConfigurationReader/textContent.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/ConfigurationReader/textContent.xsd'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/ConfigurationReader/validConfiguration.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/ConfigurationReader/validConfigurationEmptyFolder.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/test-data/ConfigurationReader/validConfigurationSchema.xsd'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/Importers/PipingConfigurationImporter.cs
===================================================================
diff -u -re55a25791932bd0452d1f01e331794a57e4db15d -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Piping/src/Ringtoets.Piping.IO/Importers/PipingConfigurationImporter.cs (.../PipingConfigurationImporter.cs) (revision e55a25791932bd0452d1f01e331794a57e4db15d)
+++ Ringtoets/Piping/src/Ringtoets.Piping.IO/Importers/PipingConfigurationImporter.cs (.../PipingConfigurationImporter.cs) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -40,7 +40,7 @@
/// Imports a piping configuration from an XML file and stores it on a
/// .
///
- public class PipingConfigurationImporter : CalculationConfigurationImporter
+ public class PipingConfigurationImporter : CalculationConfigurationImporter
{
private readonly IEnumerable hydraulicBoundaryLocations;
private readonly PipingFailureMechanism failureMechanism;
@@ -74,9 +74,9 @@
this.failureMechanism = failureMechanism;
}
- protected override PipingConfigurationReader CreateConfigurationReader(string xmlFilePath)
+ protected override PipingCalculationConfigurationReader CreateConfigurationReader(string xmlFilePath)
{
- return new PipingConfigurationReader(xmlFilePath);
+ return new PipingCalculationConfigurationReader(xmlFilePath);
}
protected override ICalculationBase ParseReadCalculation(ReadPipingCalculation readCalculation)
Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/Readers/PipingCalculationConfigurationReader.cs
===================================================================
diff -u
--- Ringtoets/Piping/src/Ringtoets.Piping.IO/Readers/PipingCalculationConfigurationReader.cs (revision 0)
+++ Ringtoets/Piping/src/Ringtoets.Piping.IO/Readers/PipingCalculationConfigurationReader.cs (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,120 @@
+// Copyright (C) Stichting Deltares 2016. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Xml.Linq;
+using Core.Common.Base.IO;
+using Ringtoets.Common.IO.Readers;
+using Ringtoets.Common.IO.Schema;
+using Ringtoets.Piping.IO.Properties;
+using Ringtoets.Piping.IO.Schema;
+using RingtoetsCommonIOResources = Ringtoets.Common.IO.Properties.Resources;
+
+namespace Ringtoets.Piping.IO.Readers
+{
+ ///
+ /// This class reads a piping configuration from XML and creates a collection of corresponding
+ /// , typically containing one or more .
+ ///
+ public class PipingCalculationConfigurationReader : CalculationConfigurationReader
+ {
+ private const string stochastSchemaName = "StochastSchema.xsd";
+ private const string hydraulicBoundaryLocationSchemaName = "HrLocatieSchema.xsd";
+
+ ///
+ /// Creates a new instance of .
+ ///
+ /// The file path to the XML file.
+ /// Thrown when is invalid.
+ /// Thrown when:
+ ///
+ /// - points to a file that does not exist.
+ /// - points to a file that does not contain valid XML.
+ /// - points to a file that does not pass the schema validation.
+ /// - points to a file that does not contain configuration elements.
+ ///
+ ///
+ internal PipingCalculationConfigurationReader(string xmlFilePath)
+ : base(xmlFilePath,
+ Resources.PipingConfiguratieSchema,
+ new Dictionary
+ {
+ {
+ stochastSchemaName, RingtoetsCommonIOResources.StochastSchema
+ },
+ {
+ hydraulicBoundaryLocationSchemaName, RingtoetsCommonIOResources.HrLocatieSchema
+ }
+ }) {}
+
+ protected override ReadPipingCalculation ParseCalculationElement(XElement calculationElement)
+ {
+ var constructionProperties = new ReadPipingCalculation.ConstructionProperties
+ {
+ Name = calculationElement.Attribute(ConfigurationSchemaIdentifiers.NameAttribute)?.Value,
+ AssessmentLevel = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement,
+ PipingConfigurationSchemaIdentifiers.AssessmentLevelElement),
+ HydraulicBoundaryLocation = CalculationConfigurationReaderHelper.GetStringValueFromDescendantElement(calculationElement,
+ ConfigurationSchemaIdentifiers.HydraulicBoundaryLocationElement),
+ SurfaceLine = CalculationConfigurationReaderHelper.GetStringValueFromDescendantElement(calculationElement,
+ PipingConfigurationSchemaIdentifiers.SurfaceLineElement),
+ EntryPointL = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement,
+ PipingConfigurationSchemaIdentifiers.EntryPointLElement),
+ ExitPointL = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement,
+ PipingConfigurationSchemaIdentifiers.ExitPointLElement),
+ StochasticSoilModel = CalculationConfigurationReaderHelper.GetStringValueFromDescendantElement(calculationElement,
+ PipingConfigurationSchemaIdentifiers.StochasticSoilModelElement),
+ StochasticSoilProfile = CalculationConfigurationReaderHelper.GetStringValueFromDescendantElement(calculationElement,
+ PipingConfigurationSchemaIdentifiers.StochasticSoilProfileElement)
+ };
+
+ XElement phreaticLevelExitElement = GetStochastChildElement(calculationElement, PipingConfigurationSchemaIdentifiers.PhreaticLevelExitStochastName);
+ if (phreaticLevelExitElement != null)
+ {
+ constructionProperties.PhreaticLevelExitMean = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(phreaticLevelExitElement,
+ ConfigurationSchemaIdentifiers.MeanElement);
+ constructionProperties.PhreaticLevelExitStandardDeviation = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(phreaticLevelExitElement,
+ ConfigurationSchemaIdentifiers.StandardDeviationElement);
+ }
+
+ XElement dampingFactorExitElement = GetStochastChildElement(calculationElement, PipingConfigurationSchemaIdentifiers.DampingFactorExitStochastName);
+ if (dampingFactorExitElement != null)
+ {
+ constructionProperties.DampingFactorExitMean = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(dampingFactorExitElement,
+ ConfigurationSchemaIdentifiers.MeanElement);
+ constructionProperties.DampingFactorExitStandardDeviation = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(dampingFactorExitElement,
+ ConfigurationSchemaIdentifiers.StandardDeviationElement);
+ }
+
+ return new ReadPipingCalculation(constructionProperties);
+ }
+
+ private static XElement GetStochastChildElement(XElement parentElement, string stochastName)
+ {
+ return parentElement.Elements(ConfigurationSchemaIdentifiers.StochastsElement)
+ .FirstOrDefault()?
+ .Elements(ConfigurationSchemaIdentifiers.StochastElement)
+ .FirstOrDefault(e => e.Attribute(ConfigurationSchemaIdentifiers.NameAttribute)?.Value == stochastName);
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/src/Ringtoets.Piping.IO/Readers/PipingConfigurationReader.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/Readers/ReadPipingCalculation.cs
===================================================================
diff -u -rf0bc02e4ddd85caf9c51b909d36c31343398cd71 -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Piping/src/Ringtoets.Piping.IO/Readers/ReadPipingCalculation.cs (.../ReadPipingCalculation.cs) (revision f0bc02e4ddd85caf9c51b909d36c31343398cd71)
+++ Ringtoets/Piping/src/Ringtoets.Piping.IO/Readers/ReadPipingCalculation.cs (.../ReadPipingCalculation.cs) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -25,7 +25,7 @@
namespace Ringtoets.Piping.IO.Readers
{
///
- /// Class that represents a piping calculation that is read via .
+ /// Class that represents a piping calculation that is read via .
///
public class ReadPipingCalculation : IReadConfigurationItem
{
Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/Ringtoets.Piping.IO.csproj
===================================================================
diff -u -r8a00046f9112833f25944b0f2631c7003f7a1692 -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Piping/src/Ringtoets.Piping.IO/Ringtoets.Piping.IO.csproj (.../Ringtoets.Piping.IO.csproj) (revision 8a00046f9112833f25944b0f2631c7003f7a1692)
+++ Ringtoets/Piping/src/Ringtoets.Piping.IO/Ringtoets.Piping.IO.csproj (.../Ringtoets.Piping.IO.csproj) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -65,7 +65,7 @@
True
Resources.resx
-
+
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Importers/PipingConfigurationImporterTest.cs
===================================================================
diff -u -re55a25791932bd0452d1f01e331794a57e4db15d -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Importers/PipingConfigurationImporterTest.cs (.../PipingConfigurationImporterTest.cs) (revision e55a25791932bd0452d1f01e331794a57e4db15d)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Importers/PipingConfigurationImporterTest.cs (.../PipingConfigurationImporterTest.cs) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -39,7 +39,7 @@
[TestFixture]
public class PipingConfigurationImporterTest
{
- private readonly string readerPath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Piping.IO, "PipingConfigurationReader");
+ private readonly string readerPath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Piping.IO, "PipingCalculationConfigurationReader");
private readonly string importerPath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Piping.IO, "PipingConfigurationImporter");
[Test]
@@ -52,7 +52,7 @@
new PipingFailureMechanism());
// Assert
- Assert.IsInstanceOf>(importer);
+ Assert.IsInstanceOf>(importer);
}
[Test]
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Readers/PipingCalculationConfigurationReaderTest.cs
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Readers/PipingCalculationConfigurationReaderTest.cs (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Readers/PipingCalculationConfigurationReaderTest.cs (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,369 @@
+// Copyright (C) Stichting Deltares 2016. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Xml.Schema;
+using Core.Common.Base.IO;
+using Core.Common.TestUtil;
+using NUnit.Framework;
+using Ringtoets.Common.IO.Readers;
+using Ringtoets.Piping.IO.Readers;
+
+namespace Ringtoets.Piping.IO.Test.Readers
+{
+ [TestFixture]
+ public class PipingCalculationConfigurationReaderTest
+ {
+ private readonly string testDirectoryPath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Piping.IO,
+ "PipingCalculationConfigurationReader");
+
+ private static IEnumerable InvalidConfigurations
+ {
+ get
+ {
+ yield return new TestCaseData("invalidAssessmentLevelEmpty.xml",
+ "The 'toetspeil' element is invalid - The value '' is invalid according to its datatype 'Double'")
+ .SetName("invalidAssessmentLevelEmpty");
+ yield return new TestCaseData("invalidAssessmentLevelNoDouble.xml",
+ "The 'toetspeil' element is invalid - The value 'string' is invalid according to its datatype 'Double'")
+ .SetName("invalidAssessmentLevelNoDouble");
+ yield return new TestCaseData("invalidAssessmentLevelWrongCulture.xml",
+ "The 'toetspeil' element is invalid - The value '1,2' is invalid according to its datatype 'Double'")
+ .SetName("invalidAssessmentLevelWrongCulture");
+ yield return new TestCaseData("invalidEntryPointEmpty.xml",
+ "The 'intredepunt' element is invalid - The value '' is invalid according to its datatype 'Double'")
+ .SetName("invalidEntryPointEmpty");
+ yield return new TestCaseData("invalidEntryPointNoDouble.xml",
+ "The 'intredepunt' element is invalid - The value 'string' is invalid according to its datatype 'Double'")
+ .SetName("invalidEntryPointNoDouble");
+ yield return new TestCaseData("invalidEntryPointWrongCulture.xml",
+ "The 'intredepunt' element is invalid - The value '1,2' is invalid according to its datatype 'Double'")
+ .SetName("invalidEntryPointWrongCulture");
+ yield return new TestCaseData("invalidExitPointEmpty.xml",
+ "The 'uittredepunt' element is invalid - The value '' is invalid according to its datatype 'Double'")
+ .SetName("invalidExitPointEmpty");
+ yield return new TestCaseData("invalidExitPointNoDouble.xml",
+ "The 'uittredepunt' element is invalid - The value 'string' is invalid according to its datatype 'Double'")
+ .SetName("invalidExitPointNoDouble");
+ yield return new TestCaseData("invalidExitPointWrongCulture.xml",
+ "The 'uittredepunt' element is invalid - The value '1,2' is invalid according to its datatype 'Double'")
+ .SetName("invalidExitPointWrongCulture");
+ yield return new TestCaseData("invalidStochastNoName.xml",
+ "The required attribute 'naam' is missing.")
+ .SetName("invalidStochastNoName");
+ yield return new TestCaseData("invalidStochastUnknownName.xml",
+ "The 'naam' attribute is invalid - The value 'Test' is invalid according to its datatype 'nameType' - The Enumeration constraint failed.")
+ .SetName("invalidStochastUnknownName");
+ yield return new TestCaseData("invalidStochastNoMean.xml",
+ "The element 'stochast' has invalid child element 'standaardafwijking'.")
+ .SetName("invalidStochastNoMean");
+ yield return new TestCaseData("invalidStochastNoStandardDeviation.xml",
+ "The element 'stochast' has incomplete content.")
+ .SetName("invalidStochastNoStandardDeviation");
+ yield return new TestCaseData("invalidStochastMultipleMean.xml",
+ "The element 'stochast' has invalid child element 'verwachtingswaarde'.")
+ .SetName("invalidStochastMultipleMean");
+ yield return new TestCaseData("invalidStochastMultipleStandardDeviation.xml",
+ "The element 'stochast' has invalid child element 'standaardafwijking'.")
+ .SetName("invalidStochastMultipleStandardDeviation");
+ yield return new TestCaseData("invalidStochastMeanEmpty.xml",
+ "The 'verwachtingswaarde' element is invalid - The value '' is invalid according to its datatype 'Double'")
+ .SetName("invalidStochastMeanEmpty");
+ yield return new TestCaseData("invalidStochastMeanNoDouble.xml",
+ "The 'verwachtingswaarde' element is invalid - The value 'string' is invalid according to its datatype 'Double'")
+ .SetName("invalidStochastMeanNoDouble");
+ yield return new TestCaseData("invalidStochastMeanWrongCulture.xml",
+ "The 'verwachtingswaarde' element is invalid - The value '1,2' is invalid according to its datatype 'Double'")
+ .SetName("invalidStochastMeanWrongCulture");
+ yield return new TestCaseData("invalidStochastStandardDeviationEmpty.xml",
+ "The 'standaardafwijking' element is invalid - The value '' is invalid according to its datatype 'Double'")
+ .SetName("invalidStochastStandardDeviationEmpty");
+ yield return new TestCaseData("invalidStochastStandardDeviationNoDouble.xml",
+ "The 'standaardafwijking' element is invalid - The value 'string' is invalid according to its datatype 'Double'")
+ .SetName("invalidStochastStandardDeviationNoDouble");
+ yield return new TestCaseData("invalidStochastStandardDeviationWrongCulture.xml",
+ "The 'standaardafwijking' element is invalid - The value '1,2' is invalid according to its datatype 'Double'")
+ .SetName("invalidStochastStandardDeviationWrongCulture");
+ yield return new TestCaseData("invalidMultiplePhreaticLevelExitStochast.xml",
+ "There is a duplicate key sequence 'polderpeil' for the 'uniqueStochastNameConstraint' key or unique identity constraint.")
+ .SetName("invalidMultiplePhreaticLevelExitStochast");
+ yield return new TestCaseData("invalidMultipleDampingFactorExitStochast.xml",
+ "There is a duplicate key sequence 'dempingsfactor' for the 'uniqueStochastNameConstraint' key or unique identity constraint.")
+ .SetName("invalidMultipleDampingFactorExitStochast");
+ yield return new TestCaseData("invalidContainingBothAssessmentLevelAndHydraulicBoundaryLocation.xml",
+ "The element 'berekening' has invalid child element 'hrlocatie'.")
+ .SetName("invalidContainingBothAssessmentLevelAndHydraulicBoundaryLocation");
+ yield return new TestCaseData("invalidCalculationMultipleAssessmentLevel.xml",
+ "The element 'berekening' has invalid child element 'toetspeil'.")
+ .SetName("invalidCalculationMultipleAssessmentLevel");
+ yield return new TestCaseData("invalidCalculationMultipleHydraulicBoundaryLocation.xml",
+ "The element 'berekening' has invalid child element 'hrlocatie'.")
+ .SetName("invalidCalculationMultipleHydraulicBoundaryLocation");
+ yield return new TestCaseData("invalidCalculationMultipleSurfaceLine.xml",
+ "The element 'berekening' has invalid child element 'profielschematisatie'.")
+ .SetName("invalidCalculationMultipleSurfaceLine");
+ yield return new TestCaseData("invalidCalculationMultipleEntryPoint.xml",
+ "The element 'berekening' has invalid child element 'intredepunt'.")
+ .SetName("invalidCalculationMultipleEntryPoint");
+ yield return new TestCaseData("invalidCalculationMultipleExitPoint.xml",
+ "The element 'berekening' has invalid child element 'uittredepunt'.")
+ .SetName("invalidCalculationMultipleExitPoint");
+ yield return new TestCaseData("invalidCalculationMultipleStochasticSoilModel.xml",
+ "The element 'berekening' has invalid child element 'ondergrondmodel'.")
+ .SetName("invalidCalculationMultipleStochasticSoilModel");
+ yield return new TestCaseData("invalidCalculationMultipleStochasticSoilProfile.xml",
+ "The element 'berekening' has invalid child element 'ondergrondschematisatie'.")
+ .SetName("invalidCalculationMultipleStochasticSoilProfile");
+ yield return new TestCaseData("invalidCalculationMultipleStochasts.xml",
+ "The element 'berekening' has invalid child element 'stochasten'.")
+ .SetName("invalidCalculationMultipleStochasts");
+ yield return new TestCaseData("invalidConfigurationCalculationContainingEmptyHydraulicBoundaryLocation.xml",
+ "The 'hrlocatie' element is invalid - The value '' is invalid according to its datatype 'String' - The actual length is less than the MinLength value.")
+ .SetName("invalidConfigurationCalculationContainingEmptyHydraulicBoundaryLocation");
+ yield return new TestCaseData("invalidConfigurationCalculationContainingEmptySurfaceLine.xml",
+ "The 'profielschematisatie' element is invalid - The value '' is invalid according to its datatype 'String' - The actual length is less than the MinLength value.")
+ .SetName("invalidConfigurationCalculationContainingEmptySurfaceLine");
+ yield return new TestCaseData("invalidConfigurationCalculationContainingEmptySoilModel.xml",
+ "The 'ondergrondmodel' element is invalid - The value '' is invalid according to its datatype 'String' - The actual length is less than the MinLength value.")
+ .SetName("invalidConfigurationCalculationContainingEmptySoilModel");
+ yield return new TestCaseData("invalidConfigurationCalculationContainingEmptySoilProfile.xml",
+ "The 'ondergrondschematisatie' element is invalid - The value '' is invalid according to its datatype 'String' - The actual length is less than the MinLength value.")
+ .SetName("invalidConfigurationCalculationContainingEmptySoilProfile");
+ }
+ }
+
+ [Test]
+ [TestCaseSource(nameof(InvalidConfigurations))]
+ public void Constructor_FileInvalidBasedOnSchemaDefinition_ThrowCriticalFileReadException(string fileName, string expectedParsingMessage)
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, fileName);
+
+ // Call
+ TestDelegate call = () => new PipingCalculationConfigurationReader(filePath);
+
+ // Assert
+ var exception = Assert.Throws(call);
+ Assert.IsInstanceOf(exception.InnerException);
+ StringAssert.Contains(expectedParsingMessage, exception.InnerException?.Message);
+ }
+
+ [Test]
+ public void Constructor_ValidConfiguration_ExpectedValues()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationEmptyCalculation.xml");
+
+ // Call
+ var reader = new PipingCalculationConfigurationReader(filePath);
+
+ // Assert
+ Assert.IsInstanceOf>(reader);
+ }
+
+ [Test]
+ public void Read_ValidConfigurationWithEmptyCalculation_ReturnExpectedReadPipingCalculation()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationEmptyCalculation.xml");
+ var reader = new PipingCalculationConfigurationReader(filePath);
+
+ // Call
+ IList readConfigurationItems = reader.Read().ToList();
+
+ // Assert
+ Assert.AreEqual(1, readConfigurationItems.Count);
+
+ var calculation = readConfigurationItems[0] as ReadPipingCalculation;
+ Assert.IsNotNull(calculation);
+ Assert.AreEqual("Calculation", calculation.Name);
+ Assert.IsNull(calculation.AssessmentLevel);
+ Assert.IsNull(calculation.HydraulicBoundaryLocation);
+ Assert.IsNull(calculation.SurfaceLine);
+ Assert.IsNull(calculation.EntryPointL);
+ Assert.IsNull(calculation.ExitPointL);
+ Assert.IsNull(calculation.StochasticSoilModel);
+ Assert.IsNull(calculation.StochasticSoilProfile);
+ Assert.IsNull(calculation.PhreaticLevelExitMean);
+ Assert.IsNull(calculation.PhreaticLevelExitStandardDeviation);
+ Assert.IsNull(calculation.DampingFactorExitMean);
+ Assert.IsNull(calculation.DampingFactorExitStandardDeviation);
+ }
+
+ [Test]
+ public void Read_ValidConfigurationWithCalculationContainingEmptyStochasts_ReturnExpectedReadPipingCalculation()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationCalculationContainingEmptyStochasts.xml");
+ var reader = new PipingCalculationConfigurationReader(filePath);
+
+ // Call
+ IList readConfigurationItems = reader.Read().ToList();
+
+ // Assert
+ Assert.AreEqual(1, readConfigurationItems.Count);
+
+ var calculation = readConfigurationItems[0] as ReadPipingCalculation;
+ Assert.IsNotNull(calculation);
+ Assert.IsNull(calculation.PhreaticLevelExitMean);
+ Assert.IsNull(calculation.PhreaticLevelExitStandardDeviation);
+ Assert.IsNull(calculation.DampingFactorExitMean);
+ Assert.IsNull(calculation.DampingFactorExitStandardDeviation);
+ }
+
+ [Test]
+ public void Read_ValidConfigurationWithCalculationContainingNaNs_ReturnExpectedReadPipingCalculation()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationCalculationContainingNaNs.xml");
+ var reader = new PipingCalculationConfigurationReader(filePath);
+
+ // Call
+ IList readConfigurationItems = reader.Read().ToList();
+
+ // Assert
+ Assert.AreEqual(1, readConfigurationItems.Count);
+
+ var calculation = readConfigurationItems[0] as ReadPipingCalculation;
+ Assert.IsNotNull(calculation);
+ Assert.IsNaN(calculation.AssessmentLevel);
+ Assert.IsNaN(calculation.EntryPointL);
+ Assert.IsNaN(calculation.ExitPointL);
+ Assert.IsNaN(calculation.PhreaticLevelExitMean);
+ Assert.IsNaN(calculation.PhreaticLevelExitStandardDeviation);
+ Assert.IsNaN(calculation.DampingFactorExitMean);
+ Assert.IsNaN(calculation.DampingFactorExitStandardDeviation);
+ }
+
+ [Test]
+ public void Read_ValidConfigurationWithCalculationContainingInfinities_ReturnExpectedReadPipingCalculation()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationCalculationContainingInfinities.xml");
+ var reader = new PipingCalculationConfigurationReader(filePath);
+
+ // Call
+ IList readConfigurationItems = reader.Read().ToList();
+
+ // Assert
+ Assert.AreEqual(1, readConfigurationItems.Count);
+
+ var calculation = readConfigurationItems[0] as ReadPipingCalculation;
+ Assert.IsNotNull(calculation);
+ Assert.IsTrue(calculation.AssessmentLevel != null && double.IsNegativeInfinity((double) calculation.AssessmentLevel));
+ Assert.IsTrue(calculation.EntryPointL != null && double.IsNegativeInfinity((double) calculation.EntryPointL));
+ Assert.IsTrue(calculation.ExitPointL != null && double.IsPositiveInfinity((double) calculation.ExitPointL));
+ Assert.IsTrue(calculation.PhreaticLevelExitMean != null && double.IsNegativeInfinity((double) calculation.PhreaticLevelExitMean));
+ Assert.IsTrue(calculation.PhreaticLevelExitStandardDeviation != null && double.IsPositiveInfinity((double) calculation.PhreaticLevelExitStandardDeviation));
+ Assert.IsTrue(calculation.DampingFactorExitMean != null && double.IsPositiveInfinity((double) calculation.DampingFactorExitMean));
+ Assert.IsTrue(calculation.DampingFactorExitStandardDeviation != null && double.IsPositiveInfinity((double) calculation.DampingFactorExitStandardDeviation));
+ }
+
+ [Test]
+ public void Read_ValidConfigurationWithFullCalculationContainingHydraulicBoundaryLocation_ReturnExpectedReadPipingCalculation()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationFullCalculationContainingHydraulicBoundaryLocation.xml");
+ var reader = new PipingCalculationConfigurationReader(filePath);
+
+ // Call
+ IList readConfigurationItems = reader.Read().ToList();
+
+ // Assert
+ Assert.AreEqual(1, readConfigurationItems.Count);
+
+ var calculation = readConfigurationItems[0] as ReadPipingCalculation;
+ Assert.IsNotNull(calculation);
+ Assert.AreEqual("Calculation", calculation.Name);
+ Assert.IsNull(calculation.AssessmentLevel);
+ Assert.AreEqual("HRlocatie", calculation.HydraulicBoundaryLocation);
+ Assert.AreEqual("Profielschematisatie", calculation.SurfaceLine);
+ Assert.AreEqual(2.2, calculation.EntryPointL);
+ Assert.AreEqual(3.3, calculation.ExitPointL);
+ Assert.AreEqual("Ondergrondmodel", calculation.StochasticSoilModel);
+ Assert.AreEqual("Ondergrondschematisatie", calculation.StochasticSoilProfile);
+ Assert.AreEqual(4.4, calculation.PhreaticLevelExitMean);
+ Assert.AreEqual(5.5, calculation.PhreaticLevelExitStandardDeviation);
+ Assert.AreEqual(6.6, calculation.DampingFactorExitMean);
+ Assert.AreEqual(7.7, calculation.DampingFactorExitStandardDeviation);
+ }
+
+ [Test]
+ public void Read_ValidConfigurationWithFullCalculationContainingAssessmentLevel_ReturnExpectedReadPipingCalculation()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationFullCalculationContainingAssessmentLevel.xml");
+ var reader = new PipingCalculationConfigurationReader(filePath);
+
+ // Call
+ IList readConfigurationItems = reader.Read().ToList();
+
+ // Assert
+ Assert.AreEqual(1, readConfigurationItems.Count);
+
+ var calculation = readConfigurationItems[0] as ReadPipingCalculation;
+ Assert.IsNotNull(calculation);
+ Assert.AreEqual("Calculation", calculation.Name);
+ Assert.AreEqual(1.1, calculation.AssessmentLevel);
+ Assert.IsNull(calculation.HydraulicBoundaryLocation);
+ Assert.AreEqual("Profielschematisatie", calculation.SurfaceLine);
+ Assert.AreEqual(2.2, calculation.EntryPointL);
+ Assert.AreEqual(3.3, calculation.ExitPointL);
+ Assert.AreEqual("Ondergrondmodel", calculation.StochasticSoilModel);
+ Assert.AreEqual("Ondergrondschematisatie", calculation.StochasticSoilProfile);
+ Assert.AreEqual(4.4, calculation.PhreaticLevelExitMean);
+ Assert.AreEqual(5.5, calculation.PhreaticLevelExitStandardDeviation);
+ Assert.AreEqual(6.6, calculation.DampingFactorExitMean);
+ Assert.AreEqual(7.7, calculation.DampingFactorExitStandardDeviation);
+ }
+
+ [Test]
+ public void Read_ValidConfigurationWithPartialCalculation_ReturnExpectedReadPipingCalculation()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationPartialCalculation.xml");
+ var reader = new PipingCalculationConfigurationReader(filePath);
+
+ // Call
+ IList readConfigurationItems = reader.Read().ToList();
+
+ // Assert
+ Assert.AreEqual(1, readConfigurationItems.Count);
+
+ var calculation = readConfigurationItems[0] as ReadPipingCalculation;
+ Assert.IsNotNull(calculation);
+ Assert.AreEqual("Calculation", calculation.Name);
+ Assert.AreEqual(1.1, calculation.AssessmentLevel);
+ Assert.IsNull(calculation.HydraulicBoundaryLocation);
+ Assert.IsNull(calculation.SurfaceLine);
+ Assert.IsNull(calculation.EntryPointL);
+ Assert.AreEqual(2.2, calculation.ExitPointL);
+ Assert.IsNull(calculation.StochasticSoilModel);
+ Assert.AreEqual("Ondergrondschematisatie", calculation.StochasticSoilProfile);
+ Assert.AreEqual(3.3, calculation.PhreaticLevelExitMean);
+ Assert.AreEqual(4.4, calculation.PhreaticLevelExitStandardDeviation);
+ Assert.IsNull(calculation.DampingFactorExitMean);
+ Assert.IsNull(calculation.DampingFactorExitStandardDeviation);
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Readers/PipingConfigurationReaderTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Ringtoets.Piping.IO.Test.csproj
===================================================================
diff -u -r59fcd17973dee55b14a079325767f28e8cb535c2 -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Ringtoets.Piping.IO.Test.csproj (.../Ringtoets.Piping.IO.Test.csproj) (revision 59fcd17973dee55b14a079325767f28e8cb535c2)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Ringtoets.Piping.IO.Test.csproj (.../Ringtoets.Piping.IO.Test.csproj) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -77,7 +77,7 @@
-
+
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidAssessmentLevelEmpty.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidAssessmentLevelEmpty.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidAssessmentLevelEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidAssessmentLevelNoDouble.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidAssessmentLevelNoDouble.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidAssessmentLevelNoDouble.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ string
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidAssessmentLevelWrongCulture.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidAssessmentLevelWrongCulture.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidAssessmentLevelWrongCulture.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ 1,2
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleAssessmentLevel.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleAssessmentLevel.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleAssessmentLevel.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ 1.1
+ 2.2
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleEntryPoint.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleEntryPoint.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleEntryPoint.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ 1.1
+ 2.2
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleExitPoint.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleExitPoint.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleExitPoint.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ 1.1
+ 2.2
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleHydraulicBoundaryLocation.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleHydraulicBoundaryLocation.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleHydraulicBoundaryLocation.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ HRlocatie 1
+ HRlocatie 2
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleStochasticSoilModel.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleStochasticSoilModel.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleStochasticSoilModel.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ Ondergrondmodel 1
+ Ondergrondmodel 2
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleStochasticSoilProfile.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleStochasticSoilProfile.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleStochasticSoilProfile.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ Ondergrondschematisatie 1
+ Ondergrondschematisatie 2
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleStochasts.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleStochasts.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleStochasts.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleSurfaceLine.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleSurfaceLine.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidCalculationMultipleSurfaceLine.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ Profielschematisatie 1
+ Profielschematisatie 2
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptyHydraulicBoundaryLocation.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptyHydraulicBoundaryLocation.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptyHydraulicBoundaryLocation.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptySoilModel.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptySoilModel.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptySoilModel.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptySoilProfile.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptySoilProfile.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptySoilProfile.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptyStrings.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptyStrings.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptyStrings.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptySurfaceLine.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptySurfaceLine.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptySurfaceLine.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidContainingBothAssessmentLevelAndHydraulicBoundaryLocation.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidContainingBothAssessmentLevelAndHydraulicBoundaryLocation.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidContainingBothAssessmentLevelAndHydraulicBoundaryLocation.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ 1.1
+ HRlocatie
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidEntryPointEmpty.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidEntryPointEmpty.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidEntryPointEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidEntryPointNoDouble.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidEntryPointNoDouble.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidEntryPointNoDouble.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ string
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidEntryPointWrongCulture.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidEntryPointWrongCulture.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidEntryPointWrongCulture.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ 1,2
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidExitPointEmpty.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidExitPointEmpty.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidExitPointEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidExitPointNoDouble.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidExitPointNoDouble.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidExitPointNoDouble.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ string
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidExitPointWrongCulture.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidExitPointWrongCulture.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidExitPointWrongCulture.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ 1,2
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidMultipleDampingFactorExitStochast.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidMultipleDampingFactorExitStochast.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidMultipleDampingFactorExitStochast.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,15 @@
+
+
+
+
+
+ 0.000
+ 0.100
+
+
+ 0.000
+ 0.100
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidMultiplePhreaticLevelExitStochast.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidMultiplePhreaticLevelExitStochast.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidMultiplePhreaticLevelExitStochast.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,15 @@
+
+
+
+
+
+ 0.000
+ 0.100
+
+
+ 0.000
+ 0.100
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMeanEmpty.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMeanEmpty.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMeanEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+ 0.100
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMeanNoDouble.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMeanNoDouble.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMeanNoDouble.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,11 @@
+
+
+
+
+
+ string
+ 0.100
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMeanWrongCulture.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMeanWrongCulture.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMeanWrongCulture.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,11 @@
+
+
+
+
+
+ 1,2
+ 0.100
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMultipleMean.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMultipleMean.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMultipleMean.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,12 @@
+
+
+
+
+
+ 0.000
+ 1.000
+ 0.100
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMultipleStandardDeviation.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMultipleStandardDeviation.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastMultipleStandardDeviation.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,12 @@
+
+
+
+
+
+ 0.000
+ 0.100
+ 0.200
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastNoMean.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastNoMean.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastNoMean.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,10 @@
+
+
+
+
+
+ 0.100
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastNoName.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastNoName.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastNoName.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,11 @@
+
+
+
+
+
+ 0.000
+ 0.100
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastNoStandardDeviation.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastNoStandardDeviation.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastNoStandardDeviation.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,10 @@
+
+
+
+
+
+ 0.000
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastStandardDeviationEmpty.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastStandardDeviationEmpty.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastStandardDeviationEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,11 @@
+
+
+
+
+
+ 0.000
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastStandardDeviationNoDouble.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastStandardDeviationNoDouble.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastStandardDeviationNoDouble.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,11 @@
+
+
+
+
+
+ 0.000
+ string
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastStandardDeviationWrongCulture.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastStandardDeviationWrongCulture.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastStandardDeviationWrongCulture.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,11 @@
+
+
+
+
+
+ 0.000
+ 1,2
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastUnknownName.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastUnknownName.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/invalidStochastUnknownName.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,11 @@
+
+
+
+
+
+ 0.000
+ 0.100
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationCalculationContainingEmptyStochasts.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationCalculationContainingEmptyStochasts.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationCalculationContainingEmptyStochasts.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationCalculationContainingInfinities.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationCalculationContainingInfinities.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationCalculationContainingInfinities.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,18 @@
+
+
+
+ -INF
+ -INF
+ INF
+
+
+ -INF
+ INF
+
+
+ INF
+ INF
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationCalculationContainingNaNs.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationCalculationContainingNaNs.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationCalculationContainingNaNs.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,18 @@
+
+
+
+ NaN
+ NaN
+ NaN
+
+
+ NaN
+ NaN
+
+
+ NaN
+ NaN
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationEmptyCalculation.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationEmptyCalculation.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationEmptyCalculation.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationFullCalculationContainingAssessmentLevel.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationFullCalculationContainingAssessmentLevel.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationFullCalculationContainingAssessmentLevel.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,21 @@
+
+
+
+ 1.1
+ Profielschematisatie
+ 2.2
+ 3.3
+ Ondergrondmodel
+ Ondergrondschematisatie
+
+
+ 4.4
+ 5.5
+
+
+ 6.6
+ 7.7
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationFullCalculationContainingHydraulicBoundaryLocation.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationFullCalculationContainingHydraulicBoundaryLocation.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationFullCalculationContainingHydraulicBoundaryLocation.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,21 @@
+
+
+
+ HRlocatie
+ Profielschematisatie
+ 2.2
+ 3.3
+ Ondergrondmodel
+ Ondergrondschematisatie
+
+
+ 4.4
+ 5.5
+
+
+ 6.6
+ 7.7
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationPartialCalculation.xml
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationPartialCalculation.xml (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingCalculationConfigurationReader/validConfigurationPartialCalculation.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,14 @@
+
+
+
+ 1.1
+ 2.2
+ Ondergrondschematisatie
+
+
+ 3.3
+ 4.4
+
+
+
+
\ No newline at end of file
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidAssessmentLevelEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidAssessmentLevelNoDouble.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidAssessmentLevelWrongCulture.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidCalculationMultipleAssessmentLevel.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidCalculationMultipleEntryPoint.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidCalculationMultipleExitPoint.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidCalculationMultipleHydraulicBoundaryLocation.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidCalculationMultipleStochasticSoilModel.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidCalculationMultipleStochasticSoilProfile.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidCalculationMultipleStochasts.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidCalculationMultipleSurfaceLine.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidConfigurationCalculationContainingEmptyHydraulicBoundaryLocation.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidConfigurationCalculationContainingEmptySoilModel.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidConfigurationCalculationContainingEmptySoilProfile.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidConfigurationCalculationContainingEmptyStrings.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidConfigurationCalculationContainingEmptySurfaceLine.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidContainingBothAssessmentLevelAndHydraulicBoundaryLocation.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidEntryPointEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidEntryPointNoDouble.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidEntryPointWrongCulture.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidExitPointEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidExitPointNoDouble.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidExitPointWrongCulture.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidMultipleDampingFactorExitStochast.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidMultiplePhreaticLevelExitStochast.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidStochastMeanEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidStochastMeanNoDouble.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidStochastMeanWrongCulture.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidStochastMultipleMean.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidStochastMultipleStandardDeviation.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidStochastNoMean.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidStochastNoName.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidStochastNoStandardDeviation.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidStochastStandardDeviationEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidStochastStandardDeviationNoDouble.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidStochastStandardDeviationWrongCulture.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/invalidStochastUnknownName.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/validConfigurationCalculationContainingEmptyStochasts.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/validConfigurationCalculationContainingInfinities.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/validConfigurationCalculationContainingNaNs.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/validConfigurationEmptyCalculation.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/validConfigurationFullCalculationContainingAssessmentLevel.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/validConfigurationFullCalculationContainingHydraulicBoundaryLocation.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/test-data/PipingConfigurationReader/validConfigurationPartialCalculation.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Readers/ReadWaveConditionsCalculation.cs
===================================================================
diff -u -rdc37877b917879d9c7b63ff1fb4552bff4943c66 -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Readers/ReadWaveConditionsCalculation.cs (.../ReadWaveConditionsCalculation.cs) (revision dc37877b917879d9c7b63ff1fb4552bff4943c66)
+++ Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Readers/ReadWaveConditionsCalculation.cs (.../ReadWaveConditionsCalculation.cs) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -25,7 +25,7 @@
namespace Ringtoets.Revetment.IO.Readers
{
///
- /// Class that represents a wave conditions calculation that is read via .
+ /// Class that represents a wave conditions calculation that is read via .
///
internal class ReadWaveConditionsCalculation : IReadConfigurationItem
{
Index: Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Readers/WaveConditionsCalculationConfigurationReader.cs
===================================================================
diff -u
--- Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Readers/WaveConditionsCalculationConfigurationReader.cs (revision 0)
+++ Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Readers/WaveConditionsCalculationConfigurationReader.cs (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,137 @@
+// Copyright (C) Stichting Deltares 2016. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using System.Collections.Generic;
+using System.Xml;
+using System.Xml.Linq;
+using Core.Common.Base.IO;
+using Ringtoets.Common.IO.Readers;
+using Ringtoets.Common.IO.Schema;
+using Ringtoets.Revetment.IO.Properties;
+using RingtoestCommonIOResources = Ringtoets.Common.IO.Properties.Resources;
+
+namespace Ringtoets.Revetment.IO.Readers
+{
+ ///
+ /// This class reads a wave conditions configuration from XML and creates a collection of corresponding
+ /// , typically containing one or more .
+ ///
+ internal class WaveConditionsCalculationConfigurationReader : CalculationConfigurationReader
+ {
+ private const string hydraulicBoundaryLocationSchemaName = "HrLocatieSchema.xsd";
+ private const string orientationSchemaName = "OrientatieSchema.xsd";
+ private const string foreshoreProfileSchemaName = "VoorlandProfielSchema.xsd";
+ private const string waveReductionSchemaName = "GolfReductieSchema.xsd";
+
+ ///
+ /// Creates a new instance of .
+ ///
+ /// The file path to the XML file.
+ /// Thrown when is invalid.
+ /// Thrown when:
+ ///
+ /// - points to a file that does not exist.
+ /// - points to a file that does not contain valid XML.
+ /// - points to a file that does not pass the schema validation.
+ /// - points to a file that does not contain configuration elements.
+ ///
+ ///
+ public WaveConditionsCalculationConfigurationReader(string xmlFilePath)
+ : base(xmlFilePath,
+ Resources.BekledingenHrConfiguratieSchema,
+ new Dictionary
+ {
+ {
+ hydraulicBoundaryLocationSchemaName, RingtoestCommonIOResources.HrLocatieSchema
+ },
+ {
+ orientationSchemaName, RingtoestCommonIOResources.OrientatieSchema
+ },
+ {
+ foreshoreProfileSchemaName, RingtoestCommonIOResources.VoorlandProfielSchema
+ },
+ {
+ waveReductionSchemaName, RingtoestCommonIOResources.GolfReductieSchema
+ }
+ }) {}
+
+ protected override ReadWaveConditionsCalculation ParseCalculationElement(XElement calculationElement)
+ {
+ var constructionProperties = new ReadWaveConditionsCalculation.ConstructionProperties
+ {
+ Name = calculationElement.Attribute(ConfigurationSchemaIdentifiers.NameAttribute)?.Value,
+ HydraulicBoundaryLocation = CalculationConfigurationReaderHelper.GetStringValueFromDescendantElement(calculationElement,
+ ConfigurationSchemaIdentifiers.HydraulicBoundaryLocationElement),
+ UpperBoundaryRevetment = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement,
+ WaveConditionsInputConfigurationSchemaIdentifiers.UpperBoundaryRevetment),
+ LowerBoundaryRevetment = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement,
+ WaveConditionsInputConfigurationSchemaIdentifiers.LowerBoundaryRevetment),
+ UpperBoundaryWaterLevels = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement,
+ WaveConditionsInputConfigurationSchemaIdentifiers.UpperBoundaryWaterLevels),
+ LowerBoundaryWaterLevels = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement,
+ WaveConditionsInputConfigurationSchemaIdentifiers.LowerBoundaryWaterLevels),
+ StepSize = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement,
+ WaveConditionsInputConfigurationSchemaIdentifiers.StepSize),
+ ForeshoreProfile = CalculationConfigurationReaderHelper.GetStringValueFromDescendantElement(calculationElement,
+ WaveConditionsInputConfigurationSchemaIdentifiers.ForeshoreProfile),
+ Orientation = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement,
+ ConfigurationSchemaIdentifiers.Orientation),
+ UseBreakWater = GetBoolValueFromChildElement(calculationElement,
+ ConfigurationSchemaIdentifiers.UseBreakWater),
+ BreakWaterType = GetBreakWaterType(calculationElement,
+ ConfigurationSchemaIdentifiers.BreakWaterType),
+ BreakWaterHeight = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement,
+ ConfigurationSchemaIdentifiers.BreakWaterHeight),
+ UseForeshore = GetBoolValueFromChildElement(calculationElement,
+ ConfigurationSchemaIdentifiers.UseForeshore)
+ };
+
+ return new ReadWaveConditionsCalculation(constructionProperties);
+ }
+
+ private static ReadBreakWaterType GetBreakWaterType(XElement parentElement, string childElementName)
+ {
+ string element = CalculationConfigurationReaderHelper.GetStringValueFromDescendantElement(parentElement, childElementName);
+
+ switch (element)
+ {
+ case ConfigurationSchemaIdentifiers.BreakWaterCaisson:
+ return ReadBreakWaterType.Caisson;
+ case ConfigurationSchemaIdentifiers.BreakWaterDam:
+ return ReadBreakWaterType.HarborDam;
+ case ConfigurationSchemaIdentifiers.BreakWaterWall:
+ return ReadBreakWaterType.Vertical;
+ default:
+ return ReadBreakWaterType.None;
+ }
+ }
+
+ private static bool? GetBoolValueFromChildElement(XElement parentElement, string childElementName)
+ {
+ XElement descendantElement = CalculationConfigurationReaderHelper.GetDescendantElement(parentElement, childElementName);
+
+ return descendantElement != null
+ ? (bool?) XmlConvert.ToBoolean(descendantElement.Value)
+ : null;
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Readers/WaveConditionsInputConfigurationReader.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Ringtoets.Revetment.IO.csproj
===================================================================
diff -u -rdc37877b917879d9c7b63ff1fb4552bff4943c66 -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Ringtoets.Revetment.IO.csproj (.../Ringtoets.Revetment.IO.csproj) (revision dc37877b917879d9c7b63ff1fb4552bff4943c66)
+++ Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Ringtoets.Revetment.IO.csproj (.../Ringtoets.Revetment.IO.csproj) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -56,7 +56,7 @@
-
+
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/Readers/WaveConditionsCalculationConfigurationReaderTest.cs
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/Readers/WaveConditionsCalculationConfigurationReaderTest.cs (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/Readers/WaveConditionsCalculationConfigurationReaderTest.cs (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,362 @@
+// Copyright (C) Stichting Deltares 2016. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Xml.Schema;
+using Core.Common.Base.IO;
+using Core.Common.TestUtil;
+using NUnit.Framework;
+using Ringtoets.Common.IO.Readers;
+using Ringtoets.Revetment.IO.Readers;
+
+namespace Ringtoets.Revetment.IO.Test.Readers
+{
+ [TestFixture]
+ public class WaveConditionsCalculationConfigurationReaderTest
+ {
+ private readonly string testDirectoryPath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Revetment.IO,
+ "WaveConditionsCalculationConfigurationReader");
+
+ private static IEnumerable InvalidConfigurations
+ {
+ get
+ {
+ yield return new TestCaseData("invalidCalculationMultipleHydraulicBoundaryLocation.xml",
+ "The element 'berekening' has invalid child element 'hrlocatie'.")
+ .SetName("invalidCalculationMultipleHydraulicBoundaryLocation");
+ yield return new TestCaseData("invalidCalculationMultipleForeshoreProfile.xml",
+ "The element 'berekening' has invalid child element 'voorlandprofiel'.")
+ .SetName("invalidCalculationMultipleForeshoreProfile");
+ yield return new TestCaseData("invalidCalculationMultipleOrientation.xml",
+ "The element 'berekening' has invalid child element 'orientatie'.")
+ .SetName("invalidCalculationMultipleOrientation");
+ yield return new TestCaseData("invalidCalculationMultipleLowerBoundaryRevetment.xml",
+ "The element 'berekening' has invalid child element 'ondergrensbekleding'.")
+ .SetName("invalidCalculationMultipleLowerBoundaryRevetment");
+ yield return new TestCaseData("invalidCalculationMultipleUpperBoundaryRevetment.xml",
+ "The element 'berekening' has invalid child element 'bovengrensbekleding'.")
+ .SetName("invalidCalculationMultipleUpperBoundaryRevetment");
+ yield return new TestCaseData("invalidCalculationMultipleLowerBoundaryWaterLevels.xml",
+ "The element 'berekening' has invalid child element 'ondergrenswaterstanden'.")
+ .SetName("invalidCalculationMultipleLowerBoundaryWaterLevels");
+ yield return new TestCaseData("invalidCalculationMultipleUpperBoundaryWaterLevels.xml",
+ "The element 'berekening' has invalid child element 'bovengrenswaterstanden'.")
+ .SetName("invalidCalculationMultipleUpperBoundaryWaterLevels");
+ yield return new TestCaseData("invalidCalculationMultipleStepSize.xml",
+ "The element 'berekening' has invalid child element 'stapgrootte'.")
+ .SetName("invalidCalculationMultipleStepSize");
+ yield return new TestCaseData("invalidCalculationMultipleWaveReduction.xml",
+ "The element 'berekening' has invalid child element 'golfreductie'.")
+ .SetName("invalidCalculationMultipleWaveReduction");
+ yield return new TestCaseData("invalidCalculationMultipleDamUsage.xml",
+ "The element 'golfreductie' has invalid child element 'damgebruiken'.")
+ .SetName("invalidCalculationMultipleDamUsage");
+ yield return new TestCaseData("invalidCalculationMultipleDamType.xml",
+ "The element 'golfreductie' has invalid child element 'damtype'.")
+ .SetName("invalidCalculationMultipleDamType");
+ yield return new TestCaseData("invalidCalculationMultipleDamHeight.xml",
+ "The element 'golfreductie' has invalid child element 'damhoogte'.")
+ .SetName("invalidCalculationMultipleDamHeight");
+ yield return new TestCaseData("invalidCalculationMultipleForeshoreUsage.xml",
+ "The element 'golfreductie' has invalid child element 'voorlandgebruiken'.")
+ .SetName("invalidCalculationMultipleForeshoreUsage");
+ yield return new TestCaseData("invalidConfigurationCalculationContainingEmptyHydraulicBoundaryLocation.xml",
+ "The 'hrlocatie' element is invalid - The value '' is invalid according to its datatype 'String' - The actual length is less than the MinLength value.")
+ .SetName("invalidConfigurationCalculationContainingEmptyHydraulicBoundaryLocation");
+ yield return new TestCaseData("invalidConfigurationCalculationContainingEmptyForeshoreProfile.xml",
+ "The 'voorlandprofiel' element is invalid - The value '' is invalid according to its datatype 'String' - The actual length is less than the MinLength value.")
+ .SetName("invalidConfigurationCalculationContainingEmptyForeshoreProfile");
+ yield return new TestCaseData("invalidLowerBoundaryRevetmentEmpty.xml",
+ "The 'ondergrensbekleding' element is invalid - The value '' is invalid according to its datatype 'Double'")
+ .SetName("invalidLowerBoundaryRevetmentEmpty");
+ yield return new TestCaseData("invalidLowerBoundaryRevetmentNoDouble.xml",
+ "The 'ondergrensbekleding' element is invalid - The value 'string' is invalid according to its datatype 'Double'")
+ .SetName("invalidLowerBoundaryRevetmentNoDouble");
+ yield return new TestCaseData("invalidLowerBoundaryRevetmentWrongCulture.xml",
+ "The 'ondergrensbekleding' element is invalid - The value '1,2' is invalid according to its datatype 'Double'")
+ .SetName("invalidLowerBoundaryRevetmentWrongCulture");
+ yield return new TestCaseData("invalidUpperBoundaryRevetmentEmpty.xml",
+ "The 'bovengrensbekleding' element is invalid - The value '' is invalid according to its datatype 'Double'")
+ .SetName("invalidUpperBoundaryRevetmentEmpty");
+ yield return new TestCaseData("invalidUpperBoundaryRevetmentNoDouble.xml",
+ "The 'bovengrensbekleding' element is invalid - The value 'string' is invalid according to its datatype 'Double'")
+ .SetName("invalidUpperBoundaryRevetmentNoDouble");
+ yield return new TestCaseData("invalidUpperBoundaryRevetmentWrongCulture.xml",
+ "The 'bovengrensbekleding' element is invalid - The value '1,2' is invalid according to its datatype 'Double'")
+ .SetName("invalidUpperBoundaryRevetmentWrongCulture");
+ yield return new TestCaseData("invalidLowerBoundaryWaterLevelsEmpty.xml",
+ "The 'ondergrenswaterstanden' element is invalid - The value '' is invalid according to its datatype 'Double'")
+ .SetName("invalidLowerBoundaryWaterLevelsEmpty");
+ yield return new TestCaseData("invalidLowerBoundaryWaterLevelsNoDouble.xml",
+ "The 'ondergrenswaterstanden' element is invalid - The value 'string' is invalid according to its datatype 'Double'")
+ .SetName("invalidLowerBoundaryWaterLevelsNoDouble");
+ yield return new TestCaseData("invalidLowerBoundaryWaterLevelsWrongCulture.xml",
+ "The 'ondergrenswaterstanden' element is invalid - The value '1,2' is invalid according to its datatype 'Double'")
+ .SetName("invalidLowerBoundaryWaterLevelsWrongCulture");
+ yield return new TestCaseData("invalidUpperBoundaryWaterLevelsEmpty.xml",
+ "The 'bovengrenswaterstanden' element is invalid - The value '' is invalid according to its datatype 'Double'")
+ .SetName("invalidUpperBoundaryWaterLevelsEmpty");
+ yield return new TestCaseData("invalidUpperBoundaryWaterLevelsNoDouble.xml",
+ "The 'bovengrenswaterstanden' element is invalid - The value 'string' is invalid according to its datatype 'Double'")
+ .SetName("invalidUpperBoundaryWaterLevelsNoDouble");
+ yield return new TestCaseData("invalidUpperBoundaryWaterLevelsWrongCulture.xml",
+ "The 'bovengrenswaterstanden' element is invalid - The value '1,2' is invalid according to its datatype 'Double'")
+ .SetName("invalidUpperBoundaryWaterLevelsWrongCulture");
+ yield return new TestCaseData("invalidStepSizeEmpty.xml",
+ "The 'stapgrootte' element is invalid - The value '' is invalid according to its datatype 'Double'")
+ .SetName("invalidStepSizeEmpty");
+ yield return new TestCaseData("invalidStepSizeNoDouble.xml",
+ "The 'stapgrootte' element is invalid - The value 'string' is invalid according to its datatype 'Double'")
+ .SetName("invalidStepSizeNoDouble");
+ yield return new TestCaseData("invalidStepSizeWrongCulture.xml",
+ "The 'stapgrootte' element is invalid - The value '0,5' is invalid according to its datatype 'Double'")
+ .SetName("invalidStepSizeWrongCulture");
+ yield return new TestCaseData("invalidStepSizeUnknownValue.xml",
+ "The 'stapgrootte' element is invalid - The value '1.3' is invalid according to its datatype 'Double' - The Enumeration constraint failed.")
+ .SetName("invalidStepSizeUnknownValue");
+ yield return new TestCaseData("invalidOrientationEmpty.xml",
+ "The 'orientatie' element is invalid - The value '' is invalid according to its datatype 'Double'")
+ .SetName("invalidOrientationEmpty");
+ yield return new TestCaseData("invalidOrientationNoDouble.xml",
+ "The 'orientatie' element is invalid - The value 'string' is invalid according to its datatype 'Double'")
+ .SetName("invalidOrientationNoDouble");
+ yield return new TestCaseData("invalidOrientationWrongCulture.xml",
+ "The 'orientatie' element is invalid - The value '0,5' is invalid according to its datatype 'Double'")
+ .SetName("invalidOrientationWrongCulture");
+ yield return new TestCaseData("invalidDamUsageEmpty.xml",
+ "The 'damgebruiken' element is invalid - The value '' is invalid according to its datatype 'Boolean'")
+ .SetName("invalidDamUsageEmpty");
+ yield return new TestCaseData("invalidDamUsageNoBoolean.xml",
+ "The 'damgebruiken' element is invalid - The value 'string' is invalid according to its datatype 'Boolean'")
+ .SetName("invalidDamUsageNoBoolean");
+ yield return new TestCaseData("invalidDamTypeEmpty.xml",
+ "The 'damtype' element is invalid - The value '' is invalid according to its datatype 'String'")
+ .SetName("invalidDamTypeEmpty");
+ yield return new TestCaseData("invalidDamTypeUnknownValue.xml",
+ "The 'damtype' element is invalid - The value 'text' is invalid according to its datatype 'String' - The Enumeration constraint failed.")
+ .SetName("invalidDamTypeUnknownValue");
+ yield return new TestCaseData("invalidDamHeightEmpty.xml",
+ "The 'damhoogte' element is invalid - The value '' is invalid according to its datatype 'Double'")
+ .SetName("invalidDamHeightEmpty");
+ yield return new TestCaseData("invalidDamHeightNoDouble.xml",
+ "The 'damhoogte' element is invalid - The value 'string' is invalid according to its datatype 'Double'")
+ .SetName("invalidDamHeightNoDouble");
+ yield return new TestCaseData("invalidDamHeightWrongCulture.xml",
+ "The 'damhoogte' element is invalid - The value '0,5' is invalid according to its datatype 'Double'")
+ .SetName("invalidDamHeightWrongCulture");
+ yield return new TestCaseData("invalidForeshoreUsageEmpty.xml",
+ "The 'voorlandgebruiken' element is invalid - The value '' is invalid according to its datatype 'Boolean'")
+ .SetName("invalidForeshoreUsageEmpty");
+ yield return new TestCaseData("invalidForeshoreUsageNoBoolean.xml",
+ "The 'voorlandgebruiken' element is invalid - The value 'string' is invalid according to its datatype 'Boolean'")
+ .SetName("invalidForeshoreUsageNoBoolean");
+ }
+ }
+
+ [Test]
+ public void Constructor_ExpectedValues()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationEmptyCalculation.xml");
+
+ // Call
+ var reader = new WaveConditionsCalculationConfigurationReader(filePath);
+
+ // Assert
+ Assert.IsInstanceOf>(reader);
+ }
+
+ [Test]
+ [TestCaseSource(nameof(InvalidConfigurations))]
+ public void Constructor_FileInvalidBasedOnSchemaDefinition_ThrowCriticalFileReadException(string fileName, string expectedParsingMessage)
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, fileName);
+
+ // Call
+ TestDelegate call = () => new WaveConditionsCalculationConfigurationReader(filePath);
+
+ // Assert
+ var exception = Assert.Throws(call);
+ Assert.IsInstanceOf(exception.InnerException);
+ StringAssert.Contains(expectedParsingMessage, exception.InnerException?.Message);
+ }
+
+ [Test]
+ public void Read_ValidConfigurationWithEmptyCalculation_ReturnExpectedReadWaveConditionsInput()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationEmptyCalculation.xml");
+ var reader = new WaveConditionsCalculationConfigurationReader(filePath);
+
+ // Call
+ List readItems = reader.Read().ToList();
+
+ // Assert
+ Assert.AreEqual(1, readItems.Count);
+
+ var calculation = readItems[0] as ReadWaveConditionsCalculation;
+ Assert.IsNotNull(calculation);
+ Assert.AreEqual("Berekening 1", calculation.Name);
+ Assert.IsNull(calculation.HydraulicBoundaryLocation);
+ Assert.IsNull(calculation.UpperBoundaryRevetment);
+ Assert.IsNull(calculation.LowerBoundaryRevetment);
+ Assert.IsNull(calculation.UpperBoundaryWaterLevels);
+ Assert.IsNull(calculation.LowerBoundaryWaterLevels);
+ Assert.IsNull(calculation.StepSize);
+ Assert.IsNull(calculation.ForeshoreProfile);
+ Assert.IsNull(calculation.Orientation);
+ Assert.IsNull(calculation.UseBreakWater);
+ Assert.AreEqual(ReadBreakWaterType.None, calculation.BreakWaterType);
+ Assert.IsNull(calculation.BreakWaterHeight);
+ Assert.IsNull(calculation.UseForeshore);
+ }
+
+ [Test]
+ public void Read_ValidConfigurationWithCalculationContainingEmptyWaveReduction_ReturnExpectedReadWaveConditionsCalculation()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationCalculationContainingEmptyWaveReduction.xml");
+ var reader = new WaveConditionsCalculationConfigurationReader(filePath);
+
+ // Call
+ List readItems = reader.Read().ToList();
+
+ // Assert
+ Assert.AreEqual(1, readItems.Count);
+
+ var calculation = readItems[0] as ReadWaveConditionsCalculation;
+ Assert.IsNotNull(calculation);
+ Assert.IsNull(calculation.UseBreakWater);
+ Assert.AreEqual(ReadBreakWaterType.None, calculation.BreakWaterType);
+ Assert.IsNull(calculation.BreakWaterHeight);
+ Assert.IsNull(calculation.UseForeshore);
+ }
+
+ [Test]
+ public void Read_ValidConfigurationWithCalculationContainingNaNs_ReturnExpectedReadWaveConditionsCalculation()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationCalculationContainingNaNs.xml");
+ var reader = new WaveConditionsCalculationConfigurationReader(filePath);
+
+ // Call
+ List readItems = reader.Read().ToList();
+
+ // Assert
+ Assert.AreEqual(1, readItems.Count);
+
+ var calculation = readItems[0] as ReadWaveConditionsCalculation;
+ Assert.IsNotNull(calculation);
+ Assert.IsNaN(calculation.UpperBoundaryRevetment);
+ Assert.IsNaN(calculation.LowerBoundaryRevetment);
+ Assert.IsNaN(calculation.UpperBoundaryWaterLevels);
+ Assert.IsNaN(calculation.LowerBoundaryWaterLevels);
+ Assert.IsNaN(calculation.Orientation);
+ Assert.IsNaN(calculation.BreakWaterHeight);
+ }
+
+ [Test]
+ public void Read_ValidConfigurationWithCalculationContainingInfinities_ReturnExpectedReadWaveConditionsCalculation()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationCalculationContaininInfinities.xml");
+ var reader = new WaveConditionsCalculationConfigurationReader(filePath);
+
+ // Call
+ List readItems = reader.Read().ToList();
+
+ // Assert
+ Assert.AreEqual(1, readItems.Count);
+
+ var calculation = readItems[0] as ReadWaveConditionsCalculation;
+ Assert.IsNotNull(calculation);
+ Assert.IsTrue(calculation.UpperBoundaryRevetment != null && double.IsPositiveInfinity((double) calculation.UpperBoundaryRevetment));
+ Assert.IsTrue(calculation.LowerBoundaryRevetment != null && double.IsNegativeInfinity((double) calculation.LowerBoundaryRevetment));
+ Assert.IsTrue(calculation.UpperBoundaryWaterLevels != null && double.IsPositiveInfinity((double) calculation.UpperBoundaryWaterLevels));
+ Assert.IsTrue(calculation.LowerBoundaryWaterLevels != null && double.IsNegativeInfinity((double) calculation.LowerBoundaryWaterLevels));
+ Assert.IsTrue(calculation.Orientation != null && double.IsPositiveInfinity((double) calculation.Orientation));
+ Assert.IsTrue(calculation.BreakWaterHeight != null && double.IsPositiveInfinity((double) calculation.BreakWaterHeight));
+ }
+
+ [Test]
+ public void Read_ValidConfigurationWithFullCalculation_ReturnExpectedReadWaveConditionsCalculation()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationFullCalculation.xml");
+ var reader = new WaveConditionsCalculationConfigurationReader(filePath);
+
+ // Call
+ List readItems = reader.Read().ToList();
+
+ // Assert
+ Assert.AreEqual(1, readItems.Count);
+
+ var calculation = readItems[0] as ReadWaveConditionsCalculation;
+ Assert.IsNotNull(calculation);
+ Assert.AreEqual("Berekening 1", calculation.Name);
+ Assert.AreEqual("HRlocatie", calculation.HydraulicBoundaryLocation);
+ Assert.AreEqual(1.1, calculation.UpperBoundaryRevetment);
+ Assert.AreEqual(2.2, calculation.LowerBoundaryRevetment);
+ Assert.AreEqual(3.3, calculation.UpperBoundaryWaterLevels);
+ Assert.AreEqual(4.4, calculation.LowerBoundaryWaterLevels);
+ Assert.AreEqual(0.5, calculation.StepSize);
+ Assert.AreEqual("Voorlandprofiel", calculation.ForeshoreProfile);
+ Assert.AreEqual(5.5, calculation.Orientation);
+ Assert.IsTrue(calculation.UseBreakWater);
+ Assert.AreEqual(ReadBreakWaterType.Caisson, calculation.BreakWaterType);
+ Assert.AreEqual(6.6, calculation.BreakWaterHeight);
+ Assert.IsFalse(calculation.UseForeshore);
+ }
+
+ [Test]
+ public void Read_ValidConfigurationWithPartialCalculation_ReturnExpectedReadWaveConditionsCalculation()
+ {
+ // Setup
+ string filePath = Path.Combine(testDirectoryPath, "validConfigurationPartialCalculation.xml");
+ var reader = new WaveConditionsCalculationConfigurationReader(filePath);
+
+ // Call
+ List readItems = reader.Read().ToList();
+
+ // Assert
+ Assert.AreEqual(1, readItems.Count);
+
+ var calculation = readItems[0] as ReadWaveConditionsCalculation;
+ Assert.IsNotNull(calculation);
+ Assert.AreEqual("Berekening 1", calculation.Name);
+ Assert.IsNull(calculation.HydraulicBoundaryLocation);
+ Assert.AreEqual(1.1, calculation.UpperBoundaryRevetment);
+ Assert.AreEqual(2.2, calculation.LowerBoundaryRevetment);
+ Assert.IsNull(calculation.UpperBoundaryWaterLevels);
+ Assert.IsNull(calculation.LowerBoundaryWaterLevels);
+ Assert.AreEqual(0.5, calculation.StepSize);
+ Assert.IsNull(calculation.ForeshoreProfile);
+ Assert.IsNull(calculation.Orientation);
+ Assert.IsTrue(calculation.UseBreakWater);
+ Assert.AreEqual(ReadBreakWaterType.Caisson, calculation.BreakWaterType);
+ Assert.AreEqual(3.3, calculation.BreakWaterHeight);
+ Assert.IsNull(calculation.UseForeshore);
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/Readers/WaveConditionsInputConfigurationReaderTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/Ringtoets.Revetment.IO.Test.csproj
===================================================================
diff -u -ra0c7229c5e088639649bec9d2d64e0e30bad1d48 -r7594d7f46113b5c5f4f41bfbd0183a3789f648b9
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/Ringtoets.Revetment.IO.Test.csproj (.../Ringtoets.Revetment.IO.Test.csproj) (revision a0c7229c5e088639649bec9d2d64e0e30bad1d48)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/Ringtoets.Revetment.IO.Test.csproj (.../Ringtoets.Revetment.IO.Test.csproj) (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -55,7 +55,7 @@
-
+
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleDamHeight.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleDamHeight.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleDamHeight.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,9 @@
+
+
+
+
+ 1.3
+ 1.2
+
+
+
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleDamType.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleDamType.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleDamType.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,9 @@
+
+
+
+
+ verticalewand
+ havendam
+
+
+
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleDamUsage.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleDamUsage.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleDamUsage.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,9 @@
+
+
+
+
+ true
+ false
+
+
+
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleForeshoreProfile.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleForeshoreProfile.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleForeshoreProfile.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ Profiel 1
+ Profiel 2
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleForeshoreUsage.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleForeshoreUsage.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleForeshoreUsage.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,9 @@
+
+
+
+
+ true
+ false
+
+
+
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleHydraulicBoundaryLocation.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleHydraulicBoundaryLocation.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleHydraulicBoundaryLocation.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ HRlocatie 1
+ HRlocatie 2
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleLowerBoundaryRevetment.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleLowerBoundaryRevetment.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleLowerBoundaryRevetment.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ 1.1
+ 2.2
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleLowerBoundaryWaterLevels.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleLowerBoundaryWaterLevels.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleLowerBoundaryWaterLevels.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ 1.1
+ 2.2
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleOrientation.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleOrientation.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleOrientation.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ 1.2
+ 1.2
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleStepSize.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleStepSize.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleStepSize.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ 0.5
+ 1.0
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleUpperBoundaryRevetment.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleUpperBoundaryRevetment.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleUpperBoundaryRevetment.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ 1.1
+ 2.2
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleUpperBoundaryWaterLevels.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleUpperBoundaryWaterLevels.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleUpperBoundaryWaterLevels.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+ 1.1
+ 2.2
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleWaveReduction.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleWaveReduction.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidCalculationMultipleWaveReduction.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptyForeshoreProfile.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptyForeshoreProfile.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptyForeshoreProfile.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptyHydraulicBoundaryLocation.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptyHydraulicBoundaryLocation.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidConfigurationCalculationContainingEmptyHydraulicBoundaryLocation.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamHeightEmpty.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamHeightEmpty.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamHeightEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamHeightNoDouble.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamHeightNoDouble.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamHeightNoDouble.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,8 @@
+
+
+
+
+ string
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamHeightWrongCulture.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamHeightWrongCulture.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamHeightWrongCulture.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,8 @@
+
+
+
+
+ 0,5
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamTypeEmpty.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamTypeEmpty.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamTypeEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamTypeUnknownValue.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamTypeUnknownValue.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamTypeUnknownValue.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,8 @@
+
+
+
+
+ text
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamUsageEmpty.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamUsageEmpty.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamUsageEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamUsageNoBoolean.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamUsageNoBoolean.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidDamUsageNoBoolean.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,8 @@
+
+
+
+
+ string
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidForeshoreUsageEmpty.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidForeshoreUsageEmpty.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidForeshoreUsageEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidForeshoreUsageNoBoolean.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidForeshoreUsageNoBoolean.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidForeshoreUsageNoBoolean.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,8 @@
+
+
+
+
+ string
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryRevetmentEmpty.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryRevetmentEmpty.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryRevetmentEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryRevetmentNoDouble.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryRevetmentNoDouble.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryRevetmentNoDouble.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ string
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryRevetmentWrongCulture.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryRevetmentWrongCulture.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryRevetmentWrongCulture.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ 1,2
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryWaterLevelsEmpty.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryWaterLevelsEmpty.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryWaterLevelsEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryWaterLevelsNoDouble.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryWaterLevelsNoDouble.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryWaterLevelsNoDouble.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ string
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryWaterLevelsWrongCulture.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryWaterLevelsWrongCulture.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidLowerBoundaryWaterLevelsWrongCulture.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ 1,2
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidOrientationEmpty.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidOrientationEmpty.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidOrientationEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidOrientationNoDouble.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidOrientationNoDouble.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidOrientationNoDouble.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ string
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidOrientationWrongCulture.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidOrientationWrongCulture.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidOrientationWrongCulture.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ 0,5
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidStepSizeEmpty.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidStepSizeEmpty.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidStepSizeEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidStepSizeNoDouble.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidStepSizeNoDouble.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidStepSizeNoDouble.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ string
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidStepSizeUnknownValue.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidStepSizeUnknownValue.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidStepSizeUnknownValue.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ 1.3
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidStepSizeWrongCulture.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidStepSizeWrongCulture.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidStepSizeWrongCulture.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ 0,5
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryRevetmentEmpty.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryRevetmentEmpty.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryRevetmentEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryRevetmentNoDouble.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryRevetmentNoDouble.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryRevetmentNoDouble.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ string
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryRevetmentWrongCulture.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryRevetmentWrongCulture.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryRevetmentWrongCulture.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ 1,2
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryWaterLevelsEmpty.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryWaterLevelsEmpty.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryWaterLevelsEmpty.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryWaterLevelsNoDouble.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryWaterLevelsNoDouble.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryWaterLevelsNoDouble.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ string
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryWaterLevelsWrongCulture.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryWaterLevelsWrongCulture.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/invalidUpperBoundaryWaterLevelsWrongCulture.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+ 1,2
+
+
\ No newline at end of file
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationCalculationContaininInfinities.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationCalculationContaininInfinities.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationCalculationContaininInfinities.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,13 @@
+
+
+
+ INF
+ -INF
+ INF
+ -INF
+ INF
+
+ INF
+
+
+
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationCalculationContainingEmptyWaveReduction.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationCalculationContainingEmptyWaveReduction.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationCalculationContainingEmptyWaveReduction.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationCalculationContainingNaNs.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationCalculationContainingNaNs.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationCalculationContainingNaNs.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,13 @@
+
+
+
+ NaN
+ NaN
+ NaN
+ NaN
+ NaN
+
+ NaN
+
+
+
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationEmptyCalculation.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationEmptyCalculation.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationEmptyCalculation.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,4 @@
+
+
+
+
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationFullCalculation.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationFullCalculation.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationFullCalculation.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,19 @@
+
+
+
+ HRlocatie
+ 1.1
+ 2.2
+ 3.3
+ 4.4
+ 0.5
+ Voorlandprofiel
+ 5.5
+
+ true
+ caisson
+ 6.6
+ false
+
+
+
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationPartialCalculation.xml
===================================================================
diff -u
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationPartialCalculation.xml (revision 0)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsCalculationConfigurationReader/validConfigurationPartialCalculation.xml (revision 7594d7f46113b5c5f4f41bfbd0183a3789f648b9)
@@ -0,0 +1,13 @@
+
+
+
+ 1.1
+ 2.2
+ 0.5
+
+ true
+ caisson
+ 3.3
+
+
+
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidCalculationMultipleDamHeight.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidCalculationMultipleDamType.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidCalculationMultipleDamUsage.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidCalculationMultipleForeshoreProfile.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidCalculationMultipleForeshoreUsage.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidCalculationMultipleHydraulicBoundaryLocation.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidCalculationMultipleLowerBoundaryRevetment.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidCalculationMultipleLowerBoundaryWaterLevels.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidCalculationMultipleOrientation.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidCalculationMultipleStepSize.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidCalculationMultipleUpperBoundaryRevetment.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidCalculationMultipleUpperBoundaryWaterLevels.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidCalculationMultipleWaveReduction.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidConfigurationCalculationContainingEmptyForeshoreProfile.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidConfigurationCalculationContainingEmptyHydraulicBoundaryLocation.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidDamHeightEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidDamHeightNoDouble.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidDamHeightWrongCulture.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidDamTypeEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidDamTypeUnknownValue.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidDamUsageEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidDamUsageNoBoolean.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidForeshoreUsageEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidForeshoreUsageNoBoolean.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidLowerBoundaryRevetmentEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidLowerBoundaryRevetmentNoDouble.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidLowerBoundaryRevetmentWrongCulture.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidLowerBoundaryWaterLevelsEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidLowerBoundaryWaterLevelsNoDouble.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidLowerBoundaryWaterLevelsWrongCulture.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidOrientationEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidOrientationNoDouble.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidOrientationWrongCulture.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidStepSizeEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidStepSizeNoDouble.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidStepSizeUnknownValue.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidStepSizeWrongCulture.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidUpperBoundaryRevetmentEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidUpperBoundaryRevetmentNoDouble.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidUpperBoundaryRevetmentWrongCulture.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidUpperBoundaryWaterLevelsEmpty.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidUpperBoundaryWaterLevelsNoDouble.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/invalidUpperBoundaryWaterLevelsWrongCulture.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/validConfigurationCalculationContaininInfinities.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/validConfigurationCalculationContainingEmptyWaveReduction.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/validConfigurationCalculationContainingNaNs.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/validConfigurationEmptyCalculation.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/validConfigurationFullCalculation.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 7594d7f46113b5c5f4f41bfbd0183a3789f648b9 refers to a dead (removed) revision in file `Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/test-data/WaveConditionsInputConfigurationReader/validConfigurationPartialCalculation.xml'.
Fisheye: No comparison available. Pass `N' to diff?