From fea510f1d0979ca229afa4f85aaeab985400ddbf Mon Sep 17 00:00:00 2001 From: Doug Bunting Date: Wed, 9 Sep 2015 19:45:47 -0700 Subject: [PATCH] React to `xunit.runner.aspnet` package updates - aspnet/aspnet.xunit@5a12e89 --- .../Microsoft.AspNet.Server.KestrelTests.xproj | 3 +++ .../Microsoft.AspNet.Server.KestrelTests/Program.cs | 13 +++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/test/Microsoft.AspNet.Server.KestrelTests/Microsoft.AspNet.Server.KestrelTests.xproj b/test/Microsoft.AspNet.Server.KestrelTests/Microsoft.AspNet.Server.KestrelTests.xproj index 5919699731..59c2109f9e 100644 --- a/test/Microsoft.AspNet.Server.KestrelTests/Microsoft.AspNet.Server.KestrelTests.xproj +++ b/test/Microsoft.AspNet.Server.KestrelTests/Microsoft.AspNet.Server.KestrelTests.xproj @@ -13,5 +13,8 @@ 2.0 + + + \ No newline at end of file diff --git a/test/Microsoft.AspNet.Server.KestrelTests/Program.cs b/test/Microsoft.AspNet.Server.KestrelTests/Program.cs index 1baf869b8c..858790c686 100644 --- a/test/Microsoft.AspNet.Server.KestrelTests/Program.cs +++ b/test/Microsoft.AspNet.Server.KestrelTests/Program.cs @@ -13,16 +13,25 @@ namespace Microsoft.AspNet.Server.KestrelTests { private readonly IApplicationEnvironment env; private readonly IServiceProvider sp; + private readonly ILibraryManager _libraryManager; + private readonly IApplicationShutdown _shutdown; - public Program(IApplicationEnvironment env, IServiceProvider sp) + public Program( + IApplicationEnvironment env, + IServiceProvider sp, + ILibraryManager libraryManager, + IApplicationShutdown shutown) { this.env = env; this.sp = sp; + _libraryManager = libraryManager; + _shutdown = shutown; } public int Main() { - return new Xunit.Runner.AspNet.Program(env, sp).Main(new string[] { + return new Xunit.Runner.Dnx.Program(env, sp, _libraryManager, _shutdown).Main(new string[] + { "-class", typeof(MultipleLoopTests).FullName });