Move all test commands to DotNetCommand base

This commit is contained in:
Piotr Puszkiewicz 2017-03-14 14:07:51 -07:00
parent cb52224272
commit fac34c7b3b
18 changed files with 19 additions and 107 deletions

View file

@ -7,7 +7,7 @@ using System.Collections.Generic;
namespace Microsoft.DotNet.Tools.Test.Utilities
{
public sealed class CacheCommand : TestCommand
public sealed class CacheCommand : DotnetCommand
{
private List<string> _profileProject = new List<string>();
private string _framework;
@ -16,11 +16,6 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
private string _frameworkVersion;
private string _intermediateWorkingDirectory;
public CacheCommand()
: base("dotnet")
{
}
public CacheCommand WithEntries(string profileProject)
{
_profileProject.Add($"--entries {profileProject}");