aspnetcore/test/Microsoft.AspNetCore.Mvc.Vi.../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
..
AutoValidateAntiforgeryTokenAuthorizationFilterTest.cs
ControllerSaveTempDataPropertyFilterFactoryTest.cs Introduce LifecycleProperty 2018-03-22 10:18:36 -07:00
ControllerSaveTempDataPropertyFilterTest.cs Introduce LifecycleProperty 2018-03-22 10:18:36 -07:00
ControllerViewDataAttributeFilterFactoryTest.cs Introduce ViewDataAttribute 2018-03-30 14:19:52 -07:00
ControllerViewDataAttributeFilterTest.cs Introduce ViewDataAttribute 2018-03-30 14:19:52 -07:00
DefaultDisplayTemplatesTest.cs
DefaultEditorTemplatesTest.cs Do not use `FormattedModelValue` in password editor template 2018-03-05 08:33:16 -08:00
ExpressionHelperTest.cs Quick fix: Add test of #2890 2018-03-19 11:59:52 -07:00
ExpressionMetadataProviderTest.cs
FormatWeekHelperTest.cs Include parameter type's attributes in ModelMetadata 2018-04-17 12:40:38 -07:00
HtmlAttributePropertyHelperTest.cs
LifecyclePropertyTest.cs Introduce LifecycleProperty 2018-03-22 10:18:36 -07:00
PagedBufferedTextWriterTest.cs
PagedCharBufferTest.cs
SaveTempDataFilterTest.cs Avoid saving TempData in case of unhandled exceptions. [Fixes #6598] BUG? Accessing TempData prevent response to have content on error. 2017-09-07 13:13:27 -07:00
TempDataApplicationModelProviderTest.cs Use ModelMetadataProvider to infer BindingSource on application model 2018-04-02 09:48:49 -07:00
TempDataSerializerTest.cs [Fixes #7115] Update property type check in SaveTempDataPropertyFilterBase to match TempDataSerializer requirements 2018-01-10 15:08:01 -08:00
TemplateRendererTest.cs
ValidateAntiforgeryTokenAuthorizationFilterTest.cs
ViewBufferTest.cs
ViewBufferTextWriterTest.cs
ViewDataAttributeApplicationModelProviderTest.cs Fix build break 2018-04-02 10:29:46 -07:00
ViewDataAttributePropertyProviderTest.cs Introduce ViewDataAttribute 2018-03-30 14:19:52 -07:00