aspnetcore/test
Doug Bunting 3fd4991959 Bind to readonly non-`null` collections
- part 1/2 of #2294
- handle readonly non-`null` collections in relevant binders
 - `CollectionModelBinder.CopyToModel()` and `MutableObjectModelBinder.AddToProperty()` methods
 - handle read-only controller properties in `DefaultControllerActionArgumentBinder`
 - do not copy into arrays e.g. add `CopyToModel()` override in `ArrayModelBinder`
- remove ability to set a private controller property
 - confirm `SetMethod.IsPublic` in `DefaultControllerActionArgumentBinder`
- avoid NREs in `GetModel()` overrides

Test handling of readonly collections
- previous tests barely touched this scenario
- also add more tests setting controller properties

nits:
- add missing `[NotNull]` attributes
- add missing doc comments
- consolidate a few `[Fact]`s into `[Theory]`s
- simplify some wrapping; shorten a few lines
- remove dead code in `DefaultControllerActionArgumentBinder` and `ControllerActionArgumentBinderTests`
2015-04-23 20:11:09 -07:00
..
Microsoft.AspNet.JsonPatch.Test
Microsoft.AspNet.Mvc.Common.Test
Microsoft.AspNet.Mvc.Core.Test Bind to readonly non-`null` collections 2015-04-23 20:11:09 -07:00
Microsoft.AspNet.Mvc.FunctionalTests Added functionaltests for JsonPatchDocument 2015-04-22 13:44:25 -07:00
Microsoft.AspNet.Mvc.IntegrationTests The model state keys for body bound models which are bound at property will use the entire model name with this change for example 2015-04-22 14:02:08 -07:00
Microsoft.AspNet.Mvc.ModelBinding.Test Bind to readonly non-`null` collections 2015-04-23 20:11:09 -07:00
Microsoft.AspNet.Mvc.Razor.Host.Test
Microsoft.AspNet.Mvc.Razor.Test [Fixes #2085] Using custom HtmlEncoder in unit tests 2015-04-23 13:16:27 -07:00
Microsoft.AspNet.Mvc.TagHelpers.Test [Fixes #1489] Support for named route in form tag helper 2015-04-23 17:08:38 -07:00
Microsoft.AspNet.Mvc.Test
Microsoft.AspNet.Mvc.TestCommon Handle FileProviders package changes. 2015-04-23 12:56:10 -07:00
Microsoft.AspNet.Mvc.WebApiCompatShimTest
Microsoft.AspNet.Mvc.Xml.Test
WebSites Handle FileProviders package changes. 2015-04-23 12:56:10 -07:00