Reacting to KoreBuild xunit test changes

This commit is contained in:
Pranav K 2016-03-07 15:49:11 -08:00
parent 05ac95c344
commit f3740b2196
3 changed files with 8 additions and 12 deletions

View File

@ -1,16 +1,14 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
namespace Microsoft.AspNetCore.Mvc.FunctionalTests
{
public class MvcSampleFixture<TStartup> : MvcTestFixture<TStartup>
{
public MvcSampleFixture()
#if NETSTANDARDAPP1_5
:base("../../../../../../samples/")
#else
: base("../../../../samples/")
#endif
: base(Path.Combine("..", "..", "..", "..", "..", "..", "samples"))
{
}
}

View File

@ -24,11 +24,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
private readonly TestServer _server;
public MvcTestFixture()
#if NETSTANDARDAPP1_5
: this(Path.Combine("..", "..", "..", "..", "..", "WebSites"))
#else
: this(Path.Combine("..", "..", "..", "WebSites"))
#endif
{
}

View File

@ -26,10 +26,12 @@
"dotnet-test-xunit": "1.0.0-dev-*"
}
},
"dnx451": {
"net451": {
"frameworkAssemblies": {
"System.Threading.Tasks": ""
},
"dependencies": {
"Moq": "4.2.1312.1622",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
"Moq": "4.2.1312.1622"
}
}
}