Index: Riskeer/StabilityStoneCover/src/Riskeer.StabilityStoneCover.Forms/StabilityStoneCoverCalculationConfigurationHelper.cs
===================================================================
diff -u -r50e1d812cc1052ab89ed516efb97991d03287634 -r10be395ed5597b4b8a96c6cf3f3b5edf4b19c628
--- Riskeer/StabilityStoneCover/src/Riskeer.StabilityStoneCover.Forms/StabilityStoneCoverCalculationConfigurationHelper.cs (.../StabilityStoneCoverCalculationConfigurationHelper.cs) (revision 50e1d812cc1052ab89ed516efb97991d03287634)
+++ Riskeer/StabilityStoneCover/src/Riskeer.StabilityStoneCover.Forms/StabilityStoneCoverCalculationConfigurationHelper.cs (.../StabilityStoneCoverCalculationConfigurationHelper.cs) (revision 10be395ed5597b4b8a96c6cf3f3b5edf4b19c628)
@@ -42,7 +42,7 @@
///
/// Locations to base the calculation upon.
/// The list to update.
- /// The to set the category type input for.
+ /// The to set the water level type input for.
/// Throw when any
/// or is null.
/// Thrown when is an invalid value.
@@ -72,11 +72,11 @@
///
/// Creates a calculation and sets the
- /// and the category type on its input.
+ /// and the water level type on its input.
///
/// The to set.
/// The list of calculations to base the calculation name from.
- /// The to base the category type input on.
+ /// The to base the water level type input on.
/// An representing a stability stone cover calculation.
/// Thrown when is an invalid value.
/// Thrown when is a valid value,
Index: Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Forms/WaveImpactAsphaltCoverWaveConditionsCalculationConfigurationHelper.cs
===================================================================
diff -u -r50e1d812cc1052ab89ed516efb97991d03287634 -r10be395ed5597b4b8a96c6cf3f3b5edf4b19c628
--- Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Forms/WaveImpactAsphaltCoverWaveConditionsCalculationConfigurationHelper.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationConfigurationHelper.cs) (revision 50e1d812cc1052ab89ed516efb97991d03287634)
+++ Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Forms/WaveImpactAsphaltCoverWaveConditionsCalculationConfigurationHelper.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationConfigurationHelper.cs) (revision 10be395ed5597b4b8a96c6cf3f3b5edf4b19c628)
@@ -42,7 +42,7 @@
///
/// Locations to base the calculation upon.
/// The list to update.
- /// The to set the category type input for.
+ /// The to set the water level type input for.
/// Throw when any input parameter is null.
/// Thrown when is an invalid value.
/// Thrown when is a valid value,
@@ -71,11 +71,11 @@
///
/// Creates a calculation and sets the
- /// and the category type on its input.
+ /// and the water level type on its input.
///
/// The to set.
/// The list of calculations to base the calculation name from.
- /// The to base the category type input on.
+ /// The to base the water level type input on.
/// An representing a wave impact asphalt cover calculation.
/// Thrown when is an invalid value.
/// Thrown when is a valid value,
Index: Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Forms.Test/WaveImpactAsphaltCoverWaveConditionsCalculationConfigurationHelperTest.cs
===================================================================
diff -u -rcfab785127fbc85d91c6bb2f259777e537448630 -r10be395ed5597b4b8a96c6cf3f3b5edf4b19c628
--- Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Forms.Test/WaveImpactAsphaltCoverWaveConditionsCalculationConfigurationHelperTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationConfigurationHelperTest.cs) (revision cfab785127fbc85d91c6bb2f259777e537448630)
+++ Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Forms.Test/WaveImpactAsphaltCoverWaveConditionsCalculationConfigurationHelperTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationConfigurationHelperTest.cs) (revision 10be395ed5597b4b8a96c6cf3f3b5edf4b19c628)
@@ -43,12 +43,10 @@
var calculations = new List();
// Call
- TestDelegate test = () => WaveImpactAsphaltCoverWaveConditionsCalculationConfigurationHelper.AddCalculationsFromLocations(null,
- calculations,
- random.NextEnumValue());
+ void Call() => WaveImpactAsphaltCoverWaveConditionsCalculationConfigurationHelper.AddCalculationsFromLocations(null, calculations, random.NextEnumValue());
// Assert
- string paramName = Assert.Throws(test).ParamName;
+ string paramName = Assert.Throws(Call).ParamName;
Assert.AreEqual("locations", paramName);
}
@@ -60,12 +58,10 @@
IEnumerable locations = Enumerable.Empty();
// Call
- TestDelegate test = () => WaveImpactAsphaltCoverWaveConditionsCalculationConfigurationHelper.AddCalculationsFromLocations(locations,
- null,
- random.NextEnumValue());
+ void Call() => WaveImpactAsphaltCoverWaveConditionsCalculationConfigurationHelper.AddCalculationsFromLocations(locations, null, random.NextEnumValue());
// Assert
- string paramName = Assert.Throws(test).ParamName;
+ string paramName = Assert.Throws(Call).ParamName;
Assert.AreEqual("calculations", paramName);
}