aspnetcore/test/Microsoft.AspNet.Mvc.Functi...
Doug Bunting 53060be2d7 Content negotiation fails in subsequent requests accepting same media type
- #3140
- clone `MediaTypeHeaderValue` instance before updating it when content negotiation succeeds
  - avoids changes to `MediaTypeConstants` properties and `OutputFormatter.SupportedMediaTypes` entries
  - `MediaTypeHeaderValue.Clone()` does not exist in our DNX Core fork of this class
  - in previous implementation, was called defensively rather than when required
- update `WebApiCompatShimBasicTest` functional tests to use `MvcTestFixture<TStartup>` everywhere
  - #3140 blocked that final migration
  - remove `TestHelper` since it's no longer referenced

nits:
- remove comments mentioning `TestHelper`
- correct spelling of "negotiation"
2015-10-30 14:10:31 -07:00
..
Logging
…
compiler/resources Simplify instrumentation confirmations in `RazorPageExecutionInstrumentationTest` 2015-10-28 16:45:30 -07:00
ActionResultTests.cs Correct polarity of MediaTypeHeaderValue.IsSubsetOf()` checks and remove one conneg fallback 2015-10-14 11:59:20 -07:00
ActivatorTests.cs
…
AntiforgeryTestHelper.cs
…
AntiforgeryTests.cs
…
ApiExplorerTest.cs
…
ApplicationModelTest.cs
…
BasicTests.cs
…
BestEffortLinkGenerationTest.cs
…
CompilationOptionsTests.cs
…
CompositeViewEngineTests.cs
…
ConsumesAttributeTests.cs
…
ContentNegotiationTest.cs
…
ControllerDiscoveryConventionTests.cs
…
ControllerFromServicesTests.cs Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:53 -07:00
CorsMiddlewareTests.cs React to Cors api review changes 2015-10-15 13:05:08 -07:00
CorsTests.cs React to Cors api review changes 2015-10-15 13:05:08 -07:00
CustomRouteTest.cs
…
CustomUrlHelperTests.cs
…
DefaultOrderTest.cs
…
DefaultValuesTest.cs
…
DirectivesTest.cs Allow @model specified in a page work with @inherits directive in 2015-09-23 12:10:10 -07:00
ErrorPageTests.cs Modify ViewStartUtility to generate always view paths with forward slashes 2015-10-19 10:33:05 -07:00
ExceptionInfo.cs Fixed typo (occured to occurred) in comments and resources. 2015-09-29 10:19:26 -07:00
FileResultTests.cs
…
FilteredDefaultAssemblyProviderFixtureOfT.cs Content negotiation fails in subsequent requests accepting same media type 2015-10-30 14:10:31 -07:00
FiltersTest.cs
…
FlushPointTest.cs Remove `WaitService` 2015-10-28 15:47:16 -07:00
FormatFilterTest.cs
…
HtmlGenerationTest.cs PR comments: Restore most of `PrecompilationTest.PrecompiledView_RendersCorrectly()` 2015-10-28 16:40:28 -07:00
HtmlHelperOptionsTest.cs Update DNX Core on Linux workarounds 2015-10-10 23:09:51 -07:00
HttpResponseMessageExceptions.cs
…
InlineConstraintTests.cs
…
InputFormatterTests.cs Correct polarity of MediaTypeHeaderValue.IsSubsetOf()` checks and remove one conneg fallback 2015-10-14 11:59:20 -07:00
InputObjectValidationTests.cs
…
JsonOutputFormatterTests.cs
…
JsonPatchTest.cs
…
JsonResultTest.cs
…
LinkGenerationTests.cs Update DNX Core on Linux workarounds 2015-10-10 23:09:51 -07:00
LocalizationTest.cs Update DNX Core on Linux workarounds 2015-10-10 23:09:51 -07:00
Microsoft.AspNet.Mvc.FunctionalTests.xproj
…
ModelBindingBindingBehaviorTest.cs
…
ModelBindingDataMemberRequiredTest.cs
…
ModelBindingFromFormTest.cs
…
ModelBindingFromHeaderTest.cs Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:53 -07:00
ModelBindingFromQueryTest.cs
…
ModelBindingFromRouteTest.cs
…
ModelBindingModelBinderAttributeTest.cs
…
ModelBindingTest.cs Use `ModelMetadata.GetDisplayName()` in error message replacing `FormatException` and `OverflowException` 2015-10-22 15:50:36 -07:00
ModelMetadataAttributeTest.cs
…
MvcEncodedTestFixtureOfT.cs Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:53 -07:00
MvcSampleTests.cs Correct polarity of MediaTypeHeaderValue.IsSubsetOf()` checks and remove one conneg fallback 2015-10-14 11:59:20 -07:00
MvcTestFixture.cs Rename Microsoft.Runtime.Abstractions to Microsoft.Extensions.PlatformAbstractions 2015-10-22 19:48:55 -07:00
MvcTestFixtureOfT.cs
…
OutputFormatterTest.cs
…
PrecompilationTest.cs PR comments: Restore most of `PrecompilationTest.PrecompiledView_RendersCorrectly()` 2015-10-28 16:40:28 -07:00
RazorEmbeddedViewsTest.cs
…
RazorFileSystemCaseSensitivityTest.cs
…
RazorPageExecutionInstrumentationTest.cs Simplify instrumentation confirmations in `RazorPageExecutionInstrumentationTest` 2015-10-28 16:45:30 -07:00
RazorViewLocationSpecificationTest.cs
…
RemoteAttributeValidationTest.cs Update DNX Core on Linux workarounds 2015-10-10 23:09:51 -07:00
RequestServicesTest.cs
…
RespectBrowserAcceptHeaderTests.cs Correct polarity of MediaTypeHeaderValue.IsSubsetOf()` checks and remove one conneg fallback 2015-10-14 11:59:20 -07:00
ResponseCacheTest.cs
…
RoundTripTests.cs
…
RouteDataTest.cs
…
RoutingLowercaseUrlTest.cs
…
RoutingTests.cs
…
SerializableErrorTests.cs
…
StreamOutputFormatterTest.cs
…
TagHelperSampleTest.cs
…
TagHelpersTest.cs Update DNX Core on Linux workarounds 2015-10-10 23:09:51 -07:00
TempDataTest.cs
…
TestApplicationEnvironment.cs Rename Microsoft.Runtime.Abstractions to Microsoft.Extensions.PlatformAbstractions 2015-10-22 19:48:55 -07:00
TryValidateModelTest.cs
…
UrlResolutionTest.cs
…
ValueProviderTest.cs
…
VersioningTests.cs
…
ViewComponentTests.cs
…
ViewEngineTests.cs Modify ViewStartUtility to generate always view paths with forward slashes 2015-10-19 10:33:05 -07:00
WebApiCompatShimActionResultTest.cs
…
WebApiCompatShimActionSelectionTest.cs
…
WebApiCompatShimBasicTest.cs Content negotiation fails in subsequent requests accepting same media type 2015-10-30 14:10:31 -07:00
WebApiCompatShimParameterBindingTest.cs
…
XmlDataContractSerializerFormattersWrappingTest.cs
…
XmlDataContractSerializerInputFormatterTest.cs
…
XmlOutputFormatterTests.cs Correct polarity of MediaTypeHeaderValue.IsSubsetOf()` checks and remove one conneg fallback 2015-10-14 11:59:20 -07:00
XmlSerializerFormattersWrappingTest.cs
…
XmlSerializerInputFormatterTests.cs
…
project.json Remove more `TestHelper` functional tests 2015-10-28 16:40:13 -07:00