aspnetcore/test/Microsoft.AspNetCore.Mvc.In...
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
..
Models
ActionParametersIntegrationTest.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
ArrayModelBinderIntegrationTest.cs
AuthorizeFilterIntegrationTest.cs Use ModelMetadataProvider to infer BindingSource on application model 2018-04-02 09:48:49 -07:00
BindPropertyIntegrationTest.cs
BinderTypeBasedModelBinderIntegrationTest.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
BindingSourceMetadataProviderIntegrationTest.cs
BodyValidationIntegrationTests.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
ByteArrayModelBinderIntegrationTest.cs
CancellationTokenModelBinderIntegrationTest.cs
CollectionModelBinderIntegrationTest.cs Do not bind `"[index]"` in `CollectionModelBinder` subsetting feature 2018-03-19 12:53:05 -07:00
CompanyNameAttribute.cs
ComplexTypeModelBinderIntegrationTest.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
DictionaryModelBinderIntegrationTest.cs Fix binding & validating dictionaries of non-simple types in jQuery requests 2018-04-14 10:41:00 -07:00
ExcludeBindingMetadataProviderIntegrationTest.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
FormCollectionModelBindingIntegrationTest.cs
FormFileModelBindingIntegrationTest.cs
GenericModelBinderIntegrationTest.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
HeaderModelBinderIntegrationTest.cs Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
JQueryFormatModelBindingIntegrationTest.cs Added JQueryQueryStringValueProviderFactory and JQueryQueryStringValueProvider 2018-03-12 16:40:04 -07:00
KeyValuePairModelBinderIntegrationTest.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
Microsoft.AspNetCore.Mvc.IntegrationTests.csproj
ModelBindingTestContext.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
ModelBindingTestHelper.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
ModelPrefixSelectionIntegrationTest.cs
ParameterBinderExtensions.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
ProductValidatorAttribute.cs
ServicesModelBinderIntegrationTest.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
SimpleTypeModelBinderIntegrationTest.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
TestMvcOptions.cs
TryUpdateModelIntegrationTest.cs
TryValidateModelIntegrationTest.cs
ValidationIntegrationTests.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00