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

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

Public Methods

Method Description
AssertConnectRequests ( int expectedCount ) : void
ClearServerPlugins ( ) : void
ClearServerProperties ( ) : void
RegisterProjectDashboardUrl ( ConnectionInformation connectionInfo, ProjectInformation projectInfo, Uri url ) : void
RegisterServerPlugin ( ServerPlugin plugin ) : void
RegisterServerProperty ( ServerProperty property ) : void
ResetCounters ( ) : void

Private Methods

Method Description
AssertExpectedConnection ( ConnectionInformation connection ) : void
AssertExpectedProjectInformation ( ProjectInformation projectInformation ) : void
ISonarQubeServiceWrapper ( ConnectionInformation serverConnection, ProjectInformation project ) : Uri
ISonarQubeServiceWrapper ( ConnectionInformation serverConnection, CancellationToken token, ProjectInformation &serverProjects ) : bool
ISonarQubeServiceWrapper ( ConnectionInformation serverConnection, CancellationToken token, ServerPlugin &plugins ) : bool
ISonarQubeServiceWrapper ( ConnectionInformation serverConnection, CancellationToken token, ServerProperty &properties ) : bool
ISonarQubeServiceWrapper ( ConnectionInformation serverConnection, ProjectInformation project, System.Language language, CancellationToken token, SonarLint.VisualStudio.Integration.Service.QualityProfile &profile ) : bool
ISonarQubeServiceWrapper ( ConnectionInformation serverConnection, SonarLint.VisualStudio.Integration.Service.QualityProfile profile, System.Language language, CancellationToken token, RoslynExportProfile &export ) : bool

Method Details

AssertConnectRequests() public method

public AssertConnectRequests ( int expectedCount ) : void
expectedCount int
return void

ClearServerPlugins() public method

public ClearServerPlugins ( ) : void
return void

ClearServerProperties() public method

public ClearServerProperties ( ) : void
return void

RegisterProjectDashboardUrl() public method

public RegisterProjectDashboardUrl ( ConnectionInformation connectionInfo, ProjectInformation projectInfo, Uri url ) : void
connectionInfo SonarLint.VisualStudio.Integration.Service.ConnectionInformation
projectInfo SonarLint.VisualStudio.Integration.Service.ProjectInformation
url System.Uri
return void

RegisterServerPlugin() public method

public RegisterServerPlugin ( ServerPlugin plugin ) : void
plugin SonarLint.VisualStudio.Integration.Service.DataModel.ServerPlugin
return void

RegisterServerProperty() public method

public RegisterServerProperty ( ServerProperty property ) : void
property SonarLint.VisualStudio.Integration.Service.ServerProperty
return void

ResetCounters() public method

public ResetCounters ( ) : void
return void