Index: Core/Components/test/Core.Components.DotSpatial.Test/Converter/FeatureBasedMapDataConverterTest.cs =================================================================== diff -u -rc7608335f86c59fff48f77d5bc83b2692ef18fef -radd7a5c83fb8cfef850828654881bffac28adc4d --- Core/Components/test/Core.Components.DotSpatial.Test/Converter/FeatureBasedMapDataConverterTest.cs (.../FeatureBasedMapDataConverterTest.cs) (revision c7608335f86c59fff48f77d5bc83b2692ef18fef) +++ Core/Components/test/Core.Components.DotSpatial.Test/Converter/FeatureBasedMapDataConverterTest.cs (.../FeatureBasedMapDataConverterTest.cs) (revision add7a5c83fb8cfef850828654881bffac28adc4d) @@ -39,12 +39,12 @@ var testConverter = new TestFeatureBasedMapDataConverter(); // Call - var mapDataResult = testConverter.CanConvertMapData(new TestMapData("test data")); + var featureBasedMapDataResult = testConverter.CanConvertMapData(new TestFeatureBasedMapData("test data")); var classResult = testConverter.CanConvertMapData(new Class("test data")); var childResult = testConverter.CanConvertMapData(new Child("test data")); // Assert - Assert.IsFalse(mapDataResult); + Assert.IsFalse(featureBasedMapDataResult); Assert.IsTrue(classResult); Assert.IsTrue(childResult); } @@ -68,31 +68,31 @@ { // Setup var testConverter = new TestFeatureBasedMapDataConverter(); - var testMapData = new TestMapData("test data"); + var testFeatureBasedMapData = new TestFeatureBasedMapData("test data"); // Precondition - Assert.IsFalse(testConverter.CanConvertMapData(testMapData)); + Assert.IsFalse(testConverter.CanConvertMapData(testFeatureBasedMapData)); // Call - TestDelegate test = () => testConverter.Convert(testMapData); + TestDelegate test = () => testConverter.Convert(testFeatureBasedMapData); // Assert - var expectedMessage = string.Format("The data of type {0} cannot be converted by this converter.", testMapData.GetType()); + var expectedMessage = string.Format("The data of type {0} cannot be converted by this converter.", testFeatureBasedMapData.GetType()); TestHelper.AssertThrowsArgumentExceptionAndTestMessage(test, expectedMessage); } [Test] public void Convert_DataCanBeConverted_ReturnsResult() { // Setup - var testConverter = new TestFeatureBasedMapDataConverter(); - var testMapData = new TestMapData("test data"); + var testConverter = new TestFeatureBasedMapDataConverter(); + var testFeatureBasedMapData = new TestFeatureBasedMapData("test data"); // Precondition - Assert.IsTrue(testConverter.CanConvertMapData(testMapData)); + Assert.IsTrue(testConverter.CanConvertMapData(testFeatureBasedMapData)); // Call - var result = testConverter.Convert(testMapData); + var result = testConverter.Convert(testFeatureBasedMapData); // Assert Assert.IsNotNull(result); Index: Core/Components/test/Core.Components.DotSpatial.Test/Converter/MapFeatureLayerFactoryTest.cs =================================================================== diff -u -r675771641656abfb56ef89be86bad7bd21684016 -radd7a5c83fb8cfef850828654881bffac28adc4d --- Core/Components/test/Core.Components.DotSpatial.Test/Converter/MapFeatureLayerFactoryTest.cs (.../MapFeatureLayerFactoryTest.cs) (revision 675771641656abfb56ef89be86bad7bd21684016) +++ Core/Components/test/Core.Components.DotSpatial.Test/Converter/MapFeatureLayerFactoryTest.cs (.../MapFeatureLayerFactoryTest.cs) (revision add7a5c83fb8cfef850828654881bffac28adc4d) @@ -80,7 +80,7 @@ public void Create_OtherData_ThrownsNotSupportedException() { // Setup - var testData = new TestMapData("test data"); + var testData = new TestFeatureBasedMapData("test data"); // Call TestDelegate test = () => MapFeatureLayerFactory.Create(testData); Index: Core/Components/test/Core.Components.DotSpatial.Test/Converter/MapLineDataConverterTest.cs =================================================================== diff -u -rd72d28f9d51c5bc4c7bb0f49509e3656465cc22c -radd7a5c83fb8cfef850828654881bffac28adc4d --- Core/Components/test/Core.Components.DotSpatial.Test/Converter/MapLineDataConverterTest.cs (.../MapLineDataConverterTest.cs) (revision d72d28f9d51c5bc4c7bb0f49509e3656465cc22c) +++ Core/Components/test/Core.Components.DotSpatial.Test/Converter/MapLineDataConverterTest.cs (.../MapLineDataConverterTest.cs) (revision add7a5c83fb8cfef850828654881bffac28adc4d) @@ -83,14 +83,14 @@ } [Test] - public void CanConvertMapData_TestMapData_ReturnsFalse() + public void CanConvertMapData_DataCannotBeConverted_ReturnsFalse() { // Setup var converter = new MapLineDataConverter(); - var mapData = new TestMapData("test data"); + var featureBasedMapData = new TestFeatureBasedMapData("test data"); // Call - bool canConvert = converter.CanConvertMapData(mapData); + bool canConvert = converter.CanConvertMapData(featureBasedMapData); // Assert Assert.IsFalse(canConvert); @@ -115,16 +115,16 @@ { // Setup var testConverter = new MapLineDataConverter(); - var testMapData = new TestMapData("test data"); + var testFeatureBasedMapData = new TestFeatureBasedMapData("test data"); // Precondition - Assert.IsFalse(testConverter.CanConvertMapData(testMapData)); + Assert.IsFalse(testConverter.CanConvertMapData(testFeatureBasedMapData)); // Call - TestDelegate test = () => testConverter.Convert(testMapData); + TestDelegate test = () => testConverter.Convert(testFeatureBasedMapData); // Assert - var expectedMessage = string.Format("The data of type {0} cannot be converted by this converter.", testMapData.GetType()); + var expectedMessage = string.Format("The data of type {0} cannot be converted by this converter.", testFeatureBasedMapData.GetType()); TestHelper.AssertThrowsArgumentExceptionAndTestMessage(test, expectedMessage); } Index: Core/Components/test/Core.Components.DotSpatial.Test/Converter/MapPointDataConverterTest.cs =================================================================== diff -u -rd72d28f9d51c5bc4c7bb0f49509e3656465cc22c -radd7a5c83fb8cfef850828654881bffac28adc4d --- Core/Components/test/Core.Components.DotSpatial.Test/Converter/MapPointDataConverterTest.cs (.../MapPointDataConverterTest.cs) (revision d72d28f9d51c5bc4c7bb0f49509e3656465cc22c) +++ Core/Components/test/Core.Components.DotSpatial.Test/Converter/MapPointDataConverterTest.cs (.../MapPointDataConverterTest.cs) (revision add7a5c83fb8cfef850828654881bffac28adc4d) @@ -83,14 +83,14 @@ } [Test] - public void CanConvertMapData_TestMapData_ReturnsFalse() + public void CanConvertMapData_DataCannotBeConverted_ReturnsFalse() { // Setup var converter = new MapPointDataConverter(); - var mapData = new TestMapData("test data"); + var featureBasedMapData = new TestFeatureBasedMapData("test data"); // Call - bool canConvert = converter.CanConvertMapData(mapData); + bool canConvert = converter.CanConvertMapData(featureBasedMapData); // Assert Assert.IsFalse(canConvert); @@ -338,16 +338,16 @@ { // Setup var testConverter = new MapPointDataConverter(); - var testMapData = new TestMapData("test data"); + var testFeatureBasedMapData = new TestFeatureBasedMapData("test data"); // Precondition - Assert.IsFalse(testConverter.CanConvertMapData(testMapData)); + Assert.IsFalse(testConverter.CanConvertMapData(testFeatureBasedMapData)); // Call - TestDelegate test = () => testConverter.Convert(testMapData); + TestDelegate test = () => testConverter.Convert(testFeatureBasedMapData); // Assert - var expectedMessage = string.Format("The data of type {0} cannot be converted by this converter.", testMapData.GetType()); + var expectedMessage = string.Format("The data of type {0} cannot be converted by this converter.", testFeatureBasedMapData.GetType()); TestHelper.AssertThrowsArgumentExceptionAndTestMessage(test, expectedMessage); } Index: Core/Components/test/Core.Components.DotSpatial.Test/Converter/MapPolygonDataConverterTest.cs =================================================================== diff -u -rd72d28f9d51c5bc4c7bb0f49509e3656465cc22c -radd7a5c83fb8cfef850828654881bffac28adc4d --- Core/Components/test/Core.Components.DotSpatial.Test/Converter/MapPolygonDataConverterTest.cs (.../MapPolygonDataConverterTest.cs) (revision d72d28f9d51c5bc4c7bb0f49509e3656465cc22c) +++ Core/Components/test/Core.Components.DotSpatial.Test/Converter/MapPolygonDataConverterTest.cs (.../MapPolygonDataConverterTest.cs) (revision add7a5c83fb8cfef850828654881bffac28adc4d) @@ -83,14 +83,14 @@ } [Test] - public void CanConvertMapData_TestMapData_ReturnsFalse() + public void CanConvertMapData_DataCannotBeConverted_ReturnsFalse() { // Setup var converter = new MapPolygonDataConverter(); - var mapData = new TestMapData("test data"); + var featureBasedMapData = new TestFeatureBasedMapData("test data"); // Call - bool canConvert = converter.CanConvertMapData(mapData); + bool canConvert = converter.CanConvertMapData(featureBasedMapData); // Assert Assert.IsFalse(canConvert); @@ -323,16 +323,16 @@ { // Setup var testConverter = new MapPolygonDataConverter(); - var testMapData = new TestMapData("test data"); + var testFeatureBasedMapData = new TestFeatureBasedMapData("test data"); // Precondition - Assert.IsFalse(testConverter.CanConvertMapData(testMapData)); + Assert.IsFalse(testConverter.CanConvertMapData(testFeatureBasedMapData)); // Call - TestDelegate test = () => testConverter.Convert(testMapData); + TestDelegate test = () => testConverter.Convert(testFeatureBasedMapData); // Assert - var expectedMessage = string.Format("The data of type {0} cannot be converted by this converter.", testMapData.GetType()); + var expectedMessage = string.Format("The data of type {0} cannot be converted by this converter.", testFeatureBasedMapData.GetType()); TestHelper.AssertThrowsArgumentExceptionAndTestMessage(test, expectedMessage); } Index: Core/Components/test/Core.Components.DotSpatial.TestUtil/Core.Components.DotSpatial.TestUtil.csproj =================================================================== diff -u -r2d5e2d09b0cb1a7f48e1b0a067d332347c89d4a8 -radd7a5c83fb8cfef850828654881bffac28adc4d --- Core/Components/test/Core.Components.DotSpatial.TestUtil/Core.Components.DotSpatial.TestUtil.csproj (.../Core.Components.DotSpatial.TestUtil.csproj) (revision 2d5e2d09b0cb1a7f48e1b0a067d332347c89d4a8) +++ Core/Components/test/Core.Components.DotSpatial.TestUtil/Core.Components.DotSpatial.TestUtil.csproj (.../Core.Components.DotSpatial.TestUtil.csproj) (revision add7a5c83fb8cfef850828654881bffac28adc4d) @@ -46,7 +46,7 @@ Properties\GlobalAssembly.cs - + Index: Core/Components/test/Core.Components.DotSpatial.TestUtil/TestFeatureBasedMapData.cs =================================================================== diff -u --- Core/Components/test/Core.Components.DotSpatial.TestUtil/TestFeatureBasedMapData.cs (revision 0) +++ Core/Components/test/Core.Components.DotSpatial.TestUtil/TestFeatureBasedMapData.cs (revision add7a5c83fb8cfef850828654881bffac28adc4d) @@ -0,0 +1,33 @@ +// 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.DotSpatial.TestUtil +{ + /// + /// A class representing a implementation which is not in the regular codebase. + /// + public class TestFeatureBasedMapData : FeatureBasedMapData + { + public TestFeatureBasedMapData(string name) : base(name) {} + } +} \ No newline at end of file Fisheye: Tag add7a5c83fb8cfef850828654881bffac28adc4d refers to a dead (removed) revision in file `Core/Components/test/Core.Components.DotSpatial.TestUtil/TestMapData.cs'. Fisheye: No comparison available. Pass `N' to diff?