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,18 +7,13 @@ using System.Collections.Generic;
namespace Microsoft.DotNet.Tools.Test.Utilities
{
public sealed class PublishCommand : TestCommand
public sealed class PublishCommand : DotnetCommand
{
private string _framework;
private string _output;
private string _runtime;
private List<string> _profileFilterProject = new List<string>();
public PublishCommand()
: base("dotnet")
{
}
public PublishCommand WithFramework(string framework)
{
_framework = framework;