Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresFailureMechanismAssemblyFactoryTest.cs =================================================================== diff -u -r97969a44c353d136c207adf0b295c827b9e4222f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresFailureMechanismAssemblyFactoryTest.cs (.../ClosingStructuresFailureMechanismAssemblyFactoryTest.cs) (revision 97969a44c353d136c207adf0b295c827b9e4222f) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresFailureMechanismAssemblyFactoryTest.cs (.../ClosingStructuresFailureMechanismAssemblyFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -200,7 +200,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -235,7 +235,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -266,7 +266,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -357,7 +357,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -388,7 +388,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -419,7 +419,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -512,7 +512,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -560,7 +560,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -597,7 +597,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -628,7 +628,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -723,7 +723,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -770,7 +770,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -809,7 +809,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -840,7 +840,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -875,7 +875,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -912,7 +912,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -947,7 +947,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1027,7 +1027,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); // Call @@ -1052,7 +1052,7 @@ }); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1090,7 +1090,7 @@ sectionResult.ManualAssemblyProbability = new Random(39).NextDouble(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1128,7 +1128,7 @@ sectionResult.ManualAssemblyProbability = new Random(39).NextDouble(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1159,7 +1159,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1187,7 +1187,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1222,7 +1222,7 @@ }); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs =================================================================== diff -u -r739752c5cc7ed800dacf74e12221c227183ddc6f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs (.../ClosingStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs) (revision 739752c5cc7ed800dacf74e12221c227183ddc6f) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs (.../ClosingStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -137,7 +137,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresProbabilityAssessmentOutputFactoryTest.cs =================================================================== diff -u -re1a93747d105f27392f4bc0655694810c7d29f4d -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresProbabilityAssessmentOutputFactoryTest.cs (.../ClosingStructuresProbabilityAssessmentOutputFactoryTest.cs) (revision e1a93747d105f27392f4bc0655694810c7d29f4d) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresProbabilityAssessmentOutputFactoryTest.cs (.../ClosingStructuresProbabilityAssessmentOutputFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -90,7 +90,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var output = new TestStructuresOutput(); Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/PropertyClasses/ClosingStructuresOutputPropertiesTest.cs =================================================================== diff -u -re1a93747d105f27392f4bc0655694810c7d29f4d -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/PropertyClasses/ClosingStructuresOutputPropertiesTest.cs (.../ClosingStructuresOutputPropertiesTest.cs) (revision e1a93747d105f27392f4bc0655694810c7d29f4d) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/PropertyClasses/ClosingStructuresOutputPropertiesTest.cs (.../ClosingStructuresOutputPropertiesTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -90,7 +90,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var random = new Random(39); Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismSectionResultRowTest.cs =================================================================== diff -u -r846d2015c3cb0995cc7badac536c3abf9954fe62 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismSectionResultRowTest.cs (.../ClosingStructuresFailureMechanismSectionResultRowTest.cs) (revision 846d2015c3cb0995cc7badac536c3abf9954fe62) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismSectionResultRowTest.cs (.../ClosingStructuresFailureMechanismSectionResultRowTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -142,7 +142,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -201,7 +201,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -248,7 +248,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -285,7 +285,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -320,7 +320,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -349,7 +349,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -408,7 +408,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -470,7 +470,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -515,7 +515,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -553,7 +553,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -585,7 +585,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -646,7 +646,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -697,7 +697,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -729,7 +729,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -762,7 +762,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new TestClosingStructuresCalculation @@ -797,7 +797,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -825,7 +825,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -854,7 +854,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -885,7 +885,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -963,7 +963,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); @@ -998,7 +998,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1031,7 +1031,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -1062,7 +1062,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new StructuresCalculation(); @@ -1097,7 +1097,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); const double reliability = 0.586789; @@ -1132,7 +1132,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1170,7 +1170,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1205,7 +1205,7 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/ImportInfos/ClosingStructuresCalculationGroupContextImportInfoTest.cs =================================================================== diff -u -rec13d3850861606552c4dee8dbe04825b855c068 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/ImportInfos/ClosingStructuresCalculationGroupContextImportInfoTest.cs (.../ClosingStructuresCalculationGroupContextImportInfoTest.cs) (revision ec13d3850861606552c4dee8dbe04825b855c068) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/ImportInfos/ClosingStructuresCalculationGroupContextImportInfoTest.cs (.../ClosingStructuresCalculationGroupContextImportInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -63,7 +63,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); mocks.ReplayAll(); var context = new ClosingStructuresCalculationGroupContext(new CalculationGroup(), Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/TreeNodeInfos/ClosingStructuresCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -rb9ae753b52b2b198f264bd2f825d4a66305ad5c9 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/TreeNodeInfos/ClosingStructuresCalculationContextTreeNodeInfoTest.cs (.../ClosingStructuresCalculationContextTreeNodeInfoTest.cs) (revision b9ae753b52b2b198f264bd2f825d4a66305ad5c9) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/TreeNodeInfos/ClosingStructuresCalculationContextTreeNodeInfoTest.cs (.../ClosingStructuresCalculationContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -263,7 +263,7 @@ public void ContextMenuStrip_CalculationWithoutStructure_ContextMenuItemUpdateStructureDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StructuresCalculation(); @@ -295,7 +295,7 @@ public void ContextMenuStrip_CalculationWithStructureAndInputInSync_ContextMenuItemUpdateStructureDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -333,7 +333,7 @@ public void ContextMenuStrip_CalculationWithStructureAndInputOutOfSync_ContextMenuItemUpdateStructureEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -372,7 +372,7 @@ public void GivenCalculationWithoutOutputAndWithInputOutOfSync_WhenUpdateStructureClicked_ThenNoInquiryAndCalculationUpdatedAndInputObserverNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestClosingStructure(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -418,7 +418,7 @@ public void GivenCalculationWithOutputAndInputOutOfSync_WhenUpdateStructureClickedAndCancelled_ThenInquiryAndCalculationNotUpdatedAndObserversNotNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestClosingStructure(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -479,7 +479,7 @@ public void GivenCalculationWithOutputAndInputOutOfSync_WhenUpdateStructureClickedAndContinued_ThenInquiryAndCalculationUpdatedAndObserversNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestClosingStructure(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -540,7 +540,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseNotLinked_ContextMenuItemPerformCalculationAndValidationDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StructuresCalculation(); var failureMechanism = new TestClosingStructuresFailureMechanism(); @@ -575,7 +575,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseLinkedToInvalidFile_ContextMenuItemPerformCalculationAndValidationDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var parent = new CalculationGroup(); var calculation = new StructuresCalculation(); var failureMechanism = new TestClosingStructuresFailureMechanism(); @@ -653,7 +653,7 @@ public void ContextMenuStrip_CalculationWithoutForeshoreProfile_ContextMenuItemUpdateForeshoreProfileDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestClosingStructuresFailureMechanism(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation(); @@ -690,7 +690,7 @@ public void ContextMenuStrip_CalculationWithForeshoreProfileAndInputInSync_ContextMenuItemUpdateForeshoreProfileDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestClosingStructuresFailureMechanism(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -733,7 +733,7 @@ public void ContextMenuStrip_CalculationWithForeshoreProfileAndInputOutSync_ContextMenuItemUpdateForeshoreProfileEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestClosingStructuresFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(); @@ -782,7 +782,7 @@ var calculationInputObserver = mocks.StrictMock(); calculationInputObserver.Expect(o => o.UpdateObserver()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestClosingStructuresFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(true); @@ -834,7 +834,7 @@ // Given var calculationObserver = mocks.StrictMock(); var calculationInputObserver = mocks.StrictMock(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestClosingStructuresFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(true); Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/TreeNodeInfos/ClosingStructuresCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -rb9ae753b52b2b198f264bd2f825d4a66305ad5c9 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/TreeNodeInfos/ClosingStructuresCalculationGroupContextTreeNodeInfoTest.cs (.../ClosingStructuresCalculationGroupContextTreeNodeInfoTest.cs) (revision b9ae753b52b2b198f264bd2f825d4a66305ad5c9) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/TreeNodeInfos/ClosingStructuresCalculationGroupContextTreeNodeInfoTest.cs (.../ClosingStructuresCalculationGroupContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -301,7 +301,7 @@ { new TestClosingStructure() }, "some path"); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var groupContext = new ClosingStructuresCalculationGroupContext(group, null, failureMechanism, @@ -471,7 +471,7 @@ var failureMechanism = new TestClosingStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new ClosingStructuresCalculationGroupContext(group, null, @@ -521,7 +521,7 @@ var failureMechanism = new TestClosingStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var nodeData = new ClosingStructuresCalculationGroupContext(group, null, @@ -617,7 +617,7 @@ public void ContextMenuStrip_CalculationGroupWithCalculationWithForeshoreProfileAndInputOutOfSync_ContextMenuItemUpdateForeshoreProfilesEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestClosingStructuresFailureMechanism(); var calculation = new StructuresCalculation { @@ -670,7 +670,7 @@ var calculationInputObserver = mocks.StrictMock(); calculationInputObserver.Expect(o => o.UpdateObserver()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestClosingStructuresFailureMechanism(); var calculation = new StructuresCalculation @@ -924,7 +924,7 @@ var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); var group = new CalculationGroup(); var failureMechanism = new ClosingStructuresFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new ClosingStructuresCalculationGroupContext(group, null, failureMechanism, @@ -1009,7 +1009,7 @@ }; var failureMechanism = new ClosingStructuresFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new ClosingStructuresCalculationGroupContext(group, null, failureMechanism, @@ -1053,7 +1053,7 @@ }; var failureMechanism = new ClosingStructuresFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new ClosingStructuresCalculationGroupContext(group, null, failureMechanism, @@ -1098,7 +1098,7 @@ }; var failureMechanism = new ClosingStructuresFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new ClosingStructuresCalculationGroupContext(group, null, failureMechanism, @@ -1128,7 +1128,7 @@ public void GivenCalculationWithoutOutputAndWithInputOutOfSync_WhenUpdateStructuresClicked_ThenNoInquiryAndCalculationUpdatedAndInputObserverNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestClosingStructure(); var calculation = new StructuresCalculation { @@ -1175,7 +1175,7 @@ public void GivenCalculationWithOutputAndInputOutOfSync_WhenUpdateStructuresClickedAndCancelled_ThenInquiryAndCalculationNotUpdatedAndObserversNotNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestClosingStructure(); var calculation = new StructuresCalculation { @@ -1236,7 +1236,7 @@ public void GivenCalculationWithOutputAndInputOutOfSync_WhenUpdateStructuresClickedAndContinued_ThenInquiryAndCalculationUpdatedAndObserversNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestClosingStructure(); var calculation = new StructuresCalculation { @@ -1300,7 +1300,7 @@ // Given using (var treeViewControl = new TreeViewControl()) { - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); ClosingStructure structure1 = new TestClosingStructure("Structure 1"); ClosingStructure structure2 = new TestClosingStructure("Structure 2"); @@ -1423,7 +1423,7 @@ // Given using (var treeViewControl = new TreeViewControl()) { - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); const string existingCalculationName = "Closing structure"; ClosingStructure closingStructure = new TestClosingStructure("id", existingCalculationName); Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/TreeNodeInfos/ClosingStructuresFailureMechanismContextTreeNodeInfoTest.cs =================================================================== diff -u -rd68597572782f79b39b7d74844040cec22584b6d -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/TreeNodeInfos/ClosingStructuresFailureMechanismContextTreeNodeInfoTest.cs (.../ClosingStructuresFailureMechanismContextTreeNodeInfoTest.cs) (revision d68597572782f79b39b7d74844040cec22584b6d) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/TreeNodeInfos/ClosingStructuresFailureMechanismContextTreeNodeInfoTest.cs (.../ClosingStructuresFailureMechanismContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -435,7 +435,7 @@ var failureMechanism = new TestClosingStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocksRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocksRepository); var nodeData = new ClosingStructuresFailureMechanismContext(failureMechanism, assessmentSection); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); @@ -474,7 +474,7 @@ var failureMechanism = new TestClosingStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocksRepository, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocksRepository, "invalidFilePath"); var nodeData = new ClosingStructuresFailureMechanismContext(failureMechanism, assessmentSection); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/ViewInfos/ClosingStructuresFailureMechanismResultViewInfoTest.cs =================================================================== diff -u -r73bb4932d13d36d1cd3cd30d8151f2adf49646f2 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/ViewInfos/ClosingStructuresFailureMechanismResultViewInfoTest.cs (.../ClosingStructuresFailureMechanismResultViewInfoTest.cs) (revision 73bb4932d13d36d1cd3cd30d8151f2adf49646f2) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/ViewInfos/ClosingStructuresFailureMechanismResultViewInfoTest.cs (.../ClosingStructuresFailureMechanismResultViewInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -274,7 +274,7 @@ { // Setup var failureMechanism = new ClosingStructuresFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var context = new ProbabilityFailureMechanismSectionResultContext( failureMechanism.SectionResults, Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructuresCalculationActivityFactoryTest.cs =================================================================== diff -u -r693915c62f33c1b9832734c2600a45202a4f4f1f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructuresCalculationActivityFactoryTest.cs (.../ClosingStructuresCalculationActivityFactoryTest.cs) (revision 693915c62f33c1b9832734c2600a45202a4f4f1f) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructuresCalculationActivityFactoryTest.cs (.../ClosingStructuresCalculationActivityFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -107,9 +107,9 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mocks, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mocks, + validFilePath); mocks.ReplayAll(); StructuresCalculation calculation = CreateValidCalculation(); @@ -183,9 +183,9 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mocks, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mocks, + validFilePath); mocks.ReplayAll(); StructuresCalculation calculation1 = CreateValidCalculation(); @@ -248,9 +248,9 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mocks, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mocks, + validFilePath); mocks.ReplayAll(); StructuresCalculation calculation1 = CreateValidCalculation(); Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructuresCalculationServiceTest.cs =================================================================== diff -u -r1646af501a2465b6f965c8f94153a76b08ec68a5 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructuresCalculationServiceTest.cs (.../ClosingStructuresCalculationServiceTest.cs) (revision 1646af501a2465b6f965c8f94153a76b08ec68a5) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructuresCalculationServiceTest.cs (.../ClosingStructuresCalculationServiceTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -70,9 +70,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), - mockRepository, - Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), + mockRepository, + Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); mockRepository.ReplayAll(); var calculation = new TestClosingStructuresCalculation(); @@ -123,9 +123,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), - mockRepository, - Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), + mockRepository, + Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); mockRepository.ReplayAll(); var calculation = new TestClosingStructuresCalculation @@ -182,9 +182,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), - mockRepository, - Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), + mockRepository, + Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); mockRepository.ReplayAll(); var calculation = new TestClosingStructuresCalculation @@ -236,9 +236,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), - mockRepository, - Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), + mockRepository, + Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); mockRepository.ReplayAll(); var calculation = new TestClosingStructuresCalculation @@ -265,14 +265,16 @@ [Test] [Combinatorial] public void Validate_UsesBreakWaterAndHasInvalidBreakWaterSettings_LogsErrorAndReturnsFalse( - [Values(ClosingStructureInflowModelType.VerticalWall, ClosingStructureInflowModelType.LowSill, ClosingStructureInflowModelType.FloodedCulvert)] ClosingStructureInflowModelType inflowModelType, - [Values(double.NaN, double.NegativeInfinity, double.PositiveInfinity)] double breakWaterHeight) + [Values(ClosingStructureInflowModelType.VerticalWall, ClosingStructureInflowModelType.LowSill, ClosingStructureInflowModelType.FloodedCulvert)] + ClosingStructureInflowModelType inflowModelType, + [Values(double.NaN, double.NegativeInfinity, double.PositiveInfinity)] + double breakWaterHeight) { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), - mockRepository, - Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), + mockRepository, + Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); mockRepository.ReplayAll(); var calculation = new TestClosingStructuresCalculation @@ -338,6 +340,7 @@ expectedMessage).ParamName; Assert.AreEqual("structureInput", paramName); } + mockRepository.VerifyAll(); } @@ -350,8 +353,8 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -416,6 +419,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -429,8 +433,8 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -497,6 +501,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -509,8 +514,8 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -574,6 +579,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -587,8 +593,8 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -654,6 +660,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -666,8 +673,8 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateStructuresCalculator(testDataPath, validPreprocessorDirectory)) @@ -729,6 +736,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -742,8 +750,8 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateStructuresCalculator(testDataPath, validPreprocessorDirectory)) @@ -807,6 +815,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -822,8 +831,8 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateStructuresCalculator(testDataPath, preprocessorDirectory)) @@ -853,21 +862,24 @@ StructuresClosureCalculationInput actualInput = calculationInputs[0]; Assert.AreEqual(usePreprocessor, actualInput.PreprocessorSetting.RunPreprocessor); } + mockRepository.VerifyAll(); } [Test] [Combinatorial] public void Calculate_ValidCalculation_LogStartAndEndAndReturnOutput( - [Values(ClosingStructureInflowModelType.VerticalWall, ClosingStructureInflowModelType.LowSill, ClosingStructureInflowModelType.FloodedCulvert)] ClosingStructureInflowModelType inflowModelType, - [Values(CalculationType.NoForeshore, CalculationType.ForeshoreWithoutBreakWater, CalculationType.ForeshoreWithValidBreakWater)] CalculationType calculationType) + [Values(ClosingStructureInflowModelType.VerticalWall, ClosingStructureInflowModelType.LowSill, ClosingStructureInflowModelType.FloodedCulvert)] + ClosingStructureInflowModelType inflowModelType, + [Values(CalculationType.NoForeshore, CalculationType.ForeshoreWithoutBreakWater, CalculationType.ForeshoreWithValidBreakWater)] + CalculationType calculationType) { // Setup var failureMechanism = new ClosingStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateStructuresCalculator(testDataPath, validPreprocessorDirectory)) .Return(new TestStructuresCalculator()); @@ -930,8 +942,8 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator { LastErrorFileContent = "An error occurred", @@ -983,6 +995,7 @@ Assert.IsTrue(exceptionThrown); Assert.IsNull(calculation.Output); } + mockRepository.VerifyAll(); } @@ -993,8 +1006,8 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator { EndInFailure = true @@ -1045,6 +1058,7 @@ Assert.IsTrue(exceptionThrown); Assert.IsNull(calculation.Output); } + mockRepository.VerifyAll(); } @@ -1055,8 +1069,8 @@ var failureMechanism = new ClosingStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator { EndInFailure = false, @@ -1111,6 +1125,7 @@ Assert.IsNull(calculation.Output); Assert.AreEqual(calculator.LastErrorFileContent, exceptionMessage); } + mockRepository.VerifyAll(); } Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/AssessmentSection/AssessmentSectionExtensionsTest.cs =================================================================== diff -u -rdca3bade3670653a7d1eed349616861e7adee605 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Common/test/Ringtoets.Common.Data.Test/AssessmentSection/AssessmentSectionExtensionsTest.cs (.../AssessmentSectionExtensionsTest.cs) (revision dca3bade3670653a7d1eed349616861e7adee605) +++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/AssessmentSection/AssessmentSectionExtensionsTest.cs (.../AssessmentSectionExtensionsTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -217,8 +217,8 @@ [Test] [TestCaseSource( - typeof(AssessmentSectionHelper), - nameof(AssessmentSectionHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType))] + typeof(AssessmentSectionTestHelper), + nameof(AssessmentSectionTestHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType))] public void GetAssessmentLevel_HydraulicBoundaryLocationWithOutput_ReturnsCorrespondingAssessmentLevel( IAssessmentSection assessmentSection, HydraulicBoundaryLocation hydraulicBoundaryLocation, @@ -297,8 +297,8 @@ [Test] [TestCaseSource( - typeof(AssessmentSectionHelper), - nameof(AssessmentSectionHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType))] + typeof(AssessmentSectionTestHelper), + nameof(AssessmentSectionTestHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType))] public void GetHydraulicBoundaryLocationCalculation_HydraulicBoundaryLocationWithOutput_ReturnsCorrespondingHydraulicBoundaryLocationCalculation( IAssessmentSection assessmentSection, HydraulicBoundaryLocation hydraulicBoundaryLocation, Fisheye: Tag 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/AssessmentSectionHelperTest.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/AssessmentSectionTestHelperTest.cs =================================================================== diff -u --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/AssessmentSectionTestHelperTest.cs (revision 0) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/AssessmentSectionTestHelperTest.cs (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -0,0 +1,194 @@ +// 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 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 System.Collections.Generic; +using System.Linq; +using Core.Common.Base.Geometry; +using NUnit.Framework; +using Rhino.Mocks; +using Ringtoets.Common.Data.AssessmentSection; +using Ringtoets.Common.Data.Contribution; +using Ringtoets.Common.Data.Hydraulics; + +namespace Ringtoets.Common.Data.TestUtil.Test +{ + [TestFixture] + public class AssessmentSectionTestHelperTest + { + [Test] + public void CreateAssessmentSectionStub_WithoutFailureMechanismAndFilePath_ReturnsExpectedAssessmentSectionStub() + { + // Setup + var mocks = new MockRepository(); + + // Call + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); + mocks.ReplayAll(); + + // Assert + Assert.IsNotNull(assessmentSection); + + HydraulicBoundaryDatabase hydraulicBoundaryDatabase = assessmentSection.HydraulicBoundaryDatabase; + Assert.IsNotNull(hydraulicBoundaryDatabase); + Assert.IsNull(hydraulicBoundaryDatabase.FilePath); + Assert.IsNull(hydraulicBoundaryDatabase.Version); + CollectionAssert.IsEmpty(hydraulicBoundaryDatabase.Locations); + Assert.IsFalse(hydraulicBoundaryDatabase.CanUsePreprocessor); + Assert.IsFalse(hydraulicBoundaryDatabase.UsePreprocessor); + Assert.IsNull(hydraulicBoundaryDatabase.PreprocessorDirectory); + + mocks.VerifyAll(); + } + + [Test] + public void CreateAssessmentSectionStub_WithFailureMechanismOnly_ReturnsExpectedAssessmentSectionStub() + { + // Setup + var failureMechanism = new TestFailureMechanism(); + var mocks = new MockRepository(); + + // Call + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + mocks.ReplayAll(); + + // Assert + Assert.IsNotNull(assessmentSection); + Assert.AreEqual("21", assessmentSection.Id); + HydraulicBoundaryDatabase hydraulicBoundaryDatabase = assessmentSection.HydraulicBoundaryDatabase; + + Assert.IsNotNull(hydraulicBoundaryDatabase); + Assert.IsNull(hydraulicBoundaryDatabase.FilePath); + Assert.IsNull(hydraulicBoundaryDatabase.Version); + Assert.AreEqual(1, hydraulicBoundaryDatabase.Locations.Count); + HydraulicBoundaryLocation hydraulicBoundaryLocation = hydraulicBoundaryDatabase.Locations.First(); + Assert.AreEqual(1300001, hydraulicBoundaryLocation.Id); + Assert.IsEmpty(hydraulicBoundaryLocation.Name); + Assert.AreEqual(new Point2D(0, 0), hydraulicBoundaryLocation.Location); + Assert.IsFalse(hydraulicBoundaryDatabase.CanUsePreprocessor); + Assert.IsFalse(hydraulicBoundaryDatabase.UsePreprocessor); + Assert.IsNull(hydraulicBoundaryDatabase.PreprocessorDirectory); + + CollectionAssert.AreEqual(new[] + { + failureMechanism + }, assessmentSection.GetFailureMechanisms()); + + FailureMechanismContribution contribution = assessmentSection.FailureMechanismContribution; + Assert.AreEqual(1.0 / 10, contribution.LowerLimitNorm); + Assert.AreEqual(1.0 / 30000, contribution.SignalingNorm); + Assert.AreEqual(NormType.LowerLimit, contribution.NormativeNorm); + + mocks.VerifyAll(); + } + + [Test] + public void CreateAssessmentSectionStub_WithFailureMechanismAndFilePath_ReturnsExpectedAssessmentSectionStub() + { + // Setup + const string path = "C://temp"; + var failureMechanism = new TestFailureMechanism(); + var mocks = new MockRepository(); + + // Call + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks, path); + mocks.ReplayAll(); + + // Assert + Assert.IsNotNull(assessmentSection); + Assert.AreEqual("21", assessmentSection.Id); + + HydraulicBoundaryDatabase hydraulicBoundaryDatabase = assessmentSection.HydraulicBoundaryDatabase; + Assert.IsNotNull(hydraulicBoundaryDatabase); + Assert.AreEqual(path, hydraulicBoundaryDatabase.FilePath); + Assert.IsNull(hydraulicBoundaryDatabase.Version); + Assert.AreEqual(1, hydraulicBoundaryDatabase.Locations.Count); + HydraulicBoundaryLocation hydraulicBoundaryLocation = hydraulicBoundaryDatabase.Locations.First(); + Assert.AreEqual(1300001, hydraulicBoundaryLocation.Id); + Assert.IsEmpty(hydraulicBoundaryLocation.Name); + Assert.AreEqual(new Point2D(0, 0), hydraulicBoundaryLocation.Location); + Assert.IsFalse(hydraulicBoundaryDatabase.CanUsePreprocessor); + Assert.IsFalse(hydraulicBoundaryDatabase.UsePreprocessor); + Assert.IsNull(hydraulicBoundaryDatabase.PreprocessorDirectory); + + CollectionAssert.AreEqual(new[] + { + failureMechanism + }, assessmentSection.GetFailureMechanisms()); + + FailureMechanismContribution contribution = assessmentSection.FailureMechanismContribution; + Assert.AreEqual(1.0 / 10, contribution.LowerLimitNorm); + Assert.AreEqual(1.0 / 30000, contribution.SignalingNorm); + Assert.AreEqual(NormType.LowerLimit, contribution.NormativeNorm); + + mocks.VerifyAll(); + } + + [Test] + public void GetTestNormativeAssessmentLevel_Always_ReturnsTheSameRandomValue() + { + // Call & Assert + Assert.AreEqual(AssessmentSectionTestHelper.GetTestAssessmentLevel(), AssessmentSectionTestHelper.GetTestAssessmentLevel()); + } + + [Test] + public void GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType_Always_ReturnsExpectedTestCaseDataCollection() + { + // Call + TestCaseData[] testCaseDataCollection = AssessmentSectionTestHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType().ToArray(); + + // Assert + AssertTestCaseData(testCaseDataCollection, + "FactorizedSignalingNorm", + AssessmentSectionCategoryType.FactorizedSignalingNorm, + a => a.WaterLevelCalculationsForFactorizedSignalingNorm); + AssertTestCaseData(testCaseDataCollection, + "SignalingNorm", + AssessmentSectionCategoryType.SignalingNorm, + a => a.WaterLevelCalculationsForSignalingNorm); + AssertTestCaseData(testCaseDataCollection, + "LowerLimitNorm", + AssessmentSectionCategoryType.LowerLimitNorm, + a => a.WaterLevelCalculationsForLowerLimitNorm); + AssertTestCaseData(testCaseDataCollection, + "FactorizedLowerLimitNorm", + AssessmentSectionCategoryType.FactorizedLowerLimitNorm, + a => a.WaterLevelCalculationsForFactorizedLowerLimitNorm); + } + + private static void AssertTestCaseData(IEnumerable testCaseDataCollection, + string expectedTestName, + AssessmentSectionCategoryType categoryType, + Func> getCalculationsFunc) + { + TestCaseData testCaseData = testCaseDataCollection.Single(td => categoryType.Equals(td.Arguments.ElementAt(2))); + + Assert.AreEqual(expectedTestName, testCaseData.TestName); + + var assessmentSection = (IAssessmentSection) testCaseData.Arguments.ElementAt(0); + var hydraulicBoundaryLocation = (HydraulicBoundaryLocation) testCaseData.Arguments.ElementAt(1); + var hydraulicBoundaryLocationCalculation = (HydraulicBoundaryLocationCalculation) testCaseData.Arguments.ElementAt(3); + + HydraulicBoundaryLocationCalculation expectedHydraulicBoundaryLocationCalculation = getCalculationsFunc(assessmentSection).First(c => ReferenceEquals(c.HydraulicBoundaryLocation, hydraulicBoundaryLocation)); + Assert.AreSame(expectedHydraulicBoundaryLocationCalculation, hydraulicBoundaryLocationCalculation); + } + } +} \ No newline at end of file Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/Ringtoets.Common.Data.TestUtil.Test.csproj =================================================================== diff -u -rafe7b00174813711c41dd8a574af575837850818 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/Ringtoets.Common.Data.TestUtil.Test.csproj (.../Ringtoets.Common.Data.TestUtil.Test.csproj) (revision afe7b00174813711c41dd8a574af575837850818) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/Ringtoets.Common.Data.TestUtil.Test.csproj (.../Ringtoets.Common.Data.TestUtil.Test.csproj) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -19,7 +19,7 @@ - + Fisheye: Tag 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/AssessmentSectionHelper.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/AssessmentSectionTestHelper.cs =================================================================== diff -u --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/AssessmentSectionTestHelper.cs (revision 0) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/AssessmentSectionTestHelper.cs (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -0,0 +1,167 @@ +// 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 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 System.Collections.Generic; +using System.Linq; +using Core.Common.Base.Data; +using Core.Common.TestUtil; +using NUnit.Framework; +using Rhino.Mocks; +using Ringtoets.Common.Data.AssessmentSection; +using Ringtoets.Common.Data.Contribution; +using Ringtoets.Common.Data.FailureMechanism; +using Ringtoets.Common.Data.Hydraulics; + +namespace Ringtoets.Common.Data.TestUtil +{ + /// + /// Helper class for creating assessment sections that can be used for unit tests. + /// + public static class AssessmentSectionTestHelper + { + private static readonly RoundedDouble testAssessmentLevel = new Random(21).NextRoundedDouble(); + + /// + /// Creates a stub of with a that is not linked. + /// + /// The mock repository to create the stub with. + /// A stubbed . + public static IAssessmentSection CreateAssessmentSectionStub(MockRepository mockRepository) + { + var assessmentSection = mockRepository.Stub(); + assessmentSection.Stub(a => a.HydraulicBoundaryDatabase).Return(new HydraulicBoundaryDatabase()); + + return assessmentSection; + } + + /// + /// Creates a stub of . + /// + /// The failure mechanism to set the contribution for. + /// The mock repository to create the stub with. + /// The file path to the hydraulic boundary database (optional). + /// A stubbed . + /// Whether is provided or not, a dummy location with id 1300001 is added to the + /// hydraulic boundary database. + public static IAssessmentSection CreateAssessmentSectionStub(IFailureMechanism failureMechanism, + MockRepository mockRepository, + string filePath = null) + { + IFailureMechanism[] failureMechanisms = GetFailureMechanisms(failureMechanism); + + var assessmentSection = mockRepository.Stub(); + assessmentSection.Stub(a => a.Id).Return("21"); + assessmentSection.Stub(a => a.FailureMechanismContribution).Return(new FailureMechanismContribution(0.1, + 1.0 / 30000)); + assessmentSection.Stub(a => a.GetFailureMechanisms()).Return(failureMechanisms); + assessmentSection.Stub(a => a.HydraulicBoundaryDatabase).Return(GetHydraulicBoundaryDatabase(filePath)); + + assessmentSection.Replay(); + + return assessmentSection; + } + + /// + /// Gets a random assessment level for testing purposes. + /// + /// The assessment level. + /// The returned assessment level is random, though always the same. + public static RoundedDouble GetTestAssessmentLevel() + { + return testAssessmentLevel; + } + + /// + /// Gets a collection of containing a hydraulic boundary location calculation + /// configuration for all types of . + /// + /// A collection of , in which each item contains: + /// + /// the configured assessment section; + /// the hydraulic boundary location for which the hydraulic boundary location calculation output has been set; + /// the category type at stake; + /// the expected hydraulic boundary location calculation given the combination + /// of the before-mentioned assessment section, hydraulic boundary location and category type. + /// + /// + public static IEnumerable GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType() + { + var assessmentSection = new AssessmentSectionStub(); + var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(); + + assessmentSection.SetHydraulicBoundaryLocationCalculations(new[] + { + hydraulicBoundaryLocation + }, true); + + yield return new TestCaseData( + assessmentSection, + hydraulicBoundaryLocation, + AssessmentSectionCategoryType.FactorizedSignalingNorm, + assessmentSection.WaterLevelCalculationsForFactorizedSignalingNorm.ElementAt(0) + ).SetName("FactorizedSignalingNorm"); + + yield return new TestCaseData( + assessmentSection, + hydraulicBoundaryLocation, + AssessmentSectionCategoryType.SignalingNorm, + assessmentSection.WaterLevelCalculationsForSignalingNorm.ElementAt(0) + ).SetName("SignalingNorm"); + + yield return new TestCaseData( + assessmentSection, + hydraulicBoundaryLocation, + AssessmentSectionCategoryType.LowerLimitNorm, + assessmentSection.WaterLevelCalculationsForLowerLimitNorm.ElementAt(0) + ).SetName("LowerLimitNorm"); + + yield return new TestCaseData( + assessmentSection, + hydraulicBoundaryLocation, + AssessmentSectionCategoryType.FactorizedLowerLimitNorm, + assessmentSection.WaterLevelCalculationsForFactorizedLowerLimitNorm.ElementAt(0) + ).SetName("FactorizedLowerLimitNorm"); + } + + private static IFailureMechanism[] GetFailureMechanisms(IFailureMechanism failureMechanism) + { + return failureMechanism == null + ? Enumerable.Empty().ToArray() + : new[] + { + failureMechanism + }; + } + + private static HydraulicBoundaryDatabase GetHydraulicBoundaryDatabase(string filePath) + { + return new HydraulicBoundaryDatabase + { + FilePath = filePath, + Locations = + { + new HydraulicBoundaryLocation(1300001, string.Empty, 0, 0) + } + }; + } + } +} \ No newline at end of file Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Ringtoets.Common.Data.TestUtil.csproj =================================================================== diff -u -rafe7b00174813711c41dd8a574af575837850818 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Ringtoets.Common.Data.TestUtil.csproj (.../Ringtoets.Common.Data.TestUtil.csproj) (revision afe7b00174813711c41dd8a574af575837850818) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Ringtoets.Common.Data.TestUtil.csproj (.../Ringtoets.Common.Data.TestUtil.csproj) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -19,7 +19,7 @@ - + Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/GuiServices/HydraulicBoundaryLocationCalculationGuiServiceTest.cs =================================================================== diff -u -r25a2b53bdf734865d0bcb8479ad301d9e397d02a -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/GuiServices/HydraulicBoundaryLocationCalculationGuiServiceTest.cs (.../HydraulicBoundaryLocationCalculationGuiServiceTest.cs) (revision 25a2b53bdf734865d0bcb8479ad301d9e397d02a) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/GuiServices/HydraulicBoundaryLocationCalculationGuiServiceTest.cs (.../HydraulicBoundaryLocationCalculationGuiServiceTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -120,7 +120,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); mocks.ReplayAll(); assessmentSection.HydraulicBoundaryDatabase.FilePath = "Does not exist"; @@ -152,7 +152,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); mocks.ReplayAll(); assessmentSection.HydraulicBoundaryDatabase.FilePath = validFilePath; @@ -179,7 +179,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); mocks.ReplayAll(); assessmentSection.HydraulicBoundaryDatabase.FilePath = validFilePath; @@ -214,7 +214,7 @@ const string categoryBoundaryName = "A"; var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateDesignWaterLevelCalculator(testDataPath, "")).Return(new TestDesignWaterLevelCalculator()); @@ -312,7 +312,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); mocks.ReplayAll(); assessmentSection.HydraulicBoundaryDatabase.FilePath = "Does not exist"; @@ -344,7 +344,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); mocks.ReplayAll(); assessmentSection.HydraulicBoundaryDatabase.FilePath = validFilePath; @@ -371,7 +371,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); mocks.ReplayAll(); assessmentSection.HydraulicBoundaryDatabase.FilePath = validFilePath; @@ -406,7 +406,7 @@ const string categoryBoundaryName = "A"; var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateWaveHeightCalculator(testDataPath, "")).Return(new TestWaveHeightCalculator()); Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/DesignWaterLevelCalculationsViewTest.cs =================================================================== diff -u -r0697a72e5738163a7569dda56fe870098e5e5769 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/DesignWaterLevelCalculationsViewTest.cs (.../DesignWaterLevelCalculationsViewTest.cs) (revision 0697a72e5738163a7569dda56fe870098e5e5769) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/DesignWaterLevelCalculationsViewTest.cs (.../DesignWaterLevelCalculationsViewTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -73,7 +73,7 @@ public void Constructor_GetNormFuncNull_ThrowsArgumentNullException() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); // Call @@ -93,7 +93,7 @@ public void Constructor_CategoryBoundaryNameInvalid_ThrowsArgumentException(string categoryBoundaryName) { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); // Call @@ -111,7 +111,7 @@ public void Constructor_ExpectedValues() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); // Call @@ -130,7 +130,7 @@ public void Constructor_DataGridViewCorrectlyInitialized() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); // Call Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/WaveHeightCalculationsViewTest.cs =================================================================== diff -u -r0697a72e5738163a7569dda56fe870098e5e5769 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/WaveHeightCalculationsViewTest.cs (.../WaveHeightCalculationsViewTest.cs) (revision 0697a72e5738163a7569dda56fe870098e5e5769) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/WaveHeightCalculationsViewTest.cs (.../WaveHeightCalculationsViewTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -73,7 +73,7 @@ public void Constructor_GetNormFuncNull_ThrowsArgumentNullException() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); // Call @@ -93,7 +93,7 @@ public void Constructor_CategoryBoundaryNameInvalid_ThrowsArgumentException(string categoryBoundaryName) { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); // Call @@ -111,7 +111,7 @@ public void Constructor_ExpectedValues() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); // Call @@ -130,7 +130,7 @@ public void Constructor_DataGridViewCorrectlyInitialized() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); // Call Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/HydraulicBoundaryDatabaseImporterTest.cs =================================================================== diff -u -rd907ed695ba2fb1bdf239919d9e475b51e7d812c -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/HydraulicBoundaryDatabaseImporterTest.cs (.../HydraulicBoundaryDatabaseImporterTest.cs) (revision d907ed695ba2fb1bdf239919d9e475b51e7d812c) +++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/HydraulicBoundaryDatabaseImporterTest.cs (.../HydraulicBoundaryDatabaseImporterTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -191,7 +191,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); mocks.ReplayAll(); string validFilePath = Path.Combine(testDataPath, "complete.sqlite"); @@ -219,7 +219,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); mocks.ReplayAll(); string corruptPath = Path.Combine(testDataPath, "corruptschema.sqlite"); Index: Ringtoets/Common/test/Ringtoets.Common.Service.Test/HydraulicBoundaryLocationCalculationActivityFactoryTest.cs =================================================================== diff -u -r25a2b53bdf734865d0bcb8479ad301d9e397d02a -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Common/test/Ringtoets.Common.Service.Test/HydraulicBoundaryLocationCalculationActivityFactoryTest.cs (.../HydraulicBoundaryLocationCalculationActivityFactoryTest.cs) (revision 25a2b53bdf734865d0bcb8479ad301d9e397d02a) +++ Ringtoets/Common/test/Ringtoets.Common.Service.Test/HydraulicBoundaryLocationCalculationActivityFactoryTest.cs (.../HydraulicBoundaryLocationCalculationActivityFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -90,7 +90,7 @@ const double norm = 1.0 / 30; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); mocks.ReplayAll(); ConfigureAssessmentSection(assessmentSection, usePreprocessor); @@ -165,7 +165,7 @@ const double norm = 1.0 / 30; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); mocks.ReplayAll(); ConfigureAssessmentSection(assessmentSection, usePreprocessor); Index: Ringtoets/Common/test/Ringtoets.Common.Service.Test/Structures/StructuresCalculationServiceBaseTest.cs =================================================================== diff -u -rb9ae753b52b2b198f264bd2f825d4a66305ad5c9 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Common/test/Ringtoets.Common.Service.Test/Structures/StructuresCalculationServiceBaseTest.cs (.../StructuresCalculationServiceBaseTest.cs) (revision b9ae753b52b2b198f264bd2f825d4a66305ad5c9) +++ Ringtoets/Common/test/Ringtoets.Common.Service.Test/Structures/StructuresCalculationServiceBaseTest.cs (.../StructuresCalculationServiceBaseTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -96,9 +96,9 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new TestFailureMechanism(), - mocks, - Path.Combine(testDataPath, "notexisting.sqlite")); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new TestFailureMechanism(), + mocks, + Path.Combine(testDataPath, "notexisting.sqlite")); mocks.ReplayAll(); var calculation = new TestStructuresCalculation(); @@ -129,7 +129,7 @@ // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( new TestFailureMechanism(), mocks, validFilePath); assessmentSection.HydraulicBoundaryDatabase.CanUsePreprocessor = true; @@ -164,9 +164,9 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new TestFailureMechanism(), - mocks, - Path.Combine(testDataPath, "HRD nosettings.sqlite")); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new TestFailureMechanism(), + mocks, + Path.Combine(testDataPath, "HRD nosettings.sqlite")); mocks.ReplayAll(); var calculation = new TestStructuresCalculation(); @@ -196,8 +196,8 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new TestFailureMechanism(), - mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new TestFailureMechanism(), + mocks); mocks.ReplayAll(); var isValid = false; @@ -224,9 +224,9 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new TestFailureMechanism(), - mocks, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new TestFailureMechanism(), + mocks, + validFilePath); mocks.ReplayAll(); var calculation = new TestStructuresCalculation @@ -263,7 +263,7 @@ var failureMechanism = new TestFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mocks, validFilePath); mocks.ReplayAll(); @@ -301,7 +301,7 @@ var failureMechanism = new TestFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mocks, validFilePath); mocks.ReplayAll(); @@ -341,7 +341,7 @@ var failureMechanism = new TestFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mocks, validFilePath); mocks.ReplayAll(); @@ -379,7 +379,7 @@ // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( new TestFailureMechanism(), mocks, validFilePath); assessmentSection.HydraulicBoundaryDatabase.CanUsePreprocessor = true; @@ -422,7 +422,7 @@ // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( new TestFailureMechanism(), mocks, validFilePath); assessmentSection.HydraulicBoundaryDatabase.CanUsePreprocessor = true; @@ -555,6 +555,7 @@ Assert.IsFalse(calculator.IsCanceled); Assert.AreEqual(readIllustrationPoints, calculation.Output.HasGeneralResult); } + mocks.VerifyAll(); } @@ -609,6 +610,7 @@ Assert.IsNotNull(calculation.Output); Assert.IsFalse(calculation.Output.HasGeneralResult); } + mocks.VerifyAll(); } @@ -661,6 +663,7 @@ Assert.IsNotNull(calculation.Output); Assert.IsFalse(calculation.Output.HasGeneralResult); } + mocks.VerifyAll(); } @@ -718,6 +721,7 @@ Assert.IsNotNull(calculation.Output); Assert.IsFalse(calculation.Output.HasGeneralResult); } + mocks.VerifyAll(); } @@ -774,6 +778,7 @@ Assert.IsNotNull(calculation.Output); Assert.IsFalse(calculation.Output.HasGeneralResult); } + mocks.VerifyAll(); } @@ -811,6 +816,7 @@ Assert.IsNull(calculation.Output); Assert.IsTrue(calculator.IsCanceled); } + mocks.VerifyAll(); } @@ -859,6 +865,7 @@ : lastErrorFileContent )).Return(calculationFailedMessage); } + messageProvider.Expect(mp => mp.GetCalculationPerformedMessage(calculator.OutputDirectory)).Return(calculationPerformedMessage); mocks.ReplayAll(); @@ -893,6 +900,7 @@ Assert.IsTrue(exceptionThrown); Assert.IsNull(calculation.Output); } + mocks.VerifyAll(); } Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/TreeNodeInfos/DuneErosionFailureMechanismContextTreeNodeInfoTest.cs =================================================================== diff -u -ree314954d778270b8c41fc7ab1db663ab89566a1 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/TreeNodeInfos/DuneErosionFailureMechanismContextTreeNodeInfoTest.cs (.../DuneErosionFailureMechanismContextTreeNodeInfoTest.cs) (revision ee314954d778270b8c41fc7ab1db663ab89566a1) +++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/TreeNodeInfos/DuneErosionFailureMechanismContextTreeNodeInfoTest.cs (.../DuneErosionFailureMechanismContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -192,7 +192,7 @@ { // Setup var failureMechanism = new DuneErosionFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocksRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocksRepository); var failureMechanismContext = new DuneErosionFailureMechanismContext(failureMechanism, assessmentSection); var orderMocksRepository = new MockRepository(); @@ -275,7 +275,7 @@ // Setup using (var treeView = new TreeViewControl()) { - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocksRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocksRepository); var failureMechanism = new DuneErosionFailureMechanism(); var failureMechanismContext = new DuneErosionFailureMechanismContext(failureMechanism, assessmentSection); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); @@ -343,7 +343,7 @@ { // Setup var failureMechanism = new DuneErosionFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocksRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocksRepository); var failureMechanismContext = new DuneErosionFailureMechanismContext(failureMechanism, assessmentSection); var viewCommands = mocksRepository.StrictMock(); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/TreeNodeInfos/DuneLocationCalculationsContextTreeNodeInfoTest.cs =================================================================== diff -u -r25a2b53bdf734865d0bcb8479ad301d9e397d02a -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/TreeNodeInfos/DuneLocationCalculationsContextTreeNodeInfoTest.cs (.../DuneLocationCalculationsContextTreeNodeInfoTest.cs) (revision 25a2b53bdf734865d0bcb8479ad301d9e397d02a) +++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/TreeNodeInfos/DuneLocationCalculationsContextTreeNodeInfoTest.cs (.../DuneLocationCalculationsContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -144,7 +144,7 @@ // Setup using (var treeViewControl = new TreeViewControl()) { - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var context = new DuneLocationCalculationsContext(new ObservableList(), new DuneErosionFailureMechanism(), assessmentSection, @@ -185,7 +185,7 @@ // Setup using (var treeViewControl = new TreeViewControl()) { - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var failureMechanism = new DuneErosionFailureMechanism { Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/TreeNodeInfos/DuneLocationCalculationsGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -ree314954d778270b8c41fc7ab1db663ab89566a1 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/TreeNodeInfos/DuneLocationCalculationsGroupContextTreeNodeInfoTest.cs (.../DuneLocationCalculationsGroupContextTreeNodeInfoTest.cs) (revision ee314954d778270b8c41fc7ab1db663ab89566a1) +++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/TreeNodeInfos/DuneLocationCalculationsGroupContextTreeNodeInfoTest.cs (.../DuneLocationCalculationsGroupContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -170,7 +170,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var orderedMockRepository = new MockRepository(); var menuBuilder = orderedMockRepository.StrictMock(); Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsFailureMechanismAssemblyFactoryTest.cs =================================================================== diff -u -r97969a44c353d136c207adf0b295c827b9e4222f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsFailureMechanismAssemblyFactoryTest.cs (.../GrassCoverErosionInwardsFailureMechanismAssemblyFactoryTest.cs) (revision 97969a44c353d136c207adf0b295c827b9e4222f) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsFailureMechanismAssemblyFactoryTest.cs (.../GrassCoverErosionInwardsFailureMechanismAssemblyFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -200,7 +200,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -235,7 +235,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -266,7 +266,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -357,7 +357,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -388,7 +388,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -419,7 +419,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -513,7 +513,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -558,7 +558,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -595,7 +595,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -626,7 +626,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -721,7 +721,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -768,7 +768,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -807,7 +807,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -838,7 +838,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -873,7 +873,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -910,7 +910,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -945,7 +945,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1025,7 +1025,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); // Call @@ -1050,7 +1050,7 @@ }); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1088,7 +1088,7 @@ sectionResult.ManualAssemblyProbability = new Random(39).NextDouble(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1126,7 +1126,7 @@ sectionResult.ManualAssemblyProbability = new Random(39).NextDouble(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1157,7 +1157,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1185,7 +1185,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1220,7 +1220,7 @@ }); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs =================================================================== diff -u -rd8d1d5d4a3eabd84c2d6e07eedb75fa200c2d54e -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs (.../GrassCoverErosionInwardsFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs) (revision d8d1d5d4a3eabd84c2d6e07eedb75fa200c2d54e) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs (.../GrassCoverErosionInwardsFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -134,7 +134,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsProbabilityAssessmentOutputFactoryTest.cs =================================================================== diff -u -raee2e55bc9dbf0bbe1fac86898575c7faa33162c -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsProbabilityAssessmentOutputFactoryTest.cs (.../GrassCoverErosionInwardsProbabilityAssessmentOutputFactoryTest.cs) (revision aee2e55bc9dbf0bbe1fac86898575c7faa33162c) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsProbabilityAssessmentOutputFactoryTest.cs (.../GrassCoverErosionInwardsProbabilityAssessmentOutputFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -96,7 +96,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var output = new TestOvertoppingOutput(0); Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PropertyClasses/GrassCoverErosionInwardsOutputPropertiesTest.cs =================================================================== diff -u -raee2e55bc9dbf0bbe1fac86898575c7faa33162c -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PropertyClasses/GrassCoverErosionInwardsOutputPropertiesTest.cs (.../GrassCoverErosionInwardsOutputPropertiesTest.cs) (revision aee2e55bc9dbf0bbe1fac86898575c7faa33162c) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PropertyClasses/GrassCoverErosionInwardsOutputPropertiesTest.cs (.../GrassCoverErosionInwardsOutputPropertiesTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -58,7 +58,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var grassCoverErosionInwardsOutput = new TestGrassCoverErosionInwardsOutput(); @@ -126,7 +126,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var random = new Random(39); @@ -228,7 +228,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var resultOutput = new OvertoppingOutput(10, @@ -265,7 +265,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); DikeHeightOutput dikeHeightOutput = null; @@ -321,7 +321,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var resultOutput = new OvertoppingOutput(waveHeight, Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PropertyClasses/OvertoppingOutputPropertiesTest.cs =================================================================== diff -u -raee2e55bc9dbf0bbe1fac86898575c7faa33162c -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PropertyClasses/OvertoppingOutputPropertiesTest.cs (.../OvertoppingOutputPropertiesTest.cs) (revision aee2e55bc9dbf0bbe1fac86898575c7faa33162c) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PropertyClasses/OvertoppingOutputPropertiesTest.cs (.../OvertoppingOutputPropertiesTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -64,7 +64,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var overtoppingOutput = new TestOvertoppingOutput(0.5); @@ -136,7 +136,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var random = new Random(39); @@ -200,7 +200,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var overtoppingOutput = new TestOvertoppingOutput(0.5); @@ -223,7 +223,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var overtoppingOutput = new OvertoppingOutput(waveHeight, @@ -307,7 +307,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var overtoppingOutput = new OvertoppingOutput(waveHeight, Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsFailureMechanismSectionResultRowTest.cs =================================================================== diff -u -r846d2015c3cb0995cc7badac536c3abf9954fe62 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsFailureMechanismSectionResultRowTest.cs (.../GrassCoverErosionInwardsFailureMechanismSectionResultRowTest.cs) (revision 846d2015c3cb0995cc7badac536c3abf9954fe62) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsFailureMechanismSectionResultRowTest.cs (.../GrassCoverErosionInwardsFailureMechanismSectionResultRowTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -135,7 +135,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -194,7 +194,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -231,7 +231,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -266,7 +266,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -295,7 +295,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -357,7 +357,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -420,7 +420,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -465,7 +465,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -503,7 +503,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -535,7 +535,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -596,7 +596,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -645,7 +645,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -677,7 +677,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -710,7 +710,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new GrassCoverErosionInwardsCalculation @@ -747,7 +747,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -775,7 +775,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -804,7 +804,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -835,7 +835,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -892,7 +892,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -927,7 +927,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -960,7 +960,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -992,7 +992,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new GrassCoverErosionInwardsCalculation(); @@ -1030,7 +1030,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new GrassCoverErosionInwardsCalculation @@ -1067,7 +1067,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1105,7 +1105,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1140,7 +1140,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/ImportInfos/GrassCoverErosionInwardsCalculationGroupContextImportInfoTest.cs =================================================================== diff -u -r5c612adff7d4fa867750f65c5cf14105b4a3bad0 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/ImportInfos/GrassCoverErosionInwardsCalculationGroupContextImportInfoTest.cs (.../GrassCoverErosionInwardsCalculationGroupContextImportInfoTest.cs) (revision 5c612adff7d4fa867750f65c5cf14105b4a3bad0) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/ImportInfos/GrassCoverErosionInwardsCalculationGroupContextImportInfoTest.cs (.../GrassCoverErosionInwardsCalculationGroupContextImportInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -113,7 +113,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); mocks.ReplayAll(); var context = new GrassCoverErosionInwardsCalculationGroupContext(new CalculationGroup(), Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/PropertyInfos/GrassCoverErosionInwardsOutputContextPropertyInfoTest.cs =================================================================== diff -u -ra5bf4f56dbf07e5cf48d0b874f5d46d7d02f0dba -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/PropertyInfos/GrassCoverErosionInwardsOutputContextPropertyInfoTest.cs (.../GrassCoverErosionInwardsOutputContextPropertyInfoTest.cs) (revision a5bf4f56dbf07e5cf48d0b874f5d46d7d02f0dba) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/PropertyInfos/GrassCoverErosionInwardsOutputContextPropertyInfoTest.cs (.../GrassCoverErosionInwardsOutputContextPropertyInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -67,7 +67,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var output = new TestGrassCoverErosionInwardsOutput(); Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/PropertyInfos/OvertoppingOutputContextPropertyInfoTest.cs =================================================================== diff -u -ra5bf4f56dbf07e5cf48d0b874f5d46d7d02f0dba -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/PropertyInfos/OvertoppingOutputContextPropertyInfoTest.cs (.../OvertoppingOutputContextPropertyInfoTest.cs) (revision a5bf4f56dbf07e5cf48d0b874f5d46d7d02f0dba) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/PropertyInfos/OvertoppingOutputContextPropertyInfoTest.cs (.../OvertoppingOutputContextPropertyInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -67,7 +67,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var overtoppingOutput = new TestOvertoppingOutput(0.5); Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -rb9ae753b52b2b198f264bd2f825d4a66305ad5c9 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationContextTreeNodeInfoTest.cs (.../GrassCoverErosionInwardsCalculationContextTreeNodeInfoTest.cs) (revision b9ae753b52b2b198f264bd2f825d4a66305ad5c9) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationContextTreeNodeInfoTest.cs (.../GrassCoverErosionInwardsCalculationContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -259,7 +259,7 @@ public void ContextMenuStrip_CalculationWithoutDikeProfile_ContextMenuItemUpdateDikeProfileDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionInwardsCalculation(); @@ -293,7 +293,7 @@ public void ContextMenuStrip_CalculationWithDikeProfileAndInputInSync_ContextMenuItemUpdateDikeProfileDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionInwardsCalculation @@ -333,7 +333,7 @@ public void ContextMenuStrip_CalculationWithDikeProfileAndInputOutOfSync_ContextMenuItemUpdateDikeProfileEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); DikeProfile dikeProfile = DikeProfileTestFactory.CreateDikeProfile(); var parent = new CalculationGroup(); @@ -375,7 +375,7 @@ public void GivenCalculationWithoutOutputAndWithInputOutOfSync_WhenUpdateDikeProfileClicked_ThenNoInquiryAndCalculationUpdatedAndInputObserverNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); DikeProfile dikeProfile = DikeProfileTestFactory.CreateDikeProfile(); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionInwardsCalculation @@ -424,7 +424,7 @@ public void GivenCalculationWithOutputAndInputOutOfSync_WhenUpdateDikeProfileClickedAndCancelled_ThenInquiryAndCalculationNotUpdatedAndObserversNotNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); DikeProfile dikeProfile = DikeProfileTestFactory.CreateDikeProfile(); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionInwardsCalculation @@ -487,7 +487,7 @@ public void GivenCalculationWithOutputAndInputOutOfSync_WhenUpdateDikeProfileClickedAndContinued_ThenInquiryAndCalculationUpdatedAndObserversNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); DikeProfile dikeProfile = DikeProfileTestFactory.CreateDikeProfile(); var parent = new CalculationGroup(); @@ -552,7 +552,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseNotLinked_ContextMenuItemPerformCalculationDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionInwardsCalculation(); var failureMechanism = new TestGrassCoverErosionInwardsFailureMechanism(); @@ -583,7 +583,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseLinkedToInvalidFile_ContextMenuItemPerformCalculationDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionInwardsCalculation(); var failureMechanism = new TestGrassCoverErosionInwardsFailureMechanism(); @@ -652,7 +652,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseNotLinked_ContextMenuItemValidateCalculationDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionInwardsCalculation(); var failureMechanism = new TestGrassCoverErosionInwardsFailureMechanism(); @@ -683,7 +683,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseLinkedToInvalidFile_ContextMenuItemValidateCalculationDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionInwardsCalculation(); var failureMechanism = new TestGrassCoverErosionInwardsFailureMechanism(); Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -rb9ae753b52b2b198f264bd2f825d4a66305ad5c9 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationGroupContextTreeNodeInfoTest.cs (.../GrassCoverErosionInwardsCalculationGroupContextTreeNodeInfoTest.cs) (revision b9ae753b52b2b198f264bd2f825d4a66305ad5c9) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationGroupContextTreeNodeInfoTest.cs (.../GrassCoverErosionInwardsCalculationGroupContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -419,7 +419,7 @@ var failureMechanism = new TestGrassCoverErosionInwardsFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new GrassCoverErosionInwardsCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new GrassCoverErosionInwardsCalculationGroupContext(group, null, failureMechanism, @@ -535,7 +535,7 @@ }; var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new GrassCoverErosionInwardsCalculationGroupContext(group, null, failureMechanism, @@ -580,7 +580,7 @@ }; var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new GrassCoverErosionInwardsCalculationGroupContext(group, null, failureMechanism, @@ -626,7 +626,7 @@ }; var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new GrassCoverErosionInwardsCalculationGroupContext(group, null, failureMechanism, @@ -695,7 +695,7 @@ group.Children.Add(emptyChildGroup); group.Children.Add(calculation2); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var nodeData = new GrassCoverErosionInwardsCalculationGroupContext(group, null, @@ -769,7 +769,7 @@ group.Children.Add(emptyChildGroup); group.Children.Add(calculation2); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var nodeData = new GrassCoverErosionInwardsCalculationGroupContext(group, null, @@ -861,7 +861,7 @@ group.Children.Add(emptyChildGroup); group.Children.Add(calculation2); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var nodeData = new GrassCoverErosionInwardsCalculationGroupContext(group, null, @@ -921,7 +921,7 @@ var failureMechanism = new TestGrassCoverErosionInwardsFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new GrassCoverErosionInwardsCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var nodeData = new GrassCoverErosionInwardsCalculationGroupContext(group, null, @@ -1024,7 +1024,7 @@ var failureMechanism = new TestGrassCoverErosionInwardsFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new GrassCoverErosionInwardsCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new GrassCoverErosionInwardsCalculationGroupContext(group, null, failureMechanism, @@ -1077,7 +1077,7 @@ var failureMechanism = new TestGrassCoverErosionInwardsFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new GrassCoverErosionInwardsCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var nodeData = new GrassCoverErosionInwardsCalculationGroupContext(group, null, @@ -1449,7 +1449,7 @@ var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); var group = new CalculationGroup(); var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new GrassCoverErosionInwardsCalculationGroupContext(group, null, failureMechanism, @@ -1493,7 +1493,7 @@ public void GivenCalculationsViewGenerateScenariosButtonClicked_WhenDikeProfileSelectedAndDialogClosed_ThenCalculationsAddedWithProfileAssigned() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); DikeProfile dikeProfile1 = DikeProfileTestFactory.CreateDikeProfile("Dike profile 1", "id1"); DikeProfile dikeProfile2 = DikeProfileTestFactory.CreateDikeProfile("Dike profile 2", "id2"); @@ -1620,7 +1620,7 @@ public void GivenScenariosWithExistingCalculationWithSameName_WhenOkButtonClickedAndDialogClosed_ThenCalculationWithUniqueNameAdded() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); const string existingCalculationName = "Dike profile"; DikeProfile dikeProfile = DikeProfileTestFactory.CreateDikeProfile(existingCalculationName); Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsFailureMechanismContextTreeNodeInfoTest.cs =================================================================== diff -u -rd68597572782f79b39b7d74844040cec22584b6d -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsFailureMechanismContextTreeNodeInfoTest.cs (.../GrassCoverErosionInwardsFailureMechanismContextTreeNodeInfoTest.cs) (revision d68597572782f79b39b7d74844040cec22584b6d) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsFailureMechanismContextTreeNodeInfoTest.cs (.../GrassCoverErosionInwardsFailureMechanismContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -425,7 +425,7 @@ var failureMechanism = new TestGrassCoverErosionInwardsFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new GrassCoverErosionInwardsCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocksRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocksRepository); var nodeData = new GrassCoverErosionInwardsFailureMechanismContext(failureMechanism, assessmentSection); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); @@ -457,7 +457,7 @@ var failureMechanism = new TestGrassCoverErosionInwardsFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new GrassCoverErosionInwardsCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocksRepository, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocksRepository, "invalidFilePath"); var nodeData = new GrassCoverErosionInwardsFailureMechanismContext(failureMechanism, assessmentSection); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); @@ -530,7 +530,7 @@ var failureMechanism = new TestGrassCoverErosionInwardsFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new GrassCoverErosionInwardsCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocksRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocksRepository); var nodeData = new GrassCoverErosionInwardsFailureMechanismContext(failureMechanism, assessmentSection); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); @@ -563,7 +563,7 @@ var failureMechanism = new TestGrassCoverErosionInwardsFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new GrassCoverErosionInwardsCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocksRepository, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocksRepository, "invalidFilePath"); var nodeData = new GrassCoverErosionInwardsFailureMechanismContext(failureMechanism, assessmentSection); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/ViewInfos/GrassCoverErosionInwardsFailureMechanismResultViewInfoTest.cs =================================================================== diff -u -r73bb4932d13d36d1cd3cd30d8151f2adf49646f2 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/ViewInfos/GrassCoverErosionInwardsFailureMechanismResultViewInfoTest.cs (.../GrassCoverErosionInwardsFailureMechanismResultViewInfoTest.cs) (revision 73bb4932d13d36d1cd3cd30d8151f2adf49646f2) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/ViewInfos/GrassCoverErosionInwardsFailureMechanismResultViewInfoTest.cs (.../GrassCoverErosionInwardsFailureMechanismResultViewInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -268,7 +268,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var context = new ProbabilityFailureMechanismSectionResultContext( Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/GrassCoverErosionInwardsCalculationActivityFactoryTest.cs =================================================================== diff -u -r7bbe1aedabdefea4a00a20f878f40644e440ad7f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/GrassCoverErosionInwardsCalculationActivityFactoryTest.cs (.../GrassCoverErosionInwardsCalculationActivityFactoryTest.cs) (revision 7bbe1aedabdefea4a00a20f878f40644e440ad7f) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/GrassCoverErosionInwardsCalculationActivityFactoryTest.cs (.../GrassCoverErosionInwardsCalculationActivityFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -106,9 +106,9 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mocks, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mocks, + validFilePath); mocks.ReplayAll(); @@ -183,9 +183,9 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mocks, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mocks, + validFilePath); mocks.ReplayAll(); @@ -249,9 +249,9 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mocks, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mocks, + validFilePath); mocks.ReplayAll(); Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/GrassCoverErosionInwardsCalculationServiceTest.cs =================================================================== diff -u -r045755f96d4c3083f4194d49d3639d0634231a03 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/GrassCoverErosionInwardsCalculationServiceTest.cs (.../GrassCoverErosionInwardsCalculationServiceTest.cs) (revision 045755f96d4c3083f4194d49d3639d0634231a03) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/GrassCoverErosionInwardsCalculationServiceTest.cs (.../GrassCoverErosionInwardsCalculationServiceTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -57,9 +57,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); mockRepository.ReplayAll(); var calculation = new GrassCoverErosionInwardsCalculation @@ -99,9 +99,9 @@ string invalidFilePath = Path.Combine(testDataPath, "notexisting.sqlite"); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - invalidFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + invalidFilePath); mockRepository.ReplayAll(); var calculation = new GrassCoverErosionInwardsCalculation @@ -140,9 +140,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); assessmentSection.HydraulicBoundaryDatabase.CanUsePreprocessor = true; assessmentSection.HydraulicBoundaryDatabase.UsePreprocessor = true; @@ -188,9 +188,9 @@ string invalidFilePath = Path.Combine(testDataPath, "HRD nosettings.sqlite"); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - invalidFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + invalidFilePath); mockRepository.ReplayAll(); var calculation = new GrassCoverErosionInwardsCalculation @@ -229,8 +229,8 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository); mockRepository.ReplayAll(); var calculation = new GrassCoverErosionInwardsCalculation @@ -269,9 +269,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); mockRepository.ReplayAll(); var calculation = new GrassCoverErosionInwardsCalculation @@ -313,9 +313,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); mockRepository.ReplayAll(); GrassCoverErosionInwardsCalculation calculation = GetCalculationWithBreakWater(breakWaterHeight); @@ -348,9 +348,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); mockRepository.ReplayAll(); var calculation = new GrassCoverErosionInwardsCalculation @@ -397,9 +397,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); mockRepository.ReplayAll(); var calculation = new GrassCoverErosionInwardsCalculation @@ -443,9 +443,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); mockRepository.ReplayAll(); var calculation = new GrassCoverErosionInwardsCalculation @@ -486,9 +486,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); mockRepository.ReplayAll(); var calculation = new GrassCoverErosionInwardsCalculation @@ -534,9 +534,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); mockRepository.ReplayAll(); GrassCoverErosionInwardsCalculation calculation = GetCalculationWithBreakWater(breakWaterHeight); @@ -568,9 +568,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); mockRepository.ReplayAll(); var calculation = new GrassCoverErosionInwardsCalculation @@ -608,9 +608,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); assessmentSection.HydraulicBoundaryDatabase.CanUsePreprocessor = true; assessmentSection.HydraulicBoundaryDatabase.UsePreprocessor = true; @@ -653,9 +653,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); assessmentSection.HydraulicBoundaryDatabase.CanUsePreprocessor = true; assessmentSection.HydraulicBoundaryDatabase.UsePreprocessor = false; @@ -787,9 +787,9 @@ { IllustrationPointsResult = new TestGeneralResult() }); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); mockRepository.ReplayAll(); DikeProfile dikeProfile = GetDikeProfile(); @@ -877,9 +877,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var dikeHeightCalculator = new TestHydraulicLoadsCalculator { @@ -951,9 +951,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingRateCalculator = new TestHydraulicLoadsCalculator { EndInFailure = true @@ -1022,9 +1022,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator(); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateOvertoppingCalculator(testDataPath, string.Empty)).Return(overtoppingCalculator); @@ -1070,9 +1070,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator(); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateOvertoppingCalculator(testDataPath, string.Empty)).Return(overtoppingCalculator); @@ -1130,9 +1130,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator(); var overtoppingRateCalculator = new TestHydraulicLoadsCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -1186,9 +1186,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { LastErrorFileContent = "An error occurred", @@ -1259,9 +1259,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { EndInFailure = true @@ -1331,9 +1331,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { LastErrorFileContent = "An error occurred", @@ -1407,9 +1407,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var dikeHeightCalculator = new TestHydraulicLoadsCalculator { LastErrorFileContent = "An error occurred", @@ -1479,8 +1479,8 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository, + validFilePath); var dikeHeightCalculator = new TestHydraulicLoadsCalculator { @@ -1550,9 +1550,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var dikeHeightCalculator = new TestHydraulicLoadsCalculator { LastErrorFileContent = "An error occurred", @@ -1622,9 +1622,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingRateCalculator = new TestHydraulicLoadsCalculator { LastErrorFileContent = "An error occurred", @@ -1696,8 +1696,8 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository, + validFilePath); var overtoppingRateCalculator = new TestHydraulicLoadsCalculator { @@ -1768,9 +1768,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var calculatorFactory = mockRepository.StrictMock(); var overtoppingCalculator = new TestOvertoppingCalculator(); calculatorFactory.Expect(cf => cf.CreateOvertoppingCalculator(testDataPath, string.Empty)).Return(overtoppingCalculator); @@ -1839,9 +1839,9 @@ const string parserError = "Parser error message"; var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { IllustrationPointsParserErrorMessage = parserError @@ -1921,9 +1921,9 @@ const string parserError = "Parser error message"; var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { IllustrationPointsParserErrorMessage = parserError @@ -2003,9 +2003,9 @@ const string parserError = "Parser error message"; var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { IllustrationPointsResult = new TestGeneralResult() @@ -2085,9 +2085,9 @@ const string parserError = "Parser error message"; var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { IllustrationPointsResult = new TestGeneralResult() @@ -2167,9 +2167,9 @@ const string parserError = "Parser error message"; var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { IllustrationPointsResult = new TestGeneralResult() @@ -2249,9 +2249,9 @@ const string parserError = "Parser error message"; var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { IllustrationPointsResult = new TestGeneralResult() @@ -2330,9 +2330,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { IllustrationPointsResult = TestGeneralResult.CreateGeneralResultWithSubMechanismIllustrationPoints() @@ -2413,9 +2413,9 @@ // Setup GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { IllustrationPointsResult = GeneralResultTestFactory.CreateGeneralResultWithDuplicateStochasts() @@ -2498,9 +2498,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { IllustrationPointsResult = new TestGeneralResult() @@ -2581,9 +2581,9 @@ // Setup GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { IllustrationPointsResult = new TestGeneralResult() @@ -2666,9 +2666,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { IllustrationPointsResult = new TestGeneralResult() @@ -2749,9 +2749,9 @@ // Setup GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator { IllustrationPointsResult = new TestGeneralResult() @@ -2834,9 +2834,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator(); var dikeHeightCalculator = new TestHydraulicLoadsCalculator(); var overtoppingRateCalculator = new TestHydraulicLoadsCalculator(); @@ -2879,9 +2879,9 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator(); var dikeHeightCalculator = new TestHydraulicLoadsCalculator(); var overtoppingRateCalculator = new TestHydraulicLoadsCalculator(); @@ -2931,7 +2931,7 @@ GrassCoverErosionInwardsFailureMechanism failureMechanism = CreateGrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); var overtoppingCalculator = new TestOvertoppingCalculator(); var dikeHeightCalculator = new TestHydraulicLoadsCalculator(); var overtoppingRateCalculator = new TestHydraulicLoadsCalculator(); @@ -2981,9 +2981,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator(); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateOvertoppingCalculator(testDataPath, string.Empty)).Return(overtoppingCalculator); @@ -3022,9 +3022,9 @@ var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(grassCoverErosionInwardsFailureMechanism, + mockRepository, + validFilePath); var overtoppingCalculator = new TestOvertoppingCalculator(); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateOvertoppingCalculator(testDataPath, string.Empty)).Return(overtoppingCalculator); Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveConditionsInputContextPropertiesTest.cs =================================================================== diff -u -r0b3d0cf04e28c42d834c7f9b734eae085e831ee3 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveConditionsInputContextPropertiesTest.cs (.../GrassCoverErosionOutwardsWaveConditionsInputContextPropertiesTest.cs) (revision 0b3d0cf04e28c42d834c7f9b734eae085e831ee3) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveConditionsInputContextPropertiesTest.cs (.../GrassCoverErosionOutwardsWaveConditionsInputContextPropertiesTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -52,7 +52,7 @@ // Call var properties = new GrassCoverErosionOutwardsWaveConditionsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Assert Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ExportInfos/GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextExportInfoTest.cs =================================================================== diff -u -r6df6afb7996de2e8e5af761982e2cd34bf02a4a2 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ExportInfos/GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextExportInfoTest.cs (.../GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextExportInfoTest.cs) (revision 6df6afb7996de2e8e5af761982e2cd34bf02a4a2) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ExportInfos/GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextExportInfoTest.cs (.../GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextExportInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -68,7 +68,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); @@ -98,7 +98,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ExportInfos/GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextWaveConditionsExportInfoTest.cs =================================================================== diff -u -r4e53af4a4179994c7a7d7fa25ab2b0bf256ca543 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ExportInfos/GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextWaveConditionsExportInfoTest.cs (.../GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextWaveConditionsExportInfoTest.cs) (revision 4e53af4a4179994c7a7d7fa25ab2b0bf256ca543) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ExportInfos/GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextWaveConditionsExportInfoTest.cs (.../GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextWaveConditionsExportInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -68,7 +68,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); @@ -98,7 +98,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); @@ -118,7 +118,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); @@ -139,7 +139,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ImportInfos/GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextImportInfoTest.cs =================================================================== diff -u -r2d6c1054fcb2dd33ebcbd068569ed163631c3232 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ImportInfos/GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextImportInfoTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextImportInfoTest.cs) (revision 2d6c1054fcb2dd33ebcbd068569ed163631c3232) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ImportInfos/GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextImportInfoTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextImportInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -114,7 +114,7 @@ var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var context = new GrassCoverErosionOutwardsWaveConditionsCalculationGroupContext(new CalculationGroup(), Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsDesignWaterLevelCalculationsContextTreeNodeInfoTest.cs =================================================================== diff -u -r25a2b53bdf734865d0bcb8479ad301d9e397d02a -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsDesignWaterLevelCalculationsContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelCalculationsContextTreeNodeInfoTest.cs) (revision 25a2b53bdf734865d0bcb8479ad301d9e397d02a) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsDesignWaterLevelCalculationsContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelCalculationsContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -150,7 +150,7 @@ public void ContextMenuStrip_Always_CallsContextMenuBuilderMethods() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); using (var treeViewControl = new TreeViewControl()) using (var plugin = new GrassCoverErosionOutwardsPlugin()) @@ -193,7 +193,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseLinkedToInvalidFile_ContextMenuItemCalculateAllDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); var applicationFeatureCommandHandler = mockRepository.Stub(); var importCommandHandler = mockRepository.Stub(); @@ -389,7 +389,7 @@ Contribution = 5 }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mockRepository, filePath); var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(1300001, string.Empty, 0, 0); @@ -450,7 +450,7 @@ Contribution = 5 }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mockRepository, filePath); assessmentSection.HydraulicBoundaryDatabase.CanUsePreprocessor = true; @@ -514,7 +514,7 @@ Contribution = 5 }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mockRepository, filePath); assessmentSection.HydraulicBoundaryDatabase.CanUsePreprocessor = true; @@ -575,7 +575,7 @@ { Contribution = 5 }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mockRepository, Path.Combine(testDataPath, "HRD ijsselmeer.sqlite")); HydraulicBoundaryLocation hydraulicBoundaryLocation = assessmentSection.HydraulicBoundaryDatabase.Locations[0]; Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsDesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -ree314954d778270b8c41fc7ab1db663ab89566a1 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsDesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs) (revision ee314954d778270b8c41fc7ab1db663ab89566a1) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsDesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -123,7 +123,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var menuBuilder = mockRepository.StrictMock(); using (mockRepository.Ordered()) @@ -165,7 +165,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var nodeData = new GrassCoverErosionOutwardsDesignWaterLevelCalculationsGroupContext(new ObservableList(), new GrassCoverErosionOutwardsFailureMechanism @@ -210,7 +210,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); var nodeData = new GrassCoverErosionOutwardsDesignWaterLevelCalculationsGroupContext(new ObservableList(), new GrassCoverErosionOutwardsFailureMechanism Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs =================================================================== diff -u -ree314954d778270b8c41fc7ab1db663ab89566a1 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs) (revision ee314954d778270b8c41fc7ab1db663ab89566a1) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsHydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -130,7 +130,7 @@ // Setup using (var treeViewControl = new TreeViewControl()) { - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); assessmentSection.Replay(); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); @@ -367,7 +367,7 @@ public void ChildNodeObjects_HydraulicBoundaryDatabaseNotLinked_ReturnNoChildNodes() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); @@ -425,7 +425,7 @@ public void ForeColor_HydraulicBoundaryDatabaseNotLinked_ReturnDisabledColor() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -rb9ae753b52b2b198f264bd2f825d4a66305ad5c9 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision b9ae753b52b2b198f264bd2f825d4a66305ad5c9) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -555,7 +555,7 @@ Contribution = 5 }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionOutwardsWaveConditionsCalculation @@ -611,7 +611,7 @@ Contribution = 5 }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionOutwardsWaveConditionsCalculation @@ -717,7 +717,7 @@ public void ContextMenuStrip_CalculationWithoutForeshoreProfile_ContextMenuItemUpdateForeshoreProfileDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionOutwardsWaveConditionsCalculation(); @@ -755,7 +755,7 @@ public void ContextMenuStrip_CalculationWithForeshoreProfileAndInputInSync_ContextMenuItemUpdateForeshoreProfileDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionOutwardsWaveConditionsCalculation @@ -799,7 +799,7 @@ public void ContextMenuStrip_CalculationWithForeshoreProfileAndInputOutSync_ContextMenuItemUpdateForeshoreProfileEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(); @@ -849,7 +849,7 @@ var calculationInputObserver = mocks.StrictMock(); calculationInputObserver.Expect(o => o.UpdateObserver()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(true); @@ -902,7 +902,7 @@ // Given var calculationObserver = mocks.StrictMock(); var calculationInputObserver = mocks.StrictMock(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(true); @@ -1324,7 +1324,7 @@ { Contribution = 5 }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionOutwardsWaveConditionsCalculation @@ -1380,7 +1380,7 @@ Contribution = 5 }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionOutwardsWaveConditionsCalculation @@ -1612,7 +1612,7 @@ { // Given var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new GrassCoverErosionOutwardsWaveConditionsCalculation @@ -1664,7 +1664,7 @@ { // Given var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var observer = mocks.Stub(); observer.Expect(o => o.UpdateObserver()); Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -r800b0e5457ba5999d442ef1aad3fefeb112e16b0 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs) (revision 800b0e5457ba5999d442ef1aad3fefeb112e16b0) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -224,7 +224,7 @@ // Setup var group = new CalculationGroup(); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var groupContext = new GrassCoverErosionOutwardsWaveConditionsCalculationGroupContext(group, null, failureMechanism, @@ -277,7 +277,7 @@ // Setup var group = new CalculationGroup(); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var groupContext = new GrassCoverErosionOutwardsWaveConditionsCalculationGroupContext(group, null, failureMechanism, @@ -342,7 +342,7 @@ var group = new CalculationGroup(); var parentGroup = new CalculationGroup(); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var groupContext = new GrassCoverErosionOutwardsWaveConditionsCalculationGroupContext(group, parentGroup, failureMechanism, @@ -400,7 +400,7 @@ var group = new CalculationGroup(); var parentGroup = new CalculationGroup(); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var groupContext = new GrassCoverErosionOutwardsWaveConditionsCalculationGroupContext(group, parentGroup, failureMechanism, @@ -464,7 +464,7 @@ public void ContextMenuStrip_WithoutParentNodeWithoutHydraulicLocationsDefaultBehavior_ReturnContextMenuWithoutRenameRemove() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); @@ -664,7 +664,7 @@ var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); failureMechanism.WaveConditionsCalculationGroup.Children.Add(group); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new GrassCoverErosionOutwardsWaveConditionsCalculationGroupContext(group, failureMechanism.WaveConditionsCalculationGroup, failureMechanism, @@ -709,7 +709,7 @@ }; failureMechanism.WaveConditionsCalculationGroup.Children.Add(group); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new GrassCoverErosionOutwardsWaveConditionsCalculationGroupContext(group, failureMechanism.WaveConditionsCalculationGroup, failureMechanism, @@ -754,7 +754,7 @@ }; failureMechanism.WaveConditionsCalculationGroup.Children.Add(group); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var nodeData = new GrassCoverErosionOutwardsWaveConditionsCalculationGroupContext(group, failureMechanism.WaveConditionsCalculationGroup, @@ -1234,7 +1234,7 @@ var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); failureMechanism.WaveConditionsCalculationGroup.Children.Add(group); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mocks, validFilePath); var nodeData = new GrassCoverErosionOutwardsWaveConditionsCalculationGroupContext(group, @@ -1276,7 +1276,7 @@ { // Setup var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mocks, validFilePath); var group = new CalculationGroup(); @@ -1328,7 +1328,7 @@ { // Setup var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mocks, validFilePath); var observerA = mocks.StrictMock(); @@ -1408,7 +1408,7 @@ // Setup using (var treeViewControl = new TreeViewControl()) { - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var group = new CalculationGroup(); @@ -1522,7 +1522,7 @@ public void ContextMenuStrip_WithForeshoreProfileAndChanges_ContextMenuItemUpdateAllForeshoreProfilesEnabled() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); var calculation = new GrassCoverErosionOutwardsWaveConditionsCalculation { @@ -1572,7 +1572,7 @@ var calculationInputObserver = mocks.StrictMock(); calculationInputObserver.Expect(o => o.UpdateObserver()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); var calculation = new GrassCoverErosionOutwardsWaveConditionsCalculation @@ -1621,7 +1621,7 @@ { // Given var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var context = new GrassCoverErosionOutwardsWaveConditionsCalculationGroupContext(failureMechanism.WaveConditionsCalculationGroup, null, Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightCalculationsContextTreeNodeInfoTest.cs =================================================================== diff -u -ree314954d778270b8c41fc7ab1db663ab89566a1 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightCalculationsContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveHeightCalculationsContextTreeNodeInfoTest.cs) (revision ee314954d778270b8c41fc7ab1db663ab89566a1) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightCalculationsContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveHeightCalculationsContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -186,7 +186,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseLinkedToInvalidFile_ContextMenuItemCalculateAllDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); var applicationFeatureCommandHandler = mockRepository.Stub(); var importCommandHandler = mockRepository.Stub(); @@ -375,7 +375,7 @@ Contribution = 5 }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mockRepository, Path.Combine(testDataPath, "HRD ijsselmeer.sqlite")); var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(assessmentSection.HydraulicBoundaryDatabase.Locations[0]); @@ -434,7 +434,7 @@ Contribution = 5 }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mockRepository, filePath); var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(1300001, string.Empty, 0, 0); @@ -493,7 +493,7 @@ Contribution = 5 }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mockRepository, filePath); assessmentSection.HydraulicBoundaryDatabase.CanUsePreprocessor = true; @@ -555,7 +555,7 @@ Contribution = 5 }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mockRepository, filePath); assessmentSection.HydraulicBoundaryDatabase.CanUsePreprocessor = true; Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightCalculationsGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -ree314954d778270b8c41fc7ab1db663ab89566a1 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightCalculationsGroupContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveHeightCalculationsGroupContextTreeNodeInfoTest.cs) (revision ee314954d778270b8c41fc7ab1db663ab89566a1) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightCalculationsGroupContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveHeightCalculationsGroupContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -123,7 +123,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var menuBuilder = mockRepository.StrictMock(); using (mockRepository.Ordered()) @@ -165,7 +165,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var nodeData = new GrassCoverErosionOutwardsWaveHeightCalculationsGroupContext(new ObservableList(), new GrassCoverErosionOutwardsFailureMechanism @@ -210,7 +210,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); var nodeData = new GrassCoverErosionOutwardsWaveHeightCalculationsGroupContext(new ObservableList(), new GrassCoverErosionOutwardsFailureMechanism Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.Test/HeightStructuresFailureMechanismAssemblyFactoryTest.cs =================================================================== diff -u -r97969a44c353d136c207adf0b295c827b9e4222f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.Test/HeightStructuresFailureMechanismAssemblyFactoryTest.cs (.../HeightStructuresFailureMechanismAssemblyFactoryTest.cs) (revision 97969a44c353d136c207adf0b295c827b9e4222f) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.Test/HeightStructuresFailureMechanismAssemblyFactoryTest.cs (.../HeightStructuresFailureMechanismAssemblyFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -200,7 +200,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -235,7 +235,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -266,7 +266,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -357,7 +357,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -388,7 +388,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -419,7 +419,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -512,7 +512,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -560,7 +560,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -597,7 +597,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -628,7 +628,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -723,7 +723,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -770,7 +770,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -809,7 +809,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -840,7 +840,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -875,7 +875,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -912,7 +912,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -947,7 +947,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1027,7 +1027,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); // Call @@ -1052,7 +1052,7 @@ }); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1090,7 +1090,7 @@ sectionResult.ManualAssemblyProbability = new Random(39).NextDouble(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1128,7 +1128,7 @@ sectionResult.ManualAssemblyProbability = new Random(39).NextDouble(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1159,7 +1159,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1187,7 +1187,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1222,7 +1222,7 @@ }); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.Test/HeightStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs =================================================================== diff -u -r739752c5cc7ed800dacf74e12221c227183ddc6f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.Test/HeightStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs (.../HeightStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs) (revision 739752c5cc7ed800dacf74e12221c227183ddc6f) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.Test/HeightStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs (.../HeightStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -137,7 +137,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.Test/HeightStructuresProbabilityAssessmentOutputFactoryTest.cs =================================================================== diff -u -raee2e55bc9dbf0bbe1fac86898575c7faa33162c -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.Test/HeightStructuresProbabilityAssessmentOutputFactoryTest.cs (.../HeightStructuresProbabilityAssessmentOutputFactoryTest.cs) (revision aee2e55bc9dbf0bbe1fac86898575c7faa33162c) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.Test/HeightStructuresProbabilityAssessmentOutputFactoryTest.cs (.../HeightStructuresProbabilityAssessmentOutputFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -90,7 +90,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var output = new TestStructuresOutput(); Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresOutputPropertiesTest.cs =================================================================== diff -u -raee2e55bc9dbf0bbe1fac86898575c7faa33162c -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresOutputPropertiesTest.cs (.../HeightStructuresOutputPropertiesTest.cs) (revision aee2e55bc9dbf0bbe1fac86898575c7faa33162c) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresOutputPropertiesTest.cs (.../HeightStructuresOutputPropertiesTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -90,7 +90,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var random = new Random(39); Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismSectionResultRowTest.cs =================================================================== diff -u -r846d2015c3cb0995cc7badac536c3abf9954fe62 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismSectionResultRowTest.cs (.../HeightStructuresFailureMechanismSectionResultRowTest.cs) (revision 846d2015c3cb0995cc7badac536c3abf9954fe62) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismSectionResultRowTest.cs (.../HeightStructuresFailureMechanismSectionResultRowTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -136,7 +136,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -195,7 +195,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -232,7 +232,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -267,7 +267,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -296,7 +296,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -358,7 +358,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -420,7 +420,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -465,7 +465,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -503,7 +503,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -535,7 +535,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -596,7 +596,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -645,7 +645,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -677,7 +677,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -710,7 +710,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new TestHeightStructuresCalculation @@ -745,7 +745,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -773,7 +773,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -802,7 +802,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -833,7 +833,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -911,7 +911,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -946,7 +946,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -979,7 +979,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -1011,7 +1011,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new StructuresCalculation(); @@ -1047,7 +1047,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new StructuresCalculation @@ -1082,7 +1082,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1120,7 +1120,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1155,7 +1155,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/ImportInfos/HeightStructuresCalculationGroupContextImportInfoTest.cs =================================================================== diff -u -rcf009c0f9f2bc41dd3456fcdbf89704021ca8d3c -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/ImportInfos/HeightStructuresCalculationGroupContextImportInfoTest.cs (.../HeightStructuresCalculationGroupContextImportInfoTest.cs) (revision cf009c0f9f2bc41dd3456fcdbf89704021ca8d3c) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/ImportInfos/HeightStructuresCalculationGroupContextImportInfoTest.cs (.../HeightStructuresCalculationGroupContextImportInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -63,7 +63,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); mocks.ReplayAll(); var context = new HeightStructuresCalculationGroupContext(new CalculationGroup(), Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -rb9ae753b52b2b198f264bd2f825d4a66305ad5c9 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresCalculationContextTreeNodeInfoTest.cs (.../HeightStructuresCalculationContextTreeNodeInfoTest.cs) (revision b9ae753b52b2b198f264bd2f825d4a66305ad5c9) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresCalculationContextTreeNodeInfoTest.cs (.../HeightStructuresCalculationContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -268,7 +268,7 @@ public void ContextMenuStrip_CalculationWithoutStructure_ContextMenuItemUpdateStructureDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StructuresCalculation(); @@ -303,7 +303,7 @@ public void ContextMenuStrip_CalculationWithStructureAndInputInSync_ContextMenuItemUpdateStructureDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -344,7 +344,7 @@ public void ContextMenuStrip_CalculationWithStructureAndInputOutOfSync_ContextMenuItemUpdateStructureEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -386,7 +386,7 @@ public void GivenCalculationWithoutOutputAndWithInputOutOfSync_WhenUpdateStructureClicked_ThenNoInquiryAndCalculationUpdatedAndInputObserverNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestHeightStructure(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -435,7 +435,7 @@ public void GivenCalculationWithOutputAndInputOutOfSync_WhenUpdateStructureClickedAndCancelled_ThenInquiryAndCalculationNotUpdatedAndObserversNotNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestHeightStructure(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -498,7 +498,7 @@ public void GivenCalculationWithOutputAndInputOutOfSync_WhenUpdateStructureClickedAndContinued_ThenInquiryAndCalculationUpdatedAndObserversNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestHeightStructure(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -562,7 +562,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseNotLinked_ContextMenuItemPerformCalculationDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestHeightStructuresFailureMechanism(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation(); @@ -594,7 +594,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseLinkedToInvalidFile_ContextMenuItemPerformCalculationDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var failureMechanism = new TestHeightStructuresFailureMechanism(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation(); @@ -665,7 +665,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseNotLinked_ContextMenuItemValidateCalculationDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestHeightStructuresFailureMechanism(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation(); @@ -697,7 +697,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseLinkedToInvalidFile_ContextMenuItemValidateCalculationDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var failureMechanism = new TestHeightStructuresFailureMechanism(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation(); @@ -768,7 +768,7 @@ public void ContextMenuStrip_CalculationWithoutForeshoreProfile_ContextMenuItemUpdateForeshoreProfileDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestHeightStructuresFailureMechanism(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation(); @@ -806,7 +806,7 @@ public void ContextMenuStrip_CalculationWithForeshoreProfileAndInputInSync_ContextMenuItemUpdateForeshoreProfileDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestHeightStructuresFailureMechanism(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -850,7 +850,7 @@ public void ContextMenuStrip_CalculationWithForeshoreProfileAndInputOutSync_ContextMenuItemUpdateForeshoreProfileEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestHeightStructuresFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(); @@ -900,7 +900,7 @@ var calculationInputObserver = mocks.StrictMock(); calculationInputObserver.Expect(o => o.UpdateObserver()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new HeightStructuresFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(true); @@ -953,7 +953,7 @@ // Given var calculationObserver = mocks.StrictMock(); var calculationInputObserver = mocks.StrictMock(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestHeightStructuresFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(true); Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -rb9ae753b52b2b198f264bd2f825d4a66305ad5c9 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresCalculationGroupContextTreeNodeInfoTest.cs (.../HeightStructuresCalculationGroupContextTreeNodeInfoTest.cs) (revision b9ae753b52b2b198f264bd2f825d4a66305ad5c9) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresCalculationGroupContextTreeNodeInfoTest.cs (.../HeightStructuresCalculationGroupContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -302,7 +302,7 @@ new TestHeightStructure() }, "some path"); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var groupContext = new HeightStructuresCalculationGroupContext(group, null, failureMechanism, @@ -476,7 +476,7 @@ var failureMechanism = new TestHeightStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new HeightStructuresCalculationGroupContext(group, null, failureMechanism, @@ -519,7 +519,7 @@ var failureMechanism = new TestHeightStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var nodeData = new HeightStructuresCalculationGroupContext(group, null, @@ -614,7 +614,7 @@ var failureMechanism = new TestHeightStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new HeightStructuresCalculationGroupContext(group, null, @@ -658,7 +658,7 @@ var failureMechanism = new TestHeightStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var nodeData = new HeightStructuresCalculationGroupContext(group, null, @@ -742,7 +742,7 @@ public void ContextMenuStrip_CalculationGroupWithCalculationWithForeshoreProfileAndInputOutOfSync_ContextMenuItemUpdateForeshoreProfilesEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestHeightStructuresFailureMechanism(); var calculation = new StructuresCalculation { @@ -795,7 +795,7 @@ var calculationInputObserver = mocks.StrictMock(); calculationInputObserver.Expect(o => o.UpdateObserver()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestHeightStructuresFailureMechanism(); var calculation = new StructuresCalculation @@ -1048,7 +1048,7 @@ var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); var group = new CalculationGroup(); var failureMechanism = new HeightStructuresFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new HeightStructuresCalculationGroupContext(group, null, failureMechanism, @@ -1133,7 +1133,7 @@ }; var failureMechanism = new HeightStructuresFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new HeightStructuresCalculationGroupContext(group, null, failureMechanism, @@ -1177,7 +1177,7 @@ }; var failureMechanism = new HeightStructuresFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new HeightStructuresCalculationGroupContext(group, null, failureMechanism, @@ -1222,7 +1222,7 @@ }; var failureMechanism = new HeightStructuresFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new HeightStructuresCalculationGroupContext(group, null, failureMechanism, @@ -1252,7 +1252,7 @@ public void GivenCalculationWithoutOutputAndWithInputOutOfSync_WhenUpdateStructuresClicked_ThenNoInquiryAndCalculationUpdatedAndInputObserverNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestHeightStructure(); var calculation = new StructuresCalculation { @@ -1299,7 +1299,7 @@ public void GivenCalculationWithOutputAndInputOutOfSync_WhenUpdateStructuresClickedAndCancelled_ThenInquiryAndCalculationNotUpdatedAndObserversNotNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestHeightStructure(); var calculation = new StructuresCalculation { @@ -1360,7 +1360,7 @@ public void GivenCalculationWithOutputAndInputOutOfSync_WhenUpdateStructuresClickedAndContinued_ThenInquiryAndCalculationUpdatedAndObserversNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestHeightStructure(); var calculation = new StructuresCalculation { @@ -1424,7 +1424,7 @@ // Given using (var treeViewControl = new TreeViewControl()) { - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); HeightStructure structure1 = new TestHeightStructure("Structure Id", "Structure 1"); @@ -1493,7 +1493,7 @@ // Given using (var treeViewControl = new TreeViewControl()) { - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new HeightStructuresFailureMechanism(); failureMechanism.HeightStructures.AddRange( @@ -1545,7 +1545,7 @@ // Given using (var treeViewControl = new TreeViewControl()) { - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); const string existingCalculationName = "Height structure"; HeightStructure heightStructure = new TestHeightStructure("heightStructureId", existingCalculationName); @@ -1687,7 +1687,7 @@ { // Setup var observer = mocks.StrictMock(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new HeightStructuresFailureMechanism(); var group = new CalculationGroup(); var parentGroup = new CalculationGroup(); Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresFailureMechanismContextTreeNodeInfoTest.cs =================================================================== diff -u -rd68597572782f79b39b7d74844040cec22584b6d -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresFailureMechanismContextTreeNodeInfoTest.cs (.../HeightStructuresFailureMechanismContextTreeNodeInfoTest.cs) (revision d68597572782f79b39b7d74844040cec22584b6d) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresFailureMechanismContextTreeNodeInfoTest.cs (.../HeightStructuresFailureMechanismContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -455,7 +455,7 @@ var failureMechanism = new TestHeightStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocksRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocksRepository); var nodeData = new HeightStructuresFailureMechanismContext(failureMechanism, assessmentSection); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); @@ -488,7 +488,7 @@ var failureMechanism = new TestHeightStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocksRepository, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocksRepository, "invalidFilePath"); var nodeData = new HeightStructuresFailureMechanismContext(failureMechanism, assessmentSection); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); @@ -563,7 +563,7 @@ var failureMechanism = new TestHeightStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocksRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocksRepository); var nodeData = new HeightStructuresFailureMechanismContext(failureMechanism, assessmentSection); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); @@ -597,7 +597,7 @@ var failureMechanism = new TestHeightStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocksRepository, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocksRepository, "invalidFilePath"); var nodeData = new HeightStructuresFailureMechanismContext(failureMechanism, assessmentSection); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/ViewInfos/HeightStructuresFailureMechanismResultViewInfoTest.cs =================================================================== diff -u -r73bb4932d13d36d1cd3cd30d8151f2adf49646f2 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/ViewInfos/HeightStructuresFailureMechanismResultViewInfoTest.cs (.../HeightStructuresFailureMechanismResultViewInfoTest.cs) (revision 73bb4932d13d36d1cd3cd30d8151f2adf49646f2) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/ViewInfos/HeightStructuresFailureMechanismResultViewInfoTest.cs (.../HeightStructuresFailureMechanismResultViewInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -270,7 +270,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var context = new ProbabilityFailureMechanismSectionResultContext( Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationActivityFactoryTest.cs =================================================================== diff -u -r693915c62f33c1b9832734c2600a45202a4f4f1f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationActivityFactoryTest.cs (.../HeightStructuresCalculationActivityFactoryTest.cs) (revision 693915c62f33c1b9832734c2600a45202a4f4f1f) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationActivityFactoryTest.cs (.../HeightStructuresCalculationActivityFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -107,9 +107,9 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mocks, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mocks, + validFilePath); mocks.ReplayAll(); StructuresCalculation calculation = CreateValidCalculation(); @@ -183,9 +183,9 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mocks, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mocks, + validFilePath); mocks.ReplayAll(); StructuresCalculation calculation1 = CreateValidCalculation(); @@ -248,9 +248,9 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mocks, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mocks, + validFilePath); mocks.ReplayAll(); StructuresCalculation calculation1 = CreateValidCalculation(); Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationServiceTest.cs =================================================================== diff -u -r045755f96d4c3083f4194d49d3639d0634231a03 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationServiceTest.cs (.../HeightStructuresCalculationServiceTest.cs) (revision 045755f96d4c3083f4194d49d3639d0634231a03) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationServiceTest.cs (.../HeightStructuresCalculationServiceTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -67,9 +67,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), + mockRepository, + validFilePath); mockRepository.ReplayAll(); const string expectedValidationMessage = "De waarde voor 'Oriëntatie' moet een concreet getal zijn."; @@ -109,9 +109,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), + mockRepository, + validFilePath); mockRepository.ReplayAll(); string expectedValidationMessage = $"De verwachtingswaarde voor '{parameterName}' moet een concreet getal zijn."; @@ -153,9 +153,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), + mockRepository, + validFilePath); mockRepository.ReplayAll(); string expectedValidationMessage = $"De verwachtingswaarde voor '{parameterName}' moet een positief getal zijn."; @@ -200,9 +200,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), + mockRepository, + validFilePath); mockRepository.ReplayAll(); string expectedValidationMessage = $"De standaardafwijking voor '{parameterName}' moet groter zijn dan of gelijk zijn aan 0."; @@ -246,9 +246,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), + mockRepository, + validFilePath); mockRepository.ReplayAll(); string expectedValidationMessage = $"De variatiecoëfficiënt voor '{parameterName}' moet groter zijn dan of gelijk zijn aan 0."; @@ -291,9 +291,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), + mockRepository, + validFilePath); mockRepository.ReplayAll(); var calculation = new TestHeightStructuresCalculation @@ -329,9 +329,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), + mockRepository, + validFilePath); mockRepository.ReplayAll(); var calculation = new TestHeightStructuresCalculation @@ -369,7 +369,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateStructuresCalculator(testDataPath, validPreprocessorDirectory)) @@ -423,6 +423,7 @@ }); Assert.IsNotNull(calculation.Output); } + mockRepository.VerifyAll(); } @@ -436,7 +437,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateStructuresCalculator(testDataPath, validPreprocessorDirectory)) @@ -473,6 +474,7 @@ }); Assert.IsNotNull(calculation.Output); } + mockRepository.VerifyAll(); } @@ -485,7 +487,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -545,6 +547,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -558,7 +561,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -620,6 +623,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -630,8 +634,8 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator { @@ -684,6 +688,7 @@ Assert.IsTrue(exceptionThrown); Assert.IsNull(calculation.Output); } + mockRepository.VerifyAll(); } @@ -694,8 +699,8 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator { @@ -747,6 +752,7 @@ Assert.IsTrue(exceptionThrown); Assert.IsNull(calculation.Output); } + mockRepository.VerifyAll(); } @@ -757,8 +763,8 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator { @@ -813,6 +819,7 @@ Assert.IsNull(calculation.Output); Assert.AreEqual(calculator.LastErrorFileContent, exceptionMessage); } + mockRepository.VerifyAll(); } @@ -828,8 +835,8 @@ var failureMechanism = new HeightStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateStructuresCalculator(testDataPath, preprocessorDirectory)) @@ -859,6 +866,7 @@ StructuresOvertoppingCalculationInput actualInput = calculationInputs[0]; Assert.AreEqual(usePreprocessor, actualInput.PreprocessorSetting.RunPreprocessor); } + mockRepository.VerifyAll(); } Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/AssemblyFactories/MacroStabilityOutwardsFailureMechanismAssemblyFactoryTest.cs =================================================================== diff -u -re18bff5ec38e3850494e43faec3b9272a39e82f3 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/AssemblyFactories/MacroStabilityOutwardsFailureMechanismAssemblyFactoryTest.cs (.../MacroStabilityOutwardsFailureMechanismAssemblyFactoryTest.cs) (revision e18bff5ec38e3850494e43faec3b9272a39e82f3) +++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/AssemblyFactories/MacroStabilityOutwardsFailureMechanismAssemblyFactoryTest.cs (.../MacroStabilityOutwardsFailureMechanismAssemblyFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -198,7 +198,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityOutwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -234,7 +234,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityOutwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -265,7 +265,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityOutwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -360,7 +360,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityOutwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -395,7 +395,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityOutwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -426,7 +426,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityOutwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -520,7 +520,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityOutwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -561,7 +561,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityOutwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -595,7 +595,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityOutwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -626,7 +626,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityOutwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -721,7 +721,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -763,7 +763,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -798,7 +798,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); // Call @@ -828,7 +828,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); // Call @@ -856,7 +856,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -893,7 +893,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); // Call @@ -959,7 +959,7 @@ }); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -993,7 +993,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); // Call @@ -1021,7 +1021,7 @@ sectionResult.ManualAssemblyCategoryGroup = new Random(39).NextEnumValue(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1056,7 +1056,7 @@ sectionResult.ManualAssemblyCategoryGroup = ManualFailureMechanismSectionAssemblyCategoryGroup.IIv; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1085,7 +1085,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1112,7 +1112,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1148,7 +1148,7 @@ }); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/FailureMechanismContributionViewTest.cs =================================================================== diff -u -rd60925cd696d45ef950800cda038df1d6c959e8b -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/FailureMechanismContributionViewTest.cs (.../FailureMechanismContributionViewTest.cs) (revision d60925cd696d45ef950800cda038df1d6c959e8b) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/FailureMechanismContributionViewTest.cs (.../FailureMechanismContributionViewTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -201,7 +201,7 @@ var viewCommands = mocks.Stub(); var failureMechanism = mocks.Stub(testName, testCode, 1); failureMechanism.Contribution = testContribution; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); assessmentSection.Stub(section => section.Composition).Return(AssessmentSectionComposition.Dike); assessmentSection.Stub(section => section.Attach(null)).IgnoreArguments(); assessmentSection.Stub(section => section.Detach(null)).IgnoreArguments(); @@ -251,7 +251,7 @@ failureMechanism.Stub(section => section.Detach(null)).IgnoreArguments(); failureMechanism.Contribution = 100; failureMechanism.IsRelevant = isFailureMechanismRelevant; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); assessmentSection.Stub(section => section.Composition).Return(AssessmentSectionComposition.Dike); assessmentSection.Stub(section => section.Attach(null)).IgnoreArguments(); assessmentSection.Stub(section => section.Detach(null)).IgnoreArguments(); @@ -289,7 +289,7 @@ failureMechanism.Stub(section => section.Attach(null)).IgnoreArguments(); failureMechanism.Stub(section => section.Detach(null)).IgnoreArguments(); failureMechanism.Contribution = 0; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); assessmentSection.Stub(section => section.Composition).Return(AssessmentSectionComposition.Dike); assessmentSection.Stub(section => section.Attach(null)).IgnoreArguments(); assessmentSection.Stub(section => section.Detach(null)).IgnoreArguments(); @@ -329,7 +329,7 @@ failureMechanism.Stub(section => section.Attach(null)).IgnoreArguments(); failureMechanism.Stub(section => section.Detach(null)).IgnoreArguments(); failureMechanism.Contribution = contribution; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); assessmentSection.Stub(section => section.Composition).Return(AssessmentSectionComposition.Dike); assessmentSection.Stub(section => section.Attach(null)).IgnoreArguments(); assessmentSection.Stub(section => section.Detach(null)).IgnoreArguments(); @@ -402,7 +402,7 @@ var mocks = new MockRepository(); var viewCommands = mocks.Stub(); var failureMechanism = mocks.Stub(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); assessmentSection.Stub(section => section.Composition).Return(AssessmentSectionComposition.Dike); assessmentSection.Stub(section => section.Attach(null)).IgnoreArguments(); assessmentSection.Stub(section => section.Detach(null)).IgnoreArguments(); @@ -511,7 +511,7 @@ failureMechanism.Stub(fm => fm.Detach(null)).IgnoreArguments(); failureMechanism.IsRelevant = true; failureMechanism.Expect(fm => fm.NotifyObservers()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); assessmentSection.Stub(section => section.Composition).Return(AssessmentSectionComposition.Dike); assessmentSection.Stub(section => section.Attach(null)).IgnoreArguments(); assessmentSection.Stub(section => section.Detach(null)).IgnoreArguments(); Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/MacroStabilityOutwardsSectionResultRowTest.cs =================================================================== diff -u -r846d2015c3cb0995cc7badac536c3abf9954fe62 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/MacroStabilityOutwardsSectionResultRowTest.cs (.../MacroStabilityOutwardsSectionResultRowTest.cs) (revision 846d2015c3cb0995cc7badac536c3abf9954fe62) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/MacroStabilityOutwardsSectionResultRowTest.cs (.../MacroStabilityOutwardsSectionResultRowTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -132,7 +132,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -186,7 +186,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -231,7 +231,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -267,7 +267,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -302,7 +302,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -336,7 +336,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -392,7 +392,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -444,7 +444,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -486,7 +486,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -525,7 +525,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -558,7 +558,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -616,7 +616,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -666,7 +666,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -699,7 +699,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -737,7 +737,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -772,7 +772,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -800,7 +800,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -838,7 +838,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -873,7 +873,7 @@ var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultViews/MacroStabilityOutwardsResultViewTest.cs =================================================================== diff -u -r28d5e7ee5b11b21b38aa0306170a729fc4ad95dc -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultViews/MacroStabilityOutwardsResultViewTest.cs (.../MacroStabilityOutwardsResultViewTest.cs) (revision 28d5e7ee5b11b21b38aa0306170a729fc4ad95dc) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultViews/MacroStabilityOutwardsResultViewTest.cs (.../MacroStabilityOutwardsResultViewTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -201,7 +201,7 @@ failureMechanism.SectionResults.First().UseManualAssemblyCategoryGroup = true; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (var form = new Form()) @@ -234,7 +234,7 @@ failureMechanism.SectionResults.First().UseManualAssemblyCategoryGroup = true; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (var form = new Form()) Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs =================================================================== diff -u -r25a2b53bdf734865d0bcb8479ad301d9e397d02a -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs) (revision 25a2b53bdf734865d0bcb8479ad301d9e397d02a) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -93,7 +93,7 @@ public void Text_Always_ReturnsCategoryBoundaryName() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); const string categoryBoundaryName = "A"; @@ -137,7 +137,7 @@ public void ContextMenuStrip_Always_CallsContextMenuBuilderMethods() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var menuBuilder = mockRepository.StrictMock(); using (mockRepository.Ordered()) @@ -182,7 +182,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseNotLinked_ContextMenuItemCalculateAllDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var nodeData = new DesignWaterLevelCalculationsContext(new ObservableList(), assessmentSection, @@ -224,7 +224,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseLinkedToInvalidFile_ContextMenuItemCalculateAllDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); var nodeData = new DesignWaterLevelCalculationsContext(new ObservableList(), assessmentSection, Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -ree314954d778270b8c41fc7ab1db663ab89566a1 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs (.../DesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs) (revision ee314954d778270b8c41fc7ab1db663ab89566a1) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs (.../DesignWaterLevelCalculationsGroupContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -122,7 +122,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var menuBuilder = mockRepository.StrictMock(); using (mockRepository.Ordered()) @@ -165,7 +165,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var nodeData = new DesignWaterLevelCalculationsGroupContext(new ObservableList(), assessmentSection); @@ -206,7 +206,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); var nodeData = new DesignWaterLevelCalculationsGroupContext(new ObservableList(), assessmentSection); Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightCalculationsContextTreeNodeInfoTest.cs =================================================================== diff -u -r25a2b53bdf734865d0bcb8479ad301d9e397d02a -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightCalculationsContextTreeNodeInfoTest.cs (.../WaveHeightCalculationsContextTreeNodeInfoTest.cs) (revision 25a2b53bdf734865d0bcb8479ad301d9e397d02a) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightCalculationsContextTreeNodeInfoTest.cs (.../WaveHeightCalculationsContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -93,7 +93,7 @@ public void Text_Always_ReturnsCategoryBoundaryName() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); mockRepository.ReplayAll(); const string categoryBoundaryName = "A"; @@ -137,7 +137,7 @@ public void ContextMenuStrip_Always_CallsContextMenuBuilderMethods() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var menuBuilder = mockRepository.StrictMock(); using (mockRepository.Ordered()) @@ -182,7 +182,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseNotLinked_ContextMenuItemCalculateAllDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var nodeData = new WaveHeightCalculationsContext(new ObservableList(), assessmentSection, @@ -224,7 +224,7 @@ public void ContextMenuStrip_HydraulicBoundaryDatabaseLinkedToInvalidFile_ContextMenuItemCalculateAllDisabledAndTooltipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); var nodeData = new WaveHeightCalculationsContext(new ObservableList(), assessmentSection, Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightCalculationsGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -ree314954d778270b8c41fc7ab1db663ab89566a1 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightCalculationsGroupContextTreeNodeInfoTest.cs (.../WaveHeightCalculationsGroupContextTreeNodeInfoTest.cs) (revision ee314954d778270b8c41fc7ab1db663ab89566a1) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/WaveHeightCalculationsGroupContextTreeNodeInfoTest.cs (.../WaveHeightCalculationsGroupContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -123,7 +123,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var menuBuilder = mockRepository.StrictMock(); using (mockRepository.Ordered()) @@ -166,7 +166,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mockRepository); var nodeData = new WaveHeightCalculationsGroupContext(new ObservableList(), assessmentSection); @@ -207,7 +207,7 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mockRepository, "invalidFilePath"); var nodeData = new WaveHeightCalculationsGroupContext(new ObservableList(), assessmentSection); Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/AssessmentSectionAssemblyCategoriesViewInfoTest.cs =================================================================== diff -u -ra0a4e562a35b80812564d9755592c7142cf025c2 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/AssessmentSectionAssemblyCategoriesViewInfoTest.cs (.../AssessmentSectionAssemblyCategoriesViewInfoTest.cs) (revision a0a4e562a35b80812564d9755592c7142cf025c2) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/AssessmentSectionAssemblyCategoriesViewInfoTest.cs (.../AssessmentSectionAssemblyCategoriesViewInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -68,7 +68,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks); mocks.ReplayAll(); var context = new NormContext(assessmentSection.FailureMechanismContribution, assessmentSection); @@ -119,7 +119,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -140,8 +140,8 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection1 = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks); - IAssessmentSection assessmentSection2 = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks); + IAssessmentSection assessmentSection1 = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks); + IAssessmentSection assessmentSection2 = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/FailureMechanismContributionViewInfoTest.cs =================================================================== diff -u -r234af2636ca5f52223340c5be73622163e8d3cd7 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/FailureMechanismContributionViewInfoTest.cs (.../FailureMechanismContributionViewInfoTest.cs) (revision 234af2636ca5f52223340c5be73622163e8d3cd7) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/FailureMechanismContributionViewInfoTest.cs (.../FailureMechanismContributionViewInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -89,7 +89,7 @@ public void GetViewData_Always_ReturnsFailureMechanismContribution() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks); mocks.ReplayAll(); var context = new FailureMechanismContributionContext(assessmentSection.FailureMechanismContribution, assessmentSection); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/DerivedMacroStabilityInwardsOutputFactoryTest.cs =================================================================== diff -u -r7eb43c9d8cad4783b413a74fe290ba561f3afc03 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/DerivedMacroStabilityInwardsOutputFactoryTest.cs (.../DerivedMacroStabilityInwardsOutputFactoryTest.cs) (revision 7eb43c9d8cad4783b413a74fe290ba561f3afc03) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/DerivedMacroStabilityInwardsOutputFactoryTest.cs (.../DerivedMacroStabilityInwardsOutputFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -96,7 +96,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); MacroStabilityInwardsOutput output = MacroStabilityInwardsOutputTestFactory.CreateOutput(new MacroStabilityInwardsOutput.ConstructionProperties Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/MacroStabilityInwardsFailureMechanismAssemblyFactoryTest.cs =================================================================== diff -u -r97969a44c353d136c207adf0b295c827b9e4222f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/MacroStabilityInwardsFailureMechanismAssemblyFactoryTest.cs (.../MacroStabilityInwardsFailureMechanismAssemblyFactoryTest.cs) (revision 97969a44c353d136c207adf0b295c827b9e4222f) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/MacroStabilityInwardsFailureMechanismAssemblyFactoryTest.cs (.../MacroStabilityInwardsFailureMechanismAssemblyFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -408,7 +408,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -441,7 +441,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -472,7 +472,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -589,7 +589,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -639,7 +639,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -677,7 +677,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -709,7 +709,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new MacroStabilityInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -805,7 +805,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -853,7 +853,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -892,7 +892,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -923,7 +923,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -959,7 +959,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -996,7 +996,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1032,7 +1032,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1112,7 +1112,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); // Call @@ -1137,7 +1137,7 @@ }); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1176,7 +1176,7 @@ sectionResult.ManualAssemblyProbability = new Random(39).NextDouble(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1214,7 +1214,7 @@ sectionResult.ManualAssemblyProbability = new Random(39).NextDouble(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1246,7 +1246,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1274,7 +1274,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1309,7 +1309,7 @@ }); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/MacroStabilityInwardsFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs =================================================================== diff -u -rdc162fb43a2d8ef5263cccaf4679ead8ada5ced2 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/MacroStabilityInwardsFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs (.../MacroStabilityInwardsFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs) (revision dc162fb43a2d8ef5263cccaf4679ead8ada5ced2) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/MacroStabilityInwardsFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs (.../MacroStabilityInwardsFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -122,7 +122,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -242,7 +242,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsInputContextPropertiesTest.cs =================================================================== diff -u -r9e877195a92839a9f121a3b4cac77712b63b589b -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsInputContextPropertiesTest.cs (.../MacroStabilityInwardsInputContextPropertiesTest.cs) (revision 9e877195a92839a9f121a3b4cac77712b63b589b) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsInputContextPropertiesTest.cs (.../MacroStabilityInwardsInputContextPropertiesTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -79,7 +79,7 @@ // Call TestDelegate test = () => new MacroStabilityInwardsInputContextProperties(null, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Assert @@ -136,7 +136,7 @@ // Call TestDelegate test = () => new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, null); // Assert @@ -165,7 +165,7 @@ // Call var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Assert @@ -197,7 +197,7 @@ // Call var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler) { UseAssessmentLevelManualInput = false @@ -342,7 +342,7 @@ // Call var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler) { UseAssessmentLevelManualInput = useManualAssessmentLevelInput @@ -443,13 +443,13 @@ // Call var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Assert RoundedDouble expectedAssessmentLevel = useManualAssessmentLevelInput ? inputParameters.AssessmentLevel - : AssessmentSectionHelper.GetTestAssessmentLevel(); + : AssessmentSectionTestHelper.GetTestAssessmentLevel(); Assert.AreEqual(expectedAssessmentLevel, properties.AssessmentLevel); Assert.AreSame(hydraulicBoundaryLocation, properties.SelectedHydraulicBoundaryLocation.HydraulicBoundaryLocation); Assert.AreEqual(inputParameters.UseAssessmentLevelManualInput, properties.UseAssessmentLevelManualInput); @@ -504,7 +504,7 @@ var handler = new ObservablePropertyChangeHandler(calculationItem, calculationItem.InputParameters); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); var random = new Random(21); @@ -681,7 +681,7 @@ var handler = new SetPropertyValueAfterConfirmationParameterTester(new IObservable[0]); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); MacroStabilityInwardsSoilProfile1D soilProfile = MacroStabilityInwardsSoilProfile1DTestFactory.CreateMacroStabilityInwardsSoilProfile1D(); @@ -737,7 +737,7 @@ assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -793,7 +793,7 @@ var handler = new SetPropertyValueAfterConfirmationParameterTester(new IObservable[0]); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -860,7 +860,7 @@ }); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -886,7 +886,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -912,7 +912,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Precondition: @@ -984,7 +984,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Precondition: @@ -1017,7 +1017,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Precondition @@ -1058,7 +1058,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Precondition @@ -1087,7 +1087,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); SelectableHydraulicBoundaryLocation selectedHydraulicBoundaryLocation = null; @@ -1139,7 +1139,7 @@ failureMechanism, assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // When @@ -1183,7 +1183,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1237,7 +1237,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1304,7 +1304,7 @@ }); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); IEnumerable originalList = properties.GetSelectableHydraulicBoundaryLocations() @@ -1356,7 +1356,7 @@ failureMechanism, assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1385,7 +1385,7 @@ failureMechanism, assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1423,7 +1423,7 @@ failureMechanism, assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1452,7 +1452,7 @@ failureMechanism, assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1490,7 +1490,7 @@ }); var properties = new MacroStabilityInwardsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsOutputPropertiesTest.cs =================================================================== diff -u -r6f33b44599df032ecae3342b0aacd606a9e87c1f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsOutputPropertiesTest.cs (.../MacroStabilityInwardsOutputPropertiesTest.cs) (revision 6f33b44599df032ecae3342b0aacd606a9e87c1f) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsOutputPropertiesTest.cs (.../MacroStabilityInwardsOutputPropertiesTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -120,7 +120,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); MacroStabilityInwardsOutput output = MacroStabilityInwardsOutputTestFactory.CreateRandomOutput(); @@ -150,7 +150,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); MacroStabilityInwardsOutput output = MacroStabilityInwardsOutputTestFactory.CreateOutput(); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsWaterStressLinesPropertiesTest.cs =================================================================== diff -u -r1b61e079b5ce825f3966ecac688d65e9ff567237 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsWaterStressLinesPropertiesTest.cs (.../MacroStabilityInwardsWaterStressLinesPropertiesTest.cs) (revision 1b61e079b5ce825f3966ecac688d65e9ff567237) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsWaterStressLinesPropertiesTest.cs (.../MacroStabilityInwardsWaterStressLinesPropertiesTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -44,7 +44,7 @@ { // Call TestDelegate test = () => new MacroStabilityInwardsWaterStressLinesProperties(null, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert var exception = Assert.Throws(test); @@ -59,7 +59,7 @@ // Call var properties = new MacroStabilityInwardsWaterStressLinesProperties(input, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert Assert.IsInstanceOf>(properties); @@ -99,7 +99,7 @@ MacroStabilityInwardsCalculationScenario calculation = MacroStabilityInwardsCalculationScenarioTestFactory.CreateMacroStabilityInwardsCalculationScenarioWithValidInput(new TestHydraulicBoundaryLocation()); var properties = new MacroStabilityInwardsWaterStressLinesProperties(calculation.InputParameters, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); using (new MacroStabilityInwardsCalculatorFactoryConfig()) { @@ -119,7 +119,7 @@ // Setup var input = new MacroStabilityInwardsInput(new MacroStabilityInwardsInput.ConstructionProperties()); var properties = new MacroStabilityInwardsWaterStressLinesProperties(input, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Call string name = properties.ToString(); @@ -136,7 +136,7 @@ // Call var properties = new MacroStabilityInwardsWaterStressLinesProperties(input, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert PropertyDescriptorCollection dynamicProperties = PropertiesTestHelper.GetAllVisiblePropertyDescriptors(properties); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsWaterStressesPropertiesTest.cs =================================================================== diff -u -r1b61e079b5ce825f3966ecac688d65e9ff567237 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsWaterStressesPropertiesTest.cs (.../MacroStabilityInwardsWaterStressesPropertiesTest.cs) (revision 1b61e079b5ce825f3966ecac688d65e9ff567237) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsWaterStressesPropertiesTest.cs (.../MacroStabilityInwardsWaterStressesPropertiesTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -71,7 +71,7 @@ // Call var properties = new MacroStabilityInwardsWaterStressesProperties(input, - AssessmentSectionHelper.GetTestAssessmentLevel(), + AssessmentSectionTestHelper.GetTestAssessmentLevel(), propertyChangeHandler); // Assert @@ -100,7 +100,7 @@ // Call TestDelegate call = () => new MacroStabilityInwardsWaterStressesProperties(null, - AssessmentSectionHelper.GetTestAssessmentLevel(), + AssessmentSectionTestHelper.GetTestAssessmentLevel(), propertyChangeHandler); // Assert @@ -117,7 +117,7 @@ // Call TestDelegate call = () => new MacroStabilityInwardsWaterStressesProperties(input, - AssessmentSectionHelper.GetTestAssessmentLevel(), + AssessmentSectionTestHelper.GetTestAssessmentLevel(), null); // Assert @@ -137,7 +137,7 @@ // Call var properties = new MacroStabilityInwardsWaterStressesProperties(input, - AssessmentSectionHelper.GetTestAssessmentLevel(), + AssessmentSectionTestHelper.GetTestAssessmentLevel(), propertyChangeHandler); // Assert @@ -306,7 +306,7 @@ var propertyChangeHandler = new ObservablePropertyChangeHandler(calculationItem, input); var properties = new MacroStabilityInwardsWaterStressesProperties(input, - AssessmentSectionHelper.GetTestAssessmentLevel(), + AssessmentSectionTestHelper.GetTestAssessmentLevel(), propertyChangeHandler); var random = new Random(21); @@ -465,7 +465,7 @@ var input = new MacroStabilityInwardsInput(new MacroStabilityInwardsInput.ConstructionProperties()); var properties = new MacroStabilityInwardsWaterStressesProperties(input, - AssessmentSectionHelper.GetTestAssessmentLevel(), + AssessmentSectionTestHelper.GetTestAssessmentLevel(), propertyChangeHandler); // Call @@ -492,7 +492,7 @@ }); var properties = new MacroStabilityInwardsWaterStressesProperties(input, - AssessmentSectionHelper.GetTestAssessmentLevel(), + AssessmentSectionTestHelper.GetTestAssessmentLevel(), propertyChangeHandler); // Call Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/UITypeEditors/MacroStabilityInwardsInputContextStochasticSoilModelSelectionEditorTest.cs =================================================================== diff -u -r1b61e079b5ce825f3966ecac688d65e9ff567237 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/UITypeEditors/MacroStabilityInwardsInputContextStochasticSoilModelSelectionEditorTest.cs (.../MacroStabilityInwardsInputContextStochasticSoilModelSelectionEditorTest.cs) (revision 1b61e079b5ce825f3966ecac688d65e9ff567237) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/UITypeEditors/MacroStabilityInwardsInputContextStochasticSoilModelSelectionEditorTest.cs (.../MacroStabilityInwardsInputContextStochasticSoilModelSelectionEditorTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -73,7 +73,7 @@ assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(inputContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); var editor = new MacroStabilityInwardsInputContextStochasticSoilModelSelectionEditor(); @@ -144,7 +144,7 @@ assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(inputParametersContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); var editor = new MacroStabilityInwardsInputContextStochasticSoilModelSelectionEditor(); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/UITypeEditors/MacroStabilityInwardsInputContextStochasticSoilProfileSelectionEditorTest.cs =================================================================== diff -u -r1b61e079b5ce825f3966ecac688d65e9ff567237 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/UITypeEditors/MacroStabilityInwardsInputContextStochasticSoilProfileSelectionEditorTest.cs (.../MacroStabilityInwardsInputContextStochasticSoilProfileSelectionEditorTest.cs) (revision 1b61e079b5ce825f3966ecac688d65e9ff567237) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/UITypeEditors/MacroStabilityInwardsInputContextStochasticSoilProfileSelectionEditorTest.cs (.../MacroStabilityInwardsInputContextStochasticSoilProfileSelectionEditorTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -74,7 +74,7 @@ assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(inputContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); var editor = new MacroStabilityInwardsInputContextStochasticSoilProfileSelectionEditor(); @@ -145,7 +145,7 @@ assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(inputParametersContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); var editor = new MacroStabilityInwardsInputContextStochasticSoilProfileSelectionEditor(); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/UITypeEditors/MacroStabilityInwardsInputContextSurfaceLineSelectionEditorTest.cs =================================================================== diff -u -r1b61e079b5ce825f3966ecac688d65e9ff567237 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/UITypeEditors/MacroStabilityInwardsInputContextSurfaceLineSelectionEditorTest.cs (.../MacroStabilityInwardsInputContextSurfaceLineSelectionEditorTest.cs) (revision 1b61e079b5ce825f3966ecac688d65e9ff567237) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/UITypeEditors/MacroStabilityInwardsInputContextSurfaceLineSelectionEditorTest.cs (.../MacroStabilityInwardsInputContextSurfaceLineSelectionEditorTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -71,7 +71,7 @@ assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(inputParametersContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); var editor = new MacroStabilityInwardsInputContextSurfaceLineSelectionEditor(); @@ -128,7 +128,7 @@ assessmentSection); var properties = new MacroStabilityInwardsInputContextProperties(inputParametersContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); var editor = new MacroStabilityInwardsInputContextSurfaceLineSelectionEditor(); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsCalculationsViewTest.cs =================================================================== diff -u -r2c6d254976145b223c6055b0b8c0c8303f8038a1 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsCalculationsViewTest.cs (.../MacroStabilityInwardsCalculationsViewTest.cs) (revision 2c6d254976145b223c6055b0b8c0c8303f8038a1) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsCalculationsViewTest.cs (.../MacroStabilityInwardsCalculationsViewTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -159,7 +159,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); assessmentSection.Stub(a => a.Attach(null)).IgnoreArguments(); assessmentSection.Stub(a => a.Detach(null)).IgnoreArguments(); mocks.ReplayAll(); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsFailureMechanismSectionResultRowTest.cs =================================================================== diff -u -r846d2015c3cb0995cc7badac536c3abf9954fe62 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsFailureMechanismSectionResultRowTest.cs (.../MacroStabilityInwardsFailureMechanismSectionResultRowTest.cs) (revision 846d2015c3cb0995cc7badac536c3abf9954fe62) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsFailureMechanismSectionResultRowTest.cs (.../MacroStabilityInwardsFailureMechanismSectionResultRowTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -170,7 +170,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -235,7 +235,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -286,7 +286,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -323,7 +323,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -358,7 +358,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -387,7 +387,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -449,7 +449,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -506,7 +506,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -554,7 +554,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -595,7 +595,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -627,7 +627,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -691,7 +691,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -743,7 +743,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -787,7 +787,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -827,7 +827,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -871,7 +871,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -908,7 +908,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -949,7 +949,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); @@ -985,7 +985,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1018,7 +1018,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -1046,7 +1046,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -1087,7 +1087,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -1125,7 +1125,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1163,7 +1163,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1198,7 +1198,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsOutputChartControlTest.cs =================================================================== diff -u -r1b61e079b5ce825f3966ecac688d65e9ff567237 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsOutputChartControlTest.cs (.../MacroStabilityInwardsOutputChartControlTest.cs) (revision 1b61e079b5ce825f3966ecac688d65e9ff567237) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsOutputChartControlTest.cs (.../MacroStabilityInwardsOutputChartControlTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -53,7 +53,7 @@ { // Call TestDelegate test = () => new MacroStabilityInwardsOutputChartControl(null, - AssessmentSectionHelper.GetTestAssessmentLevel); + AssessmentSectionTestHelper.GetTestAssessmentLevel); // Assert string paramName = Assert.Throws(test).ParamName; @@ -79,7 +79,7 @@ // Call var control = new MacroStabilityInwardsOutputChartControl(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel); + AssessmentSectionTestHelper.GetTestAssessmentLevel); // Assert Assert.IsInstanceOf(control); @@ -115,7 +115,7 @@ // Call using (new MacroStabilityInwardsCalculatorFactoryConfig()) using (var control = new MacroStabilityInwardsOutputChartControl(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { // Assert IChartControl chartControl = GetChartControl(control); @@ -143,7 +143,7 @@ // Call using (new MacroStabilityInwardsCalculatorFactoryConfig()) using (var control = new MacroStabilityInwardsOutputChartControl(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { // Assert IChartControl chartControl = GetChartControl(control); @@ -175,7 +175,7 @@ // Call using (var control = new MacroStabilityInwardsOutputChartControl(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { // Assert IChartControl chartControl = GetChartControl(control); @@ -205,7 +205,7 @@ // Call using (new MacroStabilityInwardsCalculatorFactoryConfig()) using (var control = new MacroStabilityInwardsOutputChartControl(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { // Assert IChartControl chartControl = GetChartControl(control); @@ -234,7 +234,7 @@ using (new MacroStabilityInwardsCalculatorFactoryConfig()) using (var control = new MacroStabilityInwardsOutputChartControl(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { ChartDataCollection chartData = GetChartControl(control).Data; @@ -272,7 +272,7 @@ using (new MacroStabilityInwardsCalculatorFactoryConfig()) using (var control = new MacroStabilityInwardsOutputChartControl(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { ChartDataCollection chartData = GetChartControl(control).Data; @@ -310,7 +310,7 @@ using (new MacroStabilityInwardsCalculatorFactoryConfig()) using (var control = new MacroStabilityInwardsOutputChartControl(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { ChartDataCollection chartData = GetChartControl(control).Data; @@ -338,7 +338,7 @@ var calculation = new MacroStabilityInwardsCalculationScenario(); using (var control = new MacroStabilityInwardsOutputChartControl(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { IChartControl chartControl = GetChartControl(control); @@ -372,7 +372,7 @@ using (new MacroStabilityInwardsCalculatorFactoryConfig()) using (var control = new MacroStabilityInwardsOutputChartControl(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { ChartDataCollection chartData = GetChartControl(control).Data; @@ -408,7 +408,7 @@ using (var macroStabilityInwardsCalculatorFactoryConfig = new MacroStabilityInwardsCalculatorFactoryConfig()) using (var control = new MacroStabilityInwardsOutputChartControl(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { // Precondition MacroStabilityInwardsOutputViewChartDataAssert.AssertInputChartData(calculation, GetChartControl(control).Data); @@ -440,7 +440,7 @@ }; using (var control = new MacroStabilityInwardsOutputChartControl(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { ChartDataCollection chartData = GetChartControl(control).Data; @@ -476,7 +476,7 @@ using (new MacroStabilityInwardsCalculatorFactoryConfig()) using (var control = new MacroStabilityInwardsOutputChartControl(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { // Precondition ChartData[] chartData = GetChartControl(control).Data.Collection.ToArray(); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsOutputViewTest.cs =================================================================== diff -u -r1b61e079b5ce825f3966ecac688d65e9ff567237 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsOutputViewTest.cs (.../MacroStabilityInwardsOutputViewTest.cs) (revision 1b61e079b5ce825f3966ecac688d65e9ff567237) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsOutputViewTest.cs (.../MacroStabilityInwardsOutputViewTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -47,7 +47,7 @@ { // Call TestDelegate test = () => new MacroStabilityInwardsOutputView(null, - AssessmentSectionHelper.GetTestAssessmentLevel); + AssessmentSectionTestHelper.GetTestAssessmentLevel); // Assert string paramName = Assert.Throws(test).ParamName; @@ -73,7 +73,7 @@ // Call using (var view = new MacroStabilityInwardsOutputView(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { // Assert Assert.IsInstanceOf(view); @@ -102,7 +102,7 @@ // Call using (var view = new MacroStabilityInwardsOutputView(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) using (var form = new Form()) { form.Controls.Add(view); @@ -135,7 +135,7 @@ using (var form = new Form()) using (new MacroStabilityInwardsCalculatorFactoryConfig()) using (var view = new MacroStabilityInwardsOutputView(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { form.Controls.Add(view); form.Show(); @@ -174,7 +174,7 @@ using (var form = new Form()) using (new MacroStabilityInwardsCalculatorFactoryConfig()) using (var view = new MacroStabilityInwardsOutputView(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { form.Controls.Add(view); form.Show(); @@ -214,7 +214,7 @@ using (var form = new Form()) using (new MacroStabilityInwardsCalculatorFactoryConfig()) using (var view = new MacroStabilityInwardsOutputView(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { form.Controls.Add(view); form.Show(); @@ -254,7 +254,7 @@ using (var form = new Form()) using (var view = new MacroStabilityInwardsOutputView(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { form.Controls.Add(view); form.Show(); @@ -288,7 +288,7 @@ }; using (var view = new MacroStabilityInwardsOutputView(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { MacroStabilityInwardsSlicesTable slicesTable = GetSlicesTable(view); @@ -314,7 +314,7 @@ }; using (var view = new MacroStabilityInwardsOutputView(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel)) + AssessmentSectionTestHelper.GetTestAssessmentLevel)) { MacroStabilityInwardsSlicesTable slicesTable = GetSlicesTable(view); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsScenarioRowTest.cs =================================================================== diff -u -rdc162fb43a2d8ef5263cccaf4679ead8ada5ced2 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsScenarioRowTest.cs (.../MacroStabilityInwardsScenarioRowTest.cs) (revision dc162fb43a2d8ef5263cccaf4679ead8ada5ced2) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsScenarioRowTest.cs (.../MacroStabilityInwardsScenarioRowTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -97,7 +97,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); const string name = "Test"; @@ -135,7 +135,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); const string name = "Test"; @@ -173,7 +173,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -198,7 +198,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -224,7 +224,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new MacroStabilityInwardsCalculationScenario(); @@ -252,7 +252,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new MacroStabilityInwardsCalculationScenario @@ -283,7 +283,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new MacroStabilityInwardsCalculationScenario Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/ImportInfos/MacroStabilityInwardsCalculationGroupContextImportInfoTest.cs =================================================================== diff -u -rac96d7c315129af851634ed5a4a6800b59ede718 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/ImportInfos/MacroStabilityInwardsCalculationGroupContextImportInfoTest.cs (.../MacroStabilityInwardsCalculationGroupContextImportInfoTest.cs) (revision ac96d7c315129af851634ed5a4a6800b59ede718) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/ImportInfos/MacroStabilityInwardsCalculationGroupContextImportInfoTest.cs (.../MacroStabilityInwardsCalculationGroupContextImportInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -115,7 +115,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var context = new MacroStabilityInwardsCalculationGroupContext(new CalculationGroup(), Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/PropertyInfos/MacroStabilityInwardsOutputPropertyInfoTest.cs =================================================================== diff -u -r3bcc8993307e3b6dea8f496d6acbc9c474581787 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/PropertyInfos/MacroStabilityInwardsOutputPropertyInfoTest.cs (.../MacroStabilityInwardsOutputPropertyInfoTest.cs) (revision 3bcc8993307e3b6dea8f496d6acbc9c474581787) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/PropertyInfos/MacroStabilityInwardsOutputPropertyInfoTest.cs (.../MacroStabilityInwardsOutputPropertyInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -67,7 +67,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var scenario = new MacroStabilityInwardsCalculationScenario Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/TreeNodeInfos/MacroStabilityInwardsOutputContextTreeNodeInfoTest.cs =================================================================== diff -u -r0bc724e93170500800aa7e5d3bf641ab44eeeac7 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/TreeNodeInfos/MacroStabilityInwardsOutputContextTreeNodeInfoTest.cs (.../MacroStabilityInwardsOutputContextTreeNodeInfoTest.cs) (revision 0bc724e93170500800aa7e5d3bf641ab44eeeac7) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/TreeNodeInfos/MacroStabilityInwardsOutputContextTreeNodeInfoTest.cs (.../MacroStabilityInwardsOutputContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -136,7 +136,7 @@ { // Setup var failureMechanism = new MacroStabilityInwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var scenario = new MacroStabilityInwardsCalculationScenario { @@ -157,7 +157,7 @@ { // Setup var failureMechanism = new MacroStabilityInwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var scenario = new MacroStabilityInwardsCalculationScenario(); var context = new MacroStabilityInwardsOutputContext(scenario, failureMechanism, assessmentSection); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/ViewInfos/MacroStabilityInwardsFailureMechanismResultViewInfoTest.cs =================================================================== diff -u -r73bb4932d13d36d1cd3cd30d8151f2adf49646f2 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/ViewInfos/MacroStabilityInwardsFailureMechanismResultViewInfoTest.cs (.../MacroStabilityInwardsFailureMechanismResultViewInfoTest.cs) (revision 73bb4932d13d36d1cd3cd30d8151f2adf49646f2) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/ViewInfos/MacroStabilityInwardsFailureMechanismResultViewInfoTest.cs (.../MacroStabilityInwardsFailureMechanismResultViewInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -278,7 +278,7 @@ // Setup var failureMechanism = new MacroStabilityInwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var context = new ProbabilityFailureMechanismSectionResultContext(failureMechanism.SectionResults, Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/ViewInfos/MacroStabilityInwardsOutputViewInfoTest.cs =================================================================== diff -u -r6f33b44599df032ecae3342b0aacd606a9e87c1f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/ViewInfos/MacroStabilityInwardsOutputViewInfoTest.cs (.../MacroStabilityInwardsOutputViewInfoTest.cs) (revision 6f33b44599df032ecae3342b0aacd606a9e87c1f) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/ViewInfos/MacroStabilityInwardsOutputViewInfoTest.cs (.../MacroStabilityInwardsOutputViewInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -86,7 +86,7 @@ { // Setup var failureMechanism = new MacroStabilityInwardsFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var scenario = new MacroStabilityInwardsCalculationScenario(); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsCalculationActivityTest.cs =================================================================== diff -u -rf49d4d7c45ecd482bd93b04bce65b6592004b0ce -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsCalculationActivityTest.cs (.../MacroStabilityInwardsCalculationActivityTest.cs) (revision f49d4d7c45ecd482bd93b04bce65b6592004b0ce) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsCalculationActivityTest.cs (.../MacroStabilityInwardsCalculationActivityTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -63,7 +63,7 @@ MacroStabilityInwardsCalculationScenario invalidMacroStabilityInwardsCalculation = MacroStabilityInwardsCalculationScenarioTestFactory.CreateMacroStabilityInwardsCalculationScenarioWithInvalidInput(); var activity = new MacroStabilityInwardsCalculationActivity(invalidMacroStabilityInwardsCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Call Action call = () => activity.Run(); @@ -94,7 +94,7 @@ using (new MacroStabilityInwardsCalculatorFactoryConfig()) { var activity = new MacroStabilityInwardsCalculationActivity(validMacroStabilityInwardsCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Call Action call = () => activity.Run(); @@ -129,7 +129,7 @@ validMacroStabilityInwardsCalculation.Attach(observer); var activity = new MacroStabilityInwardsCalculationActivity(validMacroStabilityInwardsCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); activity.Run(); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsCalculationServiceTest.cs =================================================================== diff -u -rbf3867a5c8ba43b554015933b613cda908734735 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsCalculationServiceTest.cs (.../MacroStabilityInwardsCalculationServiceTest.cs) (revision bf3867a5c8ba43b554015933b613cda908734735) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsCalculationServiceTest.cs (.../MacroStabilityInwardsCalculationServiceTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -70,7 +70,7 @@ { // Call Action call = () => MacroStabilityInwardsCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -92,7 +92,7 @@ // Call bool isValid = MacroStabilityInwardsCalculationService.Validate(invalidMacroStabilityInwardsCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert Assert.IsFalse(isValid); @@ -108,7 +108,7 @@ // Call Action call = () => isValid = MacroStabilityInwardsCalculationService.Validate(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -136,7 +136,7 @@ // Call Action call = () => isValid = MacroStabilityInwardsCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -163,7 +163,7 @@ // Call Action call = () => isValid = MacroStabilityInwardsCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -191,7 +191,7 @@ // Call Action call = () => isValid = MacroStabilityInwardsCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -218,7 +218,7 @@ // Call Action call = () => MacroStabilityInwardsCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessagesWithLevelAndLoggedExceptions(call, tuples => @@ -246,7 +246,7 @@ public void Calculate_ValidCalculation_LogStartAndEndOfValidatingInputsAndCalculation() { // Setup - RoundedDouble normativeAssessmentLevel = AssessmentSectionHelper.GetTestAssessmentLevel(); + RoundedDouble normativeAssessmentLevel = AssessmentSectionTestHelper.GetTestAssessmentLevel(); using (new MacroStabilityInwardsCalculatorFactoryConfig()) { @@ -275,7 +275,7 @@ public void Calculate_ValidCalculationWithOutput_ShouldChangeOutput() { // Setup - RoundedDouble normativeAssessmentLevel = AssessmentSectionHelper.GetTestAssessmentLevel(); + RoundedDouble normativeAssessmentLevel = AssessmentSectionTestHelper.GetTestAssessmentLevel(); MacroStabilityInwardsOutput output = MacroStabilityInwardsOutputTestFactory.CreateOutput(); testCalculation.Output = output; @@ -307,7 +307,7 @@ { // Call MacroStabilityInwardsCalculationService.Calculate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert UpliftVanCalculatorInput actualInput = ((TestMacroStabilityInwardsCalculatorFactory) MacroStabilityInwardsCalculatorFactory.Instance) @@ -340,7 +340,7 @@ { // Call MacroStabilityInwardsCalculationService.Calculate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert UpliftVanCalculatorInput actualInput = ((TestMacroStabilityInwardsCalculatorFactory) MacroStabilityInwardsCalculatorFactory.Instance) @@ -386,7 +386,7 @@ { // Call MacroStabilityInwardsCalculationService.Calculate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert UpliftVanCalculatorInput actualInput = ((TestMacroStabilityInwardsCalculatorFactory) MacroStabilityInwardsCalculatorFactory.Instance) @@ -423,7 +423,7 @@ { // Call MacroStabilityInwardsCalculationService.Calculate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert UpliftVanCalculatorInput actualInput = ((TestMacroStabilityInwardsCalculatorFactory) MacroStabilityInwardsCalculatorFactory.Instance) @@ -441,7 +441,7 @@ public void Calculate_CalculationRan_SetOutput() { // Setup - RoundedDouble normativeAssessmentLevel = AssessmentSectionHelper.GetTestAssessmentLevel(); + RoundedDouble normativeAssessmentLevel = AssessmentSectionTestHelper.GetTestAssessmentLevel(); using (new MacroStabilityInwardsCalculatorFactoryConfig()) { @@ -462,7 +462,7 @@ public void Calculate_ErrorWhileCalculating_LogErrorMessageAndThrowException() { // Setup - RoundedDouble normativeAssessmentLevel = AssessmentSectionHelper.GetTestAssessmentLevel(); + RoundedDouble normativeAssessmentLevel = AssessmentSectionTestHelper.GetTestAssessmentLevel(); using (new MacroStabilityInwardsCalculatorFactoryConfig()) { @@ -525,7 +525,7 @@ try { MacroStabilityInwardsCalculationService.Calculate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); } catch (UpliftVanCalculatorException) { @@ -570,7 +570,7 @@ // Call Action call = () => MacroStabilityInwardsCalculationService.Calculate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessagesWithLevelAndLoggedExceptions(call, messages => @@ -615,7 +615,7 @@ try { MacroStabilityInwardsCalculationService.Calculate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); } catch (UpliftVanCalculatorException) { @@ -658,7 +658,7 @@ public void Calculate_CompleteInput_SetsInputOnCalculator(bool useAssessmentLevelManualInput) { // Setup - RoundedDouble normativeAssessmentLevel = AssessmentSectionHelper.GetTestAssessmentLevel(); + RoundedDouble normativeAssessmentLevel = AssessmentSectionTestHelper.GetTestAssessmentLevel(); MacroStabilityInwardsInput input = testCalculation.InputParameters; input.AssessmentLevel = (RoundedDouble) 2.2; Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsInputValidatorTest.cs =================================================================== diff -u -r045755f96d4c3083f4194d49d3639d0634231a03 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsInputValidatorTest.cs (.../MacroStabilityInwardsInputValidatorTest.cs) (revision 045755f96d4c3083f4194d49d3639d0634231a03) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsInputValidatorTest.cs (.../MacroStabilityInwardsInputValidatorTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -60,7 +60,7 @@ { // Call string[] messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.IsEmpty(messages); @@ -74,7 +74,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -113,7 +113,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -130,7 +130,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -147,7 +147,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -198,7 +198,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -250,7 +250,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.IsEmpty(messages); @@ -276,7 +276,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -340,7 +340,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -398,7 +398,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -457,7 +457,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -532,7 +532,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -560,7 +560,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.IsEmpty(messages); @@ -634,7 +634,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.IsEmpty(messages); @@ -699,7 +699,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.IsEmpty(messages); @@ -714,7 +714,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -735,7 +735,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -760,7 +760,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.IsEmpty(messages); @@ -777,7 +777,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -797,7 +797,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.IsEmpty(messages); @@ -813,7 +813,7 @@ // Call IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, - AssessmentSectionHelper.GetTestAssessmentLevel()).ToArray(); + AssessmentSectionTestHelper.GetTestAssessmentLevel()).ToArray(); // Assert CollectionAssert.IsEmpty(messages); Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/DerivedPipingOutputFactoryTest.cs =================================================================== diff -u -raee2e55bc9dbf0bbe1fac86898575c7faa33162c -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/DerivedPipingOutputFactoryTest.cs (.../DerivedPipingOutputFactoryTest.cs) (revision aee2e55bc9dbf0bbe1fac86898575c7faa33162c) +++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/DerivedPipingOutputFactoryTest.cs (.../DerivedPipingOutputFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -95,7 +95,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculatorResult = new PipingOutput(new PipingOutput.ConstructionProperties Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingFailureMechanismAssemblyFactoryTest.cs =================================================================== diff -u -r97969a44c353d136c207adf0b295c827b9e4222f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingFailureMechanismAssemblyFactoryTest.cs (.../PipingFailureMechanismAssemblyFactoryTest.cs) (revision 97969a44c353d136c207adf0b295c827b9e4222f) +++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingFailureMechanismAssemblyFactoryTest.cs (.../PipingFailureMechanismAssemblyFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -407,7 +407,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new PipingFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -440,7 +440,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new PipingFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -471,7 +471,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new PipingFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -588,7 +588,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new PipingFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -638,7 +638,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new PipingFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -676,7 +676,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new PipingFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -708,7 +708,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new PipingFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -804,7 +804,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -852,7 +852,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -891,7 +891,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -922,7 +922,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -958,7 +958,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -995,7 +995,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1031,7 +1031,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1111,7 +1111,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); // Call @@ -1136,7 +1136,7 @@ }); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1175,7 +1175,7 @@ sectionResult.ManualAssemblyProbability = new Random(39).NextDouble(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1213,7 +1213,7 @@ sectionResult.ManualAssemblyProbability = new Random(39).NextDouble(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1245,7 +1245,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1273,7 +1273,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1308,7 +1308,7 @@ }); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs =================================================================== diff -u -rdc162fb43a2d8ef5263cccaf4679ead8ada5ced2 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs (.../PipingFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs) (revision dc162fb43a2d8ef5263cccaf4679ead8ada5ced2) +++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs (.../PipingFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -122,7 +122,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -241,7 +241,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingInputContextPropertiesTest.cs =================================================================== diff -u -r9e877195a92839a9f121a3b4cac77712b63b589b -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingInputContextPropertiesTest.cs (.../PipingInputContextPropertiesTest.cs) (revision 9e877195a92839a9f121a3b4cac77712b63b589b) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingInputContextPropertiesTest.cs (.../PipingInputContextPropertiesTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -81,7 +81,7 @@ // Call TestDelegate test = () => new PipingInputContextProperties(null, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Assert @@ -138,7 +138,7 @@ // Call TestDelegate test = () => new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, null); // Assert @@ -167,7 +167,7 @@ // Call var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Assert @@ -236,7 +236,7 @@ // Call var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler) { UseAssessmentLevelManualInput = false @@ -419,7 +419,7 @@ // Call var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Assert @@ -470,7 +470,7 @@ // Call var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler) { UseAssessmentLevelManualInput = useManualAssessmentLevelInput @@ -570,7 +570,7 @@ // Call var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Assert @@ -609,7 +609,7 @@ RoundedDouble expectedAssessmentLevel = useManualAssessmentLevelInput ? inputParameters.AssessmentLevel - : AssessmentSectionHelper.GetTestAssessmentLevel(); + : AssessmentSectionTestHelper.GetTestAssessmentLevel(); Assert.AreEqual(DerivedPipingInput.GetPiezometricHeadExit(inputParameters, expectedAssessmentLevel), properties.PiezometricHeadExit); @@ -651,7 +651,7 @@ var handler = new ObservablePropertyChangeHandler(calculationItem, calculationItem.InputParameters); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); const double assessmentLevel = 0.36; @@ -867,7 +867,7 @@ // Call var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler) { ExitPointL = (RoundedDouble) exitPoint, @@ -911,7 +911,7 @@ // Call var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler) { EntryPointL = (RoundedDouble) 0.5, @@ -961,7 +961,7 @@ }); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1010,7 +1010,7 @@ }); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1059,7 +1059,7 @@ }); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1106,7 +1106,7 @@ }); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1149,7 +1149,7 @@ var handler = new SetPropertyValueAfterConfirmationParameterTester(new IObservable[0]); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); inputParameters.StochasticSoilProfile = new PipingStochasticSoilProfile(0.0, PipingSoilProfileTestFactory.CreatePipingSoilProfile()); @@ -1203,7 +1203,7 @@ assessmentSection); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1256,7 +1256,7 @@ var handler = new SetPropertyValueAfterConfirmationParameterTester(new IObservable[0]); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1283,7 +1283,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1309,7 +1309,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Precondition: @@ -1378,7 +1378,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Precondition: @@ -1411,7 +1411,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Precondition @@ -1451,7 +1451,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Precondition @@ -1480,7 +1480,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); SelectableHydraulicBoundaryLocation selectedHydraulicBoundaryLocation = null; @@ -1532,7 +1532,7 @@ failureMechanism, assessmentSection); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // When @@ -1576,7 +1576,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1630,7 +1630,7 @@ failureMechanism.SurfaceLines, failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1697,7 +1697,7 @@ }); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); IEnumerable originalList = properties.GetSelectableHydraulicBoundaryLocations() @@ -1749,7 +1749,7 @@ failureMechanism, assessmentSection); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1778,7 +1778,7 @@ failureMechanism, assessmentSection); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1816,7 +1816,7 @@ failureMechanism, assessmentSection); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1845,7 +1845,7 @@ failureMechanism, assessmentSection); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -1883,7 +1883,7 @@ }); var properties = new PipingInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingOutputPropertiesTest.cs =================================================================== diff -u -r8b37c0f11e7d78b71c298763124973e94845c87b -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingOutputPropertiesTest.cs (.../PipingOutputPropertiesTest.cs) (revision 8b37c0f11e7d78b71c298763124973e94845c87b) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingOutputPropertiesTest.cs (.../PipingOutputPropertiesTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -88,7 +88,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); PipingOutput output = PipingOutputTestFactory.Create(); @@ -109,7 +109,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var random = new Random(22); @@ -170,7 +170,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); // Call Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/UITypeEditors/PipingInputContextStochasticSoilModelSelectionEditorTest.cs =================================================================== diff -u -r1b61e079b5ce825f3966ecac688d65e9ff567237 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/UITypeEditors/PipingInputContextStochasticSoilModelSelectionEditorTest.cs (.../PipingInputContextStochasticSoilModelSelectionEditorTest.cs) (revision 1b61e079b5ce825f3966ecac688d65e9ff567237) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/UITypeEditors/PipingInputContextStochasticSoilModelSelectionEditorTest.cs (.../PipingInputContextStochasticSoilModelSelectionEditorTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -73,7 +73,7 @@ assessmentSection); var properties = new PipingInputContextProperties(pipingInputContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); var editor = new PipingInputContextStochasticSoilModelSelectionEditor(); @@ -143,7 +143,7 @@ assessmentSection); var properties = new PipingInputContextProperties(inputParametersContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); var editor = new PipingInputContextStochasticSoilModelSelectionEditor(); Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/UITypeEditors/PipingInputContextStochasticSoilProfileSelectionEditorTest.cs =================================================================== diff -u -r1b61e079b5ce825f3966ecac688d65e9ff567237 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/UITypeEditors/PipingInputContextStochasticSoilProfileSelectionEditorTest.cs (.../PipingInputContextStochasticSoilProfileSelectionEditorTest.cs) (revision 1b61e079b5ce825f3966ecac688d65e9ff567237) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/UITypeEditors/PipingInputContextStochasticSoilProfileSelectionEditorTest.cs (.../PipingInputContextStochasticSoilProfileSelectionEditorTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -73,7 +73,7 @@ assessmentSection); var properties = new PipingInputContextProperties(pipingInputContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); var editor = new PipingInputContextStochasticSoilProfileSelectionEditor(); @@ -143,7 +143,7 @@ assessmentSection); var properties = new PipingInputContextProperties(inputParametersContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); var editor = new PipingInputContextStochasticSoilProfileSelectionEditor(); Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/UITypeEditors/PipingInputContextSurfaceLineSelectionEditorTest.cs =================================================================== diff -u -r1b61e079b5ce825f3966ecac688d65e9ff567237 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/UITypeEditors/PipingInputContextSurfaceLineSelectionEditorTest.cs (.../PipingInputContextSurfaceLineSelectionEditorTest.cs) (revision 1b61e079b5ce825f3966ecac688d65e9ff567237) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/UITypeEditors/PipingInputContextSurfaceLineSelectionEditorTest.cs (.../PipingInputContextSurfaceLineSelectionEditorTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -71,7 +71,7 @@ assessmentSection); var properties = new PipingInputContextProperties(inputParametersContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); var editor = new PipingInputContextSurfaceLineSelectionEditor(); @@ -128,7 +128,7 @@ assessmentSection); var properties = new PipingInputContextProperties(inputParametersContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); var editor = new PipingInputContextSurfaceLineSelectionEditor(); Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingCalculationsViewTest.cs =================================================================== diff -u -r0d301f769dc84d57979a55d902c498afe5d93e19 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingCalculationsViewTest.cs (.../PipingCalculationsViewTest.cs) (revision 0d301f769dc84d57979a55d902c498afe5d93e19) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingCalculationsViewTest.cs (.../PipingCalculationsViewTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -165,7 +165,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); assessmentSection.Stub(a => a.Attach(null)).IgnoreArguments(); assessmentSection.Stub(a => a.Detach(null)).IgnoreArguments(); mocks.ReplayAll(); Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingFailureMechanismSectionResultRowTest.cs =================================================================== diff -u -r846d2015c3cb0995cc7badac536c3abf9954fe62 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingFailureMechanismSectionResultRowTest.cs (.../PipingFailureMechanismSectionResultRowTest.cs) (revision 846d2015c3cb0995cc7badac536c3abf9954fe62) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingFailureMechanismSectionResultRowTest.cs (.../PipingFailureMechanismSectionResultRowTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -170,7 +170,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -235,7 +235,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -286,7 +286,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -323,7 +323,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -358,7 +358,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -387,7 +387,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -449,7 +449,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -506,7 +506,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -554,7 +554,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -595,7 +595,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -627,7 +627,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -691,7 +691,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -743,7 +743,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -786,7 +786,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -826,7 +826,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -870,7 +870,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -907,7 +907,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -948,7 +948,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); @@ -984,7 +984,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1017,7 +1017,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -1045,7 +1045,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -1085,7 +1085,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -1123,7 +1123,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1161,7 +1161,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1196,7 +1196,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingScenarioRowTest.cs =================================================================== diff -u -rdc162fb43a2d8ef5263cccaf4679ead8ada5ced2 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingScenarioRowTest.cs (.../PipingScenarioRowTest.cs) (revision dc162fb43a2d8ef5263cccaf4679ead8ada5ced2) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingScenarioRowTest.cs (.../PipingScenarioRowTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -94,7 +94,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); const string name = "Test"; @@ -221,7 +221,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new PipingCalculationScenario(new GeneralPipingInput()); @@ -254,7 +254,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new PipingCalculationScenario(new GeneralPipingInput()) @@ -290,7 +290,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new PipingCalculationScenario(new GeneralPipingInput()) Index: Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/ImportInfos/PipingCalculationGroupContextImportInfoTest.cs =================================================================== diff -u -rac96d7c315129af851634ed5a4a6800b59ede718 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/ImportInfos/PipingCalculationGroupContextImportInfoTest.cs (.../PipingCalculationGroupContextImportInfoTest.cs) (revision ac96d7c315129af851634ed5a4a6800b59ede718) +++ Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/ImportInfos/PipingCalculationGroupContextImportInfoTest.cs (.../PipingCalculationGroupContextImportInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -115,7 +115,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var context = new PipingCalculationGroupContext(new CalculationGroup(), Index: Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/PropertyInfos/PipingOutputPropertyInfoTest.cs =================================================================== diff -u -r8b37c0f11e7d78b71c298763124973e94845c87b -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/PropertyInfos/PipingOutputPropertyInfoTest.cs (.../PipingOutputPropertyInfoTest.cs) (revision 8b37c0f11e7d78b71c298763124973e94845c87b) +++ Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/PropertyInfos/PipingOutputPropertyInfoTest.cs (.../PipingOutputPropertyInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -66,7 +66,7 @@ var failureMechanism = new PipingFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); PipingOutput output = PipingOutputTestFactory.Create(); Index: Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -r0d301f769dc84d57979a55d902c498afe5d93e19 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs (.../PipingCalculationGroupContextTreeNodeInfoTest.cs) (revision 0d301f769dc84d57979a55d902c498afe5d93e19) +++ Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs (.../PipingCalculationGroupContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -1608,7 +1608,7 @@ group.Children.Add(calculation2); var pipingFailureMechanism = new PipingFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(pipingFailureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(pipingFailureMechanism, mocks); var nodeData = new PipingCalculationGroupContext(group, parentGroup, @@ -1704,7 +1704,7 @@ group.Children.Add(calculation2); var pipingFailureMechanism = new PipingFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(pipingFailureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(pipingFailureMechanism, mocks); var nodeData = new PipingCalculationGroupContext(group, parentGroup, @@ -1819,7 +1819,7 @@ group.Children.Add(calculation2); var pipingFailureMechanism = new PipingFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(pipingFailureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(pipingFailureMechanism, mocks); var nodeData = new PipingCalculationGroupContext(group, parentGroup, Index: Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/ViewInfos/PipingFailureMechanismResultViewInfoTest.cs =================================================================== diff -u -r73bb4932d13d36d1cd3cd30d8151f2adf49646f2 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/ViewInfos/PipingFailureMechanismResultViewInfoTest.cs (.../PipingFailureMechanismResultViewInfoTest.cs) (revision 73bb4932d13d36d1cd3cd30d8151f2adf49646f2) +++ Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/ViewInfos/PipingFailureMechanismResultViewInfoTest.cs (.../PipingFailureMechanismResultViewInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -72,7 +72,7 @@ { // Setup var failureMechanism = new PipingFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var context = new ProbabilityFailureMechanismSectionResultContext(failureMechanism.SectionResults, @@ -274,7 +274,7 @@ // Setup var failureMechanism = new PipingFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var context = new ProbabilityFailureMechanismSectionResultContext(failureMechanism.SectionResults, Index: Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/PipingCalculationActivityTest.cs =================================================================== diff -u -rbd3005f6e588e9dabb067acd8b61a3682c43970c -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/PipingCalculationActivityTest.cs (.../PipingCalculationActivityTest.cs) (revision bd3005f6e588e9dabb067acd8b61a3682c43970c) +++ Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/PipingCalculationActivityTest.cs (.../PipingCalculationActivityTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -63,7 +63,7 @@ PipingCalculationScenario invalidPipingCalculation = PipingCalculationScenarioTestFactory.CreatePipingCalculationScenarioWithInvalidInput(); var activity = new PipingCalculationActivity(invalidPipingCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Call Action call = () => activity.Run(); @@ -94,7 +94,7 @@ PipingCalculationScenario validPipingCalculation = PipingCalculationScenarioTestFactory.CreatePipingCalculationScenarioWithValidInput(new TestHydraulicBoundaryLocation()); var activity = new PipingCalculationActivity(validPipingCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Call Action call = () => activity.Run(); @@ -128,7 +128,7 @@ validPipingCalculation.Attach(observer); var activity = new PipingCalculationActivity(validPipingCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); activity.Run(); Index: Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/PipingCalculationServiceTest.cs =================================================================== diff -u -r045755f96d4c3083f4194d49d3639d0634231a03 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/PipingCalculationServiceTest.cs (.../PipingCalculationServiceTest.cs) (revision 045755f96d4c3083f4194d49d3639d0634231a03) +++ Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/PipingCalculationServiceTest.cs (.../PipingCalculationServiceTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -70,7 +70,7 @@ { // Call Action call = () => PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -91,7 +91,7 @@ // Call bool isValid = PipingCalculationService.Validate(invalidPipingCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert Assert.IsFalse(isValid); @@ -107,7 +107,7 @@ // Call var isValid = false; Action call = () => isValid = PipingCalculationService.Validate(calculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -161,7 +161,7 @@ // Call var isValid = false; Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -185,7 +185,7 @@ // Call var isValid = false; Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -208,7 +208,7 @@ // Call var isValid = false; Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -233,7 +233,7 @@ // Call var isValid = false; Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -264,7 +264,7 @@ // Call var isValid = false; Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -289,7 +289,7 @@ // Call Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -345,7 +345,7 @@ // Call Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -380,7 +380,7 @@ // Call Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -428,7 +428,7 @@ // Call Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -479,7 +479,7 @@ // Call Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -553,7 +553,7 @@ // Call Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -619,7 +619,7 @@ // Call Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -678,7 +678,7 @@ // Call Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -744,7 +744,7 @@ // Call Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -814,7 +814,7 @@ // Call Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -870,7 +870,7 @@ // Call Action call = () => isValid = PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -938,7 +938,7 @@ // Call Action call = () => PipingCalculationService.Validate(testCalculation, - AssessmentSectionHelper.GetTestAssessmentLevel()); + AssessmentSectionTestHelper.GetTestAssessmentLevel()); // Assert TestHelper.AssertLogMessages(call, messages => @@ -981,7 +981,7 @@ { try { - PipingCalculationService.Calculate(testCalculation, AssessmentSectionHelper.GetTestAssessmentLevel()); + PipingCalculationService.Calculate(testCalculation, AssessmentSectionTestHelper.GetTestAssessmentLevel()); } catch (Exception) { @@ -1018,7 +1018,7 @@ { using (new PipingSubCalculatorFactoryConfig()) { - PipingCalculationService.Calculate(testCalculation, AssessmentSectionHelper.GetTestAssessmentLevel()); + PipingCalculationService.Calculate(testCalculation, AssessmentSectionTestHelper.GetTestAssessmentLevel()); } }; @@ -1035,7 +1035,7 @@ public void Calculate_ValidPipingCalculationNoOutput_ShouldSetOutput() { // Setup - RoundedDouble normativeAssessmentLevel = AssessmentSectionHelper.GetTestAssessmentLevel(); + RoundedDouble normativeAssessmentLevel = AssessmentSectionTestHelper.GetTestAssessmentLevel(); // Precondition Assert.IsNull(testCalculation.Output); @@ -1063,7 +1063,7 @@ { // Setup PipingOutput output = PipingOutputTestFactory.Create(); - RoundedDouble normativeAssessmentLevel = AssessmentSectionHelper.GetTestAssessmentLevel(); + RoundedDouble normativeAssessmentLevel = AssessmentSectionTestHelper.GetTestAssessmentLevel(); testCalculation.Output = output; @@ -1082,7 +1082,7 @@ public void Validate_CompleteInput_InputSetOnSubCalculators(bool useAssessmentLevelManualInput) { // Setup - RoundedDouble normativeAssessmentLevel = AssessmentSectionHelper.GetTestAssessmentLevel(); + RoundedDouble normativeAssessmentLevel = AssessmentSectionTestHelper.GetTestAssessmentLevel(); PipingInput input = testCalculation.InputParameters; input.AssessmentLevel = (RoundedDouble) 2.2; @@ -1107,7 +1107,7 @@ public void Calculate_CompleteInput_InputSetOnSubCalculators(bool useAssessmentLevelManualInput) { // Setup - RoundedDouble normativeAssessmentLevel = AssessmentSectionHelper.GetTestAssessmentLevel(); + RoundedDouble normativeAssessmentLevel = AssessmentSectionTestHelper.GetTestAssessmentLevel(); PipingInput input = testCalculation.InputParameters; input.UseAssessmentLevelManualInput = useAssessmentLevelManualInput; Index: Ringtoets/Revetment/test/Ringtoets.Revetment.Forms.Test/PropertyClasses/WaveConditionsInputContextPropertiesTest.cs =================================================================== diff -u -r9e877195a92839a9f121a3b4cac77712b63b589b -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/Revetment/test/Ringtoets.Revetment.Forms.Test/PropertyClasses/WaveConditionsInputContextPropertiesTest.cs (.../WaveConditionsInputContextPropertiesTest.cs) (revision 9e877195a92839a9f121a3b4cac77712b63b589b) +++ Ringtoets/Revetment/test/Ringtoets.Revetment.Forms.Test/PropertyClasses/WaveConditionsInputContextPropertiesTest.cs (.../WaveConditionsInputContextPropertiesTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -78,7 +78,7 @@ // Call TestDelegate test = () => new TestWaveConditionsInputContextProperties(null, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Assert @@ -122,7 +122,7 @@ // Call TestDelegate test = () => new TestWaveConditionsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, null); // Assert @@ -239,7 +239,7 @@ // Call var properties = new TestWaveConditionsInputContextProperties(inputContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Assert @@ -499,7 +499,7 @@ var inputContext = new TestWaveConditionsInputContext(input, new ForeshoreProfile[0], assessmentSection); var properties = new TestWaveConditionsInputContextProperties(inputContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); SelectableHydraulicBoundaryLocation selectedHydraulicBoundaryLocation = null; @@ -536,7 +536,7 @@ var inputContext = new TestWaveConditionsInputContext(input, new ForeshoreProfile[0], assessmentSection); var properties = new TestWaveConditionsInputContextProperties(inputContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -580,7 +580,7 @@ var inputContext = new TestWaveConditionsInputContext(input, new ForeshoreProfile[0], assessmentSection); var properties = new TestWaveConditionsInputContextProperties(inputContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -624,7 +624,7 @@ var inputContext = new TestWaveConditionsInputContext(input, new ForeshoreProfile[0], assessmentSection); var properties = new TestWaveConditionsInputContextProperties(inputContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // When @@ -662,7 +662,7 @@ var inputContext = new TestWaveConditionsInputContext(input, new ForeshoreProfile[0], assessmentSection); var properties = new TestWaveConditionsInputContextProperties(inputContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -705,7 +705,7 @@ var inputContext = new TestWaveConditionsInputContext(input, new ForeshoreProfile[0], assessmentSection); var properties = new TestWaveConditionsInputContextProperties(inputContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -748,7 +748,7 @@ var otherProfile = new TestForeshoreProfile(new Point2D(0, 190)); var customHandler = new SetPropertyValueAfterConfirmationParameterTester(Enumerable.Empty()); var properties = new TestWaveConditionsInputContextProperties(inputContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, customHandler); IEnumerable originalList = properties.GetSelectableHydraulicBoundaryLocations() @@ -790,7 +790,7 @@ var inputContext = new TestWaveConditionsInputContext(input, foreshoreProfiles, assessmentSection); var properties = new TestWaveConditionsInputContextProperties(inputContext, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, handler); // Call @@ -827,7 +827,7 @@ }); var properties = new TestWaveConditionsInputContextProperties(context, - AssessmentSectionHelper.GetTestAssessmentLevel, + AssessmentSectionTestHelper.GetTestAssessmentLevel, customHandler); // Call Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresFailureMechanismAssemblyFactoryTest.cs =================================================================== diff -u -r97969a44c353d136c207adf0b295c827b9e4222f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresFailureMechanismAssemblyFactoryTest.cs (.../StabilityPointStructuresFailureMechanismAssemblyFactoryTest.cs) (revision 97969a44c353d136c207adf0b295c827b9e4222f) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresFailureMechanismAssemblyFactoryTest.cs (.../StabilityPointStructuresFailureMechanismAssemblyFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -200,7 +200,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -235,7 +235,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -266,7 +266,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -357,7 +357,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -388,7 +388,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -419,7 +419,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -513,7 +513,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -558,7 +558,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -595,7 +595,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -626,7 +626,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()); @@ -721,7 +721,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -768,7 +768,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -807,7 +807,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -838,7 +838,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -873,7 +873,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -910,7 +910,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -945,7 +945,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1025,7 +1025,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); // Call @@ -1050,7 +1050,7 @@ }); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1088,7 +1088,7 @@ sectionResult.ManualAssemblyProbability = new Random(39).NextDouble(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1126,7 +1126,7 @@ sectionResult.ManualAssemblyProbability = new Random(39).NextDouble(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1157,7 +1157,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1185,7 +1185,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -1220,7 +1220,7 @@ }); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs =================================================================== diff -u -r739752c5cc7ed800dacf74e12221c227183ddc6f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs (.../StabilityPointStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs) (revision 739752c5cc7ed800dacf74e12221c227183ddc6f) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs (.../StabilityPointStructuresFailureMechanismSectionResultDetailedAssessmentExtensionsTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -137,7 +137,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresProbabilityAssessmentOutputFactoryTest.cs =================================================================== diff -u -raee2e55bc9dbf0bbe1fac86898575c7faa33162c -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresProbabilityAssessmentOutputFactoryTest.cs (.../StabilityPointStructuresProbabilityAssessmentOutputFactoryTest.cs) (revision aee2e55bc9dbf0bbe1fac86898575c7faa33162c) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresProbabilityAssessmentOutputFactoryTest.cs (.../StabilityPointStructuresProbabilityAssessmentOutputFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -90,7 +90,7 @@ }; var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var output = new TestStructuresOutput(); Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Forms.Test/PropertyClasses/StabilityPointStructuresOutputPropertiesTest.cs =================================================================== diff -u -raee2e55bc9dbf0bbe1fac86898575c7faa33162c -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Forms.Test/PropertyClasses/StabilityPointStructuresOutputPropertiesTest.cs (.../StabilityPointStructuresOutputPropertiesTest.cs) (revision aee2e55bc9dbf0bbe1fac86898575c7faa33162c) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Forms.Test/PropertyClasses/StabilityPointStructuresOutputPropertiesTest.cs (.../StabilityPointStructuresOutputPropertiesTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -90,7 +90,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var random = new Random(39); Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Forms.Test/Views/StabilityPointStructuresFailureMechanismSectionResultRowTest.cs =================================================================== diff -u -r846d2015c3cb0995cc7badac536c3abf9954fe62 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Forms.Test/Views/StabilityPointStructuresFailureMechanismSectionResultRowTest.cs (.../StabilityPointStructuresFailureMechanismSectionResultRowTest.cs) (revision 846d2015c3cb0995cc7badac536c3abf9954fe62) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Forms.Test/Views/StabilityPointStructuresFailureMechanismSectionResultRowTest.cs (.../StabilityPointStructuresFailureMechanismSectionResultRowTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -138,7 +138,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -194,7 +194,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -243,7 +243,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -302,7 +302,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -349,7 +349,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -386,7 +386,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -421,7 +421,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -463,7 +463,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -508,7 +508,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -546,7 +546,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -578,7 +578,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -639,7 +639,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -690,7 +690,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -722,7 +722,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -755,7 +755,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new TestStabilityPointStructuresCalculation @@ -790,7 +790,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -818,7 +818,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -847,7 +847,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var sectionResult = new StabilityPointStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) @@ -878,7 +878,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); using (new AssemblyToolCalculatorFactoryConfig()) @@ -933,7 +933,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); @@ -968,7 +968,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1001,7 +1001,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); @@ -1033,7 +1033,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new StructuresCalculation(); @@ -1069,7 +1069,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var calculation = new StructuresCalculation @@ -1104,7 +1104,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1142,7 +1142,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); @@ -1177,7 +1177,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ImportInfos/StabilityPointStructuresCalculationGroupContextImportInfoTest.cs =================================================================== diff -u -rec13d3850861606552c4dee8dbe04825b855c068 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ImportInfos/StabilityPointStructuresCalculationGroupContextImportInfoTest.cs (.../StabilityPointStructuresCalculationGroupContextImportInfoTest.cs) (revision ec13d3850861606552c4dee8dbe04825b855c068) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ImportInfos/StabilityPointStructuresCalculationGroupContextImportInfoTest.cs (.../StabilityPointStructuresCalculationGroupContextImportInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -63,7 +63,7 @@ { // Setup var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); mocks.ReplayAll(); var context = new StabilityPointStructuresCalculationGroupContext(new CalculationGroup(), Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -rb9ae753b52b2b198f264bd2f825d4a66305ad5c9 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs (.../StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs) (revision b9ae753b52b2b198f264bd2f825d4a66305ad5c9) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs (.../StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -267,7 +267,7 @@ public void ContextMenuStrip_CalculationWithoutStructure_ContextMenuItemUpdateStructureDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StructuresCalculation(); @@ -302,7 +302,7 @@ public void ContextMenuStrip_CalculationWithStructureAndInputInSync_ContextMenuItemUpdateStructureDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -343,7 +343,7 @@ public void ContextMenuStrip_CalculationWithStructureAndInputOutOfSync_ContextMenuItemUpdateStructureEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -389,7 +389,7 @@ var calculationInputObserver = mocks.StrictMock(); calculationInputObserver.Expect(o => o.UpdateObserver()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); var parent = new CalculationGroup(); @@ -438,7 +438,7 @@ // Given var calculationObserver = mocks.StrictMock(); var calculationInputObserver = mocks.StrictMock(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); var parent = new CalculationGroup(); @@ -514,7 +514,7 @@ { // Setup var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StructuresCalculation(); var nodeData = new StabilityPointStructuresCalculationContext(calculation, parent, failureMechanism, assessmentSection); @@ -552,7 +552,7 @@ { // Setup var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var parent = new CalculationGroup(); var calculation = new StructuresCalculation(); var nodeData = new StabilityPointStructuresCalculationContext(calculation, parent, failureMechanism, assessmentSection); @@ -634,7 +634,7 @@ public void ContextMenuStrip_CalculationWithoutForeshoreProfile_ContextMenuItemUpdateForeshoreProfileDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation(); @@ -672,7 +672,7 @@ public void ContextMenuStrip_CalculationWithForeshoreProfileAndInputInSync_ContextMenuItemUpdateForeshoreProfileDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); var parent = new CalculationGroup(); var calculation = new StructuresCalculation @@ -716,7 +716,7 @@ public void ContextMenuStrip_CalculationWithForeshoreProfileAndInputOutSync_ContextMenuItemUpdateForeshoreProfileEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(); @@ -766,7 +766,7 @@ var calculationInputObserver = mocks.StrictMock(); calculationInputObserver.Expect(o => o.UpdateObserver()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(true); @@ -819,7 +819,7 @@ // Given var calculationObserver = mocks.StrictMock(); var calculationInputObserver = mocks.StrictMock(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(true); Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -rb9ae753b52b2b198f264bd2f825d4a66305ad5c9 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationGroupContextTreeNodeInfoTest.cs (.../StabilityPointStructuresCalculationGroupContextTreeNodeInfoTest.cs) (revision b9ae753b52b2b198f264bd2f825d4a66305ad5c9) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationGroupContextTreeNodeInfoTest.cs (.../StabilityPointStructuresCalculationGroupContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -297,7 +297,7 @@ { new TestStabilityPointStructure() }, "path"); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var groupContext = new StabilityPointStructuresCalculationGroupContext(group, null, failureMechanism, @@ -340,7 +340,7 @@ var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new StabilityPointStructuresCalculationGroupContext(group, null, @@ -390,7 +390,7 @@ var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var nodeData = new StabilityPointStructuresCalculationGroupContext(group, null, @@ -655,7 +655,7 @@ } }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new StabilityPointStructuresFailureMechanism(); var nodeData = new StabilityPointStructuresCalculationGroupContext(group, null, @@ -694,7 +694,7 @@ } }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new StabilityPointStructuresFailureMechanism(); var nodeData = new StabilityPointStructuresCalculationGroupContext(group, null, @@ -734,7 +734,7 @@ } }; - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new StabilityPointStructuresFailureMechanism(); var nodeData = new StabilityPointStructuresCalculationGroupContext(group, null, @@ -763,7 +763,7 @@ public void GivenCalculationWithoutOutputAndWithInputOutOfSync_WhenUpdateStructuresClicked_ThenNoInquiryAndCalculationUpdatedAndInputObserverNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestStabilityPointStructure(); var calculation1Observer = mocks.StrictMock(); @@ -845,7 +845,7 @@ public void GivenCalculationWithOutputAndInputOutOfSync_WhenUpdateStructuresClickedAndCancelled_ThenInquiryAndCalculationNotUpdatedAndObserversNotNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestStabilityPointStructure(); var calculation1Observer = mocks.StrictMock(); @@ -933,7 +933,7 @@ public void GivenCalculationWithOutputAndInputOutOfSync_WhenUpdateStructuresClickedAndContinued_ThenInquiryAndCalculationUpdatedAndObserversNotified() { // Given - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var structure = new TestStabilityPointStructure(); var calculation1Observer = mocks.StrictMock(); @@ -1026,7 +1026,7 @@ public void ContextMenuStrip_CalculationGroupWithCalculationWithForeshoreProfileAndInputOutOfSync_ContextMenuItemUpdateForeshoreProfilesEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new StabilityPointStructuresFailureMechanism(); var calculation = new StructuresCalculation { @@ -1079,7 +1079,7 @@ var calculationInputObserver = mocks.StrictMock(); calculationInputObserver.Expect(o => o.UpdateObserver()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new StabilityPointStructuresFailureMechanism(); var calculation = new StructuresCalculation @@ -1133,7 +1133,7 @@ var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); var group = new CalculationGroup(); var failureMechanism = new StabilityPointStructuresFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new StabilityPointStructuresCalculationGroupContext(group, null, failureMechanism, @@ -1180,7 +1180,7 @@ var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); var group = new CalculationGroup(); var failureMechanism = new StabilityPointStructuresFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new StabilityPointStructuresCalculationGroupContext(group, null, failureMechanism, @@ -1390,7 +1390,7 @@ // Given using (var treeViewControl = new TreeViewControl()) { - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); StabilityPointStructure structure1 = new TestStabilityPointStructure("id structure1"); StabilityPointStructure structure2 = new TestStabilityPointStructure("id structure2"); @@ -1462,7 +1462,7 @@ // Given using (var treeViewControl = new TreeViewControl()) { - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); StabilityPointStructure structure1 = new TestStabilityPointStructure("id structure1"); StabilityPointStructure structure2 = new TestStabilityPointStructure("id structure2"); @@ -1517,7 +1517,7 @@ // Given using (var treeViewControl = new TreeViewControl()) { - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); const string existingCalculationName = "StabilityPoint structure"; StabilityPointStructure stabilityPointStructure = new TestStabilityPointStructure("id", existingCalculationName); @@ -1620,7 +1620,7 @@ { // Setup var failureMechanism = new StabilityPointStructuresFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var group = new CalculationGroup(); var parentGroup = new CalculationGroup(); var nodeData = new StabilityPointStructuresCalculationGroupContext(group, Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresFailureMechanismContextTreeNodeInfoTest.cs =================================================================== diff -u -rd68597572782f79b39b7d74844040cec22584b6d -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresFailureMechanismContextTreeNodeInfoTest.cs (.../StabilityPointStructuresFailureMechanismContextTreeNodeInfoTest.cs) (revision d68597572782f79b39b7d74844040cec22584b6d) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresFailureMechanismContextTreeNodeInfoTest.cs (.../StabilityPointStructuresFailureMechanismContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -475,7 +475,7 @@ var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocksRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocksRepository); var nodeData = new StabilityPointStructuresFailureMechanismContext(failureMechanism, assessmentSection); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); @@ -516,7 +516,7 @@ var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocksRepository, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocksRepository, "invalidFilePath"); var nodeData = new StabilityPointStructuresFailureMechanismContext(failureMechanism, assessmentSection); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ViewInfos/StabilityPointStructuresFailureMechanismResultViewInfoTest.cs =================================================================== diff -u -r73bb4932d13d36d1cd3cd30d8151f2adf49646f2 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ViewInfos/StabilityPointStructuresFailureMechanismResultViewInfoTest.cs (.../StabilityPointStructuresFailureMechanismResultViewInfoTest.cs) (revision 73bb4932d13d36d1cd3cd30d8151f2adf49646f2) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ViewInfos/StabilityPointStructuresFailureMechanismResultViewInfoTest.cs (.../StabilityPointStructuresFailureMechanismResultViewInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -280,7 +280,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var context = new ProbabilityFailureMechanismSectionResultContext( Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Service.Test/StabilityPointStructuresCalculationActivityFactoryTest.cs =================================================================== diff -u -r7bbe1aedabdefea4a00a20f878f40644e440ad7f -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Service.Test/StabilityPointStructuresCalculationActivityFactoryTest.cs (.../StabilityPointStructuresCalculationActivityFactoryTest.cs) (revision 7bbe1aedabdefea4a00a20f878f40644e440ad7f) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Service.Test/StabilityPointStructuresCalculationActivityFactoryTest.cs (.../StabilityPointStructuresCalculationActivityFactoryTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -107,9 +107,9 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mocks, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mocks, + validFilePath); mocks.ReplayAll(); StructuresCalculation calculation = CreateValidCalculation(); @@ -183,9 +183,9 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mocks, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mocks, + validFilePath); mocks.ReplayAll(); StructuresCalculation calculation1 = CreateValidCalculation(); @@ -248,9 +248,9 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mocks, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mocks, + validFilePath); mocks.ReplayAll(); StructuresCalculation calculation1 = CreateValidCalculation(); Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Service.Test/StabilityPointStructuresCalculationServiceTest.cs =================================================================== diff -u -r9ff4aed4b5fccf9f13ad2fd63c4fe203b7782994 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Service.Test/StabilityPointStructuresCalculationServiceTest.cs (.../StabilityPointStructuresCalculationServiceTest.cs) (revision 9ff4aed4b5fccf9f13ad2fd63c4fe203b7782994) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Service.Test/StabilityPointStructuresCalculationServiceTest.cs (.../StabilityPointStructuresCalculationServiceTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -67,15 +67,18 @@ [Test] [Combinatorial] public void Validate_UseBreakWaterInvalidBreakWaterHeight_LogErrorAndReturnFalse( - [Values(StabilityPointStructureInflowModelType.FloodedCulvert, StabilityPointStructureInflowModelType.LowSill)] StabilityPointStructureInflowModelType inflowModelType, - [Values(LoadSchematizationType.Quadratic, LoadSchematizationType.Linear)] LoadSchematizationType loadSchematizationType, - [Values(double.NaN, double.PositiveInfinity, double.NegativeInfinity)] double breakWaterHeight) + [Values(StabilityPointStructureInflowModelType.FloodedCulvert, StabilityPointStructureInflowModelType.LowSill)] + StabilityPointStructureInflowModelType inflowModelType, + [Values(LoadSchematizationType.Quadratic, LoadSchematizationType.Linear)] + LoadSchematizationType loadSchematizationType, + [Values(double.NaN, double.PositiveInfinity, double.NegativeInfinity)] + double breakWaterHeight) { // Setup var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository, validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository, validFilePath); mockRepository.ReplayAll(); var calculation = new TestStabilityPointStructuresCalculation @@ -117,9 +120,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new StabilityPointStructuresFailureMechanism(), - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new StabilityPointStructuresFailureMechanism(), + mockRepository, + validFilePath); mockRepository.ReplayAll(); var calculation = new TestStabilityPointStructuresCalculation @@ -196,9 +199,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new StabilityPointStructuresFailureMechanism(), - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new StabilityPointStructuresFailureMechanism(), + mockRepository, + validFilePath); mockRepository.ReplayAll(); var calculation = new TestStabilityPointStructuresCalculation @@ -275,9 +278,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new StabilityPointStructuresFailureMechanism(), - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new StabilityPointStructuresFailureMechanism(), + mockRepository, + validFilePath); mockRepository.ReplayAll(); var calculation = new TestStabilityPointStructuresCalculation @@ -356,9 +359,9 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new StabilityPointStructuresFailureMechanism(), - mockRepository, - validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(new StabilityPointStructuresFailureMechanism(), + mockRepository, + validFilePath); mockRepository.ReplayAll(); var calculation = new TestStabilityPointStructuresCalculation @@ -436,7 +439,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository, validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository, validFilePath); mockRepository.ReplayAll(); var calculation = new TestStabilityPointStructuresCalculation @@ -467,7 +470,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository, validFilePath); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository, validFilePath); mockRepository.ReplayAll(); var calculation = new TestStabilityPointStructuresCalculation @@ -524,6 +527,7 @@ expectedMessage).ParamName; Assert.AreEqual("structureInput", paramName); } + mockRepository.VerifyAll(); } @@ -564,6 +568,7 @@ expectedMessage).ParamName; Assert.AreEqual("structureInput", paramName); } + mockRepository.VerifyAll(); } @@ -576,7 +581,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -680,6 +685,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -693,7 +699,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -799,6 +805,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -811,7 +818,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -915,6 +922,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -928,7 +936,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -1034,6 +1042,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -1046,7 +1055,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -1150,6 +1159,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -1163,7 +1173,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -1269,6 +1279,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -1281,7 +1292,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -1385,6 +1396,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -1398,7 +1410,7 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); @@ -1504,6 +1516,7 @@ HydraRingDataEqualityHelper.AreEqual(expectedInput, actualInput); Assert.IsFalse(calculator.IsCanceled); } + mockRepository.VerifyAll(); } @@ -1519,8 +1532,8 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator(); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateStructuresCalculator(testDataPath, preprocessorDirectory)) @@ -1550,21 +1563,25 @@ StructuresStabilityPointCalculationInput actualInput = calculationInputs[0]; Assert.AreEqual(usePreprocessor, actualInput.PreprocessorSetting.RunPreprocessor); } + mockRepository.VerifyAll(); } [Test] [Combinatorial] public void Calculate_ValidCalculation_LogStartAndEndAndReturnOutput( - [Values(StabilityPointStructureInflowModelType.FloodedCulvert, StabilityPointStructureInflowModelType.LowSill)] StabilityPointStructureInflowModelType inflowModelType, - [Values(LoadSchematizationType.Quadratic, LoadSchematizationType.Linear)] LoadSchematizationType loadSchematizationType, - [Values(CalculationType.NoForeshore, CalculationType.ForeshoreWithValidBreakWater, CalculationType.ForeshoreWithoutBreakWater)] CalculationType calculationType) + [Values(StabilityPointStructureInflowModelType.FloodedCulvert, StabilityPointStructureInflowModelType.LowSill)] + StabilityPointStructureInflowModelType inflowModelType, + [Values(LoadSchematizationType.Quadratic, LoadSchematizationType.Linear)] + LoadSchematizationType loadSchematizationType, + [Values(CalculationType.NoForeshore, CalculationType.ForeshoreWithValidBreakWater, CalculationType.ForeshoreWithoutBreakWater)] + CalculationType calculationType) { // Setup var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mockRepository); var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateStructuresCalculator(testDataPath, validPreprocessorDirectory)) @@ -1629,8 +1646,8 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator { LastErrorFileContent = "An error occurred", @@ -1682,6 +1699,7 @@ Assert.IsTrue(exceptionThrown); Assert.IsNull(calculation.Output); } + mockRepository.VerifyAll(); } @@ -1692,8 +1710,8 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator { EndInFailure = true @@ -1744,6 +1762,7 @@ Assert.IsTrue(exceptionThrown); Assert.IsNull(calculation.Output); } + mockRepository.VerifyAll(); } @@ -1754,8 +1773,8 @@ var failureMechanism = new StabilityPointStructuresFailureMechanism(); var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, - mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, + mockRepository); var calculator = new TestStructuresCalculator { LastErrorFileContent = "An error occurred" @@ -1809,6 +1828,7 @@ Assert.IsNull(calculation.Output); Assert.AreEqual(calculator.LastErrorFileContent, exceptionMessage); } + mockRepository.VerifyAll(); } Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/ImportInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextImportInfoTest.cs =================================================================== diff -u -rdfa8148a99ace1dccde408a4a3b2e2ce4afe57ca -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/ImportInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextImportInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationGroupContextImportInfoTest.cs) (revision dfa8148a99ace1dccde408a4a3b2e2ce4afe57ca) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/ImportInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextImportInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationGroupContextImportInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -113,7 +113,7 @@ var failureMechanism = new StabilityStoneCoverFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var context = new StabilityStoneCoverWaveConditionsCalculationGroupContext(new CalculationGroup(), Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/PropertyInfos/StabilityStoneCoverWaveConditionsInputContextPropertyInfoTest.cs =================================================================== diff -u -r0eddea1a45f0d9efb0a2a12e90eb99e814d1becb -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/PropertyInfos/StabilityStoneCoverWaveConditionsInputContextPropertyInfoTest.cs (.../StabilityStoneCoverWaveConditionsInputContextPropertyInfoTest.cs) (revision 0eddea1a45f0d9efb0a2a12e90eb99e814d1becb) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/PropertyInfos/StabilityStoneCoverWaveConditionsInputContextPropertyInfoTest.cs (.../StabilityStoneCoverWaveConditionsInputContextPropertyInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -53,8 +53,8 @@ [Test] [TestCaseSource( - typeof(AssessmentSectionHelper), - nameof(AssessmentSectionHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType))] + typeof(AssessmentSectionTestHelper), + nameof(AssessmentSectionTestHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType))] public void CreateInstance_WithContextThatHasInputWithSpecificCategoryType_ExpectedProperties( IAssessmentSection assessmentSection, HydraulicBoundaryLocation hydraulicBoundaryLocation, Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverFailureMechanismContextTreeNodeInfoTest.cs =================================================================== diff -u -rd68597572782f79b39b7d74844040cec22584b6d -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverFailureMechanismContextTreeNodeInfoTest.cs (.../StabilityStoneCoverFailureMechanismContextTreeNodeInfoTest.cs) (revision d68597572782f79b39b7d74844040cec22584b6d) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverFailureMechanismContextTreeNodeInfoTest.cs (.../StabilityStoneCoverFailureMechanismContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -527,7 +527,7 @@ var failureMechanism = new StabilityStoneCoverFailureMechanism(); failureMechanism.WaveConditionsCalculationGroup.Children.Add(new StabilityStoneCoverWaveConditionsCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new StabilityStoneCoverFailureMechanismContext(failureMechanism, assessmentSection); Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -rb9ae753b52b2b198f264bd2f825d4a66305ad5c9 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision b9ae753b52b2b198f264bd2f825d4a66305ad5c9) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -428,7 +428,7 @@ { // Setup var failureMechanism = new StabilityStoneCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StabilityStoneCoverWaveConditionsCalculation(); @@ -550,7 +550,7 @@ { // Given var failureMechanism = new StabilityStoneCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StabilityStoneCoverWaveConditionsCalculation @@ -602,7 +602,7 @@ { // Given var failureMechanism = new StabilityStoneCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StabilityStoneCoverWaveConditionsCalculation @@ -655,7 +655,7 @@ // Given var failureMechanism = new StabilityStoneCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var parent = new CalculationGroup(); var calculation = new StabilityStoneCoverWaveConditionsCalculation @@ -762,7 +762,7 @@ public void ContextMenuStrip_CalculationWithoutForeshoreProfile_ContextMenuItemUpdateForeshoreProfileDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var parent = new CalculationGroup(); var calculation = new StabilityStoneCoverWaveConditionsCalculation(); @@ -800,7 +800,7 @@ public void ContextMenuStrip_CalculationWithForeshoreProfileAndInputInSync_ContextMenuItemUpdateForeshoreProfileDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var parent = new CalculationGroup(); var calculation = new StabilityStoneCoverWaveConditionsCalculation @@ -844,7 +844,7 @@ public void ContextMenuStrip_CalculationWithForeshoreProfileAndInputOutSync_ContextMenuItemUpdateForeshoreProfileEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(); @@ -894,7 +894,7 @@ var calculationInputObserver = mocks.StrictMock(); calculationInputObserver.Expect(o => o.UpdateObserver()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(true); @@ -947,7 +947,7 @@ // Given var calculationObserver = mocks.StrictMock(); var calculationInputObserver = mocks.StrictMock(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(true); @@ -1102,7 +1102,7 @@ { // Given var failureMechanism = new StabilityStoneCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StabilityStoneCoverWaveConditionsCalculation @@ -1155,7 +1155,7 @@ // Given var failureMechanism = new StabilityStoneCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var parent = new CalculationGroup(); var calculation = new StabilityStoneCoverWaveConditionsCalculation @@ -1579,7 +1579,7 @@ { // Given var failureMechanism = new StabilityStoneCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StabilityStoneCoverWaveConditionsCalculation @@ -1632,7 +1632,7 @@ { // Given var failureMechanism = new StabilityStoneCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new StabilityStoneCoverWaveConditionsCalculation @@ -1685,7 +1685,7 @@ { // Given var failureMechanism = new StabilityStoneCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var observer = mocks.Stub(); observer.Expect(o => o.UpdateObserver()); Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -r800b0e5457ba5999d442ef1aad3fefeb112e16b0 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs) (revision 800b0e5457ba5999d442ef1aad3fefeb112e16b0) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -215,7 +215,7 @@ // Setup var group = new CalculationGroup(); var failureMechanism = new StabilityStoneCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var groupContext = new StabilityStoneCoverWaveConditionsCalculationGroupContext(group, null, failureMechanism, @@ -270,7 +270,7 @@ // Setup var group = new CalculationGroup(); var failureMechanism = new StabilityStoneCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var groupContext = new StabilityStoneCoverWaveConditionsCalculationGroupContext(group, null, failureMechanism, @@ -456,7 +456,7 @@ public void ContextMenuStrip_WithoutParentNodeWithoutHydraulicLocationsDefaultBehavior_ReturnContextMenuWithoutRenameRemove() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new StabilityStoneCoverFailureMechanism(); @@ -692,7 +692,7 @@ group.Children.Add(new StabilityStoneCoverWaveConditionsCalculation()); failureMechanism.WaveConditionsCalculationGroup.Children.Add(group); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new StabilityStoneCoverWaveConditionsCalculationGroupContext(group, failureMechanism.WaveConditionsCalculationGroup, failureMechanism, @@ -734,7 +734,7 @@ group.Children.Add(new StabilityStoneCoverWaveConditionsCalculation()); failureMechanism.WaveConditionsCalculationGroup.Children.Add(group); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var nodeData = new StabilityStoneCoverWaveConditionsCalculationGroupContext(group, failureMechanism.WaveConditionsCalculationGroup, @@ -1184,7 +1184,7 @@ var failureMechanism = new StabilityStoneCoverFailureMechanism(); failureMechanism.WaveConditionsCalculationGroup.Children.Add(group); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mocks, validFilePath); var nodeData = new StabilityStoneCoverWaveConditionsCalculationGroupContext(group, @@ -1226,7 +1226,7 @@ // Setup var failureMechanism = new StabilityStoneCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mocks, validFilePath); var group = new CalculationGroup(); @@ -1277,7 +1277,7 @@ { // Setup var failureMechanism = new StabilityStoneCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mocks, validFilePath); var observerA = mocks.StrictMock(); @@ -1658,7 +1658,7 @@ { // Given var failureMechanism = new StabilityStoneCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var context = new StabilityStoneCoverWaveConditionsCalculationGroupContext(failureMechanism.WaveConditionsCalculationGroup, null, @@ -1751,7 +1751,7 @@ public void ContextMenuStrip_CalculationGroupWithCalculationWithForeshoreProfileAndInputOutOfSync_ContextMenuItemUpdateForeshoreProfilesEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var calculation = new StabilityStoneCoverWaveConditionsCalculation { @@ -1802,7 +1802,7 @@ var calculationInputObserver = mocks.StrictMock(); calculationInputObserver.Expect(o => o.UpdateObserver()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var calculation = new StabilityStoneCoverWaveConditionsCalculation Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/ViewInfos/StabilityStoneCoverWaveConditionsInputViewInfoTest.cs =================================================================== diff -u -redf66e01eb405ea1693646bd32d0139b29b356f4 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/ViewInfos/StabilityStoneCoverWaveConditionsInputViewInfoTest.cs (.../StabilityStoneCoverWaveConditionsInputViewInfoTest.cs) (revision edf66e01eb405ea1693646bd32d0139b29b356f4) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/ViewInfos/StabilityStoneCoverWaveConditionsInputViewInfoTest.cs (.../StabilityStoneCoverWaveConditionsInputViewInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -126,8 +126,8 @@ [Test] [TestCaseSource( - typeof(AssessmentSectionHelper), - nameof(AssessmentSectionHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType))] + typeof(AssessmentSectionTestHelper), + nameof(AssessmentSectionTestHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType))] public void CreateInstance_WithContextThatHasInputWithSpecificCategoryType_ReturnViewWithCorrespondingAssessmentLevel( IAssessmentSection assessmentSection, HydraulicBoundaryLocation hydraulicBoundaryLocation, Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/ImportInfos/WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextImportInfoTest.cs =================================================================== diff -u -rdfa8148a99ace1dccde408a4a3b2e2ce4afe57ca -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/ImportInfos/WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextImportInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextImportInfoTest.cs) (revision dfa8148a99ace1dccde408a4a3b2e2ce4afe57ca) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/ImportInfos/WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextImportInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextImportInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -113,7 +113,7 @@ var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var mocks = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); var context = new WaveImpactAsphaltCoverWaveConditionsCalculationGroupContext(new CalculationGroup(), Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/PropertyInfos/WaveImpactAsphaltCoverWaveConditionsInputContextPropertyInfoTest.cs =================================================================== diff -u -r0eddea1a45f0d9efb0a2a12e90eb99e814d1becb -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/PropertyInfos/WaveImpactAsphaltCoverWaveConditionsInputContextPropertyInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsInputContextPropertyInfoTest.cs) (revision 0eddea1a45f0d9efb0a2a12e90eb99e814d1becb) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/PropertyInfos/WaveImpactAsphaltCoverWaveConditionsInputContextPropertyInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsInputContextPropertyInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -53,8 +53,8 @@ [Test] [TestCaseSource( - typeof(AssessmentSectionHelper), - nameof(AssessmentSectionHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType))] + typeof(AssessmentSectionTestHelper), + nameof(AssessmentSectionTestHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType))] public void CreateInstance_WithContextThatHasInputWithSpecificCategoryType_ExpectedProperties( IAssessmentSection assessmentSection, HydraulicBoundaryLocation hydraulicBoundaryLocation, Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverFailureMechanismContextTreeNodeInfoTest.cs =================================================================== diff -u -rd68597572782f79b39b7d74844040cec22584b6d -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverFailureMechanismContextTreeNodeInfoTest.cs (.../WaveImpactAsphaltCoverFailureMechanismContextTreeNodeInfoTest.cs) (revision d68597572782f79b39b7d74844040cec22584b6d) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverFailureMechanismContextTreeNodeInfoTest.cs (.../WaveImpactAsphaltCoverFailureMechanismContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -527,7 +527,7 @@ var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); failureMechanism.WaveConditionsCalculationGroup.Children.Add(new WaveImpactAsphaltCoverWaveConditionsCalculation()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new WaveImpactAsphaltCoverFailureMechanismContext(failureMechanism, assessmentSection); Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -rb9ae753b52b2b198f264bd2f825d4a66305ad5c9 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision b9ae753b52b2b198f264bd2f825d4a66305ad5c9) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -421,7 +421,7 @@ { // Setup var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new WaveImpactAsphaltCoverWaveConditionsCalculation(); @@ -542,7 +542,7 @@ { // Given var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new WaveImpactAsphaltCoverWaveConditionsCalculation @@ -594,7 +594,7 @@ { // Given var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var parent = new CalculationGroup(); var calculation = new WaveImpactAsphaltCoverWaveConditionsCalculation @@ -700,7 +700,7 @@ public void ContextMenuStrip_CalculationWithoutForeshoreProfile_ContextMenuItemUpdateForeshoreProfileDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var parent = new CalculationGroup(); var calculation = new WaveImpactAsphaltCoverWaveConditionsCalculation(); @@ -738,7 +738,7 @@ public void ContextMenuStrip_CalculationWithForeshoreProfileAndInputInSync_ContextMenuItemUpdateForeshoreProfileDisabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var parent = new CalculationGroup(); var calculation = new WaveImpactAsphaltCoverWaveConditionsCalculation @@ -782,7 +782,7 @@ public void ContextMenuStrip_CalculationWithForeshoreProfileAndInputOutSync_ContextMenuItemUpdateForeshoreProfileEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(); @@ -832,7 +832,7 @@ var calculationInputObserver = mocks.StrictMock(); calculationInputObserver.Expect(o => o.UpdateObserver()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(true); @@ -885,7 +885,7 @@ // Given var calculationObserver = mocks.StrictMock(); var calculationInputObserver = mocks.StrictMock(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(true); @@ -1284,7 +1284,7 @@ { // Given var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new WaveImpactAsphaltCoverWaveConditionsCalculation @@ -1336,7 +1336,7 @@ { // Given var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var parent = new CalculationGroup(); var calculation = new WaveImpactAsphaltCoverWaveConditionsCalculation @@ -1521,7 +1521,7 @@ { // Given var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new WaveImpactAsphaltCoverWaveConditionsCalculation @@ -1574,7 +1574,7 @@ { // Given var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var parent = new CalculationGroup(); var calculation = new WaveImpactAsphaltCoverWaveConditionsCalculation @@ -1626,7 +1626,7 @@ { // Given var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var observer = mocks.Stub(); observer.Expect(o => o.UpdateObserver()); Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -r800b0e5457ba5999d442ef1aad3fefeb112e16b0 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs) (revision 800b0e5457ba5999d442ef1aad3fefeb112e16b0) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -219,7 +219,7 @@ // Setup var group = new CalculationGroup(); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var groupContext = new WaveImpactAsphaltCoverWaveConditionsCalculationGroupContext(group, null, failureMechanism, @@ -272,7 +272,7 @@ // Setup var group = new CalculationGroup(); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var groupContext = new WaveImpactAsphaltCoverWaveConditionsCalculationGroupContext(group, null, failureMechanism, @@ -337,7 +337,7 @@ var group = new CalculationGroup(); var parentGroup = new CalculationGroup(); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var groupContext = new WaveImpactAsphaltCoverWaveConditionsCalculationGroupContext(group, parentGroup, failureMechanism, @@ -395,7 +395,7 @@ var group = new CalculationGroup(); var parentGroup = new CalculationGroup(); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var groupContext = new WaveImpactAsphaltCoverWaveConditionsCalculationGroupContext(group, parentGroup, failureMechanism, @@ -459,7 +459,7 @@ public void ContextMenuStrip_WithoutParentNodeWithoutHydraulicLocationsDefaultBehavior_ReturnContextMenuWithoutRenameRemove() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); @@ -670,7 +670,7 @@ var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var group = new CalculationGroup(); failureMechanism.WaveConditionsCalculationGroup.Children.Add(group); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new WaveImpactAsphaltCoverWaveConditionsCalculationGroupContext(group, failureMechanism.WaveConditionsCalculationGroup, failureMechanism, @@ -710,7 +710,7 @@ var group = new CalculationGroup(); group.Children.Add(new WaveImpactAsphaltCoverWaveConditionsCalculation()); failureMechanism.WaveConditionsCalculationGroup.Children.Add(group); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var nodeData = new WaveImpactAsphaltCoverWaveConditionsCalculationGroupContext(group, failureMechanism.WaveConditionsCalculationGroup, failureMechanism, @@ -751,7 +751,7 @@ group.Children.Add(new WaveImpactAsphaltCoverWaveConditionsCalculation()); failureMechanism.WaveConditionsCalculationGroup.Children.Add(group); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(null, mocks, "invalidFilePath"); var nodeData = new WaveImpactAsphaltCoverWaveConditionsCalculationGroupContext(group, failureMechanism.WaveConditionsCalculationGroup, @@ -1208,7 +1208,7 @@ { // Setup var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mocks, validFilePath); var group = new CalculationGroup(); @@ -1250,7 +1250,7 @@ { // Setup var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mocks, validFilePath); HydraulicBoundaryLocation hydraulicBoundaryLocation = assessmentSection.HydraulicBoundaryDatabase.Locations.First(); @@ -1300,7 +1300,7 @@ { // Setup var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub( + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub( failureMechanism, mocks, validFilePath); var observerA = mocks.StrictMock(); @@ -1378,7 +1378,7 @@ // Setup using (var treeViewControl = new TreeViewControl()) { - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var group = new CalculationGroup(); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); @@ -1674,7 +1674,7 @@ { // Given var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var context = new WaveImpactAsphaltCoverWaveConditionsCalculationGroupContext(failureMechanism.WaveConditionsCalculationGroup, null, @@ -1767,7 +1767,7 @@ public void ContextMenuStrip_CalculationGroupWithCalculationWithForeshoreProfileAndInputOutOfSync_ContextMenuItemUpdateForeshoreProfilesEnabledAndToolTipSet() { // Setup - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var calculation = new WaveImpactAsphaltCoverWaveConditionsCalculation { @@ -1818,7 +1818,7 @@ var calculationInputObserver = mocks.StrictMock(); calculationInputObserver.Expect(o => o.UpdateObserver()); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(mocks); + IAssessmentSection assessmentSection = AssessmentSectionTestHelper.CreateAssessmentSectionStub(mocks); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var calculation = new WaveImpactAsphaltCoverWaveConditionsCalculation Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/ViewInfos/WaveImpactAsphaltCoverWaveConditionsInputViewInfoTest.cs =================================================================== diff -u -redf66e01eb405ea1693646bd32d0139b29b356f4 -r4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3 --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/ViewInfos/WaveImpactAsphaltCoverWaveConditionsInputViewInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsInputViewInfoTest.cs) (revision edf66e01eb405ea1693646bd32d0139b29b356f4) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/ViewInfos/WaveImpactAsphaltCoverWaveConditionsInputViewInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsInputViewInfoTest.cs) (revision 4fc2d8aef4716a3b5c6fb5944fec5769ffdf2ba3) @@ -126,8 +126,8 @@ [Test] [TestCaseSource( - typeof(AssessmentSectionHelper), - nameof(AssessmentSectionHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType))] + typeof(AssessmentSectionTestHelper), + nameof(AssessmentSectionTestHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType))] public void CreateInstance_WithContextThatHasInputWithSpecificCategoryType_ReturnViewWithCorrespondingAssessmentLevel( IAssessmentSection assessmentSection, HydraulicBoundaryLocation hydraulicBoundaryLocation,