aspnetcore/test/Microsoft.AspNetCore.Mvc.In...
Doug Bunting 390ebbb258
Do not bind `"[index]"` in `CollectionModelBinder` subsetting feature
- #7091
- add `IKeyRewriterValueProvider` to remove rewritten keys or value providers containing such keys
  - similar to `IBindingSourceValueProvider` except `CompositeValueProvider` keeps non-implementers around
- remove `after.Order == before.Order` special cases
  - a premature optimization that could lead to lost inner provider replacements
  - rework `EnumerableValueProviderTest` to ease test override in `CompositeValueProviderTest`
- add `EmptyValueProvider` fields to reduce `CompositeValueProvider` allocations

nits:
- remove Linq use in `CompositeValueProvider`
- do not create an unnecessary dictionary in `CompositeValueProvider.Filter(...)` methods
- accept VS suggestions, mostly pattern matching
2018-03-19 12:53:05 -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 Support validation and BindBehavior on top-level action parameters and bound properties. Fixes #6790 2017-09-22 10:13:48 +01:00
BinderTypeBasedModelBinderIntegrationTest.cs Remove TaskCache and TaskCacheOfT 2017-06-08 08:19:20 -07:00
BindingSourceMetadataProviderIntegrationTest.cs
BodyValidationIntegrationTests.cs Move option for JSON errors to MvcJsonOptions 2018-01-07 21:48:58 -08: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 Minor test code changes to resolve xUnit2013 build error 2017-10-05 16:04:20 -07:00
DictionaryModelBinderIntegrationTest.cs Do not bind `"[index]"` in `CollectionModelBinder` subsetting feature 2018-03-19 12:53:05 -07:00
ExcludeBindingMetadataProviderIntegrationTest.cs Fixing ExcludeBindingMetadataProvider unit test (#6113) 2017-04-27 11:42:06 -07:00
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 [Fixes #5859] Consider allowing binding header values to types other than string and string collections 2018-01-30 11:47:16 -08: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 Make [FromBody] treat empty request bodies as invalid (#4750) 2017-04-10 16:55:14 +01:00
ModelBindingTestHelper.cs [Fixes #7412] AspNetCore 2.1 breaks integration with 3rd party validation libraries 2018-03-13 02:07:56 -07:00
ModelPrefixSelectionIntegrationTest.cs Minor test code changes to resolve xUnit2013 build error 2017-10-05 16:04:20 -07:00
ParameterBinderExtensions.cs Support validation and BindBehavior on top-level action parameters and bound properties. Fixes #6790 2017-09-22 10:13:48 +01:00
ProductValidatorAttribute.cs
ServicesModelBinderIntegrationTest.cs Upgrade to xunit 2.3.0-beta4 2017-08-17 10:45:03 -07:00
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 Upgrade to xunit 2.3.0-beta4 2017-08-17 10:45:03 -07:00
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