Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/Properties/AssemblyInfo.cs =================================================================== diff -u -r5b4cc6fb0792966e9123052fa06092f0974790ed -rb5a0b841029bd7b3639328aab27707477bdc3d12 --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/Properties/AssemblyInfo.cs (.../AssemblyInfo.cs) (revision 5b4cc6fb0792966e9123052fa06092f0974790ed) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/Properties/AssemblyInfo.cs (.../AssemblyInfo.cs) (revision b5a0b841029bd7b3639328aab27707477bdc3d12) @@ -20,8 +20,10 @@ // All rights reserved. using System.Reflection; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Ringtoets.StabilityStoneCover.Data")] [assembly: AssemblyProduct("Ringtoets.StabilityStoneCover.Data")] +[assembly: InternalsVisibleTo("Ringtoets.StabilityStoneCover.Data.Test")] [assembly: Guid("3da73ace-be5f-4a2a-b788-dd8c04618897")] \ No newline at end of file Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/Properties/Resources.Designer.cs =================================================================== diff -u -r1ff2f27e84cbd5da25a9da66d478467a773cb573 -rb5a0b841029bd7b3639328aab27707477bdc3d12 --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 1ff2f27e84cbd5da25a9da66d478467a773cb573) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision b5a0b841029bd7b3639328aab27707477bdc3d12) @@ -22,7 +22,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18444 +// Runtime Version:4.0.30319.17929 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -98,5 +98,14 @@ return ResourceManager.GetString("StabilityStoneCoverFailureMechanism_DisplayName", resourceCulture); } } + + /// + /// Looks up a localized string similar to Nieuwe berekening. + /// + internal static string StabilityStoneCoverWaveConditionsCalculation_DefaultName { + get { + return ResourceManager.GetString("StabilityStoneCoverWaveConditionsCalculation_DefaultName", resourceCulture); + } + } } } Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/Properties/Resources.resx =================================================================== diff -u -r1ff2f27e84cbd5da25a9da66d478467a773cb573 -rb5a0b841029bd7b3639328aab27707477bdc3d12 --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/Properties/Resources.resx (.../Resources.resx) (revision 1ff2f27e84cbd5da25a9da66d478467a773cb573) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/Properties/Resources.resx (.../Resources.resx) (revision b5a0b841029bd7b3639328aab27707477bdc3d12) @@ -123,4 +123,7 @@ Dijken en dammen - Stabiliteit steenzetting + + Nieuwe berekening + \ No newline at end of file Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/Ringtoets.StabilityStoneCover.Data.csproj =================================================================== diff -u -r1ff2f27e84cbd5da25a9da66d478467a773cb573 -rb5a0b841029bd7b3639328aab27707477bdc3d12 --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/Ringtoets.StabilityStoneCover.Data.csproj (.../Ringtoets.StabilityStoneCover.Data.csproj) (revision 1ff2f27e84cbd5da25a9da66d478467a773cb573) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/Ringtoets.StabilityStoneCover.Data.csproj (.../Ringtoets.StabilityStoneCover.Data.csproj) (revision b5a0b841029bd7b3639328aab27707477bdc3d12) @@ -45,6 +45,7 @@ True Resources.resx + @@ -69,6 +70,7 @@ ResXFileCodeGenerator Resources.Designer.cs + Designer Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/StabilityStoneCoverWaveConditoinsCalculation.cs =================================================================== diff -u --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/StabilityStoneCoverWaveConditoinsCalculation.cs (revision 0) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/StabilityStoneCoverWaveConditoinsCalculation.cs (revision b5a0b841029bd7b3639328aab27707477bdc3d12) @@ -0,0 +1,59 @@ +// 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 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 Core.Common.Base; +using Ringtoets.Common.Data.Calculation; +using Ringtoets.StabilityStoneCover.Data.Properties; + +namespace Ringtoets.StabilityStoneCover.Data +{ + /// + /// Class holding information about a calculation for the . + /// + public class StabilityStoneCoverWaveConditionsCalculation : Observable, ICalculation + { + /// + /// Creates a new instance of . + /// + public StabilityStoneCoverWaveConditionsCalculation() + { + Name = Resources.StabilityStoneCoverWaveConditionsCalculation_DefaultName; + } + + public string Name { get; set; } + public string Comments { get; set; } + public bool HasOutput { get; private set; } + public void ClearOutput() + { + throw new System.NotImplementedException(); + } + + public ICalculationInput GetObservableInput() + { + throw new System.NotImplementedException(); + } + + public ICalculationOutput GetObservableOutput() + { + throw new System.NotImplementedException(); + } + } +} Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Data.Test/Ringtoets.StabilityStoneCover.Data.Test.csproj =================================================================== diff -u -r1ff2f27e84cbd5da25a9da66d478467a773cb573 -rb5a0b841029bd7b3639328aab27707477bdc3d12 --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Data.Test/Ringtoets.StabilityStoneCover.Data.Test.csproj (.../Ringtoets.StabilityStoneCover.Data.Test.csproj) (revision 1ff2f27e84cbd5da25a9da66d478467a773cb573) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Data.Test/Ringtoets.StabilityStoneCover.Data.Test.csproj (.../Ringtoets.StabilityStoneCover.Data.Test.csproj) (revision b5a0b841029bd7b3639328aab27707477bdc3d12) @@ -49,6 +49,7 @@ Properties\GlobalAssembly.cs + Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Data.Test/StabilityStoneCoverWaveConditionsCalculationTest.cs =================================================================== diff -u --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Data.Test/StabilityStoneCoverWaveConditionsCalculationTest.cs (revision 0) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Data.Test/StabilityStoneCoverWaveConditionsCalculationTest.cs (revision b5a0b841029bd7b3639328aab27707477bdc3d12) @@ -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 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 Core.Common.Base; +using NUnit.Framework; +using Ringtoets.Common.Data.Calculation; +using Ringtoets.StabilityStoneCover.Data.Properties; + +namespace Ringtoets.StabilityStoneCover.Data.Test +{ + [TestFixture] + public class StabilityStoneCoverWaveConditionsCalculationTest + { + [Test] + public void Constructor_DefaultValues() + { + // Call + var calculation = new StabilityStoneCoverWaveConditionsCalculation(); + + // Assert + Assert.IsInstanceOf(calculation); + Assert.IsInstanceOf(calculation); + + Assert.AreEqual(Resources.StabilityStoneCoverWaveConditionsCalculation_DefaultName, calculation.Name); + } + } +}