Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/HeightStructuresPluginTest.cs =================================================================== diff -u -r0cc64a130e25bd1cb8ffa996799b2556c7798269 -r65a75a24ebfe5942a69176ea6eaa858c29e6bdd5 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/HeightStructuresPluginTest.cs (.../HeightStructuresPluginTest.cs) (revision 0cc64a130e25bd1cb8ffa996799b2556c7798269) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/HeightStructuresPluginTest.cs (.../HeightStructuresPluginTest.cs) (revision 65a75a24ebfe5942a69176ea6eaa858c29e6bdd5) @@ -22,12 +22,9 @@ using System.Collections.Generic; using System.Linq; using Core.Common.Controls.TreeView; -using Core.Common.Gui; -using Core.Common.Gui.Commands; using Core.Common.Gui.Plugin; using Core.Common.Gui.TestUtil; using NUnit.Framework; -using Rhino.Mocks; using Ringtoets.Common.Data.Calculation; using Ringtoets.Common.Forms.PresentationObjects; using Ringtoets.HeightStructures.Data; Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ExportInfos/StabilityStoneCoverWaveConditionsCalculationContextExportInfoTest.cs =================================================================== diff -u -r3c283d1bc64a0dcc92291152963be2a9e6b8108f -r65a75a24ebfe5942a69176ea6eaa858c29e6bdd5 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ExportInfos/StabilityStoneCoverWaveConditionsCalculationContextExportInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationContextExportInfoTest.cs) (revision 3c283d1bc64a0dcc92291152963be2a9e6b8108f) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ExportInfos/StabilityStoneCoverWaveConditionsCalculationContextExportInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationContextExportInfoTest.cs) (revision 65a75a24ebfe5942a69176ea6eaa858c29e6bdd5) @@ -24,8 +24,8 @@ using Core.Common.Gui; using Core.Common.Gui.Plugin; using NUnit.Framework; -using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; +using Ringtoets.Integration.Data; using Ringtoets.Revetment.IO; using Ringtoets.Revetment.TestUtil; using Ringtoets.StabilityStoneCover.Data; @@ -60,10 +60,7 @@ public void CreateFileExporter_Always_ReturnFileExporter() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var context = new StabilityStoneCoverWaveConditionsCalculationContext(new StabilityStoneCoverWaveConditionsCalculation(), @@ -78,7 +75,6 @@ // Assert Assert.IsInstanceOf(fileExporter); } - mocks.VerifyAll(); } [Test] @@ -101,10 +97,7 @@ public void IsEnabled_StabilityStoneCoverWaveConditionsCalculationHasOutputFalse_ReturnsFalse() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var context = new StabilityStoneCoverWaveConditionsCalculationContext(new StabilityStoneCoverWaveConditionsCalculation(), @@ -119,17 +112,13 @@ // Assert Assert.IsFalse(isEnabled); } - mocks.VerifyAll(); } [Test] public void IsEnabled_StabilityStoneCoverWaveConditionsCalculationHasOutputTrue_ReturnsTrue() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var columnsOutput = new[] { @@ -158,7 +147,6 @@ // Assert Assert.IsTrue(isEnabled); } - mocks.VerifyAll(); } private static ExportInfo GetExportInfo(StabilityStoneCoverPlugin plugin) Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ExportInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextExportInfoTest.cs =================================================================== diff -u -r3c283d1bc64a0dcc92291152963be2a9e6b8108f -r65a75a24ebfe5942a69176ea6eaa858c29e6bdd5 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ExportInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextExportInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationGroupContextExportInfoTest.cs) (revision 3c283d1bc64a0dcc92291152963be2a9e6b8108f) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ExportInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextExportInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationGroupContextExportInfoTest.cs) (revision 65a75a24ebfe5942a69176ea6eaa858c29e6bdd5) @@ -24,9 +24,9 @@ using Core.Common.Gui; using Core.Common.Gui.Plugin; using NUnit.Framework; -using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.Data.Calculation; +using Ringtoets.Integration.Data; using Ringtoets.Revetment.IO; using Ringtoets.Revetment.TestUtil; using Ringtoets.StabilityStoneCover.Data; @@ -61,10 +61,7 @@ public void CreateFileExporter_Always_ReturnFileExporter() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var calculationGroup = new CalculationGroup(); @@ -79,7 +76,6 @@ // Assert Assert.IsInstanceOf(fileExporter); } - mocks.VerifyAll(); } [Test] @@ -102,10 +98,7 @@ public void IsEnabled_NoStabilityStoneCoverWaveConditionsCalculation_ReturnsFalse() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var calculationGroup = new CalculationGroup(); @@ -120,17 +113,13 @@ // Assert Assert.IsFalse(isEnabled); } - mocks.VerifyAll(); } [Test] public void IsEnabled_StabilityStoneCoverWaveConditionsCalculationHasOutputFalse_ReturnsFalse() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var calculationGroup = new CalculationGroup(); calculationGroup.Children.Add(new StabilityStoneCoverWaveConditionsCalculation()); @@ -146,17 +135,13 @@ // Assert Assert.IsFalse(isEnabled); } - mocks.VerifyAll(); } [Test] public void IsEnabled_StabilityStoneCoverWaveConditionsCalculationHasOutputTrue_ReturnsTrue() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var calculationGroup = new CalculationGroup(); var columnsOutput = new[] @@ -184,7 +169,6 @@ // Assert Assert.IsTrue(isEnabled); } - mocks.VerifyAll(); } [Test] @@ -193,10 +177,7 @@ public void IsEnabled_StabilityStoneCoverWaveConditionsCalculationInSubFolder_ReturnsTrueIfHasOutput(bool hasOutput) { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new StabilityStoneCoverFailureMechanism(); var calculationGroup = new CalculationGroup(); @@ -238,7 +219,6 @@ // Assert Assert.AreEqual(hasOutput, isEnabled); } - mocks.VerifyAll(); } private static ExportInfo GetExportInfo(StabilityStoneCoverPlugin plugin) Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ExportInfos/WaveImpactAsphaltCoverWaveConditionsCalculationContextExportInfoTest.cs =================================================================== diff -u -r3c283d1bc64a0dcc92291152963be2a9e6b8108f -r65a75a24ebfe5942a69176ea6eaa858c29e6bdd5 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ExportInfos/WaveImpactAsphaltCoverWaveConditionsCalculationContextExportInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationContextExportInfoTest.cs) (revision 3c283d1bc64a0dcc92291152963be2a9e6b8108f) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ExportInfos/WaveImpactAsphaltCoverWaveConditionsCalculationContextExportInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationContextExportInfoTest.cs) (revision 65a75a24ebfe5942a69176ea6eaa858c29e6bdd5) @@ -24,8 +24,8 @@ using Core.Common.Gui; using Core.Common.Gui.Plugin; using NUnit.Framework; -using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; +using Ringtoets.Integration.Data; using Ringtoets.Revetment.IO; using Ringtoets.Revetment.TestUtil; using Ringtoets.WaveImpactAsphaltCover.Data; @@ -60,10 +60,7 @@ public void CreateFileExporter_Always_ReturnFileExporter() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var context = new WaveImpactAsphaltCoverWaveConditionsCalculationContext(new WaveImpactAsphaltCoverWaveConditionsCalculation(), @@ -78,7 +75,6 @@ // Assert Assert.IsInstanceOf(fileExporter); } - mocks.VerifyAll(); } [Test] @@ -101,10 +97,7 @@ public void IsEnabled_WaveImpactAsphaltCoverWaveConditionsCalculationHasOutputFalse_ReturnsFalse() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var context = new WaveImpactAsphaltCoverWaveConditionsCalculationContext(new WaveImpactAsphaltCoverWaveConditionsCalculation(), @@ -119,17 +112,13 @@ // Assert Assert.IsFalse(isEnabled); } - mocks.VerifyAll(); } [Test] public void IsEnabled_WaveImpactAsphaltCoverWaveConditionsCalculationHasOutputTrue_ReturnsTrue() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var output = new[] { @@ -153,7 +142,6 @@ // Assert Assert.IsTrue(isEnabled); } - mocks.VerifyAll(); } private static ExportInfo GetExportInfo(WaveImpactAsphaltCoverPlugin plugin) Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ExportInfos/WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextExportInfoTest.cs =================================================================== diff -u -r3c283d1bc64a0dcc92291152963be2a9e6b8108f -r65a75a24ebfe5942a69176ea6eaa858c29e6bdd5 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ExportInfos/WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextExportInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextExportInfoTest.cs) (revision 3c283d1bc64a0dcc92291152963be2a9e6b8108f) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ExportInfos/WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextExportInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationGroupContextExportInfoTest.cs) (revision 65a75a24ebfe5942a69176ea6eaa858c29e6bdd5) @@ -24,9 +24,9 @@ using Core.Common.Gui; using Core.Common.Gui.Plugin; using NUnit.Framework; -using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.Data.Calculation; +using Ringtoets.Integration.Data; using Ringtoets.Revetment.IO; using Ringtoets.Revetment.TestUtil; using Ringtoets.WaveImpactAsphaltCover.Data; @@ -61,10 +61,7 @@ public void CreateFileExporter_Always_ReturnFileExporter() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var calculationGroup = new CalculationGroup(); @@ -79,7 +76,6 @@ // Assert Assert.IsInstanceOf(fileExporter); } - mocks.VerifyAll(); } [Test] @@ -102,10 +98,7 @@ public void IsEnabled_NoWaveImpactAsphaltCoverWaveConditionsCalculation_ReturnsFalse() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var calculationGroup = new CalculationGroup(); @@ -120,17 +113,13 @@ // Assert Assert.IsFalse(isEnabled); } - mocks.VerifyAll(); } [Test] public void IsEnabled_WaveImpactAsphaltCoverWaveConditionsCalculationHasOutputFalse_ReturnsFalse() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var calculationGroup = new CalculationGroup(); calculationGroup.Children.Add(new WaveImpactAsphaltCoverWaveConditionsCalculation()); @@ -146,17 +135,13 @@ // Assert Assert.IsFalse(isEnabled); } - mocks.VerifyAll(); } [Test] public void IsEnabled_WaveImpactAsphaltCoverWaveConditionsCalculationHasOutputTrue_ReturnsTrue() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var calculationGroup = new CalculationGroup(); var output = new[] @@ -180,7 +165,6 @@ // Assert Assert.IsTrue(isEnabled); } - mocks.VerifyAll(); } [Test] @@ -189,10 +173,7 @@ public void IsEnabled_WaveImpactAsphaltCoverWaveConditionsCalculationInSubFolder_ReturnsTrueIfHasOutput(bool hasOutput) { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); var calculationGroup = new CalculationGroup(); @@ -228,7 +209,6 @@ // Assert Assert.AreEqual(hasOutput, isEnabled); } - mocks.VerifyAll(); } private static ExportInfo GetExportInfo(WaveImpactAsphaltCoverPlugin plugin)