Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit 440b8bc

Browse files
committed
Migrate tests, tools and samples to portable
1 parent b50cd32 commit 440b8bc

File tree

8 files changed

+37
-16
lines changed

8 files changed

+37
-16
lines changed

test/Microsoft.AspNetCore.Http.Abstractions.Tests/project.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@
99
"xunit": "2.1.0"
1010
},
1111
"frameworks": {
12-
"netstandardapp1.5": {
12+
"netcoreapp1.0": {
1313
"dependencies": {
14+
"Microsoft.NETCore.App": {
15+
"version": "1.0.0-*",
16+
"type": "platform"
17+
},
1418
"dotnet-test-xunit": "1.0.0-dev-*",
15-
"NETStandard.Library": "1.5.0-*",
1619
"System.Diagnostics.Process": "4.1.0-*"
1720
},
1821
"imports": [

test/Microsoft.AspNetCore.Http.Extensions.Tests/project.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@
66
"xunit": "2.1.0"
77
},
88
"frameworks": {
9-
"netstandardapp1.5": {
9+
"netcoreapp1.0": {
1010
"dependencies": {
11+
"Microsoft.NETCore.App": {
12+
"version": "1.0.0-*",
13+
"type": "platform"
14+
},
1115
"dotnet-test-xunit": "1.0.0-dev-*",
12-
"NETStandard.Library": "1.5.0-*",
1316
"System.Diagnostics.Process": "4.1.0-*"
1417
},
1518
"imports": [

test/Microsoft.AspNetCore.Http.Features.Tests/project.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
"xunit": "2.1.0"
55
},
66
"frameworks": {
7-
"netstandardapp1.5": {
7+
"netcoreapp1.0": {
88
"dependencies": {
9+
"Microsoft.NETCore.App": {
10+
"version": "1.0.0-*",
11+
"type": "platform"
12+
},
913
"dotnet-test-xunit": "1.0.0-dev-*",
10-
"NETStandard.Library": "1.5.0-*",
1114
"System.Diagnostics.Process": "4.1.0-*"
1215
},
1316
"imports": [

test/Microsoft.AspNetCore.Http.Tests/project.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
"xunit": "2.1.0"
55
},
66
"frameworks": {
7-
"netstandardapp1.5": {
7+
"netcoreapp1.0": {
88
"dependencies": {
9+
"Microsoft.NETCore.App": {
10+
"version": "1.0.0-*",
11+
"type": "platform"
12+
},
913
"dotnet-test-xunit": "1.0.0-dev-*",
10-
"NETStandard.Library": "1.5.0-*",
1114
"System.Diagnostics.Process": "4.1.0-*"
1215
},
1316
"imports": [

test/Microsoft.AspNetCore.Owin.Tests/project.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@
66
"xunit": "2.1.0"
77
},
88
"frameworks": {
9-
"netstandardapp1.5": {
9+
"netcoreapp1.0": {
1010
"dependencies": {
11+
"Microsoft.NETCore.App": {
12+
"version": "1.0.0-*",
13+
"type": "platform"
14+
},
1115
"dotnet-test-xunit": "1.0.0-dev-*",
12-
"NETStandard.Library": "1.5.0-*",
1316
"System.Diagnostics.Process": "4.1.0-*"
1417
},
1518
"imports": [

test/Microsoft.AspNetCore.WebUtilities.Tests/HttpResponseStreamWriterTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public async Task WriteCharArrayAsync_WritesToStream(int byteLength)
312312

313313
[Theory]
314314
[InlineData("你好世界", "utf-16")]
315-
#if !NETSTANDARDAPP1_5
315+
#if !NETCOREAPP1_0
316316
// CoreCLR does not like shift_jis as an encoding.
317317
[InlineData("こんにちは世界", "shift_jis")]
318318
#endif
@@ -343,7 +343,7 @@ public async Task WritesData_InExpectedEncoding(string data, string encodingName
343343
[InlineData('你', 1023, "utf-16")]
344344
[InlineData('你', 1024, "utf-16")]
345345
[InlineData('你', 1050, "utf-16")]
346-
#if !NETSTANDARDAPP1_5
346+
#if !NETCOREAPP1_0
347347
// CoreCLR does not like shift_jis as an encoding.
348348
[InlineData('こ', 1023, "shift_jis")]
349349
[InlineData('こ', 1024, "shift_jis")]

test/Microsoft.AspNetCore.WebUtilities.Tests/project.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@
88
},
99
"testRunner": "xunit",
1010
"frameworks": {
11-
"netstandardapp1.5": {
11+
"netcoreapp1.0": {
1212
"dependencies": {
13+
"Microsoft.NETCore.App": {
14+
"version": "1.0.0-*",
15+
"type": "platform"
16+
},
1317
"System.Text.Encoding.Extensions": "4.0.11-*",
1418
"dotnet-test-xunit": "1.0.0-dev-*",
15-
"NETStandard.Library": "1.5.0-*",
1619
"System.Diagnostics.Process": "4.1.0-*"
1720
},
1821
"imports": [

test/Microsoft.Net.Http.Headers.Tests/project.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
"xunit": "2.1.0"
66
},
77
"frameworks": {
8-
"netstandardapp1.5": {
8+
"netcoreapp1.0": {
99
"dependencies": {
10+
"Microsoft.NETCore.App": {
11+
"version": "1.0.0-*",
12+
"type": "platform"
13+
},
1014
"dotnet-test-xunit": "1.0.0-dev-*",
11-
"NETStandard.Library": "1.5.0-*",
1215
"System.Diagnostics.Process": "4.1.0-*"
1316
},
1417
"imports": [

0 commit comments

Comments
 (0)