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

@ -5,15 +5,10 @@ using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.DotNet.Tools.Test.Utilities
{
public sealed class RestoreCommand : TestCommand
public sealed class RestoreCommand : DotnetCommand
{
private string _runtime;
public RestoreCommand()
: base("dotnet")
{
}
public RestoreCommand WithRuntime(string runtime)
{
_runtime = runtime;