Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/Configurations/Import/CalculationConfigurationImporterTest.cs
===================================================================
diff -u -r2a81f01756e227d5ce93717b21b87e8a5cd5fcbb -r87b570e7c534d3cbb38a4a108a80f69dc9f40904
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/Configurations/Import/CalculationConfigurationImporterTest.cs (.../CalculationConfigurationImporterTest.cs) (revision 2a81f01756e227d5ce93717b21b87e8a5cd5fcbb)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/Configurations/Import/CalculationConfigurationImporterTest.cs (.../CalculationConfigurationImporterTest.cs) (revision 87b570e7c534d3cbb38a4a108a80f69dc9f40904)
@@ -37,6 +37,7 @@
using Ringtoets.Common.Data.TestUtil;
using Ringtoets.Common.IO.Configurations;
using Ringtoets.Common.IO.Configurations.Import;
+using Ringtoets.Common.IO.TestUtil;
namespace Ringtoets.Common.IO.Test.Configurations.Import
{
@@ -885,13 +886,6 @@
public string Name { get; }
}
- private class ExpectedProgressNotification
- {
- public string Text { get; set; }
- public int CurrentStep { get; set; }
- public int TotalNumberOfSteps { get; set; }
- }
-
private static CalculationGroup GetExpectedNestedData()
{
return new CalculationGroup
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/ReferenceLines/ReferenceLineImporterTest.cs
===================================================================
diff -u -r9fe132b5fdbde6b462235fccc39bccd521093a4f -r87b570e7c534d3cbb38a4a108a80f69dc9f40904
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/ReferenceLines/ReferenceLineImporterTest.cs (.../ReferenceLineImporterTest.cs) (revision 9fe132b5fdbde6b462235fccc39bccd521093a4f)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/ReferenceLines/ReferenceLineImporterTest.cs (.../ReferenceLineImporterTest.cs) (revision 87b570e7c534d3cbb38a4a108a80f69dc9f40904)
@@ -31,6 +31,7 @@
using Ringtoets.Common.Data.AssessmentSection;
using Ringtoets.Common.Data.TestUtil;
using Ringtoets.Common.IO.ReferenceLines;
+using Ringtoets.Common.IO.TestUtil;
namespace Ringtoets.Common.IO.Test.ReferenceLines
{
@@ -477,12 +478,5 @@
// Assert
mocks.VerifyAll(); // Expect NotifyObservers on cleared calculations
}
-
- private class ExpectedProgressNotification
- {
- public string Text { get; set; }
- public int CurrentStep { get; set; }
- public int TotalNumberOfSteps { get; set; }
- }
}
}
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.TestUtil/ExpectedProgressNotification.cs
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.TestUtil/ExpectedProgressNotification.cs (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.TestUtil/ExpectedProgressNotification.cs (revision 87b570e7c534d3cbb38a4a108a80f69dc9f40904)
@@ -0,0 +1,44 @@
+// Copyright (C) Stichting Deltares 2018. 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.
+
+namespace Ringtoets.Common.IO.TestUtil
+{
+ ///
+ /// Class that holds expected progress notification data.
+ ///
+ public class ExpectedProgressNotification
+ {
+ ///
+ /// Gets or sets the text that is expected.
+ ///
+ public string Text { get; set; }
+
+ ///
+ /// Gets or sets the current step that is expected.
+ ///
+ public int CurrentStep { get; set; }
+
+ ///
+ /// Gets or sets the total number of steps that are expected.
+ ///
+ public int TotalNumberOfSteps { get; set; }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.TestUtil/Ringtoets.Common.IO.TestUtil.csproj
===================================================================
diff -u -r0f3f7c55ee5af3401a4aa75996ed7fe40eb28981 -r87b570e7c534d3cbb38a4a108a80f69dc9f40904
--- Ringtoets/Common/test/Ringtoets.Common.IO.TestUtil/Ringtoets.Common.IO.TestUtil.csproj (.../Ringtoets.Common.IO.TestUtil.csproj) (revision 0f3f7c55ee5af3401a4aa75996ed7fe40eb28981)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.TestUtil/Ringtoets.Common.IO.TestUtil.csproj (.../Ringtoets.Common.IO.TestUtil.csproj) (revision 87b570e7c534d3cbb38a4a108a80f69dc9f40904)
@@ -22,6 +22,7 @@
+