Index: Riskeer/Integration/src/Riskeer.Integration.Forms/Controls/AssessmentSectionAssemblyResultControl.cs =================================================================== diff -u -r86671bd69fa809d754e4189fb247fb170f2888f4 -r7b3022d33fb2717787713f30e219a3135b6c3554 --- Riskeer/Integration/src/Riskeer.Integration.Forms/Controls/AssessmentSectionAssemblyResultControl.cs (.../AssessmentSectionAssemblyResultControl.cs) (revision 86671bd69fa809d754e4189fb247fb170f2888f4) +++ Riskeer/Integration/src/Riskeer.Integration.Forms/Controls/AssessmentSectionAssemblyResultControl.cs (.../AssessmentSectionAssemblyResultControl.cs) (revision 7b3022d33fb2717787713f30e219a3135b6c3554) @@ -61,9 +61,9 @@ } /// - /// Clears the messages of the control. + /// Clears the errors of the control. /// - public void ClearMessages() + public void ClearErrors() { errorProvider.SetError(groupLabel, string.Empty); errorProvider.SetError(probabilityLabel, string.Empty); Index: Riskeer/Integration/src/Riskeer.Integration.Forms/Views/AssemblyResultTotalView.cs =================================================================== diff -u -r09486786d73dcf29f225c4aad4a3ac89ca44d21a -r7b3022d33fb2717787713f30e219a3135b6c3554 --- Riskeer/Integration/src/Riskeer.Integration.Forms/Views/AssemblyResultTotalView.cs (.../AssemblyResultTotalView.cs) (revision 09486786d73dcf29f225c4aad4a3ac89ca44d21a) +++ Riskeer/Integration/src/Riskeer.Integration.Forms/Views/AssemblyResultTotalView.cs (.../AssemblyResultTotalView.cs) (revision 7b3022d33fb2717787713f30e219a3135b6c3554) @@ -204,7 +204,7 @@ private void UpdateTotalAssemblyCategoryGroupControl() { assessmentSectionAssemblyControl.ClearAssemblyResult(); - assessmentSectionAssemblyControl.ClearMessages(); + assessmentSectionAssemblyControl.ClearErrors(); try { Index: Riskeer/Integration/test/Riskeer.Integration.Forms.Test/Controls/AssessmentSectionAssemblyResultControlTest.cs =================================================================== diff -u -r86671bd69fa809d754e4189fb247fb170f2888f4 -r7b3022d33fb2717787713f30e219a3135b6c3554 --- Riskeer/Integration/test/Riskeer.Integration.Forms.Test/Controls/AssessmentSectionAssemblyResultControlTest.cs (.../AssessmentSectionAssemblyResultControlTest.cs) (revision 86671bd69fa809d754e4189fb247fb170f2888f4) +++ Riskeer/Integration/test/Riskeer.Integration.Forms.Test/Controls/AssessmentSectionAssemblyResultControlTest.cs (.../AssessmentSectionAssemblyResultControlTest.cs) (revision 7b3022d33fb2717787713f30e219a3135b6c3554) @@ -193,7 +193,7 @@ } [Test] - public void GivenControlWithMessages_WhenMessagesCleared_ThenMessagesCleared() + public void GivenControlWithErrors_WhenErrorsCleared_ThenErrorsCleared() { // Given using (var resultControl = new AssessmentSectionAssemblyResultControl()) @@ -210,7 +210,7 @@ Assert.IsNotEmpty(errorProvider.GetError(probabilityLabel)); // When - resultControl.ClearMessages(); + resultControl.ClearErrors(); // Then Assert.IsEmpty(errorProvider.GetError(groupLabel));