C# Class SonarLint.VisualStudio.Integration.UnitTests.ConfigurablePackageInstaller

Inheritance: IVsPackageInstaller
Show file Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Public Methods

Method Description
AssertInstalledPackages ( Project project, IEnumerable expectedPackages ) : void
AssertNoInstalledPackages ( Project project ) : void
ConfigurablePackageInstaller ( IEnumerable allowedPackages, bool simulateInstallerException = false ) : EnvDTE
ConfigurablePackageInstaller ( bool simulateInstallerException = false ) : EnvDTE

Private Methods

Method Description
IVsPackageInstaller ( NuGet repository, Project project, string packageId, string version, bool ignoreDependencies, bool skipAssemblyReferences ) : void
IVsPackageInstaller ( string source, Project project, string packageId, System.Version version, bool ignoreDependencies ) : void
IVsPackageInstaller ( string source, Project project, string packageId, string version, bool ignoreDependencies ) : void
IVsPackageInstaller ( string keyName, bool isPreUnzipped, bool skipAssemblyReferences, Project project, string>.IDictionary packageVersions ) : void
IVsPackageInstaller ( string keyName, bool isPreUnzipped, bool skipAssemblyReferences, bool ignoreDependencies, Project project, string>.IDictionary packageVersions ) : void

Method Details

AssertInstalledPackages() public method

public AssertInstalledPackages ( Project project, IEnumerable expectedPackages ) : void
project Project
expectedPackages IEnumerable
return void

AssertNoInstalledPackages() public method

public AssertNoInstalledPackages ( Project project ) : void
project Project
return void

ConfigurablePackageInstaller() public method

public ConfigurablePackageInstaller ( IEnumerable allowedPackages, bool simulateInstallerException = false ) : EnvDTE
allowedPackages IEnumerable
simulateInstallerException bool
return EnvDTE

ConfigurablePackageInstaller() public method

public ConfigurablePackageInstaller ( bool simulateInstallerException = false ) : EnvDTE
simulateInstallerException bool
return EnvDTE