aspnetcore/test/Microsoft.AspNetCore.Mvc.Da.../Internal
Doug Bunting e0e96ce53b
Include parameter type's attributes in ModelMetadata
- #7595
- #7595 relates to #7350 but does not have the same root cause
  - did _not_ revert the src changes in #7350 fix (d995b0418a)
- make non-`[Obsolete]` `ModelAttributes` constructor overload `internal`
  - should generally use `static` methods and not any constructor
  - change some unit tests to use `[Obsolete]` constructor overloads (with suppressions)
- fix test `ParameterBinderExtensions` to use current `ParameterBinder.BindModelAsync(...)` overload
  - found some tests updated `IModelMetadataProvider`, `MvcOptions`, etc. instances but didn't register them in DI
- extend `ModelBindingTestHelper` and `ModelBindingTestContext`
  - reorder some tests to use correct `MvcOptions` and `IModelMetadataProvider` everywhere
  - fixes above issues

nits:
- take a few VS suggestions
- remove an old comment indended only for PR "Reviewers:"
2018-04-17 12:40:38 -07:00
..
CompareAttributeAdapterTest.cs Upgrade test framework versions and fix test issues 2017-05-15 14:11:27 -07:00
DataAnnotationsClientModelValidatorProviderTest.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
DataAnnotationsMetadataProviderTest.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
DataAnnotationsModelValidatorProviderTest.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
DataAnnotationsModelValidatorTest.cs Restore `ModelMetadata.PropertyName != null` behaviour 2018-03-29 07:22:00 -07:00
DataMemberRequiredBindingMetadataProviderTest.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
DataTypeClientModelValidatorProviderTest.cs [Fixes #3904] Redesigned IValueProviderFactory and renamed a few methods 2016-02-03 11:31:05 -08:00
DefaultModelClientValidatorProviderTest.cs [Fixes #3904] Redesigned IValueProviderFactory and renamed a few methods 2016-02-03 11:31:05 -08:00
FileExtensionsAttributeAdapterTest.cs Fixed FileExtensionsAttributeAdapter to trim(whitespaces, dot character) and lowercase the extensions 2017-09-21 14:52:24 -07:00
MaxLengthAttributeAdapterTest.cs Undesign client validation 2016-01-27 09:55:18 -08:00
MinLengthAttributeAdapterTest.cs Undesign client validation 2016-01-27 09:55:18 -08:00
ModelMetadataProviderTest.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
ModelValidationResultComparer.cs Restore `ModelMetadata.PropertyName != null` behaviour 2018-03-29 07:22:00 -07:00
MvcDataAnnotationsMvcOptionsSetup.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
NumericClientModelValidatorTest.cs Restore `ModelMetadata.PropertyName != null` behaviour 2018-03-29 07:22:00 -07:00
RangeAttributeAdapterTest.cs Undesign client validation 2016-01-27 09:55:18 -08:00
RequiredAttributeAdapterTest.cs Undesign client validation 2016-01-27 09:55:18 -08:00
StringLengthAttributeAdapterTest.cs Changed min/max parameter order in StringLengthAttributeAdapter (#4899) 2016-06-27 10:21:50 -07:00
TestModelNameProvider.cs
TestResources.cs Fixes #5198 Stops caching of Enum display values (#5185) 2016-09-07 16:00:17 -07:00
ValidatableObjectAdapterTest.cs Restore `ModelMetadata.PropertyName != null` behaviour 2018-03-29 07:22:00 -07:00
ValidationAttributeAdapterOfTAttributeTest.cs Undesign client validation 2016-01-27 09:55:18 -08:00
ValidationAttributeAdapterProviderTest.cs Undesign client validation 2016-01-27 09:55:18 -08:00