fix a few tests, revert one change

This commit is contained in:
jonsequitur 2017-03-16 23:15:45 -07:00
parent 4d4ebf9d3a
commit de6a4bd022
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
{ {
protected const string DefaultFramework = "netcoreapp1.0"; protected const string DefaultFramework = "netcoreapp1.0";
protected const string DefaultLibraryFramework = "netstandard1.5"; protected const string DefaultLibraryFramework = "netstandard1.5";
protected const string ConsoleLoggerOutputNormal = "--logger:console;verbosity=normal"; protected const string ConsoleLoggerOutputNormal = "--logger console;verbosity=normal";
private TempRoot _temp; private TempRoot _temp;
private static TestAssets s_testAssets; private static TestAssets s_testAssets;

View file

@ -47,7 +47,7 @@ namespace Microsoft.DotNet.Cli.MSBuild.Tests
[InlineData("--output")] [InlineData("--output")]
public void ItAddsOutputPathToMsBuildInvocation(string optionName) public void ItAddsOutputPathToMsBuildInvocation(string optionName)
{ {
string path = Directory.GetCurrentDirectory(); string path = "/some/path";
var args = ArgsPrefix.Concat(new string[] { optionName, path }).ToArray(); var args = ArgsPrefix.Concat(new string[] { optionName, path }).ToArray();
var msbuildPath = "<msbuildpath>"; var msbuildPath = "<msbuildpath>";

View file

@ -34,7 +34,7 @@ namespace Microsoft.DotNet.Cli.VSTest.Tests
.GetDirectory("bin", configuration, "netcoreapp2.0") .GetDirectory("bin", configuration, "netcoreapp2.0")
.GetFile($"{testAppName}.dll"); .GetFile($"{testAppName}.dll");
var argsForVstest = $"\"{outputDll.FullName}\" {TestBase.ConsoleLoggerOutputNormal}"; var argsForVstest = $"\"{outputDll.FullName}\" --logger:console;verbosity=normal";
// Call vstest // Call vstest
var result = new VSTestCommand().ExecuteWithCapturedOutput(argsForVstest); var result = new VSTestCommand().ExecuteWithCapturedOutput(argsForVstest);