use DotnetCommand instead of TestCommand

This commit is contained in:
jonsequitur 2017-03-21 14:55:56 -07:00
parent 0eca6cb9cd
commit be86933ff8

View file

@ -355,10 +355,9 @@ namespace Microsoft.DotNet.Tests
p.Save(); p.Save();
} }
class HelloCommand : TestCommand class HelloCommand : DotnetCommand
{ {
public HelloCommand() public HelloCommand()
: base("dotnet")
{ {
} }
@ -375,10 +374,9 @@ namespace Microsoft.DotNet.Tests
} }
} }
class PortableCommand : TestCommand class PortableCommand : DotnetCommand
{ {
public PortableCommand() public PortableCommand()
: base("dotnet")
{ {
} }
@ -395,12 +393,11 @@ namespace Microsoft.DotNet.Tests
} }
} }
class GenericCommand : TestCommand class GenericCommand : DotnetCommand
{ {
private readonly string _commandName; private readonly string _commandName;
public GenericCommand(string commandName) public GenericCommand(string commandName)
: base("dotnet")
{ {
_commandName = commandName; _commandName = commandName;
} }
@ -418,10 +415,9 @@ namespace Microsoft.DotNet.Tests
} }
} }
class DependencyContextTestCommand : TestCommand class DependencyContextTestCommand : DotnetCommand
{ {
public DependencyContextTestCommand() public DependencyContextTestCommand()
: base("dotnet")
{ {
} }