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:
Kiran Challa 2015-03-21 08:03:12 -07:00
parent ec6f1907c5
commit 90773ab925
4 changed files with 4 additions and 6 deletions

View File

@ -44,6 +44,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
}
}
#if !DNXCORE50
[Fact]
public async Task CheckIfObjectIsDeserializedWithoutErrors()
{
@ -70,6 +71,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
Assert.Equal("User has been registerd : " + sampleName,
await response.Content.ReadAsStringAsync());
}
#endif
[Fact]
public async Task CheckIfObjectIsDeserialized_WithErrors()

View File

@ -21,9 +21,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
private readonly Action<IServiceCollection> _configureServices = new XmlFormattersWebSite.Startup().ConfigureServices;
[Theory]
#if !DNXCORE50
[InlineData("application/xml-xmlser")]
#endif
[InlineData("application/xml-dcs")]
public async Task ModelStateErrors_AreSerialized(string acceptHeader)
{
@ -46,9 +44,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
}
[Theory]
#if !DNXCORE50
[InlineData("application/xml-xmlser")]
#endif
[InlineData("application/xml-dcs")]
public async Task PostedSerializableError_IsBound(string acceptHeader)
{

View File

@ -178,7 +178,6 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
result);
}
#if !DNXCORE50
[Fact]
public async Task CanWrite_IEnumerableOf_SerializableErrors()
{
@ -200,6 +199,5 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
"<key4>key2-error</key4></SerializableErrorWrapper></ArrayOfSerializableErrorWrapper>",
result);
}
#endif
}
}

View File

@ -68,6 +68,8 @@
"dependencies": {
"AutofacWebSite": "1.0.0"
}
},
"dnxcore50": {
}
}
}