aspnetcore/test/Microsoft.AspNetCore.Mvc.Co...
Doug Bunting e0e96ce53b
Include parameter type's attributes in ModelMetadata
- #7595
- #7595 relates to #7350 but does not have the same root cause
  - did _not_ revert the src changes in #7350 fix (d995b0418a)
- make non-`[Obsolete]` `ModelAttributes` constructor overload `internal`
  - should generally use `static` methods and not any constructor
  - change some unit tests to use `[Obsolete]` constructor overloads (with suppressions)
- fix test `ParameterBinderExtensions` to use current `ParameterBinder.BindModelAsync(...)` overload
  - found some tests updated `IModelMetadataProvider`, `MvcOptions`, etc. instances but didn't register them in DI
- extend `ModelBindingTestHelper` and `ModelBindingTestContext`
  - reorder some tests to use correct `MvcOptions` and `IModelMetadataProvider` everywhere
  - fixes above issues

nits:
- take a few VS suggestions
- remove an old comment indended only for PR "Reviewers:"
2018-04-17 12:40:38 -07:00
..
ApplicationModel Throw if multiple Body bound parameters are discovered 2018-04-09 11:20:34 -07:00
ApplicationParts Fix test failures 2018-04-15 16:31:41 -07:00
Authorization Use compatibility switch for auth filters 2018-01-11 17:42:32 -08:00
Builder
Controllers
DependencyInjection Add support for running conventions on controller properties, Razor Page parameter and properties 2018-01-29 11:43:25 -08:00
Filters
Formatters Addressed review feedback 2018-02-01 14:44:06 -08:00
Infrastructure Update usage of TestSink 2018-04-13 10:21:41 -07:00
Internal Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
ModelBinding Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
Properties
Routing Add support for areas to Razor Pages 2017-12-19 15:03:05 -08:00
AcceptedAtActionResultTests.cs Refactor content negotiation code into a service (#6998) 2017-10-31 16:32:37 -07:00
AcceptedAtRouteResultTests.cs Refactor content negotiation code into a service (#6998) 2017-10-31 16:32:37 -07:00
AcceptedResultTests.cs Refactor content negotiation code into a service (#6998) 2017-10-31 16:32:37 -07:00
ActionResultOfTTest.cs
BadRequestObjectResultTests.cs
BadRequestResultTests.cs
BindAttributeTest.cs
ChallengeResultTest.cs
ConflictObjectResultTest.cs
ConflictResultTest.cs
ConsumesAttributeTests.cs
ContentResultTest.cs
ControllerBaseTest.cs Improving logging - model binding 2018-01-11 14:51:53 -08:00
CreatedAtActionResultTests.cs Refactor content negotiation code into a service (#6998) 2017-10-31 16:32:37 -07:00
CreatedAtRouteResultTests.cs Refactor content negotiation code into a service (#6998) 2017-10-31 16:32:37 -07:00
CreatedResultTests.cs Refactor content negotiation code into a service (#6998) 2017-10-31 16:32:37 -07:00
EmptyResultTests.cs
FileContentResultTest.cs
FileResultTest.cs Round off file result's LastModifiedDate to whole seconds for correct comparison with http header dates 2018-04-11 06:43:50 -07:00
FileStreamResultTest.cs
FlushReportingStream.cs
ForbidResultTest.cs
HttpNotFoundObjectResultTest.cs Refactor content negotiation code into a service (#6998) 2017-10-31 16:32:37 -07:00
HttpNotFoundResultTests.cs
HttpOkObjectResultTest.cs Refactor content negotiation code into a service (#6998) 2017-10-31 16:32:37 -07:00
HttpOkResultTest.cs
HttpStatusCodeResultTests.cs
HttpUnauthorizedResultTests.cs
LocalRedirectResultTest.cs
MediaTypeCollectionTest.cs
Microsoft.AspNetCore.Mvc.Core.Test.csproj Update samples and tests to target netcoreapp2.1 2017-11-13 14:58:40 -08:00
MvcOptionsTest.cs
NonDisposableStreamTest.cs
ObjectResultTests.cs Refactor content negotiation code into a service (#6998) 2017-10-31 16:32:37 -07:00
PhysicalFileResultTest.cs
ProducesAttributeTests.cs
RedirectResultTest.cs
RedirectToActionResultTest.cs
RedirectToPageResultTest.cs
RedirectToRouteResultTest.cs
RequestFormLimitsAttributeTest.cs
RequireHttpsAttributeTests.cs
ResponseCacheAttributeTest.cs Improve logging - individual filters 2017-12-18 13:16:06 -08:00
SerializableErrorTests.cs
SignInResultTest.cs
SignOutResultTest.cs
TestApplicationPart.cs
TestFeatureProvider.cs
UnprocessableEntityObjectResultTests.cs
UnprocessableEntityResultTests.cs
ValidationProblemDetailsTest.cs Smooth rough ApiBehavior edges 2018-01-22 09:53:21 -08:00
VirtualFileResultTest.cs
xunit.runner.json