aspnetcore/test/Microsoft.AspNetCore.Mvc.Co.../Internal
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
..
AcceptHeaderParserTest.cs
ActionConstraintCacheTest.cs
ActionDescriptorCollectionProviderTest.cs
ActionMethodExecutorTest.cs Add mapping service for action results 2018-03-27 17:13:41 -07:00
ActionResultTypeMapperTest.cs Add mapping service for action results 2018-03-27 17:13:41 -07:00
ActionSelectorTest.cs Update usage of TestSink 2018-04-13 10:21:41 -07:00
ApiBehaviorApplicationModelProviderTest.cs Throw if multiple Body bound parameters are discovered 2018-04-09 11:20:34 -07:00
AttributeRouteTest.cs
AttributeRoutingTest.cs Removed UrlTestEncoder references in tests 2018-04-14 06:08:20 -07:00
AuthorizationApplicationModelProviderTest.cs Use ModelMetadataProvider to infer BindingSource on application model 2018-04-02 09:48:49 -07:00
ClientValidatorCacheTest.cs
ControllerActionDescriptorBuilderTest.cs
ControllerActionDescriptorProviderTests.cs Use ModelMetadataProvider to infer BindingSource on application model 2018-04-02 09:48:49 -07:00
ControllerActionInvokerCacheTest.cs
ControllerActionInvokerTest.cs Add mapping service for action results 2018-03-27 17:13:41 -07:00
ControllerBinderDelegateProviderTest.cs
DefaultApplicationModelProviderTest.cs Allow BindPropertyAttribute to be specified on controller classes 2018-04-13 13:58:44 -07:00
DefaultBindingMetadataProviderTest.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
DefaultCollectionValidationStrategyTest.cs
DefaultComplexObjectValidationStrategyTest.cs
DefaultModelValidatorProviderTest.cs
DefaultObjectValidatorTests.cs
DisableRequestSizeLimitFilterTest.cs
ElementalValueProviderTests.cs
ExplicitIndexCollectionValidationStrategyTest.cs
FilterFactoryTest.cs
FilterProviderTest.cs
HttpMethodActionConstraintTest.cs
MiddlewareFilterBuilderTest.cs
MiddlewareFilterConfigurationProviderTest.cs
MiddlewareFilterTest.cs Add mapping service for action results 2018-03-27 17:13:41 -07:00
MvcCoreLoggerExtensionsTest.cs Update usage of TestSink 2018-04-13 10:21:41 -07:00
ParameterDefaultValuesTest.cs
PrefixContainerTest.cs
ReferenceEqualityComparerTest.cs
RequestFormLimitsFilterTest.cs
RequestSizeLimitFilterTest.cs
ResponseCacheFilterExecutorTest.cs
ResponseContentTypeHelperTest.cs
ShortFormDictionaryValidationStrategyTest.cs Fix binding & validating dictionaries of non-simple types in jQuery requests 2018-04-14 10:41:00 -07:00
ValidatorCacheTest.cs
ViewEnginePathTest.cs