Index: Riskeer/Piping/src/Riskeer.Piping.Forms/PresentationObjects/Probabilistic/ProbabilisticPipingOutputContext.cs =================================================================== diff -u -r3123e3ad3dcb60de01021533ab8b6b6d1e71b173 -rdb9e3d62dd70bfc901a17dff87f13f2524e7e5a9 --- Riskeer/Piping/src/Riskeer.Piping.Forms/PresentationObjects/Probabilistic/ProbabilisticPipingOutputContext.cs (.../ProbabilisticPipingOutputContext.cs) (revision 3123e3ad3dcb60de01021533ab8b6b6d1e71b173) +++ Riskeer/Piping/src/Riskeer.Piping.Forms/PresentationObjects/Probabilistic/ProbabilisticPipingOutputContext.cs (.../ProbabilisticPipingOutputContext.cs) (revision db9e3d62dd70bfc901a17dff87f13f2524e7e5a9) @@ -26,7 +26,7 @@ namespace Riskeer.Piping.Forms.PresentationObjects.Probabilistic { /// - /// A presentation layer object which wraps a . + /// Presentation object for the output of . /// public class ProbabilisticPipingOutputContext : ObservableWrappedObjectContextBase { Index: Riskeer/Piping/src/Riskeer.Piping.Forms/PresentationObjects/Probabilistic/ProbabilisticPipingProfileSpecificOutputContext.cs =================================================================== diff -u --- Riskeer/Piping/src/Riskeer.Piping.Forms/PresentationObjects/Probabilistic/ProbabilisticPipingProfileSpecificOutputContext.cs (revision 0) +++ Riskeer/Piping/src/Riskeer.Piping.Forms/PresentationObjects/Probabilistic/ProbabilisticPipingProfileSpecificOutputContext.cs (revision db9e3d62dd70bfc901a17dff87f13f2524e7e5a9) @@ -0,0 +1,40 @@ +// Copyright (C) Stichting Deltares 2019. All rights reserved. +// +// This file is part of Riskeer. +// +// Riskeer 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 System; +using Core.Common.Controls.PresentationObjects; +using Riskeer.Piping.Data.Probabilistic; + +namespace Riskeer.Piping.Forms.PresentationObjects.Probabilistic +{ + /// + /// Presentation object for the profile specific out of . + /// + public class ProbabilisticPipingProfileSpecificOutputContext : ObservableWrappedObjectContextBase + { + /// + /// Creates a new instance of . + /// + /// The object to wrap. + /// Thrown when is null. + public ProbabilisticPipingProfileSpecificOutputContext(ProbabilisticPipingCalculation calculation) : base(calculation) {} + } +} \ No newline at end of file Index: Riskeer/Piping/src/Riskeer.Piping.Forms/PresentationObjects/Probabilistic/ProbabilisticPipingSectionSpecificOutputContext.cs =================================================================== diff -u --- Riskeer/Piping/src/Riskeer.Piping.Forms/PresentationObjects/Probabilistic/ProbabilisticPipingSectionSpecificOutputContext.cs (revision 0) +++ Riskeer/Piping/src/Riskeer.Piping.Forms/PresentationObjects/Probabilistic/ProbabilisticPipingSectionSpecificOutputContext.cs (revision db9e3d62dd70bfc901a17dff87f13f2524e7e5a9) @@ -0,0 +1,40 @@ +// Copyright (C) Stichting Deltares 2019. All rights reserved. +// +// This file is part of Riskeer. +// +// Riskeer 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 System; +using Core.Common.Controls.PresentationObjects; +using Riskeer.Piping.Data.Probabilistic; + +namespace Riskeer.Piping.Forms.PresentationObjects.Probabilistic +{ + /// + /// Presentation object for the section specific output of . + /// + public class ProbabilisticPipingSectionSpecificOutputContext : ObservableWrappedObjectContextBase + { + /// + /// Creates a new instance of . + /// + /// The object to wrap. + /// Thrown when is null. + public ProbabilisticPipingSectionSpecificOutputContext(ProbabilisticPipingCalculation calculation) : base(calculation) {} + } +} \ No newline at end of file Index: Riskeer/Piping/test/Riskeer.Piping.Forms.Test/PresentationObjects/Probabilistic/ProbabilisticPipingProfileSpecificOutputContextTest.cs =================================================================== diff -u --- Riskeer/Piping/test/Riskeer.Piping.Forms.Test/PresentationObjects/Probabilistic/ProbabilisticPipingProfileSpecificOutputContextTest.cs (revision 0) +++ Riskeer/Piping/test/Riskeer.Piping.Forms.Test/PresentationObjects/Probabilistic/ProbabilisticPipingProfileSpecificOutputContextTest.cs (revision db9e3d62dd70bfc901a17dff87f13f2524e7e5a9) @@ -0,0 +1,48 @@ +// Copyright (C) Stichting Deltares 2019. All rights reserved. +// +// This file is part of Riskeer. +// +// Riskeer 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.Controls.PresentationObjects; +using NUnit.Framework; +using Riskeer.Common.Data.TestUtil.IllustrationPoints; +using Riskeer.Piping.Data; +using Riskeer.Piping.Data.Probabilistic; +using Riskeer.Piping.Forms.PresentationObjects.Probabilistic; + +namespace Riskeer.Piping.Forms.Test.PresentationObjects.Probabilistic +{ + [TestFixture] + public class ProbabilisticPipingProfileSpecificOutputContextTest + { + [Test] + public void Constructor_ExpectedValues() + { + // Setup + var calculation = new ProbabilisticPipingCalculation(new GeneralPipingInput()); + + // Call + var context = new ProbabilisticPipingProfileSpecificOutputContext(calculation); + + // Assert + Assert.IsInstanceOf>(context); + Assert.AreSame(calculation, context.WrappedData); + } + } +} \ No newline at end of file Index: Riskeer/Piping/test/Riskeer.Piping.Forms.Test/PresentationObjects/Probabilistic/ProbabilisticPipingSectionSpecificOutputContextTest.cs =================================================================== diff -u --- Riskeer/Piping/test/Riskeer.Piping.Forms.Test/PresentationObjects/Probabilistic/ProbabilisticPipingSectionSpecificOutputContextTest.cs (revision 0) +++ Riskeer/Piping/test/Riskeer.Piping.Forms.Test/PresentationObjects/Probabilistic/ProbabilisticPipingSectionSpecificOutputContextTest.cs (revision db9e3d62dd70bfc901a17dff87f13f2524e7e5a9) @@ -0,0 +1,48 @@ +// Copyright (C) Stichting Deltares 2019. All rights reserved. +// +// This file is part of Riskeer. +// +// Riskeer 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.Controls.PresentationObjects; +using NUnit.Framework; +using Riskeer.Common.Data.TestUtil.IllustrationPoints; +using Riskeer.Piping.Data; +using Riskeer.Piping.Data.Probabilistic; +using Riskeer.Piping.Forms.PresentationObjects.Probabilistic; + +namespace Riskeer.Piping.Forms.Test.PresentationObjects.Probabilistic +{ + [TestFixture] + public class ProbabilisticPipingSectionSpecificOutputContextTest + { + [Test] + public void Constructor_ExpectedValues() + { + // Setup + var calculation = new ProbabilisticPipingCalculation(new GeneralPipingInput()); + + // Call + var context = new ProbabilisticPipingSectionSpecificOutputContext(calculation); + + // Assert + Assert.IsInstanceOf>(context); + Assert.AreSame(calculation, context.WrappedData); + } + } +} \ No newline at end of file