aspnetcore/test
Doug Bunting 5e245da326
Add compatibility switch controlling parameter metadata and top-level validation
- #7413 part 1 of 2
- made all `ModelMetadataProvider` and `ObjectModelValidator`-specific code conditional
  - fortunately, `MvcOptions` easy to get; affected code is primarily `internal` or pub-`Internal`
  - remove unnecessary `ModelMetadataProvider` use in `ApiBehaviorApplicationModelProvider`
- run integration and functional tests with `CompatibilityVersion.Version_2_1`
  - functional test change depends on @javiercn's recent #7541 fix
  - remove test code now redundantly turning compatibility switches on

nits:
- correct spelling errors in `CompatibilitySwitch`
- take VS suggestions, mostly in test code
- rename methods in `ControllerBinderDelegateProviderTest` to match current API
- slightly refactor in `ApiBehaviorApplicationModelProvider`
2018-03-26 12:29:04 -07:00
..
Microsoft.AspNetCore.Mvc.Abstractions.Test
Microsoft.AspNetCore.Mvc.Analyzers.Test
Microsoft.AspNetCore.Mvc.ApiExplorer.Test Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
Microsoft.AspNetCore.Mvc.Core.Test Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
Microsoft.AspNetCore.Mvc.Cors.Test
Microsoft.AspNetCore.Mvc.DataAnnotations.Test
Microsoft.AspNetCore.Mvc.Formatters.Json.Test
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test
Microsoft.AspNetCore.Mvc.FunctionalTests Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
Microsoft.AspNetCore.Mvc.IntegrationTests Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
Microsoft.AspNetCore.Mvc.Localization.Test
Microsoft.AspNetCore.Mvc.Razor.Test
Microsoft.AspNetCore.Mvc.RazorPages.Test Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
Microsoft.AspNetCore.Mvc.TagHelpers.Test
Microsoft.AspNetCore.Mvc.Test
Microsoft.AspNetCore.Mvc.TestCommon
Microsoft.AspNetCore.Mvc.TestDiagnosticListener
Microsoft.AspNetCore.Mvc.ViewFeatures.Test
Microsoft.AspNetCore.Mvc.WebApiCompatShimTest
WebSites Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
Directory.Build.props
MvcTests.ruleset