Enabled coreclr for functional tests and reverted back previous change to skipped tests.
- skipped a new test. This is a known issue that I have reported to the respective team. - This also fixes #1987 : Investigate xml serializer test failures in Core CLR
This commit is contained in:
parent
ec6f1907c5
commit
90773ab925
|
|
@ -44,6 +44,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !DNXCORE50
|
||||||
[Fact]
|
[Fact]
|
||||||
public async Task CheckIfObjectIsDeserializedWithoutErrors()
|
public async Task CheckIfObjectIsDeserializedWithoutErrors()
|
||||||
{
|
{
|
||||||
|
|
@ -70,6 +71,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
||||||
Assert.Equal("User has been registerd : " + sampleName,
|
Assert.Equal("User has been registerd : " + sampleName,
|
||||||
await response.Content.ReadAsStringAsync());
|
await response.Content.ReadAsStringAsync());
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public async Task CheckIfObjectIsDeserialized_WithErrors()
|
public async Task CheckIfObjectIsDeserialized_WithErrors()
|
||||||
|
|
|
||||||
|
|
@ -21,9 +21,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
||||||
private readonly Action<IServiceCollection> _configureServices = new XmlFormattersWebSite.Startup().ConfigureServices;
|
private readonly Action<IServiceCollection> _configureServices = new XmlFormattersWebSite.Startup().ConfigureServices;
|
||||||
|
|
||||||
[Theory]
|
[Theory]
|
||||||
#if !DNXCORE50
|
|
||||||
[InlineData("application/xml-xmlser")]
|
[InlineData("application/xml-xmlser")]
|
||||||
#endif
|
|
||||||
[InlineData("application/xml-dcs")]
|
[InlineData("application/xml-dcs")]
|
||||||
public async Task ModelStateErrors_AreSerialized(string acceptHeader)
|
public async Task ModelStateErrors_AreSerialized(string acceptHeader)
|
||||||
{
|
{
|
||||||
|
|
@ -46,9 +44,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
||||||
}
|
}
|
||||||
|
|
||||||
[Theory]
|
[Theory]
|
||||||
#if !DNXCORE50
|
|
||||||
[InlineData("application/xml-xmlser")]
|
[InlineData("application/xml-xmlser")]
|
||||||
#endif
|
|
||||||
[InlineData("application/xml-dcs")]
|
[InlineData("application/xml-dcs")]
|
||||||
public async Task PostedSerializableError_IsBound(string acceptHeader)
|
public async Task PostedSerializableError_IsBound(string acceptHeader)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,6 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
||||||
result);
|
result);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !DNXCORE50
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public async Task CanWrite_IEnumerableOf_SerializableErrors()
|
public async Task CanWrite_IEnumerableOf_SerializableErrors()
|
||||||
{
|
{
|
||||||
|
|
@ -200,6 +199,5 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
||||||
"<key4>key2-error</key4></SerializableErrorWrapper></ArrayOfSerializableErrorWrapper>",
|
"<key4>key2-error</key4></SerializableErrorWrapper></ArrayOfSerializableErrorWrapper>",
|
||||||
result);
|
result);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,8 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutofacWebSite": "1.0.0"
|
"AutofacWebSite": "1.0.0"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"dnxcore50": {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue