aspnetcore/test/Microsoft.AspNet.Mvc.Functi...
Ryan Nowak f77493dffe Part 1 of #1712 - Remove reflection in MutableObjectModelBinder
This change introduces a new property to ModelMetadata called
IsBindingRequired, which specifies whether or not a model value must be
present on the wire during model binding.

[DataMember(IsRequired = true)] is currently the only thing that will set
this property.

Updated tests and documentation for clarity on the difference in meaning
between MM.IsRequired and MM.IsBindingRequired. Moved setting for
IsRequired to ValidationMetadata which is a better fit.

Also added functional tests for [BindingBehavior] and [DataMember] in
model binding because they were totally missing.
2015-04-16 12:07:33 -07:00
..
Logging Removed Logging related ILogValues types and cleaned up tests. 2015-04-16 11:19:20 -07:00
compiler/resources [Fixes #2337] Added support for file types in input taghelper and 2015-04-15 11:58:40 -07:00
ActionResultTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
ActivatorTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
AntiForgeryTestHelper.cs MVC portion of aspnet/Razor#335 2015-03-30 10:54:00 -07:00
AntiForgeryTests.cs Fixes #583 Generating a unique cookie name for an application. 2015-03-23 14:05:05 -07:00
ApiExplorerTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
ApplicationModelTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
BasicTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
BestEffortLinkGenerationTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
CompilationOptionsTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
CompositeViewEngineTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
ConsumesAttributeTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
ContentNegotiationTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
ControllerDiscoveryConventionTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
ControllerFromServicesTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
CorsMiddlewareTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
CorsTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
CustomRouteTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
CustomUrlHelperTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
DefaultOrderTest.cs Refactor of ViewComponent extensibility 2015-03-20 13:39:54 -07:00
DependencyResolverTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
DirectivesTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
ErrorPageTests.cs Reacting to diagnostics error page changes 2015-04-02 12:42:17 -07:00
ExceptionInfo.cs
FileResultTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
FiltersTest.cs Adding Outputformatter in resource filters. 2015-04-08 16:46:46 -07:00
FlushPointTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
FormatFilterTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
HttpResponseMessageExceptions.cs
InlineConstraintTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
InputFormatterTests.cs Removing IInputFormatterSelector 2015-04-08 07:35:48 -07:00
InputObjectValidationTests.cs Enable a skipped test to run on coreclr 2015-03-26 23:57:35 -07:00
JsonOutputFormatterTests.cs Fix for #1694 issue : Removed prefix for ModelState keys for FromBody parameters 2015-03-20 10:41:06 -07:00
JsonResultTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
LinkGenerationTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
Microsoft.AspNet.Mvc.FunctionalTests.xproj Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:27 -07:00
ModelBindingBindingBehaviorTest.cs Part 1 of #1712 - Remove reflection in MutableObjectModelBinder 2015-04-16 12:07:33 -07:00
ModelBindingDataMemberRequiredTest.cs Part 1 of #1712 - Remove reflection in MutableObjectModelBinder 2015-04-16 12:07:33 -07:00
ModelBindingFromFormTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
ModelBindingFromHeaderTest.cs Fixing some inaccurate test names and comments 2015-03-20 15:36:50 -07:00
ModelBindingFromQueryTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
ModelBindingFromRouteTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
ModelBindingModelBinderAttributeTest.cs * Simplify MvcOptions 2015-04-07 14:45:53 -07:00
ModelBindingTest.cs Adding support for model binding specifically marked controller properties. 2015-03-20 17:37:09 -07:00
ModelMetadataAttributeTest.cs Fix for #1694 issue : Removed prefix for ModelState keys for FromBody parameters 2015-03-20 10:41:06 -07:00
MvcSampleTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
MvcStartupTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
MvcTagHelpersTest.cs [Fixes #2337] Added support for file types in input taghelper and 2015-04-15 11:58:40 -07:00
OutputFormatterTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
PrecompilationTest.cs Cleanup: Moving files from src/Microsoft.AspNet.Mvc.Razor/Razor/PreCompileViews -> 2015-03-30 14:51:11 -07:00
RazorCompilerCacheTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
RazorEmbeddedViewsTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
RazorFileSystemCaseSensitivityTest.cs Issue #1736 - Razor view searches in case-sensitive filesystems. 2015-03-23 18:02:35 -07:00
RazorPageExecutionInstrumentationTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
RazorViewLocationSpecificationTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
RemoteAttributeValidationTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
RequestServicesTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
ResourceHelpers.cs React to resource renames 2015-04-08 15:27:51 -07:00
RespectBrowserAcceptHeaderTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
ResponseCacheTest.cs Add more functional tests of cache profiles 2015-04-08 22:37:45 -07:00
RoundTripTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
RouteDataTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
RoutingLowercaseUrlTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
RoutingTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
SerializableErrorTests.cs Enabled coreclr for functional tests and reverted back previous change to skipped tests. 2015-03-21 23:21:53 -07:00
StreamOutputFormatterTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
TagHelperSampleTest.cs Reacting to ILogger api changes 2015-04-04 02:52:43 -07:00
TagHelpersTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
TempDataTest.cs React to Cookie changes 2015-04-15 11:50:11 -07:00
TestApplicationEnvironment.cs React to runtime perf changes in functional tests 2015-02-27 02:53:46 -08:00
TestHelper.cs React to hosting changes 2015-03-30 18:20:33 -07:00
TryValidateModelTest.cs Fix for #1694 issue : Removed prefix for ModelState keys for FromBody parameters 2015-03-20 10:41:06 -07:00
ValueProviderTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
VersioningTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
ViewComponentTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
ViewEngineTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
WebApiCompatShimActionResultTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
WebApiCompatShimActionSelectionTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
WebApiCompatShimBasicTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
WebApiCompatShimParameterBindingTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
XmlDataContractSerializerFormattersWrappingTest.cs React to hosting changes 2015-03-19 11:07:25 -07:00
XmlDataContractSerializerInputFormatterTest.cs Fix for #1694 issue : Removed prefix for ModelState keys for FromBody parameters 2015-03-20 10:41:06 -07:00
XmlOutputFormatterTests.cs Use `XmlAssert` to avoid functional test failures 2015-04-07 11:46:38 -07:00
XmlSerializerFormattersWrappingTest.cs Enabled coreclr for functional tests and reverted back previous change to skipped tests. 2015-03-21 23:21:53 -07:00
XmlSerializerInputFormatterTests.cs React to hosting changes 2015-03-19 11:07:25 -07:00
project.json Update project.json, code=>compile. Also remove **/*.cs and **/*.vs from compile section. These are now defaulted to on. 2015-04-02 16:17:54 -07:00