Revert "Updating to netcoreapp1.1"

This reverts commit 6d5cd28e9b.
This commit is contained in:
Pranav K 2016-10-12 16:08:46 -07:00
parent 6d5cd28e9b
commit 11a67b8f55
9 changed files with 31 additions and 31 deletions

View File

@ -6,7 +6,7 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netcoreapp1.1": { "netcoreapp1.0": {
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"version": "1.1.0-*", "version": "1.1.0-*",

View File

@ -10,7 +10,7 @@
"xunit": "2.2.0-*" "xunit": "2.2.0-*"
}, },
"frameworks": { "frameworks": {
"netcoreapp1.1": { "netcoreapp1.0": {
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"version": "1.1.0-*", "version": "1.1.0-*",

View File

@ -7,7 +7,7 @@
"xunit": "2.2.0-*" "xunit": "2.2.0-*"
}, },
"frameworks": { "frameworks": {
"netcoreapp1.1": { "netcoreapp1.0": {
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"version": "1.1.0-*", "version": "1.1.0-*",

View File

@ -5,7 +5,7 @@
"xunit": "2.2.0-*" "xunit": "2.2.0-*"
}, },
"frameworks": { "frameworks": {
"netcoreapp1.1": { "netcoreapp1.0": {
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"version": "1.1.0-*", "version": "1.1.0-*",

View File

@ -5,7 +5,7 @@
"xunit": "2.2.0-*" "xunit": "2.2.0-*"
}, },
"frameworks": { "frameworks": {
"netcoreapp1.1": { "netcoreapp1.0": {
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"version": "1.1.0-*", "version": "1.1.0-*",

View File

@ -7,7 +7,7 @@
"xunit": "2.2.0-*" "xunit": "2.2.0-*"
}, },
"frameworks": { "frameworks": {
"netcoreapp1.1": { "netcoreapp1.0": {
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"version": "1.1.0-*", "version": "1.1.0-*",

View File

@ -336,13 +336,13 @@ namespace Microsoft.AspNetCore.WebUtilities.Test
} }
[Theory] [Theory]
[InlineData("你好世界", "utf-16")] [InlineData("你好世界", "utf-16")]
#if !NETCOREAPP1_1 #if !NETCOREAPP1_0
// CoreCLR does not like shift_jis as an encoding. // CoreCLR does not like shift_jis as an encoding.
[InlineData("こんにちは世界", "shift_jis")] [InlineData("こんにちは世界", "shift_jis")]
#endif #endif
[InlineData("హలో ప్రపంచ", "iso-8859-1")] [InlineData("హలో ప్రపంచ", "iso-8859-1")]
[InlineData("வணக்கம் உலக", "utf-32")] [InlineData("வணக்கம் உலக", "utf-32")]
public async Task WritesData_InExpectedEncoding(string data, string encodingName) public async Task WritesData_InExpectedEncoding(string data, string encodingName)
{ {
// Arrange // Arrange
@ -362,24 +362,24 @@ namespace Microsoft.AspNetCore.WebUtilities.Test
} }
[Theory] [Theory]
[InlineData('ã‚“', 1023, "utf-8")] [InlineData('', 1023, "utf-8")]
[InlineData('ã‚“', 1024, "utf-8")] [InlineData('', 1024, "utf-8")]
[InlineData('ã‚“', 1050, "utf-8")] [InlineData('', 1050, "utf-8")]
[InlineData('ä½ ', 1023, "utf-16")] [InlineData('', 1023, "utf-16")]
[InlineData('ä½ ', 1024, "utf-16")] [InlineData('', 1024, "utf-16")]
[InlineData('ä½ ', 1050, "utf-16")] [InlineData('', 1050, "utf-16")]
#if !NETCOREAPP1_1 #if !NETCOREAPP1_0
// CoreCLR does not like shift_jis as an encoding. // CoreCLR does not like shift_jis as an encoding.
[InlineData('こ', 1023, "shift_jis")] [InlineData('', 1023, "shift_jis")]
[InlineData('こ', 1024, "shift_jis")] [InlineData('', 1024, "shift_jis")]
[InlineData('こ', 1050, "shift_jis")] [InlineData('', 1050, "shift_jis")]
#endif #endif
[InlineData('à°¹', 1023, "iso-8859-1")] [InlineData('', 1023, "iso-8859-1")]
[InlineData('à°¹', 1024, "iso-8859-1")] [InlineData('', 1024, "iso-8859-1")]
[InlineData('à°¹', 1050, "iso-8859-1")] [InlineData('', 1050, "iso-8859-1")]
[InlineData('வ', 1023, "utf-32")] [InlineData('', 1023, "utf-32")]
[InlineData('வ', 1024, "utf-32")] [InlineData('', 1024, "utf-32")]
[InlineData('வ', 1050, "utf-32")] [InlineData('', 1050, "utf-32")]
public async Task WritesData_OfDifferentLength_InExpectedEncoding( public async Task WritesData_OfDifferentLength_InExpectedEncoding(
char character, char character,
int charCount, int charCount,
@ -437,9 +437,9 @@ namespace Microsoft.AspNetCore.WebUtilities.Test
public async Task HttpResponseStreamWriter_WritesDataCorrectly_ForCharactersHavingSurrogatePairs(int characterSize) public async Task HttpResponseStreamWriter_WritesDataCorrectly_ForCharactersHavingSurrogatePairs(int characterSize)
{ {
// Arrange // Arrange
// Here "𐐀" (called Deseret Long I) actually represents 2 characters. Try to make this character split across // Here "𐐀" (called Deseret Long I) actually represents 2 characters. Try to make this character split across
// the boundary // the boundary
var content = new string('a', characterSize - 1) + "𐐀"; var content = new string('a', characterSize - 1) + "𐐀";
var stream = new TestMemoryStream(); var stream = new TestMemoryStream();
var writer = new HttpResponseStreamWriter(stream, Encoding.Unicode); var writer = new HttpResponseStreamWriter(stream, Encoding.Unicode);

View File

@ -9,7 +9,7 @@
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netcoreapp1.1": { "netcoreapp1.0": {
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"version": "1.1.0-*", "version": "1.1.0-*",

View File

@ -6,7 +6,7 @@
"xunit": "2.2.0-*" "xunit": "2.2.0-*"
}, },
"frameworks": { "frameworks": {
"netcoreapp1.1": { "netcoreapp1.0": {
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"version": "1.1.0-*", "version": "1.1.0-*",