aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test
Ryan Nowak 42df4cf2ed Fix for #1538 and #1891
Changes here are all focused around MaxModelErrors on
ModelStateDictionary.

MaxAllowedErrors now defaults to 200 (same as options). This means that
constructing a new ModelStateDictionary with the default constructor will
use this default. There's a new constructor for creating a
MaxAllowedErrors with a non-default value.

The ControllerActionArgumentBinder is now responsible for setting the
value from options onto ActionContext.ModelState. This results in better
layering and guarantees the option is respected if someone uses
extensibility to call model binding.

ModelStateDictionary.CanAddErrors is renamed to MaxErrorsReached. We
wanted to change the behavior of this property, but realized that it's
very useful inside the model validation code, so opted to renamed.

There's also a bunch of doc cleanup inside ModelStateDictionary to
simplify things and improve clarity.
2015-01-28 16:53:28 -08:00
..
ActionResults Added StatusCode property to OutputFormatterContext 2015-01-26 17:32:04 -08:00
AntiXsrf
ApplicationModel Provided a way to add data to ActionDescriptor from ApplicationModel. 2015-01-26 15:20:02 -08:00
Description Adds parameter information to ApiExplorer 2015-01-22 13:30:41 -08:00
Filters
Formatters Add SerializerSettings property to Xml DataContractSerializer input and output formatters. 2015-01-28 23:50:16 +01:00
Internal Handle trailing semicolon after @inject. 2015-01-22 14:01:10 -08:00
Logging
OptionDescriptors
ParameterBinding Fix for #1538 and #1891 2015-01-28 16:53:28 -08:00
Properties
Rendering Add a custom collection type for ModelMetadata.Properties 2015-01-26 14:36:40 -08:00
Routing
TestFiles
Utils
ViewComponents Issue #1525 - Enhancements to ActionContext 2015-01-27 14:35:31 -08:00
ActionConstraintValuesTest.cs
ActionDescriptorValuesTest.cs
ActionExecutorTests.cs
ActionModelValuesTest.cs
ApiExplorerModelValuesTest.cs
AttributeRouteInfoValuesTest.cs
AttributeRouteModelValuesTest.cs
BodyModelBinderTests.cs
ConsumesAttributeTests.cs
ControllerActionDescriptorBuilderTest.cs Provided a way to add data to ActionDescriptor from ApplicationModel. 2015-01-26 15:20:02 -08:00
ControllerActionDescriptorProviderTests.cs Add ApiExplorer details to ApplicationModel 2015-01-26 14:47:11 -08:00
ControllerActionInvokerTest.cs Fix for #1538 and #1891 2015-01-28 16:53:28 -08:00
ControllerModelValuesTest.cs
ControllerTests.cs
ControllerUnitTestabilityTests.cs
DefaultActionDescriptorCollectionProviderLoggingTest.cs
DefaultActionSelectorSelectAsyncValuesTest.cs
DefaultActionSelectorTests.cs
DefaultAssemblyProviderTests.cs
DefaultControllerActivatorTest.cs Issue #1525 - Enhancements to ActionContext 2015-01-27 14:35:31 -08:00
DefaultControllerFactoryTest.cs
DefaultInputFormatterSelectorTests.cs
DefaultViewComponentActivatorTests.cs Issue #1525 - Enhancements to ActionContext 2015-01-27 14:35:31 -08:00
FilterDescriptorValuesTest.cs
FilterValuesTest.cs
HttpMethodProviderAttributesTests.cs
JsonResultTest.cs [Fixes#1792]Separate XML serializers to Microsoft.AspNet.Mvc.Xml 2015-01-22 15:09:20 -08:00
KnownRouteValueConstraintTests.cs
Microsoft.AspNet.Mvc.Core.Test.kproj [cleanup] Update .gitignore and reset .kproj files 2015-01-21 22:03:23 -08:00
MockModelBinderProvider.cs
MockModelValidatorProviderProvider.cs
MockMvcOptionsAccessor.cs
MockScopedInstance.cs
MockValueProviderFactoryProvider.cs
MvcOptionsTests.cs
MvcRouteHandlerTests.cs
RequireHttpsAttributeTests.cs
ResponseCacheAttributeTest.cs
RouteConstraintProviderValuesTest.cs
RouteDataActionConstraintTest.cs
RouteDataActionConstraintValuesTest.cs
RouteTemplateProviderAttributesTest.cs
SerializableErrorWrapperTests.cs [Fixes#1792]Separate XML serializers to Microsoft.AspNet.Mvc.Xml 2015-01-22 15:09:20 -08:00
StaticAssemblyProvider.cs
StaticControllerModelBuilder.cs
TestController.cs
TestGlobalFilterProvider.cs
TypeHelperTest.cs
UrlHelperTest.cs Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
ViewComponentTests.cs
ViewDataDictionaryOfTModelTest.cs
ViewDataDictionaryTest.cs
project.json [Fixes#1792]Separate XML serializers to Microsoft.AspNet.Mvc.Xml 2015-01-22 15:09:20 -08:00