aspnetcore/test/Microsoft.AspNetCore.Mvc.Fu...
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
..
Infrastructure Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
compiler/resources Add model attribute for PartialTagHelper. 2018-03-23 16:13:55 -07:00
AntiforgeryAuthTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
AntiforgeryTestHelper.cs
AntiforgeryTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
ApiBehaviorTest.cs Set model prefix for [ApiController] 2018-03-23 14:49:54 -07:00
ApiExplorerTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
ApplicationModelTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
AsyncActionsTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
BasicTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
CompilationOptionsTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
ConsumesAttributeTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
ContentNegotiationTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
ControllerFromServicesTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
CorsTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
DefaultOrderTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
DefaultValuesTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
DirectivesTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
DoNotRespectBrowserAcceptHeaderTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
ErrorPageTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
ExceptionInfo.cs
FileResultTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
FiltersTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
FlushPointTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
FormFileUploadTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
GlobalAuthorizationFilterTest.cs Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
HtmlGenerationTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
HtmlHelperOptionsTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
InputFormatterTests.cs Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
InputObjectValidationTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
InputValidationTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
JsonOutputFormatterTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
JsonPatchInputFormatterTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
JsonResultTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
LinkGenerationTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
Microsoft.AspNetCore.Mvc.FunctionalTests.csproj Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
MvcSandboxTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
OutputFormatterTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RazorBuildTest.cs ApplicationPartFactory: The works 2018-03-21 15:40:15 -07:00
RazorPageExecutionInstrumentationTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RazorPageModelTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RazorPagesNamespaceTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RazorPagesTest.cs Make handler selector more flexible 2018-03-23 14:22:48 -07:00
RazorPagesViewSearchTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RazorPagesWithBasePathTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RazorViewLocationSpecificationTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RemoteAttributeValidationTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RequestFormLimitsTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RequestServicesTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RequestSizeLimitTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RespectBrowserAcceptHeaderTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RouteDataTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RoutingTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
SerializableErrorTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
SimpleTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
StreamOutputFormatterTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
TagHelperComponentTagHelperTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
TagHelpersFromServicesTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
TagHelpersTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
TempDataInCookiesTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
TempDataInCookiesUsingCookieConsentTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
TempDataInSessionTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
TempDataPropertyTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
TempDataTestBase.cs
TestingInfrastructureInheritanceTests.cs [Fixes #7541] Per-test class customization should not remove global (per-fixture) customization 2018-03-24 18:33:48 -07:00
TestingInfrastructureTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
UrlResolutionTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
VersioningTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
ViewComponentFromServicesTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
ViewEngineTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
WebApiCompatShimActionResultTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
WebApiCompatShimActionSelectionTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
WebApiCompatShimBasicTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
WebApiCompatShimParameterBindingTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
XmlDataContractSerializerFormattersWrappingTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
XmlDataContractSerializerInputFormatterTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
XmlOutputFormatterTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
XmlSerializerFormattersWrappingTest.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
XmlSerializerInputFormatterTests.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
msbuild.binlog Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
xunit.runner.json