aspnetcore/test/Microsoft.AspNet.Mvc.Functi...
Doug Bunting c4fa402105 Add `ModelBindingResult.IsFatalError` and make body binding more consistent
- part I of II for #2445 (with a duplicate code PR to follow)
- needed for #2445 because new `ModelState` entries for values will make inconsisteny worse
- change `BodyModelBinder` to use same keys for all `ModelBindingResult`s and `ModelState` entries
 - return fatal error result if formatter adds an error to `ModelState`
 - update potential callers to avoid avoid ignoring `IsFatalError`
- fix test attempting to serialize all of `ModelState`
 - will be borked with additional `RawValue`s in state
- fix two other tests that serialized `ModelState` but checked only `IsValid`

nits:
- address minor inconsistencies in `ModelBindingContext`
- use `System.Reflection.Extensions` package a bit more, where it's already referenced
- remove some unused resources
2015-06-18 16:19:01 -07:00
..
Logging
compiler/resources Make `string`-based expression evaluations behave consistently 2015-06-16 21:54:56 -07:00
ActionResultTests.cs
ActivatorTests.cs Fix #2151 - Part 4 remove [Activate] support from controllers. 2015-05-21 22:57:56 -07:00
AntiForgeryTestHelper.cs
AntiForgeryTests.cs
ApiExplorerTest.cs
ApplicationModelTest.cs
BasicTests.cs [Fixes #2409] Return EmptyResult for void actions 2015-06-11 11:51:51 -07:00
BestEffortLinkGenerationTest.cs
CompilationOptionsTests.cs
CompositeViewEngineTests.cs
ConsumesAttributeTests.cs
ContentNegotiationTest.cs
ControllerDiscoveryConventionTests.cs
ControllerFromServicesTests.cs
CorsMiddlewareTests.cs
CorsTests.cs
CustomRouteTest.cs
CustomUrlHelperTests.cs
DefaultOrderTest.cs
DefaultValuesTest.cs
DependencyResolverTests.cs
DirectivesTest.cs Rename _GlobalImport.cshtml files to _ViewImports.cshtml 2015-05-21 12:27:08 -07:00
ErrorPageTests.cs Add support for generating baseline output files while testing 2015-06-01 13:13:39 -07:00
ExceptionInfo.cs
FileResultTests.cs
FiltersTest.cs
FlushPointTest.cs
FormatFilterTest.cs
HtmlGenerationTest.cs Rename `MvcTagHelpersWebSite` to `HtmlGenerationsWebSite` 2015-06-05 20:30:17 -07:00
HtmlHelperOptionsTest.cs Use stable locale when testing date/time formats 2015-06-05 14:25:51 -07:00
HttpResponseMessageExceptions.cs
InlineConstraintTests.cs
InputFormatterTests.cs
InputObjectValidationTests.cs Add `ModelBindingResult.IsFatalError` and make body binding more consistent 2015-06-18 16:19:01 -07:00
JsonOutputFormatterTests.cs
JsonPatchTest.cs
JsonResultTest.cs
LinkGenerationTests.cs Add support for generating baseline output files while testing 2015-06-01 13:13:39 -07:00
LocalizationTest.cs Added configurable option for LanguageViewLocationExpander to use subfolder or suffix 2015-06-08 12:07:49 -07:00
Microsoft.AspNet.Mvc.FunctionalTests.xproj
ModelBindingBindingBehaviorTest.cs Address #2526; remove use of a required validator when validating `[BindRequired]` 2015-06-05 16:56:05 -07:00
ModelBindingDataMemberRequiredTest.cs Address #2526; remove use of a required validator when validating `[BindRequired]` 2015-06-05 16:56:05 -07:00
ModelBindingFromFormTest.cs
ModelBindingFromHeaderTest.cs
ModelBindingFromQueryTest.cs
ModelBindingFromRouteTest.cs
ModelBindingModelBinderAttributeTest.cs
ModelBindingTest.cs Add `ModelBindingResult.IsFatalError` and make body binding more consistent 2015-06-18 16:19:01 -07:00
ModelMetadataAttributeTest.cs
MvcSampleTests.cs
MvcStartupTests.cs
OutputFormatterTest.cs [Fixes #2409] Return EmptyResult for void actions 2015-06-11 11:51:51 -07:00
PrecompilationTest.cs Fix #2407 - Add back the implicit [Required] for value types 2015-05-21 17:52:25 -07:00
RazorCompilerCacheTest.cs
RazorEmbeddedViewsTest.cs
RazorFileSystemCaseSensitivityTest.cs
RazorPageExecutionInstrumentationTest.cs
RazorViewLocationSpecificationTest.cs
RemoteAttributeValidationTest.cs Add support for generating baseline output files while testing 2015-06-01 13:13:39 -07:00
RequestServicesTest.cs
RespectBrowserAcceptHeaderTests.cs
ResponseCacheTest.cs Updated the ResponseCacheFilter class to store a reference to the CacheProfile passed into the contructor 2015-05-29 12:28:14 -07:00
RoundTripTests.cs
RouteDataTest.cs
RoutingLowercaseUrlTest.cs
RoutingTests.cs
SerializableErrorTests.cs
StreamOutputFormatterTest.cs
TagHelperSampleTest.cs
TagHelpersTest.cs Add support for generating baseline output files while testing 2015-06-01 13:13:39 -07:00
TempDataTest.cs
TestApplicationEnvironment.cs
TestHelper.cs
TryValidateModelTest.cs
ValueProviderTest.cs
VersioningTests.cs
ViewComponentTests.cs
ViewEngineTests.cs Added LanguageViewLocationExpander into framework and removed it from samples 2015-06-04 14:06:08 -07:00
WebApiCompatShimActionResultTest.cs
WebApiCompatShimActionSelectionTest.cs
WebApiCompatShimBasicTest.cs
WebApiCompatShimParameterBindingTest.cs
XmlDataContractSerializerFormattersWrappingTest.cs
XmlDataContractSerializerInputFormatterTest.cs Add `ModelBindingResult.IsFatalError` and make body binding more consistent 2015-06-18 16:19:01 -07:00
XmlOutputFormatterTests.cs
XmlSerializerFormattersWrappingTest.cs
XmlSerializerInputFormatterTests.cs Add `ModelBindingResult.IsFatalError` and make body binding more consistent 2015-06-18 16:19:01 -07:00
project.json Added configurable option for LanguageViewLocationExpander to use subfolder or suffix 2015-06-08 12:07:49 -07:00