Refactor tests, add coverage for building templates

This commit is contained in:
Daniel Plaisted 2018-11-20 10:53:39 -08:00
parent 7b76c6dd89
commit 6fd4a5afad
5 changed files with 300 additions and 241 deletions

View file

@ -52,7 +52,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
s_testAssets = new TestAssets(
new DirectoryInfo(assetsRoot),
new FileInfo(new Muxer().MuxerPath),
new FileInfo(RepoDirectoriesProvider.DotnetUnderTest),
RepoDirectoriesProvider.TestWorkingFolder);
}
@ -112,8 +112,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
args.Add("exec");
args.Add(ArgumentEscaper.EscapeSingleArg(executablePath));
var muxer = new Muxer();
executablePath = muxer.MuxerPath;
executablePath = RepoDirectoriesProvider.DotnetUnderTest;
}
var executableCommand = new TestCommand(executablePath);