React to `xunit.runner.aspnet` package updates
- aspnet/aspnet.xunit@5a12e89
This commit is contained in:
parent
dc08062545
commit
fea510f1d0
|
|
@ -13,5 +13,8 @@
|
|||
<PropertyGroup>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
</Project>
|
||||
|
|
@ -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
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue