C# 클래스 NuGetGallery.FunctionalTests.CommandlineHelper

Provides helpers functions around NuGet.exe
상속: NuGetGallery.FunctionalTests.HelperBase
파일 보기 프로젝트 열기: NuGet/NuGetGallery 1 사용 예제들

공개 메소드들

메소드 설명
CommandlineHelper ( ITestOutputHelper testOutputHelper ) : System
DeletePackageAsync ( string packageId, string version, string sourceName ) : Task

Delete the specified package using Nuget.exe

InstallPackageAsync ( string packageId, string sourceName ) : Task

Install the specified package using Nuget.exe

InstallPackageAsync ( string packageId, string sourceName, string outputDirectory ) : Task

Install the specified package using Nuget.exe, specifying the output directory

InvokeNugetProcess ( List arguments, string workingDir = null, int timeout = 360 ) : Task

Invokes nuget.exe with the appropriate parameters.

PackPackageAsync ( string nuspecFileFullPath, string nuspecDir ) : Task
SpecPackageAsync ( string packageName, string packageDir ) : Task
UpdateNugetExeAsync ( ) : Task

Self update on nuget.exe

UploadPackageAsync ( string packageFullPath, string sourceName ) : Task

Uploads the given package to the specified source and returns the exit code.

메소드 상세

CommandlineHelper() 공개 메소드

public CommandlineHelper ( ITestOutputHelper testOutputHelper ) : System
testOutputHelper ITestOutputHelper
리턴 System

DeletePackageAsync() 공개 메소드

Delete the specified package using Nuget.exe
public DeletePackageAsync ( string packageId, string version, string sourceName ) : Task
packageId string package to be deleted
version string version of package to be deleted
sourceName string source url
리턴 Task

InstallPackageAsync() 공개 메소드

Install the specified package using Nuget.exe
public InstallPackageAsync ( string packageId, string sourceName ) : Task
packageId string package to be installed
sourceName string source url
리턴 Task

InstallPackageAsync() 공개 메소드

Install the specified package using Nuget.exe, specifying the output directory
public InstallPackageAsync ( string packageId, string sourceName, string outputDirectory ) : Task
packageId string package to be installed
sourceName string source url
outputDirectory string outputDirectory
리턴 Task

InvokeNugetProcess() 공개 메소드

Invokes nuget.exe with the appropriate parameters.
public InvokeNugetProcess ( List arguments, string workingDir = null, int timeout = 360 ) : Task
arguments List cmd line args to NuGet.exe
workingDir string working dir if any to be used
timeout int Timeout in seconds (default = 6min).
리턴 Task

PackPackageAsync() 공개 메소드

public PackPackageAsync ( string nuspecFileFullPath, string nuspecDir ) : Task
nuspecFileFullPath string
nuspecDir string
리턴 Task

SpecPackageAsync() 공개 메소드

public SpecPackageAsync ( string packageName, string packageDir ) : Task
packageName string
packageDir string
리턴 Task

UpdateNugetExeAsync() 공개 메소드

Self update on nuget.exe
public UpdateNugetExeAsync ( ) : Task
리턴 Task

UploadPackageAsync() 공개 메소드

Uploads the given package to the specified source and returns the exit code.
public UploadPackageAsync ( string packageFullPath, string sourceName ) : Task
packageFullPath string
sourceName string
리턴 Task