aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test
Doug Bunting 715a0b6021 Add `ModelState` entries for greedy and type-matching model binders
- part II of II for #2445
- `FormCollectionModelBinder` is an exception because container is not user-provided
 - no `ModelState` entry added
- enable tests that #2445 was blocking
 - fix these and other tests expecting different `ModelState` entries
- simplify logic in `FormFileModelBinder`

`ValueProviderResult`
- remove `protected` setters and parameterless constructor
 - no scenario for their use in subclasses; however `ConvertTo()` remains `virtual`
- add single-parameter constructor
 - use in most of the greedy and type-matching model binders
- add doc comments throughout class

nits:
- use new `ValueProviderResult` constructor in many existing tests
- `""` -> `string.Empty` and `vpr` -> `valueProviderResult` in `ValueProviderResultTest`
- improve some test names in `BodyValidationIntegrationTests`
- do not check `Message` of a Json.NET `Exception`
2015-06-23 22:34:55 -07:00
..
ApplicationModel [Fixes #2700] Added HttpHeadAttribute 2015-06-17 12:58:02 -07:00
Internal Split Mvc.Core 2015-06-09 02:12:13 -07:00
ModelBinding Add `ModelState` entries for greedy and type-matching model binders 2015-06-23 22:34:55 -07:00
Properties Split Mvc.Core 2015-06-09 02:12:13 -07:00
Routing
ActionExecutorTests.cs
BindAttributeTest.cs
ControllerActionArgumentBinderTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ControllerActionDescriptorBuilderTest.cs
ControllerActionDescriptorProviderTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ControllerActionInvokerTest.cs [Fixes #2409] Return EmptyResult for void actions 2015-06-11 11:51:51 -07:00
DefaultActionSelectorTests.cs [Fixes #2700] Added HttpHeadAttribute 2015-06-17 12:58:02 -07:00
DefaultAssemblyProviderTests.cs
DefaultControllerActivatorTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
DefaultControllerFactoryTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
DefaultControllerTypeProviderTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
DefaultFilterProviderTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ExcludeTypeValidationFilterExtensionsTests.cs
FilterCollectionExtensionsTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
FlushReportingStream.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HttpMethodProviderAttributesTests.cs [Fixes #2700] Added HttpHeadAttribute 2015-06-17 12:58:02 -07:00
HttpResponseStreamWriterTest.cs
KnownRouteValueConstraintTests.cs
Microsoft.AspNet.Mvc.Core.Test.xproj
MockMvcOptionsAccessor.cs
MockScopedInstance.cs
ModelBindingHelperTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
MvcCoreServiceCollectionExtensionsTest.cs Adding an 'AddMinimalMvc()' for Mvc.Core and sample 2015-06-12 11:29:47 -07:00
MvcOptionsTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
MvcRouteHandlerTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
NoContentFormatterTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
NonDisposableStreamTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ObjectResultTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
OutputFormatterTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
RouteDataActionConstraintTest.cs
RouteTemplateProviderAttributesTest.cs [Fixes #2700] Added HttpHeadAttribute 2015-06-17 12:58:02 -07:00
ScopedInstanceTest.cs
SessionStateTempDataProviderTest.cs
SimpleTypeExcludeFilterTest.cs
StreamOutputFormatterTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
StringOutputFormatterTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
TempDataDictionaryTest.cs
TestController.cs
UrlHelperTest.cs
project.json