Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/GuiServices/HydraulicBoundaryLocationCalculationGuiServiceTest.cs =================================================================== diff -u -r4c53b613a3442fb69a60cf60840cd87b04c0dc86 -rce190360da30edf73fb464cc0fea1d9a795aa5d4 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/GuiServices/HydraulicBoundaryLocationCalculationGuiServiceTest.cs (.../HydraulicBoundaryLocationCalculationGuiServiceTest.cs) (revision 4c53b613a3442fb69a60cf60840cd87b04c0dc86) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/GuiServices/HydraulicBoundaryLocationCalculationGuiServiceTest.cs (.../HydraulicBoundaryLocationCalculationGuiServiceTest.cs) (revision ce190360da30edf73fb464cc0fea1d9a795aa5d4) @@ -81,7 +81,7 @@ var guiService = new HydraulicBoundaryLocationCalculationGuiService(viewParent); // Call - TestDelegate test = () => guiService.CalculateDesignWaterLevels(null, Enumerable.Empty(), "", 1, null); + TestDelegate test = () => guiService.CalculateDesignWaterLevels(null, Enumerable.Empty(), "", 1, null); // Assert string paramName = Assert.Throws(test).ParamName; @@ -179,7 +179,7 @@ var guiService = new HydraulicBoundaryLocationCalculationGuiService(viewParent); // Call - Action call = () => guiService.CalculateDesignWaterLevels(validDatabasePath, Enumerable.Empty(), "", 1, calculationMessageProviderMock); + Action call = () => guiService.CalculateDesignWaterLevels(validDatabasePath, Enumerable.Empty(), "", 1, calculationMessageProviderMock); // Assert TestHelper.AssertLogMessagesCount(call, 0); @@ -206,7 +206,7 @@ var guiService = new HydraulicBoundaryLocationCalculationGuiService(viewParent); // Call - bool successfulCalculation = guiService.CalculateDesignWaterLevels(validDatabasePath, Enumerable.Empty(), "", 1, calculationMessageProviderMock); + bool successfulCalculation = guiService.CalculateDesignWaterLevels(validDatabasePath, Enumerable.Empty(), "", 1, calculationMessageProviderMock); // Assert Assert.IsTrue(successfulCalculation); @@ -238,7 +238,7 @@ // Call Action call = () => guiService.CalculateDesignWaterLevels(validDatabasePath, - new List() + new List() { new HydraulicBoundaryLocation(1, hydraulicLocationName, 2, 3) }, @@ -283,7 +283,7 @@ // Call bool successfulCalculation = guiService.CalculateDesignWaterLevels(validDatabasePath, - new List + new List { new HydraulicBoundaryLocation(1, hydraulicLocationName, 2, 3) }, @@ -304,7 +304,7 @@ var guiService = new HydraulicBoundaryLocationCalculationGuiService(viewParent); // Call - TestDelegate test = () => guiService.CalculateWaveHeights(null, Enumerable.Empty(), "", 1, null); + TestDelegate test = () => guiService.CalculateWaveHeights(null, Enumerable.Empty(), "", 1, null); // Assert string paramName = Assert.Throws(test).ParamName; @@ -349,7 +349,7 @@ var guiService = new HydraulicBoundaryLocationCalculationGuiService(viewParent); // Call - Action call = () => guiService.CalculateWaveHeights(databasePath, Enumerable.Empty(), "", 1, calculationMessageProviderMock); + Action call = () => guiService.CalculateWaveHeights(databasePath, Enumerable.Empty(), "", 1, calculationMessageProviderMock); // Assert TestHelper.AssertLogMessages(call, messages => @@ -375,7 +375,7 @@ var guiService = new HydraulicBoundaryLocationCalculationGuiService(viewParent); // Call - bool successfulCalculation = guiService.CalculateWaveHeights(databasePath, Enumerable.Empty(), "", 1, calculationMessageProviderMock); + bool successfulCalculation = guiService.CalculateWaveHeights(databasePath, Enumerable.Empty(), "", 1, calculationMessageProviderMock); // Assert Assert.IsFalse(successfulCalculation); @@ -402,7 +402,7 @@ var guiService = new HydraulicBoundaryLocationCalculationGuiService(viewParent); // Call - Action call = () => guiService.CalculateWaveHeights(validDatabasePath, Enumerable.Empty(), "", 1, calculationMessageProviderMock); + Action call = () => guiService.CalculateWaveHeights(validDatabasePath, Enumerable.Empty(), "", 1, calculationMessageProviderMock); // Assert TestHelper.AssertLogMessagesCount(call, 0); @@ -429,7 +429,7 @@ var guiService = new HydraulicBoundaryLocationCalculationGuiService(viewParent); // Call - bool succesfulCalculation = guiService.CalculateWaveHeights(validDatabasePath, Enumerable.Empty(), "", 1, calculationMessageProviderMock); + bool succesfulCalculation = guiService.CalculateWaveHeights(validDatabasePath, Enumerable.Empty(), "", 1, calculationMessageProviderMock); // Assert Assert.IsTrue(succesfulCalculation); @@ -461,7 +461,7 @@ // Call Action call = () => guiService.CalculateWaveHeights(validDatabasePath, - new List() + new List() { new HydraulicBoundaryLocation(1, hydraulicLocationName, 2, 3) }, @@ -506,7 +506,7 @@ // Call bool successfulCalculation = guiService.CalculateWaveHeights(validDatabasePath, - new List + new List { new HydraulicBoundaryLocation(1, hydraulicLocationName, 2, 3) },