Index: Riskeer/AssemblyTool/test/Riskeer.AssemblyTool.IO.TestUtil/ExportableFailureMechanismSectionAssemblyResultAssertHelper.cs
===================================================================
diff -u -rf70260f208dfbbac4b822a2a4b00a8edc5351ccd -r17efbc2697a98e22b078162cef888e2608b17944
--- Riskeer/AssemblyTool/test/Riskeer.AssemblyTool.IO.TestUtil/ExportableFailureMechanismSectionAssemblyResultAssertHelper.cs (.../ExportableFailureMechanismSectionAssemblyResultAssertHelper.cs) (revision f70260f208dfbbac4b822a2a4b00a8edc5351ccd)
+++ Riskeer/AssemblyTool/test/Riskeer.AssemblyTool.IO.TestUtil/ExportableFailureMechanismSectionAssemblyResultAssertHelper.cs (.../ExportableFailureMechanismSectionAssemblyResultAssertHelper.cs) (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -24,7 +24,7 @@
using NUnit.Framework;
using Riskeer.AssemblyTool.Data;
using Riskeer.AssemblyTool.IO.Model;
-using Riskeer.Integration.IO.Factories;
+using Riskeer.Integration.IO.Converters;
namespace Riskeer.AssemblyTool.IO.TestUtil
{
Index: Riskeer/Integration/src/Riskeer.Integration.IO/Converters/ExportableAssemblyMethodConverter.cs
===================================================================
diff -u
--- Riskeer/Integration/src/Riskeer.Integration.IO/Converters/ExportableAssemblyMethodConverter.cs (revision 0)
+++ Riskeer/Integration/src/Riskeer.Integration.IO/Converters/ExportableAssemblyMethodConverter.cs (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -0,0 +1,86 @@
+// Copyright (C) Stichting Deltares 2022. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer 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.ComponentModel;
+using Riskeer.AssemblyTool.Data;
+using Riskeer.AssemblyTool.IO.Model.Enums;
+
+namespace Riskeer.Integration.IO.Converters
+{
+ ///
+ /// Converter for converting into .
+ ///
+ public static class ExportableAssemblyMethodConverter
+ {
+ ///
+ /// Converts an into an .
+ ///
+ /// The
+ /// to convert into an .
+ /// An .
+ /// Thrown when
+ /// is an invalid value.
+ /// Thrown when
+ /// is a valid value, but unsupported.
+ public static ExportableAssemblyMethod ConvertTo(AssemblyMethod assemblyMethod)
+ {
+ if (!Enum.IsDefined(typeof(AssemblyMethod), assemblyMethod))
+ {
+ throw new InvalidEnumArgumentException(nameof(assemblyMethod),
+ (int) assemblyMethod,
+ typeof(AssemblyMethod));
+ }
+
+ switch (assemblyMethod)
+ {
+ case AssemblyMethod.BOI0A1:
+ return ExportableAssemblyMethod.BOI0A1;
+ case AssemblyMethod.BOI0A2:
+ return ExportableAssemblyMethod.BOI0A2;
+ case AssemblyMethod.BOI0B1:
+ return ExportableAssemblyMethod.BOI0B1;
+ case AssemblyMethod.BOI0C1:
+ return ExportableAssemblyMethod.BOI0C1;
+ case AssemblyMethod.BOI0C2:
+ return ExportableAssemblyMethod.BOI0C2;
+ case AssemblyMethod.BOI1A1:
+ return ExportableAssemblyMethod.BOI1A1;
+ case AssemblyMethod.BOI1A2:
+ return ExportableAssemblyMethod.BOI1A2;
+ case AssemblyMethod.Manual:
+ return ExportableAssemblyMethod.Manual;
+ case AssemblyMethod.BOI2A1:
+ return ExportableAssemblyMethod.BOI2A1;
+ case AssemblyMethod.BOI2B1:
+ return ExportableAssemblyMethod.BOI2B1;
+ case AssemblyMethod.BOI3A1:
+ return ExportableAssemblyMethod.BOI3A1;
+ case AssemblyMethod.BOI3B1:
+ return ExportableAssemblyMethod.BOI3B1;
+ case AssemblyMethod.BOI3C1:
+ return ExportableAssemblyMethod.BOI3C1;
+ default:
+ throw new NotSupportedException();
+ }
+ }
+ }
+}
\ No newline at end of file
Index: Riskeer/Integration/src/Riskeer.Integration.IO/Converters/ExportableFailureMechanismSectionAssemblyGroupConverter.cs
===================================================================
diff -u
--- Riskeer/Integration/src/Riskeer.Integration.IO/Converters/ExportableFailureMechanismSectionAssemblyGroupConverter.cs (revision 0)
+++ Riskeer/Integration/src/Riskeer.Integration.IO/Converters/ExportableFailureMechanismSectionAssemblyGroupConverter.cs (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -0,0 +1,83 @@
+// Copyright (C) Stichting Deltares 2022. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer 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.ComponentModel;
+using Riskeer.AssemblyTool.Data;
+using Riskeer.AssemblyTool.IO.Model.Enums;
+
+namespace Riskeer.Integration.IO.Converters
+{
+ ///
+ /// Converter for converting into .
+ ///
+ public static class ExportableFailureMechanismSectionAssemblyGroupConverter
+ {
+ ///
+ /// Converts an into an .
+ ///
+ /// The
+ /// to convert into an .
+ /// An .
+ /// Thrown when
+ /// is an invalid value.
+ /// Thrown when
+ /// is a valid value, but unsupported.
+ public static ExportableFailureMechanismSectionAssemblyGroup ConvertTo(
+ FailureMechanismSectionAssemblyGroup failureMechanismSectionAssemblyGroup)
+ {
+ if (!Enum.IsDefined(typeof(FailureMechanismSectionAssemblyGroup), failureMechanismSectionAssemblyGroup))
+ {
+ throw new InvalidEnumArgumentException(nameof(failureMechanismSectionAssemblyGroup),
+ (int) failureMechanismSectionAssemblyGroup,
+ typeof(FailureMechanismSectionAssemblyGroup));
+ }
+
+ switch (failureMechanismSectionAssemblyGroup)
+ {
+ case FailureMechanismSectionAssemblyGroup.NotDominant:
+ return ExportableFailureMechanismSectionAssemblyGroup.NotDominant;
+ case FailureMechanismSectionAssemblyGroup.III:
+ return ExportableFailureMechanismSectionAssemblyGroup.III;
+ case FailureMechanismSectionAssemblyGroup.II:
+ return ExportableFailureMechanismSectionAssemblyGroup.II;
+ case FailureMechanismSectionAssemblyGroup.I:
+ return ExportableFailureMechanismSectionAssemblyGroup.I;
+ case FailureMechanismSectionAssemblyGroup.Zero:
+ return ExportableFailureMechanismSectionAssemblyGroup.Zero;
+ case FailureMechanismSectionAssemblyGroup.IMin:
+ return ExportableFailureMechanismSectionAssemblyGroup.IMin;
+ case FailureMechanismSectionAssemblyGroup.IIMin:
+ return ExportableFailureMechanismSectionAssemblyGroup.IIMin;
+ case FailureMechanismSectionAssemblyGroup.IIIMin:
+ return ExportableFailureMechanismSectionAssemblyGroup.IIIMin;
+ case FailureMechanismSectionAssemblyGroup.Dominant:
+ return ExportableFailureMechanismSectionAssemblyGroup.Dominant;
+ case FailureMechanismSectionAssemblyGroup.NoResult:
+ return ExportableFailureMechanismSectionAssemblyGroup.NoResult;
+ case FailureMechanismSectionAssemblyGroup.NotRelevant:
+ return ExportableFailureMechanismSectionAssemblyGroup.NotRelevant;
+ default:
+ throw new NotSupportedException();
+ }
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag 17efbc2697a98e22b078162cef888e2608b17944 refers to a dead (removed) revision in file `Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableAssemblyMethodConverter.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableAssessmentSectionFactory.cs
===================================================================
diff -u -r16fa5dc02d11ca5dad8bb4dbc5c7706b1286fff7 -r17efbc2697a98e22b078162cef888e2608b17944
--- Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableAssessmentSectionFactory.cs (.../ExportableAssessmentSectionFactory.cs) (revision 16fa5dc02d11ca5dad8bb4dbc5c7706b1286fff7)
+++ Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableAssessmentSectionFactory.cs (.../ExportableAssessmentSectionFactory.cs) (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -40,6 +40,7 @@
using Riskeer.Integration.Data.Assembly;
using Riskeer.Integration.Data.StandAlone;
using Riskeer.Integration.Data.StandAlone.AssemblyFactories;
+using Riskeer.Integration.IO.Converters;
using Riskeer.Integration.IO.Exceptions;
using Riskeer.Integration.IO.Helpers;
using Riskeer.Integration.IO.Properties;
Index: Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableCombinedSectionAssemblyFactory.cs
===================================================================
diff -u -rfc38f668792f93cab0e9ed864540b622a7d6f406 -r17efbc2697a98e22b078162cef888e2608b17944
--- Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableCombinedSectionAssemblyFactory.cs (.../ExportableCombinedSectionAssemblyFactory.cs) (revision fc38f668792f93cab0e9ed864540b622a7d6f406)
+++ Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableCombinedSectionAssemblyFactory.cs (.../ExportableCombinedSectionAssemblyFactory.cs) (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -27,6 +27,7 @@
using Riskeer.Common.Data.FailureMechanism;
using Riskeer.Integration.Data;
using Riskeer.Integration.Data.Assembly;
+using Riskeer.Integration.IO.Converters;
using Riskeer.Integration.IO.Exceptions;
using Riskeer.Integration.IO.Helpers;
using Riskeer.Integration.IO.Properties;
Index: Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableFailureMechanismFactory.cs
===================================================================
diff -u -r446e556ca9858407116b52237aaeca01f180318e -r17efbc2697a98e22b078162cef888e2608b17944
--- Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableFailureMechanismFactory.cs (.../ExportableFailureMechanismFactory.cs) (revision 446e556ca9858407116b52237aaeca01f180318e)
+++ Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableFailureMechanismFactory.cs (.../ExportableFailureMechanismFactory.cs) (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -27,6 +27,7 @@
using Riskeer.Common.Data.AssessmentSection;
using Riskeer.Common.Data.Exceptions;
using Riskeer.Common.Data.FailureMechanism;
+using Riskeer.Integration.IO.Converters;
using Riskeer.Integration.IO.Exceptions;
using Riskeer.Integration.IO.Helpers;
using Riskeer.Integration.IO.Properties;
Fisheye: Tag 17efbc2697a98e22b078162cef888e2608b17944 refers to a dead (removed) revision in file `Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableFailureMechanismSectionAssemblyGroupConverter.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableFailureMechanismSectionAssemblyResultFactory.cs
===================================================================
diff -u -rdb35fac9d09304befdae9dc51aa4ef734657f11b -r17efbc2697a98e22b078162cef888e2608b17944
--- Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableFailureMechanismSectionAssemblyResultFactory.cs (.../ExportableFailureMechanismSectionAssemblyResultFactory.cs) (revision db35fac9d09304befdae9dc51aa4ef734657f11b)
+++ Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableFailureMechanismSectionAssemblyResultFactory.cs (.../ExportableFailureMechanismSectionAssemblyResultFactory.cs) (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -24,6 +24,7 @@
using Riskeer.AssemblyTool.IO.Model;
using Riskeer.Common.Data.AssessmentSection;
using Riskeer.Common.Data.FailureMechanism;
+using Riskeer.Integration.IO.Converters;
using Riskeer.Integration.IO.Exceptions;
using Riskeer.Integration.IO.Helpers;
using Riskeer.Integration.IO.Properties;
Index: Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableFailureMechanismSectionFactory.cs
===================================================================
diff -u -r81843e82acc9b390e84b9478fd26e6af8a0fc4d5 -r17efbc2697a98e22b078162cef888e2608b17944
--- Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableFailureMechanismSectionFactory.cs (.../ExportableFailureMechanismSectionFactory.cs) (revision 81843e82acc9b390e84b9478fd26e6af8a0fc4d5)
+++ Riskeer/Integration/src/Riskeer.Integration.IO/Factories/ExportableFailureMechanismSectionFactory.cs (.../ExportableFailureMechanismSectionFactory.cs) (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -24,6 +24,7 @@
using Riskeer.Common.Data.AssessmentSection;
using Riskeer.Common.Data.FailureMechanism;
using Riskeer.Integration.Data.Assembly;
+using Riskeer.Integration.IO.Converters;
using Riskeer.Integration.IO.Helpers;
using Riskeer.Integration.IO.Properties;
using Riskeer.Integration.Util;
Index: Riskeer/Integration/test/Riskeer.Integration.IO.Test/Converters/ExportableAssemblyMethodConverterTest.cs
===================================================================
diff -u
--- Riskeer/Integration/test/Riskeer.Integration.IO.Test/Converters/ExportableAssemblyMethodConverterTest.cs (revision 0)
+++ Riskeer/Integration/test/Riskeer.Integration.IO.Test/Converters/ExportableAssemblyMethodConverterTest.cs (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -0,0 +1,71 @@
+// Copyright (C) Stichting Deltares 2022. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer 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.ComponentModel;
+using Core.Common.TestUtil;
+using NUnit.Framework;
+using Riskeer.AssemblyTool.Data;
+using Riskeer.AssemblyTool.IO.Model.Enums;
+using Riskeer.Integration.IO.Converters;
+
+namespace Riskeer.Integration.IO.Test.Converters
+{
+ [TestFixture]
+ public class ExportableAssemblyMethodConverterTest
+ {
+ [Test]
+ public void ConvertTo_InvalidAssemblyMethod_ThrowInvalidEnumArgumentException()
+ {
+ // Setup
+ const AssemblyMethod assemblyMethod = (AssemblyMethod) 999;
+
+ // ExportableAssemblyMethodFactory
+ void Call() => ExportableAssemblyMethodConverter.ConvertTo(assemblyMethod);
+
+ // Assert
+ var message = $"The value of argument 'assemblyMethod' ({assemblyMethod}) is invalid for Enum type '{nameof(AssemblyMethod)}'.";
+ TestHelper.AssertThrowsArgumentExceptionAndTestMessage(Call, message);
+ }
+
+ [Test]
+ [TestCase(AssemblyMethod.BOI0A1, ExportableAssemblyMethod.BOI0A1)]
+ [TestCase(AssemblyMethod.BOI0A2, ExportableAssemblyMethod.BOI0A2)]
+ [TestCase(AssemblyMethod.BOI0B1, ExportableAssemblyMethod.BOI0B1)]
+ [TestCase(AssemblyMethod.BOI0C1, ExportableAssemblyMethod.BOI0C1)]
+ [TestCase(AssemblyMethod.BOI1A1, ExportableAssemblyMethod.BOI1A1)]
+ [TestCase(AssemblyMethod.BOI1A2, ExportableAssemblyMethod.BOI1A2)]
+ [TestCase(AssemblyMethod.Manual, ExportableAssemblyMethod.Manual)]
+ [TestCase(AssemblyMethod.BOI2A1, ExportableAssemblyMethod.BOI2A1)]
+ [TestCase(AssemblyMethod.BOI2B1, ExportableAssemblyMethod.BOI2B1)]
+ [TestCase(AssemblyMethod.BOI3A1, ExportableAssemblyMethod.BOI3A1)]
+ [TestCase(AssemblyMethod.BOI3B1, ExportableAssemblyMethod.BOI3B1)]
+ [TestCase(AssemblyMethod.BOI3C1, ExportableAssemblyMethod.BOI3C1)]
+ public void ConvertTo_WithAssemblyMethod_ReturnsExpectedValues(AssemblyMethod assemblyMethod,
+ ExportableAssemblyMethod expectedAssemblyMethod)
+ {
+ // Call
+ ExportableAssemblyMethod exportableAssemblyMethod = ExportableAssemblyMethodConverter.ConvertTo(assemblyMethod);
+
+ // Assert
+ Assert.AreEqual(expectedAssemblyMethod, exportableAssemblyMethod);
+ }
+ }
+}
\ No newline at end of file
Index: Riskeer/Integration/test/Riskeer.Integration.IO.Test/Converters/ExportableFailureMechanismSectionAssemblyGroupConverterTest.cs
===================================================================
diff -u
--- Riskeer/Integration/test/Riskeer.Integration.IO.Test/Converters/ExportableFailureMechanismSectionAssemblyGroupConverterTest.cs (revision 0)
+++ Riskeer/Integration/test/Riskeer.Integration.IO.Test/Converters/ExportableFailureMechanismSectionAssemblyGroupConverterTest.cs (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -0,0 +1,71 @@
+// Copyright (C) Stichting Deltares 2022. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer 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.ComponentModel;
+using Core.Common.TestUtil;
+using NUnit.Framework;
+using Riskeer.AssemblyTool.Data;
+using Riskeer.AssemblyTool.IO.Model.Enums;
+using Riskeer.Integration.IO.Converters;
+
+namespace Riskeer.Integration.IO.Test.Converters
+{
+ [TestFixture]
+ public class ExportableFailureMechanismSectionAssemblyGroupConverterTest
+ {
+ [Test]
+ public void ConvertTo_InvalidAssemblyGroup_ThrowInvalidEnumArgumentException()
+ {
+ // Setup
+ const FailureMechanismSectionAssemblyGroup failureMechanismSectionAssemblyGroup = (FailureMechanismSectionAssemblyGroup) 999;
+
+ // ExportableAssemblyMethodFactory
+ void Call() => ExportableFailureMechanismSectionAssemblyGroupConverter.ConvertTo(failureMechanismSectionAssemblyGroup);
+
+ // Assert
+ var message = $"The value of argument 'failureMechanismSectionAssemblyGroup' ({failureMechanismSectionAssemblyGroup}) is invalid for Enum type '{nameof(FailureMechanismSectionAssemblyGroup)}'.";
+ TestHelper.AssertThrowsArgumentExceptionAndTestMessage(Call, message);
+ }
+
+ [Test]
+ [TestCase(FailureMechanismSectionAssemblyGroup.NotDominant, ExportableFailureMechanismSectionAssemblyGroup.NotDominant)]
+ [TestCase(FailureMechanismSectionAssemblyGroup.III, ExportableFailureMechanismSectionAssemblyGroup.III)]
+ [TestCase(FailureMechanismSectionAssemblyGroup.II, ExportableFailureMechanismSectionAssemblyGroup.II)]
+ [TestCase(FailureMechanismSectionAssemblyGroup.I, ExportableFailureMechanismSectionAssemblyGroup.I)]
+ [TestCase(FailureMechanismSectionAssemblyGroup.Zero, ExportableFailureMechanismSectionAssemblyGroup.Zero)]
+ [TestCase(FailureMechanismSectionAssemblyGroup.IMin, ExportableFailureMechanismSectionAssemblyGroup.IMin)]
+ [TestCase(FailureMechanismSectionAssemblyGroup.IIMin, ExportableFailureMechanismSectionAssemblyGroup.IIMin)]
+ [TestCase(FailureMechanismSectionAssemblyGroup.IIIMin, ExportableFailureMechanismSectionAssemblyGroup.IIIMin)]
+ [TestCase(FailureMechanismSectionAssemblyGroup.Dominant, ExportableFailureMechanismSectionAssemblyGroup.Dominant)]
+ [TestCase(FailureMechanismSectionAssemblyGroup.NoResult, ExportableFailureMechanismSectionAssemblyGroup.NoResult)]
+ [TestCase(FailureMechanismSectionAssemblyGroup.NotRelevant, ExportableFailureMechanismSectionAssemblyGroup.NotRelevant)]
+ public void ConvertTo_WithAssemblyGroup_ReturnsExpectedValue(FailureMechanismSectionAssemblyGroup failureMechanismSectionAssemblyGroup,
+ ExportableFailureMechanismSectionAssemblyGroup expectedExportableSectionAssemblyGroup)
+ {
+ // Call
+ ExportableFailureMechanismSectionAssemblyGroup convertedAssemblyGroup =
+ ExportableFailureMechanismSectionAssemblyGroupConverter.ConvertTo(failureMechanismSectionAssemblyGroup);
+
+ // Assert
+ Assert.AreEqual(expectedExportableSectionAssemblyGroup, convertedAssemblyGroup);
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag 17efbc2697a98e22b078162cef888e2608b17944 refers to a dead (removed) revision in file `Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableAssemblyMethodConverterTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableAssessmentSectionFactoryTest.cs
===================================================================
diff -u -r7ccf2410aafb05ece89f6bf3cd291d3b07d280d8 -r17efbc2697a98e22b078162cef888e2608b17944
--- Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableAssessmentSectionFactoryTest.cs (.../ExportableAssessmentSectionFactoryTest.cs) (revision 7ccf2410aafb05ece89f6bf3cd291d3b07d280d8)
+++ Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableAssessmentSectionFactoryTest.cs (.../ExportableAssessmentSectionFactoryTest.cs) (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -34,6 +34,7 @@
using Riskeer.Common.Data.FailureMechanism;
using Riskeer.Common.Data.TestUtil;
using Riskeer.Integration.Data;
+using Riskeer.Integration.IO.Converters;
using Riskeer.Integration.IO.Factories;
using Riskeer.Integration.IO.Helpers;
Index: Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableCombinedSectionAssemblyFactoryTest.cs
===================================================================
diff -u -r88d167b2a2da83a210dea65323cb0a86dbb2e790 -r17efbc2697a98e22b078162cef888e2608b17944
--- Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableCombinedSectionAssemblyFactoryTest.cs (.../ExportableCombinedSectionAssemblyFactoryTest.cs) (revision 88d167b2a2da83a210dea65323cb0a86dbb2e790)
+++ Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableCombinedSectionAssemblyFactoryTest.cs (.../ExportableCombinedSectionAssemblyFactoryTest.cs) (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -34,6 +34,7 @@
using Riskeer.Integration.Data;
using Riskeer.Integration.Data.Assembly;
using Riskeer.Integration.Data.TestUtil;
+using Riskeer.Integration.IO.Converters;
using Riskeer.Integration.IO.Exceptions;
using Riskeer.Integration.IO.Factories;
using Riskeer.Integration.IO.Helpers;
Index: Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableFailureMechanismFactoryTest.cs
===================================================================
diff -u -r88d167b2a2da83a210dea65323cb0a86dbb2e790 -r17efbc2697a98e22b078162cef888e2608b17944
--- Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableFailureMechanismFactoryTest.cs (.../ExportableFailureMechanismFactoryTest.cs) (revision 88d167b2a2da83a210dea65323cb0a86dbb2e790)
+++ Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableFailureMechanismFactoryTest.cs (.../ExportableFailureMechanismFactoryTest.cs) (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -32,6 +32,7 @@
using Riskeer.Common.Data.AssessmentSection;
using Riskeer.Common.Data.FailureMechanism;
using Riskeer.Common.Data.TestUtil;
+using Riskeer.Integration.IO.Converters;
using Riskeer.Integration.IO.Factories;
using Riskeer.Integration.IO.Helpers;
Fisheye: Tag 17efbc2697a98e22b078162cef888e2608b17944 refers to a dead (removed) revision in file `Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableFailureMechanismSectionAssemblyGroupConverterTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableFailureMechanismSectionCollectionFactoryTest.cs
===================================================================
diff -u -r307629a809b857a9ff17836c2a890c680255e0e9 -r17efbc2697a98e22b078162cef888e2608b17944
--- Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableFailureMechanismSectionCollectionFactoryTest.cs (.../ExportableFailureMechanismSectionCollectionFactoryTest.cs) (revision 307629a809b857a9ff17836c2a890c680255e0e9)
+++ Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableFailureMechanismSectionCollectionFactoryTest.cs (.../ExportableFailureMechanismSectionCollectionFactoryTest.cs) (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -30,6 +30,7 @@
using Riskeer.Common.Data.TestUtil;
using Riskeer.Integration.Data.Assembly;
using Riskeer.Integration.Data.TestUtil;
+using Riskeer.Integration.IO.Converters;
using Riskeer.Integration.IO.Factories;
using Riskeer.Integration.IO.Helpers;
using Riskeer.Integration.Util;
Index: Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableFailureMechanismSectionFactoryTest.cs
===================================================================
diff -u -r307629a809b857a9ff17836c2a890c680255e0e9 -r17efbc2697a98e22b078162cef888e2608b17944
--- Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableFailureMechanismSectionFactoryTest.cs (.../ExportableFailureMechanismSectionFactoryTest.cs) (revision 307629a809b857a9ff17836c2a890c680255e0e9)
+++ Riskeer/Integration/test/Riskeer.Integration.IO.Test/Factories/ExportableFailureMechanismSectionFactoryTest.cs (.../ExportableFailureMechanismSectionFactoryTest.cs) (revision 17efbc2697a98e22b078162cef888e2608b17944)
@@ -27,6 +27,7 @@
using Riskeer.Common.Data.TestUtil;
using Riskeer.Integration.Data.Assembly;
using Riskeer.Integration.Data.TestUtil;
+using Riskeer.Integration.IO.Converters;
using Riskeer.Integration.IO.Factories;
using Riskeer.Integration.IO.Helpers;
using Riskeer.Integration.Util;