aspnetcore/test/Microsoft.AspNetCore.Mvc.Co.../ModelBinding
Doug Bunting 4cca6b09f0 Reduce allocations during HTML generation
- #3918
- precompute size of `StringBuilder` in `ExpressionHelper`
- reduce `string` allocations in `ViewDataEvaluator`
 - also get rid of `Enumeration` state machines
- reduce the size of a few objects; use more expression-valued properties
 - e.g. don't store `_modelType` in `ModelExplorer`
- add `EmptyArray<TElement>`; make empty arrays consistently `static`
- avoid `string.Split()` in HTML and tag helpers

nits:
- make `ExpressionHelperTest` tests more stringent
- correct `Message` for an `ArgumentNullException`
- remove excess `using`s in classes I touched (but often ended up leaving otherwise unchanged)
- improve doc comments
- remove `ToString()` call on a `string`
- avoid encoding `string.Empty`
- fix test file name
- remove useless variables
- correct spelling
- improve whitespace
2016-10-03 12:17:47 -07:00
..
Binders Get rid of some duplicate test data 2016-09-21 14:52:52 -07:00
Metadata Make tests resilient to Localization (#5011) 2016-07-14 09:28:01 -07:00
Validation
BindingSourceValueProviderTest.cs Make tests resilient to Localization (#5011) 2016-07-14 09:28:01 -07:00
CompositeValueProviderTest.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
DefaultModelBindingContextTest.cs
EnumerableValueProviderTest.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
FormValueProviderFactoryTest.cs
FormValueProviderTest.cs
JQueryFormValueProviderFactoryTest.cs
JQueryFormValueProviderTest.cs
ModelBinderFactoryTest.cs Fail more gracefully when option collections cleared 2016-06-30 14:52:50 -07:00
ModelBindingHelperTest.cs ModelBinding: Remove IsReadOnly checks and add/update tests 2016-08-04 14:20:23 -07:00
ModelBindingResultTest.cs Remove Key from ModelBindingResult 2016-05-23 13:17:19 -07:00
QueryStringValueProviderFactoryTest.cs
QueryStringValueProviderTest.cs
RouteValueProviderTests.cs
StubModelBinder.cs Make ModelBindingContext.Result non-nullable 2016-05-23 14:18:34 -07:00
TestModelBinderProviderContext.cs Use type metadata for `ModelBinderProviderContext.BindingInfo` 2016-05-27 23:00:29 -07:00
TestValueProvider.cs
UnsupportedContentTypeFilterTest.cs