aspnetcore/test
Doug Bunting 03625c38af Correct polarity of MediaTypeHeaderValue.IsSubsetOf()` checks and remove one conneg fallback
- aspnet/Mvc#3138 part 2/2
- request's Content-Type header must be a subset of what an `IInputFormatter` can consume
  - `[Consumes]` is similar
- what an `IOutputFormatter` produces must be a subset of the request's Accept header
  - `FormatFilter` and `ObjectResult` are similar
- `ObjectResult` no longer falls back to `Content-Type` header if no `Accept` value is acceptable
- left `WebApiCompatShim` code alone for consistency with down-level `System.Net.Http.Formatting`
- correct tests to match new behaviour
  - do not test `Accept` values containing a `charset` parameter; that case is not valid

WIP:
- four test failures; something about comparing media types w/ charset included
- why do some localization tests fail in VS?

nits:
- add `InputFormatterTests`
- add / update comments and doc comments
- correct xUnit attributes in `ActionResultTest`; odd it doesn't show up in command-line runs
2015-10-14 11:59:20 -07:00
..
Microsoft.AspNet.Mvc.Abstractions.Test Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:53 -07:00
Microsoft.AspNet.Mvc.ApiExplorer.Test Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:53 -07:00
Microsoft.AspNet.Mvc.Core.Test Correct polarity of MediaTypeHeaderValue.IsSubsetOf()` checks and remove one conneg fallback 2015-10-14 11:59:20 -07:00
Microsoft.AspNet.Mvc.Cors.Test Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:53 -07:00
Microsoft.AspNet.Mvc.DataAnnotations.Test Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:53 -07:00
Microsoft.AspNet.Mvc.Formatters.Json.Test Correct polarity of MediaTypeHeaderValue.IsSubsetOf()` checks and remove one conneg fallback 2015-10-14 11:59:20 -07:00
Microsoft.AspNet.Mvc.Formatters.Xml.Test Correct polarity of MediaTypeHeaderValue.IsSubsetOf()` checks and remove one conneg fallback 2015-10-14 11:59:20 -07:00
Microsoft.AspNet.Mvc.FunctionalTests Correct polarity of MediaTypeHeaderValue.IsSubsetOf()` checks and remove one conneg fallback 2015-10-14 11:59:20 -07:00
Microsoft.AspNet.Mvc.IntegrationTests Test `[FromServices]` with service that is not available 2015-10-14 11:46:11 -07:00
Microsoft.AspNet.Mvc.Localization.Test Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:53 -07:00
Microsoft.AspNet.Mvc.Razor.Host.Test Using @inherits and @model together gives intellisense errors 2015-10-08 11:02:20 -07:00
Microsoft.AspNet.Mvc.Razor.Test Add `null` checks for MVC tag helpers 2015-10-14 11:27:25 -07:00
Microsoft.AspNet.Mvc.TagHelpers.Test Add `null` checks for MVC tag helpers 2015-10-14 11:27:25 -07:00
Microsoft.AspNet.Mvc.Test Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:53 -07:00
Microsoft.AspNet.Mvc.TestCommon Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:53 -07:00
Microsoft.AspNet.Mvc.TestTelemetryListener.Sources Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:53 -07:00
Microsoft.AspNet.Mvc.ViewFeatures.Test Suppress [Obsolete] warnings from DiagnosticSource 2015-10-08 12:47:08 -07:00
Microsoft.AspNet.Mvc.WebApiCompatShimTest Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:53 -07:00
WebSites Add an option to RazorPrecompileModule to allow conditional compilation 2015-10-12 11:59:55 -07:00