Index: Core/Components/test/Core.Components.BruTile.Forms.Test/Core.Components.BruTile.Forms.Test.csproj
===================================================================
diff -u -rea83f8616226d9ab89e98c9f30565ef09d44f3ed -rc63ac515f0ce88fbc058e1838d1a43ed6a912360
--- Core/Components/test/Core.Components.BruTile.Forms.Test/Core.Components.BruTile.Forms.Test.csproj (.../Core.Components.BruTile.Forms.Test.csproj) (revision ea83f8616226d9ab89e98c9f30565ef09d44f3ed)
+++ Core/Components/test/Core.Components.BruTile.Forms.Test/Core.Components.BruTile.Forms.Test.csproj (.../Core.Components.BruTile.Forms.Test.csproj) (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -105,9 +105,9 @@
{1081336C-D919-4249-AB33-9AF15F4D19EC}Core.Components.BruTile.TestUtil
-
+ {F0FB401A-3494-4237-9E6D-02CDF77912A8}
- Core.Components.Gis.TestUtils
+ Core.Components.Gis.TestUtil
Index: Core/Components/test/Core.Components.BruTile.Test/Core.Components.BruTile.Test.csproj
===================================================================
diff -u -r7fc071aa21ada037052184432c734ce79adf5c8c -rc63ac515f0ce88fbc058e1838d1a43ed6a912360
--- Core/Components/test/Core.Components.BruTile.Test/Core.Components.BruTile.Test.csproj (.../Core.Components.BruTile.Test.csproj) (revision 7fc071aa21ada037052184432c734ce79adf5c8c)
+++ Core/Components/test/Core.Components.BruTile.Test/Core.Components.BruTile.Test.csproj (.../Core.Components.BruTile.Test.csproj) (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -118,9 +118,9 @@
{1081336C-D919-4249-AB33-9AF15F4D19EC}Core.Components.BruTile.TestUtil
-
+ {F0FB401A-3494-4237-9E6D-02CDF77912A8}
- Core.Components.Gis.TestUtils
+ Core.Components.Gis.TestUtil
Index: Core/Components/test/Core.Components.BruTile.TestUtil.Test/Core.Components.BruTile.TestUtil.Test.csproj
===================================================================
diff -u -r7fc071aa21ada037052184432c734ce79adf5c8c -rc63ac515f0ce88fbc058e1838d1a43ed6a912360
--- Core/Components/test/Core.Components.BruTile.TestUtil.Test/Core.Components.BruTile.TestUtil.Test.csproj (.../Core.Components.BruTile.TestUtil.Test.csproj) (revision 7fc071aa21ada037052184432c734ce79adf5c8c)
+++ Core/Components/test/Core.Components.BruTile.TestUtil.Test/Core.Components.BruTile.TestUtil.Test.csproj (.../Core.Components.BruTile.TestUtil.Test.csproj) (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -93,9 +93,9 @@
{1081336C-D919-4249-AB33-9AF15F4D19EC}Core.Components.BruTile.TestUtil
-
+ {F0FB401A-3494-4237-9E6D-02CDF77912A8}
- Core.Components.Gis.TestUtils
+ Core.Components.Gis.TestUtil
Index: Core/Components/test/Core.Components.DotSpatial.Forms.Test/Core.Components.DotSpatial.Forms.Test.csproj
===================================================================
diff -u -r6134a31a6632777aedd21d9c8f3a1504d33737d4 -rc63ac515f0ce88fbc058e1838d1a43ed6a912360
--- Core/Components/test/Core.Components.DotSpatial.Forms.Test/Core.Components.DotSpatial.Forms.Test.csproj (.../Core.Components.DotSpatial.Forms.Test.csproj) (revision 6134a31a6632777aedd21d9c8f3a1504d33737d4)
+++ Core/Components/test/Core.Components.DotSpatial.Forms.Test/Core.Components.DotSpatial.Forms.Test.csproj (.../Core.Components.DotSpatial.Forms.Test.csproj) (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -142,9 +142,9 @@
{1081336C-D919-4249-AB33-9AF15F4D19EC}Core.Components.BruTile.TestUtil
-
+ {F0FB401A-3494-4237-9E6D-02CDF77912A8}
- Core.Components.Gis.TestUtils
+ Core.Components.Gis.TestUtil
Index: Core/Components/test/Core.Components.DotSpatial.Test/Core.Components.DotSpatial.Test.csproj
===================================================================
diff -u -rc24cd541ca55442bb710c202bc15344dc8fc3ef7 -rc63ac515f0ce88fbc058e1838d1a43ed6a912360
--- Core/Components/test/Core.Components.DotSpatial.Test/Core.Components.DotSpatial.Test.csproj (.../Core.Components.DotSpatial.Test.csproj) (revision c24cd541ca55442bb710c202bc15344dc8fc3ef7)
+++ Core/Components/test/Core.Components.DotSpatial.Test/Core.Components.DotSpatial.Test.csproj (.../Core.Components.DotSpatial.Test.csproj) (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -162,9 +162,9 @@
{9b6f3987-eaf7-4733-80c1-3dcab44d87ae}Core.Components.DotSpatial.TestUtil
-
+ {F0FB401A-3494-4237-9E6D-02CDF77912A8}
- Core.Components.Gis.TestUtils
+ Core.Components.Gis.TestUtil
Index: Core/Components/test/Core.Components.Gis.Forms.Test/Core.Components.Gis.Forms.Test.csproj
===================================================================
diff -u -r7fc071aa21ada037052184432c734ce79adf5c8c -rc63ac515f0ce88fbc058e1838d1a43ed6a912360
--- Core/Components/test/Core.Components.Gis.Forms.Test/Core.Components.Gis.Forms.Test.csproj (.../Core.Components.Gis.Forms.Test.csproj) (revision 7fc071aa21ada037052184432c734ce79adf5c8c)
+++ Core/Components/test/Core.Components.Gis.Forms.Test/Core.Components.Gis.Forms.Test.csproj (.../Core.Components.Gis.Forms.Test.csproj) (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -115,9 +115,9 @@
{1081336C-D919-4249-AB33-9AF15F4D19EC}Core.Components.BruTile.TestUtil
-
+ {F0FB401A-3494-4237-9E6D-02CDF77912A8}
- Core.Components.Gis.TestUtils
+ Core.Components.Gis.TestUtil
Index: Core/Components/test/Core.Components.Gis.Test/Core.Components.Gis.Test.csproj
===================================================================
diff -u -r7fc071aa21ada037052184432c734ce79adf5c8c -rc63ac515f0ce88fbc058e1838d1a43ed6a912360
--- Core/Components/test/Core.Components.Gis.Test/Core.Components.Gis.Test.csproj (.../Core.Components.Gis.Test.csproj) (revision 7fc071aa21ada037052184432c734ce79adf5c8c)
+++ Core/Components/test/Core.Components.Gis.Test/Core.Components.Gis.Test.csproj (.../Core.Components.Gis.Test.csproj) (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -97,9 +97,9 @@
{9B6F3987-EAF7-4733-80C1-3DCAB44D87AE}Core.Components.DotSpatial.TestUtil
-
+ {F0FB401A-3494-4237-9E6D-02CDF77912A8}
- Core.Components.Gis.TestUtils
+ Core.Components.Gis.TestUtil
Index: Core/Components/test/Core.Components.Gis.TestUtil.Test/Core.Components.Gis.TestUtil.Test.csproj
===================================================================
diff -u
--- Core/Components/test/Core.Components.Gis.TestUtil.Test/Core.Components.Gis.TestUtil.Test.csproj (revision 0)
+++ Core/Components/test/Core.Components.Gis.TestUtil.Test/Core.Components.Gis.TestUtil.Test.csproj (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -0,0 +1,80 @@
+
+
+
+ Debug
+ x86
+ {98FD0100-A601-450B-A2CD-718FAEB3A408}
+ Library
+ Properties
+ Core.Components.Gis.TestUtil.Test
+ Core.Components.Gis.TestUtil.Test
+ v4.0
+ 512
+
+
+ x86
+ bin\Debug\
+ false
+ DEBUG;TRACE
+ full
+
+
+ x86
+ bin\Release\
+ TRACE
+ true
+ none
+
+
+ bin\ReleaseForCodeCoverage\
+ TRACE
+ true
+ x86
+ MinimumRecommendedRules.ruleset
+ none
+
+
+
+ ..\..\..\..\packages\NUnit.3.6.0\lib\net40\nunit.framework.dll
+ True
+
+
+
+
+
+
+ Properties\GlobalAssembly.cs
+
+
+
+
+
+
+
+ Copying.Lesser.licenseheader
+
+
+
+
+
+ {3bbfd65b-b277-4e50-ae6d-bd24c3434609}
+ Core.Common.Base
+
+
+ {318ba582-88c9-4816-a54a-a7e431461de3}
+ Core.Components.Gis
+
+
+ {f0fb401a-3494-4237-9e6d-02cdf77912a8}
+ Core.Components.Gis.TestUtil
+
+
+
+
+
\ No newline at end of file
Index: Core/Components/test/Core.Components.Gis.TestUtil.Test/Properties/AssemblyInfo.cs
===================================================================
diff -u
--- Core/Components/test/Core.Components.Gis.TestUtil.Test/Properties/AssemblyInfo.cs (revision 0)
+++ Core/Components/test/Core.Components.Gis.TestUtil.Test/Properties/AssemblyInfo.cs (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -0,0 +1,27 @@
+// 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 Lesser 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 Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser 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.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Core.Components.Gis.TestUtils.Test")]
+[assembly: AssemblyProduct("Core.Components.Gis.TestUtils.Test")]
+[assembly: Guid("98fd0100-a601-450b-a2cd-718faeb3a408")]
\ No newline at end of file
Index: Core/Components/test/Core.Components.Gis.TestUtil.Test/TestImageBasedMapDataTest.cs
===================================================================
diff -u
--- Core/Components/test/Core.Components.Gis.TestUtil.Test/TestImageBasedMapDataTest.cs (revision 0)
+++ Core/Components/test/Core.Components.Gis.TestUtil.Test/TestImageBasedMapDataTest.cs (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -0,0 +1,64 @@
+// 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 Lesser 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 Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser 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 Core.Components.Gis.Data;
+using Core.Components.Gis.TestUtil;
+using NUnit.Framework;
+
+namespace Core.Components.Gis.TestUtils.Test
+{
+ [TestFixture]
+ public class TestImageBasedMapDataTest
+ {
+ [Test]
+ [TestCase(null)]
+ [TestCase("")]
+ [TestCase(" ")]
+ public void Constructor_InvalidName_ThrowArgumentException(string invalidMapDataName)
+ {
+ // Call
+ TestDelegate call = () => new TestImageBasedMapData(invalidMapDataName, true);
+
+ // Assert
+ string paramName = Assert.Throws(call).ParamName;
+ Assert.AreEqual("Name", paramName);
+ }
+
+ [Test]
+ [TestCase("a", true)]
+ [TestCase("b", false)]
+ public void Constructor_ValidValues_ExpectedValues(string name, bool isConfigured)
+ {
+ // Call
+ var mapData = new TestImageBasedMapData(name, isConfigured);
+
+ // Assert
+ Assert.IsInstanceOf(mapData);
+
+ Assert.AreEqual(name, mapData.Name);
+ Assert.AreEqual(isConfigured, mapData.IsConfigured);
+
+ Assert.AreEqual(true, mapData.IsVisible);
+ Assert.AreEqual(0.0, mapData.Transparency.Value);
+ }
+ }
+}
\ No newline at end of file
Index: Core/Components/test/Core.Components.Gis.TestUtil.Test/WmtsMapDataTestHelperTest.cs
===================================================================
diff -u
--- Core/Components/test/Core.Components.Gis.TestUtil.Test/WmtsMapDataTestHelperTest.cs (revision 0)
+++ Core/Components/test/Core.Components.Gis.TestUtil.Test/WmtsMapDataTestHelperTest.cs (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -0,0 +1,79 @@
+// 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 Lesser 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 Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser 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 Core.Components.Gis.Data;
+using Core.Components.Gis.TestUtil;
+using NUnit.Framework;
+
+namespace Core.Components.Gis.TestUtils.Test
+{
+ [TestFixture]
+ public class WmtsMapDataTestHelperTest
+ {
+ [Test]
+ public void CreateDefaultPdokMapData_ReturnsInitializedWmtsMapData()
+ {
+ // Call
+ WmtsMapData mapData = WmtsMapDataTestHelper.CreateDefaultPdokMapData();
+
+ // Assert
+ Assert.AreEqual("PDOK achtergrondkaart", mapData.Name);
+ Assert.AreEqual("https://geodata.nationaalgeoregister.nl/wmts/top10nlv2?VERSION=1.0.0&request=GetCapabilities", mapData.SourceCapabilitiesUrl);
+ Assert.AreEqual("brtachtergrondkaart(EPSG:28992)", mapData.SelectedCapabilityIdentifier);
+ Assert.AreEqual("image/png", mapData.PreferredFormat);
+ Assert.AreEqual(0.0, mapData.Transparency.Value);
+ Assert.IsTrue(mapData.IsConfigured);
+ Assert.IsTrue(mapData.IsVisible);
+ }
+
+ [Test]
+ public void CreateAlternativePdokMapData_ReturnsInitializedWmtsMapData()
+ {
+ // Call
+ WmtsMapData mapData = WmtsMapDataTestHelper.CreateAlternativePdokMapData();
+
+ // Assert
+ Assert.AreEqual("PDOK achtergrondkaart", mapData.Name);
+ Assert.AreEqual("https://geodata.nationaalgeoregister.nl/wmts/top10nlv2?VERSION=1.0.0&request=GetCapabilities", mapData.SourceCapabilitiesUrl);
+ Assert.AreEqual("brtachtergrondkaart(EPSG:25831:RWS)", mapData.SelectedCapabilityIdentifier);
+ Assert.AreEqual("image/png", mapData.PreferredFormat);
+ Assert.AreEqual(0.0, mapData.Transparency.Value);
+ Assert.IsTrue(mapData.IsConfigured);
+ Assert.IsTrue(mapData.IsVisible);
+ }
+
+ [Test]
+ public void CreateUnconnectedMapData_ReturnsUnconfiguredWmtsMapData()
+ {
+ // Call
+ WmtsMapData mapData = WmtsMapDataTestHelper.CreateUnconnectedMapData();
+
+ // Assert
+ Assert.AreEqual("", mapData.Name);
+ Assert.IsNull(mapData.SourceCapabilitiesUrl);
+ Assert.IsNull(mapData.SelectedCapabilityIdentifier);
+ Assert.IsNull(mapData.PreferredFormat);
+ Assert.AreEqual(0.0, mapData.Transparency.Value);
+ Assert.IsFalse(mapData.IsConfigured);
+ Assert.IsFalse(mapData.IsVisible);
+ }
+ }
+}
\ No newline at end of file
Index: Core/Components/test/Core.Components.Gis.TestUtil.Test/packages.config
===================================================================
diff -u
--- Core/Components/test/Core.Components.Gis.TestUtil.Test/packages.config (revision 0)
+++ Core/Components/test/Core.Components.Gis.TestUtil.Test/packages.config (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -0,0 +1,26 @@
+
+
+
+
+
\ No newline at end of file
Index: Core/Components/test/Core.Components.Gis.TestUtil/Core.Components.Gis.TestUtil.csproj
===================================================================
diff -u
--- Core/Components/test/Core.Components.Gis.TestUtil/Core.Components.Gis.TestUtil.csproj (revision 0)
+++ Core/Components/test/Core.Components.Gis.TestUtil/Core.Components.Gis.TestUtil.csproj (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -0,0 +1,71 @@
+
+
+
+ Debug
+ x86
+ {F0FB401A-3494-4237-9E6D-02CDF77912A8}
+ Library
+ Properties
+ Core.Components.Gis.TestUtil
+ Core.Components.Gis.TestUtil
+ v4.0
+ 512
+
+
+ x86
+ bin\Debug\
+ false
+ DEBUG;TRACE
+ full
+
+
+ x86
+ bin\Release\
+ TRACE
+ true
+ none
+
+
+ bin\ReleaseForCodeCoverage\
+ TRACE
+ true
+ x86
+ MinimumRecommendedRules.ruleset
+ none
+
+
+
+
+
+
+
+ Properties\GlobalAssembly.cs
+
+
+
+
+
+
+
+ Copying.Lesser.licenseheader
+
+
+
+
+ {3bbfd65b-b277-4e50-ae6d-bd24c3434609}
+ Core.Common.Base
+
+
+ {318ba582-88c9-4816-a54a-a7e431461de3}
+ Core.Components.Gis
+
+
+
+
+
\ No newline at end of file
Index: Core/Components/test/Core.Components.Gis.TestUtil/Properties/AssemblyInfo.cs
===================================================================
diff -u
--- Core/Components/test/Core.Components.Gis.TestUtil/Properties/AssemblyInfo.cs (revision 0)
+++ Core/Components/test/Core.Components.Gis.TestUtil/Properties/AssemblyInfo.cs (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -0,0 +1,27 @@
+// 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 Lesser 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 Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser 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.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Core.Components.Gis.TestUtil")]
+[assembly: AssemblyProduct("Core.Components.Gis.TestUtil")]
+[assembly: Guid("f0fb401a-3494-4237-9e6d-02cdf77912a8")]
\ No newline at end of file
Index: Core/Components/test/Core.Components.Gis.TestUtil/TestImageBasedMapData.cs
===================================================================
diff -u
--- Core/Components/test/Core.Components.Gis.TestUtil/TestImageBasedMapData.cs (revision 0)
+++ Core/Components/test/Core.Components.Gis.TestUtil/TestImageBasedMapData.cs (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -0,0 +1,45 @@
+// 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 Lesser 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 Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser 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 Core.Components.Gis.Data;
+
+namespace Core.Components.Gis.TestUtil
+{
+ ///
+ /// A class representing a implementation which is
+ /// not in the regular codebase.
+ ///
+ public class TestImageBasedMapData : ImageBasedMapData
+ {
+ ///
+ ///
+ ///
+ /// The name of the map data.
+ /// The value for .
+ /// Thrown when
+ /// is null or whitespace.
+ public TestImageBasedMapData(string name, bool isConfigured) : base(name)
+ {
+ IsConfigured = isConfigured;
+ }
+ }
+}
\ No newline at end of file
Index: Core/Components/test/Core.Components.Gis.TestUtil/WmtsMapDataTestHelper.cs
===================================================================
diff -u
--- Core/Components/test/Core.Components.Gis.TestUtil/WmtsMapDataTestHelper.cs (revision 0)
+++ Core/Components/test/Core.Components.Gis.TestUtil/WmtsMapDataTestHelper.cs (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -0,0 +1,63 @@
+// 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 Lesser 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 Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser 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 Core.Components.Gis.Data;
+
+namespace Core.Components.Gis.TestUtil
+{
+ ///
+ /// Helper class to create that can be used in testing.
+ ///
+ public static class WmtsMapDataTestHelper
+ {
+ ///
+ /// Creates a new instance of configured to the 'brtachtergrondkaart'
+ /// of PDOK in RD-new coordinate system.
+ ///
+ public static WmtsMapData CreateDefaultPdokMapData()
+ {
+ return new WmtsMapData("PDOK achtergrondkaart",
+ "https://geodata.nationaalgeoregister.nl/wmts/top10nlv2?VERSION=1.0.0&request=GetCapabilities",
+ "brtachtergrondkaart(EPSG:28992)",
+ "image/png");
+ }
+
+ ///
+ /// Creates a new instance of configured to the 'brtachtergrondkaart'
+ /// of PDOK in a ETRS89 / UTM zone 31 N coordinate system.
+ ///
+ public static WmtsMapData CreateAlternativePdokMapData()
+ {
+ return new WmtsMapData("PDOK achtergrondkaart",
+ "https://geodata.nationaalgeoregister.nl/wmts/top10nlv2?VERSION=1.0.0&request=GetCapabilities",
+ "brtachtergrondkaart(EPSG:25831:RWS)",
+ "image/png");
+ }
+
+ ///
+ /// Creates a new instance of that hasn't been configured.
+ ///
+ public static WmtsMapData CreateUnconnectedMapData()
+ {
+ return new WmtsMapData("");
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag c63ac515f0ce88fbc058e1838d1a43ed6a912360 refers to a dead (removed) revision in file `Core/Components/test/Core.Components.Gis.TestUtils.Test/Core.Components.Gis.TestUtils.Test.csproj'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag c63ac515f0ce88fbc058e1838d1a43ed6a912360 refers to a dead (removed) revision in file `Core/Components/test/Core.Components.Gis.TestUtils.Test/Properties/AssemblyInfo.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag c63ac515f0ce88fbc058e1838d1a43ed6a912360 refers to a dead (removed) revision in file `Core/Components/test/Core.Components.Gis.TestUtils.Test/TestImageBasedMapDataTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag c63ac515f0ce88fbc058e1838d1a43ed6a912360 refers to a dead (removed) revision in file `Core/Components/test/Core.Components.Gis.TestUtils.Test/WmtsMapDataTestHelperTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag c63ac515f0ce88fbc058e1838d1a43ed6a912360 refers to a dead (removed) revision in file `Core/Components/test/Core.Components.Gis.TestUtils.Test/packages.config'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag c63ac515f0ce88fbc058e1838d1a43ed6a912360 refers to a dead (removed) revision in file `Core/Components/test/Core.Components.Gis.TestUtils/Core.Components.Gis.TestUtils.csproj'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag c63ac515f0ce88fbc058e1838d1a43ed6a912360 refers to a dead (removed) revision in file `Core/Components/test/Core.Components.Gis.TestUtils/Properties/AssemblyInfo.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag c63ac515f0ce88fbc058e1838d1a43ed6a912360 refers to a dead (removed) revision in file `Core/Components/test/Core.Components.Gis.TestUtils/TestImageBasedMapData.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag c63ac515f0ce88fbc058e1838d1a43ed6a912360 refers to a dead (removed) revision in file `Core/Components/test/Core.Components.Gis.TestUtils/WmtsMapDataTestHelper.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets.sln
===================================================================
diff -u -r9c07cee1e1a14a24e2d949bf9b32f294f0988f1f -rc63ac515f0ce88fbc058e1838d1a43ed6a912360
--- Ringtoets.sln (.../Ringtoets.sln) (revision 9c07cee1e1a14a24e2d949bf9b32f294f0988f1f)
+++ Ringtoets.sln (.../Ringtoets.sln) (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -1390,12 +1390,12 @@
{C90B77DA-E421-43CC-B82E-529651BC21AC} = {C90B77DA-E421-43CC-B82E-529651BC21AC}
EndProjectSection
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core.Components.Gis.TestUtils", "Core\Components\test\Core.Components.Gis.TestUtils\Core.Components.Gis.TestUtils.csproj", "{F0FB401A-3494-4237-9E6D-02CDF77912A8}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core.Components.Gis.TestUtil", "Core\Components\test\Core.Components.Gis.TestUtil\Core.Components.Gis.TestUtil.csproj", "{F0FB401A-3494-4237-9E6D-02CDF77912A8}"
ProjectSection(ProjectDependencies) = postProject
{C90B77DA-E421-43CC-B82E-529651BC21AC} = {C90B77DA-E421-43CC-B82E-529651BC21AC}
EndProjectSection
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core.Components.Gis.TestUtils.Test", "Core\Components\test\Core.Components.Gis.TestUtils.Test\Core.Components.Gis.TestUtils.Test.csproj", "{98FD0100-A601-450B-A2CD-718FAEB3A408}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core.Components.Gis.TestUtil.Test", "Core\Components\test\Core.Components.Gis.TestUtil.Test\Core.Components.Gis.TestUtil.Test.csproj", "{98FD0100-A601-450B-A2CD-718FAEB3A408}"
ProjectSection(ProjectDependencies) = postProject
{C90B77DA-E421-43CC-B82E-529651BC21AC} = {C90B77DA-E421-43CC-B82E-529651BC21AC}
EndProjectSection
Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Ringtoets.Common.Forms.Test.csproj
===================================================================
diff -u -r7fc071aa21ada037052184432c734ce79adf5c8c -rc63ac515f0ce88fbc058e1838d1a43ed6a912360
--- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Ringtoets.Common.Forms.Test.csproj (.../Ringtoets.Common.Forms.Test.csproj) (revision 7fc071aa21ada037052184432c734ce79adf5c8c)
+++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Ringtoets.Common.Forms.Test.csproj (.../Ringtoets.Common.Forms.Test.csproj) (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -180,9 +180,9 @@
{1081336C-D919-4249-AB33-9AF15F4D19EC}Core.Components.BruTile.TestUtil
-
+ {F0FB401A-3494-4237-9E6D-02CDF77912A8}
- Core.Components.Gis.TestUtils
+ Core.Components.Gis.TestUtil{74CBA865-9338-447F-BAD9-28312446AE84}
Index: Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil.Test/Ringtoets.Common.Forms.TestUtil.Test.csproj
===================================================================
diff -u -r7fc071aa21ada037052184432c734ce79adf5c8c -rc63ac515f0ce88fbc058e1838d1a43ed6a912360
--- Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil.Test/Ringtoets.Common.Forms.TestUtil.Test.csproj (.../Ringtoets.Common.Forms.TestUtil.Test.csproj) (revision 7fc071aa21ada037052184432c734ce79adf5c8c)
+++ Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil.Test/Ringtoets.Common.Forms.TestUtil.Test.csproj (.../Ringtoets.Common.Forms.TestUtil.Test.csproj) (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -78,9 +78,9 @@
{318BA582-88C9-4816-A54A-A7E431461DE3}Core.Components.Gis
-
+ {F0FB401A-3494-4237-9E6D-02CDF77912A8}
- Core.Components.Gis.TestUtils
+ Core.Components.Gis.TestUtil{D4200F43-3F72-4F42-AF0A-8CED416A38EC}
Index: Ringtoets/Common/test/Ringtoets.Common.Utils.Test/Ringtoets.Common.Utils.Test.csproj
===================================================================
diff -u -r935e492135a782b9e63c0924df798ebb358ac7cc -rc63ac515f0ce88fbc058e1838d1a43ed6a912360
--- Ringtoets/Common/test/Ringtoets.Common.Utils.Test/Ringtoets.Common.Utils.Test.csproj (.../Ringtoets.Common.Utils.Test.csproj) (revision 935e492135a782b9e63c0924df798ebb358ac7cc)
+++ Ringtoets/Common/test/Ringtoets.Common.Utils.Test/Ringtoets.Common.Utils.Test.csproj (.../Ringtoets.Common.Utils.Test.csproj) (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -84,9 +84,9 @@
{318BA582-88C9-4816-A54A-A7E431461DE3}Core.Components.Gis
-
+ {F0FB401A-3494-4237-9E6D-02CDF77912A8}
- Core.Components.Gis.TestUtils
+ Core.Components.Gis.TestUtil{D4200F43-3F72-4F42-AF0A-8CED416A38EC}
Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Ringtoets.Integration.Forms.Test.csproj
===================================================================
diff -u -rfa68b38773452b965a9ee25db20436446c1a50b8 -rc63ac515f0ce88fbc058e1838d1a43ed6a912360
--- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Ringtoets.Integration.Forms.Test.csproj (.../Ringtoets.Integration.Forms.Test.csproj) (revision fa68b38773452b965a9ee25db20436446c1a50b8)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Ringtoets.Integration.Forms.Test.csproj (.../Ringtoets.Integration.Forms.Test.csproj) (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -165,9 +165,9 @@
{1081336C-D919-4249-AB33-9AF15F4D19EC}Core.Components.BruTile.TestUtil
-
+ {f0fb401a-3494-4237-9e6d-02cdf77912a8}
- Core.Components.Gis.TestUtils
+ Core.Components.Gis.TestUtil{D24FA2F7-28A7-413B-AFD3-EE10E985630B}
Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj
===================================================================
diff -u -r7fc071aa21ada037052184432c734ce79adf5c8c -rc63ac515f0ce88fbc058e1838d1a43ed6a912360
--- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj (.../Ringtoets.Integration.Plugin.Test.csproj) (revision 7fc071aa21ada037052184432c734ce79adf5c8c)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj (.../Ringtoets.Integration.Plugin.Test.csproj) (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -180,9 +180,9 @@
{1081336C-D919-4249-AB33-9AF15F4D19EC}Core.Components.BruTile.TestUtil
-
+ {F0FB401A-3494-4237-9E6D-02CDF77912A8}
- Core.Components.Gis.TestUtils
+ Core.Components.Gis.TestUtil{c6309704-d67b-434c-bc98-9f8910bc1d10}
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Ringtoets.Piping.Forms.Test.csproj
===================================================================
diff -u -r7fc071aa21ada037052184432c734ce79adf5c8c -rc63ac515f0ce88fbc058e1838d1a43ed6a912360
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Ringtoets.Piping.Forms.Test.csproj (.../Ringtoets.Piping.Forms.Test.csproj) (revision 7fc071aa21ada037052184432c734ce79adf5c8c)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Ringtoets.Piping.Forms.Test.csproj (.../Ringtoets.Piping.Forms.Test.csproj) (revision c63ac515f0ce88fbc058e1838d1a43ed6a912360)
@@ -151,9 +151,9 @@
{1081336C-D919-4249-AB33-9AF15F4D19EC}Core.Components.BruTile.TestUtil
-
+ {F0FB401A-3494-4237-9E6D-02CDF77912A8}
- Core.Components.Gis.TestUtils
+ Core.Components.Gis.TestUtil{d4200f43-3f72-4f42-af0a-8ced416a38ec}