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 Add CombineAuthorizeFilters option 2018-01-08 11:59:30 -08:00
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 Minor test code changes to resolve xUnit2013 build error 2017-10-05 16:04:20 -07:00
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 Minor test code changes to resolve xUnit2013 build error 2017-10-05 16:04:20 -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 Minor test code changes to resolve xUnit2013 build error 2017-10-05 16:04:20 -07:00
Microsoft.AspNetCore.Mvc.IntegrationTests.csproj Update samples and tests to target netcoreapp2.1 2017-11-13 14:58:40 -08:00
ModelBindingTestContext.cs
ModelBindingTestHelper.cs Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
ModelPrefixSelectionIntegrationTest.cs Minor test code changes to resolve xUnit2013 build error 2017-10-05 16:04:20 -07:00
ParameterBinderExtensions.cs
ProductValidatorAttribute.cs
ServicesModelBinderIntegrationTest.cs
SimpleTypeModelBinderIntegrationTest.cs Minor test code changes to resolve xUnit2013 build error 2017-10-05 16:04:20 -07:00
TestMvcOptions.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
TryUpdateModelIntegrationTest.cs
TryValidateModelIntegrationTest.cs Adds test for proposal in #7014 2017-11-22 07:50:37 -08:00
ValidationIntegrationTests.cs Minor test code changes to resolve xUnit2013 build error 2017-10-05 16:04:20 -07:00