C# Class MonoDevelop.PackageManagement.Tests.Helpers.FakePackageManagementSolution

Inheritance: IPackageManagementSolution
Mostrar archivo Open project: powerumc/monodevelop_korean Class Usage Examples

Public Properties

Property Type Description
FakeActiveDotNetProject MonoDevelop.PackageManagement.Tests.Helpers.FakeDotNetProject
FakeActiveProject MonoDevelop.PackageManagement.Tests.Helpers.FakePackageManagementProject
FakeDotNetProjects List
FakeInstalledPackages List
FakePackagesInReverseDependencyOrder List
FakeProjectToReturnFromGetProject MonoDevelop.PackageManagement.Tests.Helpers.FakePackageManagementProject
FakeProjects List
FakeProjectsToReturnFromGetProject FakePackageManagementProject>.Dictionary
GetActiveProjectCallCount int
IsGetActiveProjectWithNoParametersCalled bool
PackageSourcePassedToGetProject PackageSource
ProjectNamePassedToGetProject string
ProjectPassedToGetProject IDotNetProject
ProjectsPassedToGetProject List
RepositoryPassedToGetActiveProject IPackageRepository
RepositoryPassedToGetProject IPackageRepository
SolutionPackageRepository MonoDevelop.PackageManagement.Tests.Helpers.FakeSolutionPackageRepository
SourceRepositoryPassedToGetProjects IPackageRepository

Public Methods

Method Description
AddFakeProject ( string projectName ) : MonoDevelop.PackageManagement.Tests.Helpers.FakePackageManagementProject
AddFakeProjectToReturnFromGetProject ( string name ) : MonoDevelop.PackageManagement.Tests.Helpers.FakePackageManagementProject
AddPackageReference ( string packageId, string packageVersion ) : void
AddPackageToActiveProjectLocalRepository ( string packageId ) : MonoDevelop.PackageManagement.Tests.Helpers.FakePackage
AddPackageToActiveProjectLocalRepository ( MonoDevelop.PackageManagement.Tests.Helpers.FakePackage package ) : void
AddPackageToSharedLocalRepository ( string packageId ) : MonoDevelop.PackageManagement.Tests.Helpers.FakePackage
AddPackageToSharedLocalRepository ( string packageId, string version ) : MonoDevelop.PackageManagement.Tests.Helpers.FakePackage
GetActiveDotNetProject ( ) : IDotNetProject
GetActiveProject ( ) : IPackageManagementProject
GetActiveProject ( IPackageRepository sourceRepository ) : IPackageManagementProject
GetDotNetProjects ( ) : IEnumerable
GetInstallPath ( IPackage package ) : string
GetPackages ( ) : IQueryable
GetPackagesInReverseDependencyOrder ( ) : IEnumerable
GetProject ( IDotNetProject project ) : IPackageManagementProject
GetProject ( IPackageRepository sourceRepository, IDotNetProject project ) : IPackageManagementProject
GetProject ( IPackageRepository sourceRepository, string projectName ) : IPackageManagementProject
GetProject ( PackageSource source, string projectName ) : IPackageManagementProject
GetProjects ( IPackageRepository sourceRepository ) : IEnumerable
GetRepository ( ) : ISolutionPackageRepository
HasMultipleProjects ( ) : bool
IsPackageInstalled ( IPackage package ) : bool
IsPackageRestored ( string packageId, SemanticVersion packageVersion ) : bool
NoProjectsSelected ( ) : void

Method Details

AddFakeProject() public method

public AddFakeProject ( string projectName ) : MonoDevelop.PackageManagement.Tests.Helpers.FakePackageManagementProject
projectName string
return MonoDevelop.PackageManagement.Tests.Helpers.FakePackageManagementProject

AddFakeProjectToReturnFromGetProject() public method

public AddFakeProjectToReturnFromGetProject ( string name ) : MonoDevelop.PackageManagement.Tests.Helpers.FakePackageManagementProject
name string
return MonoDevelop.PackageManagement.Tests.Helpers.FakePackageManagementProject

AddPackageReference() public method

public AddPackageReference ( string packageId, string packageVersion ) : void
packageId string
packageVersion string
return void

AddPackageToActiveProjectLocalRepository() public method

public AddPackageToActiveProjectLocalRepository ( string packageId ) : MonoDevelop.PackageManagement.Tests.Helpers.FakePackage
packageId string
return MonoDevelop.PackageManagement.Tests.Helpers.FakePackage

AddPackageToActiveProjectLocalRepository() public method

public AddPackageToActiveProjectLocalRepository ( MonoDevelop.PackageManagement.Tests.Helpers.FakePackage package ) : void
package MonoDevelop.PackageManagement.Tests.Helpers.FakePackage
return void

AddPackageToSharedLocalRepository() public method

public AddPackageToSharedLocalRepository ( string packageId ) : MonoDevelop.PackageManagement.Tests.Helpers.FakePackage
packageId string
return MonoDevelop.PackageManagement.Tests.Helpers.FakePackage

AddPackageToSharedLocalRepository() public method

