aspnetcore/test/Microsoft.AspNetCore.Mvc.In...
Doug Bunting 5e245da326
Add compatibility switch controlling parameter metadata and top-level validation
- #7413 part 1 of 2
- made all `ModelMetadataProvider` and `ObjectModelValidator`-specific code conditional
  - fortunately, `MvcOptions` easy to get; affected code is primarily `internal` or pub-`Internal`
  - remove unnecessary `ModelMetadataProvider` use in `ApiBehaviorApplicationModelProvider`
- run integration and functional tests with `CompatibilityVersion.Version_2_1`
  - functional test change depends on @javiercn's recent #7541 fix
  - remove test code now redundantly turning compatibility switches on

nits:
- correct spelling errors in `CompatibilitySwitch`
- take VS suggestions, mostly in test code
- rename methods in `ControllerBinderDelegateProviderTest` to match current API
- slightly refactor in `ApiBehaviorApplicationModelProvider`
2018-03-26 12:29:04 -07:00
..
Models
…
ActionParametersIntegrationTest.cs Improving logging - model binding 2018-01-11 14:51:53 -08:00
ArrayModelBinderIntegrationTest.cs
…
AuthorizeFilterIntegrationTest.cs
…
BindPropertyIntegrationTest.cs
…
BinderTypeBasedModelBinderIntegrationTest.cs
…
BindingSourceMetadataProviderIntegrationTest.cs
…
BodyValidationIntegrationTests.cs Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -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 Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
DictionaryModelBinderIntegrationTest.cs Do not bind `"[index]"` in `CollectionModelBinder` subsetting feature 2018-03-19 12:53:05 -07:00
ExcludeBindingMetadataProviderIntegrationTest.cs
…
FormCollectionModelBindingIntegrationTest.cs
…
FormFileModelBindingIntegrationTest.cs
…
GenericModelBinderIntegrationTest.cs
…
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
…
Microsoft.AspNetCore.Mvc.IntegrationTests.csproj
…
ModelBindingTestContext.cs
…
ModelBindingTestHelper.cs Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
ModelPrefixSelectionIntegrationTest.cs
…
ParameterBinderExtensions.cs
…
ProductValidatorAttribute.cs
…
ServicesModelBinderIntegrationTest.cs
…
SimpleTypeModelBinderIntegrationTest.cs
…
TestMvcOptions.cs
…
TryUpdateModelIntegrationTest.cs
…
TryValidateModelIntegrationTest.cs
…
ValidationIntegrationTests.cs
…