Revert "See if a few skips are incorrectly associated w/ aspnet/External#18"
This reverts commit 6d3b5f1978.
This commit is contained in:
parent
6d3b5f1978
commit
61cb916063
|
|
@ -8,6 +8,7 @@ using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.AspNetCore.Mvc.Formatters.Xml;
|
using Microsoft.AspNetCore.Mvc.Formatters.Xml;
|
||||||
using Microsoft.AspNetCore.Testing;
|
using Microsoft.AspNetCore.Testing;
|
||||||
|
using Microsoft.AspNetCore.Testing.xunit;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Mvc.FunctionalTests
|
namespace Microsoft.AspNetCore.Mvc.FunctionalTests
|
||||||
|
|
@ -61,8 +62,11 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
|
||||||
XmlAssert.Equal(expectedXml, responseData);
|
XmlAssert.Equal(expectedXml, responseData);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Theory]
|
[ConditionalTheory]
|
||||||
[MemberData(nameof(AcceptHeadersData))]
|
// Mono.Xml2.XmlTextReader.ReadText is unable to read the XML. Is this the same bug as aspnet/External#18???
|
||||||
|
[FrameworkSkipCondition(RuntimeFrameworks.Mono, SkipReason = "aspnet/External#18, DCS issue on Mono")]
|
||||||
|
[InlineData("application/xml-xmlser")]
|
||||||
|
[InlineData("application/xml-dcs")]
|
||||||
public async Task PostedSerializableError_IsBound(string acceptHeader)
|
public async Task PostedSerializableError_IsBound(string acceptHeader)
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
|
|
@ -83,8 +87,11 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
|
||||||
XmlAssert.Equal(expectedXml, responseData);
|
XmlAssert.Equal(expectedXml, responseData);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Theory]
|
[ConditionalTheory]
|
||||||
[MemberData(nameof(AcceptHeadersData))]
|
// Mono.Xml2.XmlTextReader.ReadText is unable to read the XML. Is this the same bug as aspnet/External#18???
|
||||||
|
[FrameworkSkipCondition(RuntimeFrameworks.Mono, SkipReason = "aspnet/External#18, DCS issue on Mono")]
|
||||||
|
[InlineData("application/xml-xmlser")]
|
||||||
|
[InlineData("application/xml-dcs")]
|
||||||
public async Task IsReturnedInExpectedFormat(string acceptHeader)
|
public async Task IsReturnedInExpectedFormat(string acceptHeader)
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue