Move all test commands to DotNetCommand base
This commit is contained in:
parent
cb52224272
commit
fac34c7b3b
18 changed files with 19 additions and 107 deletions
|
@ -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}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue