File tree Expand file tree Collapse file tree
tests/MADE.Data.Validation.FluentValidation.Tests/Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -179,20 +179,23 @@ public void ShouldValidateComplexObjectWithMultipleValidators()
179179 }
180180 }
181181
182+ [ ExcludeFromCodeCoverage ]
182183 public class Person
183184 {
184185 public string Name { get ; set ; }
185186
186187 public DateTime ? DateOfBirth { get ; set ; }
187188 }
188189
190+ [ ExcludeFromCodeCoverage ]
189191 public class Staff : Person
190192 {
191193 public string JobTitle { get ; set ; }
192194
193195 public string Department { get ; set ; }
194196 }
195197
198+ [ ExcludeFromCodeCoverage ]
196199 public class PersonValidator : AbstractValidator < Person >
197200 {
198201 public const string DateOfBirthValidationMessage = "Please specify a valid date of birth" ;
@@ -207,6 +210,7 @@ public PersonValidator()
207210 }
208211 }
209212
213+ [ ExcludeFromCodeCoverage ]
210214 public class StaffValidator : AbstractValidator < Staff > , IValidator < Person >
211215 {
212216 public const string JobTitleValidationMessage = "Please specify a job title" ;
You can’t perform that action at this time.
0 commit comments