Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Helpers/FailureMechanismSectionResultRowHelperTest.cs =================================================================== diff -u -rd7696913d8f9239cb80eb2c3bac6cc0ccf23d479 -rc7425b8f799095f2dc812351e14103931c672fba --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Helpers/FailureMechanismSectionResultRowHelperTest.cs (.../FailureMechanismSectionResultRowHelperTest.cs) (revision d7696913d8f9239cb80eb2c3bac6cc0ccf23d479) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Helpers/FailureMechanismSectionResultRowHelperTest.cs (.../FailureMechanismSectionResultRowHelperTest.cs) (revision c7425b8f799095f2dc812351e14103931c672fba) @@ -36,15 +36,15 @@ public class FailureMechanismSectionResultRowHelperTest { [Test] - public void ShowAssessmentLayerTwoAErrors_WithAssessmentLayerOneAndDataGridViewCellNull_ThrowsArgumentNullException() + public void SetDetailedAssessmentError_WithAssessmentLayerOneAndDataGridViewCellNull_ThrowsArgumentNullException() { // Setup var mockRepository = new MockRepository(); var calculation = mockRepository.Stub(); mockRepository.ReplayAll(); // Call - TestDelegate call = () => FailureMechanismSectionResultRowHelper.SetAssessmentLayerTwoAError(null, + TestDelegate call = () => FailureMechanismSectionResultRowHelper.SetDetailedAssessmentError(null, AssessmentLayerOneState.Sufficient, 0.0, calculation); @@ -60,14 +60,14 @@ [TestCaseSource(nameof(AssessmentLayerOneStateIsNotSufficientAndCalculationNull))] [TestCaseSource(nameof(AssessmentLayerOneStateIsNotSufficientAndCalculationWithoutOutput))] [TestCaseSource(nameof(AssessmentLayerOneStateIsNotSufficientAndCalculationWithOutput))] - public void SetAssessmentLayerTwoAError_WithAssessmentLayerOne_SetsErrorText(DataGridViewCell dataGridViewCell, + public void SetDetailedAssessmentError_WithAssessmentLayerOne_SetsErrorText(DataGridViewCell dataGridViewCell, AssessmentLayerOneState passedAssessmentLayerOne, double assessmentLayerTwoA, ICalculation normativeCalculation, string expectedErrorText) { // Call - FailureMechanismSectionResultRowHelper.SetAssessmentLayerTwoAError(dataGridViewCell, + FailureMechanismSectionResultRowHelper.SetDetailedAssessmentError(dataGridViewCell, passedAssessmentLayerOne, assessmentLayerTwoA, normativeCalculation); @@ -77,15 +77,15 @@ } [Test] - public void ShowAssessmentLayerTwoAErrors_WithSimpleAssessmentValidityOnlyAndDataGridViewCellNull_ThrowsArgumentNullException() + public void SetDetailedAssessmentError_WithSimpleAssessmentValidityOnlyAndDataGridViewCellNull_ThrowsArgumentNullException() { // Setup var mockRepository = new MockRepository(); var calculation = mockRepository.Stub(); mockRepository.ReplayAll(); // Call - TestDelegate call = () => FailureMechanismSectionResultRowHelper.SetAssessmentLayerTwoAError(null, + TestDelegate call = () => FailureMechanismSectionResultRowHelper.SetDetailedAssessmentError(null, SimpleAssessmentResultValidityOnlyType.NotApplicable, 0.0, calculation); @@ -108,7 +108,7 @@ string expectedErrorText) { // Call - FailureMechanismSectionResultRowHelper.SetAssessmentLayerTwoAError(dataGridViewCell, + FailureMechanismSectionResultRowHelper.SetDetailedAssessmentError(dataGridViewCell, simpleAssessmentResult, assessmentLayerTwoA, normativeCalculation);