Index: Core/Plugins/src/Core.Plugins.Chart/Core.Plugins.Chart.csproj
===================================================================
diff -u -rf7ee6215e886711db4478d524e34718b6df434df -rb4535eabcb8d131b00bde746e21ef201b1ba4e80
--- Core/Plugins/src/Core.Plugins.Chart/Core.Plugins.Chart.csproj (.../Core.Plugins.Chart.csproj) (revision f7ee6215e886711db4478d524e34718b6df434df)
+++ Core/Plugins/src/Core.Plugins.Chart/Core.Plugins.Chart.csproj (.../Core.Plugins.Chart.csproj) (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -75,8 +75,14 @@
True
Resources.resx
+
+
+
+
+
+
Index: Core/Plugins/src/Core.Plugins.Chart/Properties/Resources.Designer.cs
===================================================================
diff -u -rf7ee6215e886711db4478d524e34718b6df434df -rb4535eabcb8d131b00bde746e21ef201b1ba4e80
--- Core/Plugins/src/Core.Plugins.Chart/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision f7ee6215e886711db4478d524e34718b6df434df)
+++ Core/Plugins/src/Core.Plugins.Chart/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -137,6 +137,15 @@
}
///
+ /// Looks up a localized string similar to Vlakken.
+ ///
+ public static string ChartDataProperties_Type_Areas {
+ get {
+ return ResourceManager.GetString("ChartDataProperties_Type_Areas", resourceCulture);
+ }
+ }
+
+ ///
/// Looks up a localized string similar to Het type data dat wordt weergegeven in de gegevensreeks..
///
public static string ChartDataProperties_Type_Description {
@@ -155,6 +164,24 @@
}
///
+ /// Looks up a localized string similar to Lijnen.
+ ///
+ public static string ChartDataProperties_Type_Lines {
+ get {
+ return ResourceManager.GetString("ChartDataProperties_Type_Lines", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Punten.
+ ///
+ public static string ChartDataProperties_Type_Points {
+ get {
+ return ResourceManager.GetString("ChartDataProperties_Type_Points", resourceCulture);
+ }
+ }
+
+ ///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
public static System.Drawing.Bitmap ChartIcon {
Index: Core/Plugins/src/Core.Plugins.Chart/Properties/Resources.resx
===================================================================
diff -u -rf7ee6215e886711db4478d524e34718b6df434df -rb4535eabcb8d131b00bde746e21ef201b1ba4e80
--- Core/Plugins/src/Core.Plugins.Chart/Properties/Resources.resx (.../Resources.resx) (revision f7ee6215e886711db4478d524e34718b6df434df)
+++ Core/Plugins/src/Core.Plugins.Chart/Properties/Resources.resx (.../Resources.resx) (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -214,4 +214,13 @@
Type
+
+ Punten
+
+
+ Lijnen
+
+
+ Vlakken
+
\ No newline at end of file
Index: Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartAreaDataProperties.cs
===================================================================
diff -u
--- Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartAreaDataProperties.cs (revision 0)
+++ Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartAreaDataProperties.cs (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -0,0 +1,40 @@
+// Copyright (C) Stichting Deltares 2017. 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.Charting.Data;
+using Core.Plugins.Chart.Properties;
+
+namespace Core.Plugins.Chart.PropertyClasses
+{
+ ///
+ /// ViewModel of for the property panel.
+ ///
+ public class ChartAreaDataProperties : ChartDataProperties
+ {
+ public override string Type
+ {
+ get
+ {
+ return Resources.ChartDataProperties_Type_Areas;
+ }
+ }
+ }
+}
\ No newline at end of file
Index: Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartDataProperties.cs
===================================================================
diff -u -rf7ee6215e886711db4478d524e34718b6df434df -rb4535eabcb8d131b00bde746e21ef201b1ba4e80
--- Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartDataProperties.cs (.../ChartDataProperties.cs) (revision f7ee6215e886711db4478d524e34718b6df434df)
+++ Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartDataProperties.cs (.../ChartDataProperties.cs) (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -27,7 +27,8 @@
namespace Core.Plugins.Chart.PropertyClasses
{
- public abstract class ChartDataProperties : ObjectProperties
+ public abstract class ChartDataProperties : ObjectProperties
+ where TChartData : ChartData
{
private const int namePropertyIndex = 0;
private const int typePropertyIndex = 1;
@@ -55,7 +56,8 @@
[ResourcesCategory(typeof(Resources), nameof(Resources.Categories_General))]
[ResourcesDisplayName(typeof(Resources), nameof(Resources.ChartDataProperties_IsVisible_DisplayName))]
[ResourcesDescription(typeof(Resources), nameof(Resources.ChartDataProperties_IsVisible_Description))]
- public bool IsVisible {
+ public bool IsVisible
+ {
get
{
return data.IsVisible;
Index: Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartLineDataProperties.cs
===================================================================
diff -u
--- Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartLineDataProperties.cs (revision 0)
+++ Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartLineDataProperties.cs (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -0,0 +1,40 @@
+// Copyright (C) Stichting Deltares 2017. 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.Charting.Data;
+using Core.Plugins.Chart.Properties;
+
+namespace Core.Plugins.Chart.PropertyClasses
+{
+ ///
+ /// ViewModel of for the property panel.
+ ///
+ public class ChartLineDataProperties : ChartDataProperties
+ {
+ public override string Type
+ {
+ get
+ {
+ return Resources.ChartDataProperties_Type_Lines;
+ }
+ }
+ }
+}
\ No newline at end of file
Index: Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartMultipleAreaDataProperties.cs
===================================================================
diff -u
--- Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartMultipleAreaDataProperties.cs (revision 0)
+++ Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartMultipleAreaDataProperties.cs (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -0,0 +1,40 @@
+// Copyright (C) Stichting Deltares 2017. 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.Charting.Data;
+using Core.Plugins.Chart.Properties;
+
+namespace Core.Plugins.Chart.PropertyClasses
+{
+ ///
+ /// ViewModel of for the property panel.
+ ///
+ public class ChartMultipleAreaDataProperties : ChartDataProperties
+ {
+ public override string Type
+ {
+ get
+ {
+ return Resources.ChartDataProperties_Type_Areas;
+ }
+ }
+ }
+}
\ No newline at end of file
Index: Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartMultipleLineDataProperties.cs
===================================================================
diff -u
--- Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartMultipleLineDataProperties.cs (revision 0)
+++ Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartMultipleLineDataProperties.cs (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -0,0 +1,40 @@
+// Copyright (C) Stichting Deltares 2017. 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.Charting.Data;
+using Core.Plugins.Chart.Properties;
+
+namespace Core.Plugins.Chart.PropertyClasses
+{
+ ///
+ /// ViewModel of for the property panel.
+ ///
+ public class ChartMultipleLineDataProperties : ChartDataProperties
+ {
+ public override string Type
+ {
+ get
+ {
+ return Resources.ChartDataProperties_Type_Lines;
+ }
+ }
+ }
+}
\ No newline at end of file
Index: Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartPointDataProperties.cs
===================================================================
diff -u
--- Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartPointDataProperties.cs (revision 0)
+++ Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/ChartPointDataProperties.cs (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -0,0 +1,40 @@
+// Copyright (C) Stichting Deltares 2017. 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.Charting.Data;
+using Core.Plugins.Chart.Properties;
+
+namespace Core.Plugins.Chart.PropertyClasses
+{
+ ///
+ /// ViewModel of for the property panel.
+ ///
+ public class ChartPointDataProperties : ChartDataProperties
+ {
+ public override string Type
+ {
+ get
+ {
+ return Resources.ChartDataProperties_Type_Points;
+ }
+ }
+ }
+}
\ No newline at end of file
Index: Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/PointBasedChartDataProperties.cs
===================================================================
diff -u
--- Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/PointBasedChartDataProperties.cs (revision 0)
+++ Core/Plugins/src/Core.Plugins.Chart/PropertyClasses/PointBasedChartDataProperties.cs (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -0,0 +1,40 @@
+// Copyright (C) Stichting Deltares 2017. 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.Charting.Data;
+using Core.Plugins.Chart.Properties;
+
+namespace Core.Plugins.Chart.PropertyClasses
+{
+ ///
+ /// ViewModel of for the property panel.
+ ///
+ public class PointBasedChartDataProperties : ChartDataProperties
+ {
+ public override string Type
+ {
+ get
+ {
+ return Resources.ChartDataProperties_Type_Points;
+ }
+ }
+ }
+}
\ No newline at end of file
Index: Core/Plugins/test/Core.Plugins.Chart.Test/Core.Plugins.Chart.Test.csproj
===================================================================
diff -u -rf7ee6215e886711db4478d524e34718b6df434df -rb4535eabcb8d131b00bde746e21ef201b1ba4e80
--- Core/Plugins/test/Core.Plugins.Chart.Test/Core.Plugins.Chart.Test.csproj (.../Core.Plugins.Chart.Test.csproj) (revision f7ee6215e886711db4478d524e34718b6df434df)
+++ Core/Plugins/test/Core.Plugins.Chart.Test/Core.Plugins.Chart.Test.csproj (.../Core.Plugins.Chart.Test.csproj) (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -72,8 +72,14 @@
+
+
+
+
+
+
Component
Index: Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartAreaDataPropertiesTest.cs
===================================================================
diff -u
--- Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartAreaDataPropertiesTest.cs (revision 0)
+++ Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartAreaDataPropertiesTest.cs (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -0,0 +1,43 @@
+// Copyright (C) Stichting Deltares 2017. 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.Charting.Data;
+using Core.Plugins.Chart.PropertyClasses;
+using NUnit.Framework;
+
+namespace Core.Plugins.Chart.Test.PropertyClasses
+{
+ [TestFixture]
+ public class ChartAreaDataPropertiesTest
+ {
+ [Test]
+ public void Constructor_ExpectedValues()
+ {
+ // Call
+ var properties = new ChartAreaDataProperties();
+
+ // Assert
+ Assert.IsInstanceOf>(properties);
+ Assert.IsNull(properties.Data);
+ Assert.AreEqual("Vlakken", properties.Type);
+ }
+ }
+}
\ No newline at end of file
Index: Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartDataPropertiesTest.cs
===================================================================
diff -u -rf7ee6215e886711db4478d524e34718b6df434df -rb4535eabcb8d131b00bde746e21ef201b1ba4e80
--- Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartDataPropertiesTest.cs (.../ChartDataPropertiesTest.cs) (revision f7ee6215e886711db4478d524e34718b6df434df)
+++ Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartDataPropertiesTest.cs (.../ChartDataPropertiesTest.cs) (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -131,7 +131,7 @@
"Geeft aan of de gegevensreeks wordt weergegeven.");
}
- private class TestChartDataProperties : ChartDataProperties
+ private class TestChartDataProperties : ChartDataProperties
{
public override string Type
{
Index: Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartLineDataPropertiesTest.cs
===================================================================
diff -u
--- Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartLineDataPropertiesTest.cs (revision 0)
+++ Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartLineDataPropertiesTest.cs (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -0,0 +1,43 @@
+// Copyright (C) Stichting Deltares 2017. 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.Charting.Data;
+using Core.Plugins.Chart.PropertyClasses;
+using NUnit.Framework;
+
+namespace Core.Plugins.Chart.Test.PropertyClasses
+{
+ [TestFixture]
+ public class ChartLineDataPropertiesTest
+ {
+ [Test]
+ public void Constructor_ExpectedValues()
+ {
+ // Call
+ var properties = new ChartLineDataProperties();
+
+ // Assert
+ Assert.IsInstanceOf>(properties);
+ Assert.IsNull(properties.Data);
+ Assert.AreEqual("Lijnen", properties.Type);
+ }
+ }
+}
\ No newline at end of file
Index: Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartMultipleAreaDataPropertiesTest.cs
===================================================================
diff -u
--- Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartMultipleAreaDataPropertiesTest.cs (revision 0)
+++ Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartMultipleAreaDataPropertiesTest.cs (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -0,0 +1,43 @@
+// Copyright (C) Stichting Deltares 2017. 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.Charting.Data;
+using Core.Plugins.Chart.PropertyClasses;
+using NUnit.Framework;
+
+namespace Core.Plugins.Chart.Test.PropertyClasses
+{
+ [TestFixture]
+ public class ChartMultipleAreaDataPropertiesTest
+ {
+ [Test]
+ public void Constructor_ExpectedValues()
+ {
+ // Call
+ var properties = new ChartMultipleAreaDataProperties();
+
+ // Assert
+ Assert.IsInstanceOf>(properties);
+ Assert.IsNull(properties.Data);
+ Assert.AreEqual("Vlakken", properties.Type);
+ }
+ }
+}
\ No newline at end of file
Index: Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartMultipleLineDataPropertiesTest.cs
===================================================================
diff -u
--- Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartMultipleLineDataPropertiesTest.cs (revision 0)
+++ Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartMultipleLineDataPropertiesTest.cs (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -0,0 +1,43 @@
+// Copyright (C) Stichting Deltares 2017. 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.Charting.Data;
+using Core.Plugins.Chart.PropertyClasses;
+using NUnit.Framework;
+
+namespace Core.Plugins.Chart.Test.PropertyClasses
+{
+ [TestFixture]
+ public class ChartMultipleLineDataPropertiesTest
+ {
+ [Test]
+ public void Constructor_ExpectedValues()
+ {
+ // Call
+ var properties = new ChartMultipleLineDataProperties();
+
+ // Assert
+ Assert.IsInstanceOf>(properties);
+ Assert.IsNull(properties.Data);
+ Assert.AreEqual("Lijnen", properties.Type);
+ }
+ }
+}
\ No newline at end of file
Index: Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartPointDataPropertiesTest.cs
===================================================================
diff -u
--- Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartPointDataPropertiesTest.cs (revision 0)
+++ Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/ChartPointDataPropertiesTest.cs (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -0,0 +1,43 @@
+// Copyright (C) Stichting Deltares 2017. 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.Charting.Data;
+using Core.Plugins.Chart.PropertyClasses;
+using NUnit.Framework;
+
+namespace Core.Plugins.Chart.Test.PropertyClasses
+{
+ [TestFixture]
+ public class ChartPointDataPropertiesTest
+ {
+ [Test]
+ public void Constructor_ExpectedValues()
+ {
+ // Call
+ var properties = new ChartPointDataProperties();
+
+ // Assert
+ Assert.IsInstanceOf>(properties);
+ Assert.IsNull(properties.Data);
+ Assert.AreEqual("Punten", properties.Type);
+ }
+ }
+}
\ No newline at end of file
Index: Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/PointBasedChartDataPropertiesTest.cs
===================================================================
diff -u
--- Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/PointBasedChartDataPropertiesTest.cs (revision 0)
+++ Core/Plugins/test/Core.Plugins.Chart.Test/PropertyClasses/PointBasedChartDataPropertiesTest.cs (revision b4535eabcb8d131b00bde746e21ef201b1ba4e80)
@@ -0,0 +1,43 @@
+// Copyright (C) Stichting Deltares 2017. 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.Charting.Data;
+using Core.Plugins.Chart.PropertyClasses;
+using NUnit.Framework;
+
+namespace Core.Plugins.Chart.Test.PropertyClasses
+{
+ [TestFixture]
+ public class PointBasedChartDataPropertiesTest
+ {
+ [Test]
+ public void Constructor_ExpectedValues()
+ {
+ // Call
+ var properties = new PointBasedChartDataProperties();
+
+ // Assert
+ Assert.IsInstanceOf>(properties);
+ Assert.IsNull(properties.Data);
+ Assert.AreEqual("Punten", properties.Type);
+ }
+ }
+}
\ No newline at end of file