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 Added Conflict result helper to ControllerBase 2017-10-02 15:05:57 -07:00
BadRequestResultTests.cs
BindAttributeTest.cs
ChallengeResultTest.cs
ConflictObjectResultTest.cs Added Conflict result helper to ControllerBase 2017-10-02 15:05:57 -07:00
ConflictResultTest.cs Added Conflict result helper to ControllerBase 2017-10-02 15:05:57 -07:00
ConsumesAttributeTests.cs
ContentResultTest.cs Design extensibility for executors 2017-09-22 10:32:55 -07:00
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 Add EnableRangeProcessing (#6895) 2017-09-29 18:39:45 -07:00
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 Add EnableRangeProcessing (#6895) 2017-09-29 18:39:45 -07:00
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 Port fix for URL helper redirect (#6917) 2017-10-05 11:24:18 -07:00
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 Add EnableRangeProcessing (#6895) 2017-09-29 18:39:45 -07:00
ProducesAttributeTests.cs
RedirectResultTest.cs Design extensibility for executors 2017-09-22 10:32:55 -07:00
RedirectToActionResultTest.cs Design extensibility for executors 2017-09-22 10:32:55 -07:00
RedirectToPageResultTest.cs Design extensibility for executors 2017-09-22 10:32:55 -07:00
RedirectToRouteResultTest.cs Design extensibility for executors 2017-09-22 10:32:55 -07:00
RequestFormLimitsAttributeTest.cs
RequireHttpsAttributeTests.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
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 Add EnableRangeProcessing (#6895) 2017-09-29 18:39:45 -07:00
xunit.runner.json