public AddPackageToSharedLocalRepository ( string packageId, string version ) : MonoDevelop.PackageManagement.Tests.Helpers.FakePackage
packageId string
version string
return MonoDevelop.PackageManagement.Tests.Helpers.FakePackage

GetActiveDotNetProject() public method

public GetActiveDotNetProject ( ) : IDotNetProject
return IDotNetProject

GetActiveProject() public method

public GetActiveProject ( ) : IPackageManagementProject
return IPackageManagementProject

GetActiveProject() public method

public GetActiveProject ( IPackageRepository sourceRepository ) : IPackageManagementProject
sourceRepository IPackageRepository
return IPackageManagementProject

GetDotNetProjects() public method

public GetDotNetProjects ( ) : IEnumerable
return IEnumerable

GetInstallPath() public method

public GetInstallPath ( IPackage package ) : string
package IPackage
return string

GetPackages() public method

public GetPackages ( ) : IQueryable
return IQueryable

GetPackagesInReverseDependencyOrder() public method

public GetPackagesInReverseDependencyOrder ( ) : IEnumerable
return IEnumerable

GetProject() public method

public GetProject ( IDotNetProject project ) : IPackageManagementProject
project IDotNetProject
return IPackageManagementProject

GetProject() public method

public GetProject ( IPackageRepository sourceRepository, IDotNetProject project ) : IPackageManagementProject
sourceRepository IPackageRepository
project IDotNetProject
return IPackageManagementProject

GetProject() public method

public GetProject ( IPackageRepository sourceRepository, string projectName ) : IPackageManagementProject
sourceRepository IPackageRepository
projectName string
return IPackageManagementProject

GetProject() public method

public GetProject ( PackageSource source, string projectName ) : IPackageManagementProject
source PackageSource
projectName string
return IPackageManagementProject

GetProjects() public method

public GetProjects ( IPackageRepository sourceRepository ) : IEnumerable
sourceRepository IPackageRepository
return IEnumerable

GetRepository() public method

public GetRepository ( ) : ISolutionPackageRepository
return ISolutionPackageRepository

HasMultipleProjects() public method

public HasMultipleProjects ( ) : bool
return bool

IsPackageInstalled() public method

public IsPackageInstalled ( IPackage package ) : bool
package IPackage
return bool

IsPackageRestored() public method

public IsPackageRestored ( string packageId, SemanticVersion packageVersion ) : bool
packageId string
packageVersion SemanticVersion
return bool

NoProjectsSelected() public method

public NoProjectsSelected ( ) : void
return void

Property Details

FakeActiveDotNetProject public_oe property

public FakeDotNetProject,MonoDevelop.PackageManagement.Tests.Helpers FakeActiveDotNetProject
return MonoDevelop.PackageManagement.Tests.Helpers.FakeDotNetProject

FakeActiveProject public_oe property

public FakePackageManagementProject,MonoDevelop.PackageManagement.Tests.Helpers FakeActiveProject
return MonoDevelop.PackageManagement.Tests.Helpers.FakePackageManagementProject

FakeDotNetProjects public_oe property

public List FakeDotNetProjects
return List

FakeInstalledPackages public_oe property

public List FakeInstalledPackages
return List

FakePackagesInReverseDependencyOrder public_oe property

public List FakePackagesInReverseDependencyOrder
return List

FakeProjectToReturnFromGetProject public_oe property

public FakePackageManagementProject,MonoDevelop.PackageManagement.Tests.Helpers FakeProjectToReturnFromGetProject
return MonoDevelop.PackageManagement.Tests.Helpers.FakePackageManagementProject

FakeProjects public_oe property

public List FakeProjects
return List

FakeProjectsToReturnFromGetProject public_oe property

public Dictionary FakeProjectsToReturnFromGetProject
return FakePackageManagementProject>.Dictionary

GetActiveProjectCallCount public_oe property

public int GetActiveProjectCallCount
return int

IsGetActiveProjectWithNoParametersCalled public_oe property

public bool IsGetActiveProjectWithNoParametersCalled
return bool

PackageSourcePassedToGetProject public_oe property

public PackageSource PackageSourcePassedToGetProject
return PackageSource

ProjectNamePassedToGetProject public_oe property

public string ProjectNamePassedToGetProject
return string

ProjectPassedToGetProject public_oe property

public IDotNetProject ProjectPassedToGetProject
return IDotNetProject

ProjectsPassedToGetProject public_oe property

public List ProjectsPassedToGetProject
return List

RepositoryPassedToGetActiveProject public_oe property

public IPackageRepository RepositoryPassedToGetActiveProject
return IPackageRepository

RepositoryPassedToGetProject public_oe property

public IPackageRepository RepositoryPassedToGetProject
return IPackageRepository

SolutionPackageRepository public_oe property

public FakeSolutionPackageRepository,MonoDevelop.PackageManagement.Tests.Helpers SolutionPackageRepository
return MonoDevelop.PackageManagement.Tests.Helpers.FakeSolutionPackageRepository

SourceRepositoryPassedToGetProjects public_oe property

public IPackageRepository SourceRepositoryPassedToGetProjects
return IPackageRepository