File tree Expand file tree Collapse file tree 5 files changed +22
-10
lines changed
src/AspNetCore.Mvc.CookieTempData
AspNetCore.Mvc.CookieTempData.Client
AspNetCore.Mvc.CookieTempData.Tests Expand file tree Collapse file tree 5 files changed +22
-10
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,13 @@ Task("Test")
24
24
. Does ( ( ) =>
25
25
{
26
26
var testSettings = new DotNetCoreTestSettings { NoBuild = true , Configuration = configuration } ;
27
+
28
+ // Couldn't get 'dotnet-test-xunit' to run on .NET 4.5.1 on Ubuntu
29
+ if ( IsRunningOnUnix ( ) )
30
+ {
31
+ testSettings . Framework = "netcoreapp1.0" ;
32
+ }
33
+
27
34
var testProjects = GetFiles ( "./test/*.Tests/project.json" ) ;
28
35
foreach ( var p in testProjects ) {
29
36
DotNetCoreTest ( p . ToString ( ) , testSettings ) ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ void IResultFilter.OnResultExecuting(ResultExecutingContext context)
35
35
context . HttpContext . Response . OnStarting ( ( ) =>
36
36
{
37
37
tempDataDictionary . Save ( ) ;
38
- return Task . CompletedTask ;
38
+ return Task . FromResult < object > ( null ) ;
39
39
} ) ;
40
40
}
41
41
Original file line number Diff line number Diff line change 22
22
},
23
23
24
24
"dependencies" : {
25
- "NETStandard.Library" : " 1.6.0" ,
26
25
"Microsoft.AspNetCore.Mvc.ViewFeatures" : " 1.0.0" ,
27
26
"Microsoft.AspNetCore.DataProtection" : " 1.0.0" ,
28
27
"Microsoft.Extensions.Options" : " 1.0.0" ,
29
28
"Newtonsoft.Json" : " 9.0.1"
30
29
},
31
30
32
31
"frameworks" : {
33
- "netstandard1.6" : {}
32
+ "netstandard1.6" : {},
33
+ "net451" : {}
34
34
}
35
35
}
Original file line number Diff line number Diff line change 3
3
"AspNetCore.Mvc.CookieTempData" : { "target" : " project" },
4
4
"Microsoft.AspNetCore.Diagnostics" : " 1.0.0" ,
5
5
"Microsoft.AspNetCore.Mvc" : " 1.0.0" ,
6
- "Microsoft.NETCore.App" : {
7
- "version" : " 1.0.0" ,
8
- "type" : " platform"
9
- },
10
6
"Microsoft.AspNetCore.Server.Kestrel" : " 1.0.0" ,
11
7
"Microsoft.AspNetCore.Server.IISIntegration" : " 1.0.0"
12
8
},
13
9
14
10
"frameworks" : {
15
- "netcoreapp1.0" : {}
11
+ "netcoreapp1.0" : {
12
+ "dependencies" : {
13
+ "Microsoft.NETCore.App" : {
14
+ "version" : " 1.0.0" ,
15
+ "type" : " platform"
16
+ }
17
+ }
18
+ },
19
+ "net451" : {}
16
20
},
17
21
18
22
"tools" : {
Original file line number Diff line number Diff line change 4
4
"debugType" : " portable"
5
5
},
6
6
"dependencies" : {
7
- "xunit" : " 2.1.0 " ,
7
+ "xunit" : " 2.2.0-beta2-build3300 " ,
8
8
"dotnet-test-xunit" : " 2.2.0-preview2-build1029" ,
9
9
"Moq" : " 4.6.25-*" ,
10
10
"AspNetCore.Mvc.CookieTempData" : { "target" : " project" }
23
23
" dotnet5.4" ,
24
24
" portable-net451+win8"
25
25
]
26
- }
26
+ },
27
+ "net451" : {}
27
28
}
28
29
}
You can’t perform that action at this time.
0 commit comments