C# Class GitSharp.Core.Tests.Util.MockSystemReader

Inheritance: GitSharp.Core.SystemReader
Afficher le fichier Open project: nestalk/GitSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
operatingSystem PlatformType
userGitConfig GitSharp.Core.FileBasedConfig
values String>.IDictionary

Méthodes publiques

Méthode Description
MockSystemReader ( ) : System
clearProperties ( ) : void
getConfigFile ( ConfigFileType fileType ) : FileBasedConfig
getConfigFile ( string fileLocation ) : FileBasedConfig
getCurrentTime ( ) : long
getHostname ( ) : string
getOperatingSystem ( ) : PlatformType
getProperty ( string key ) : string
getTimezone ( long when ) : int
getenv ( string variable ) : string
openUserConfig ( ) : FileBasedConfig
setProperty ( string key, string value ) : void

Private Methods

Méthode Description
init ( string n ) : void

Method Details

MockSystemReader() public méthode

public MockSystemReader ( ) : System
Résultat System

clearProperties() public méthode

public clearProperties ( ) : void
Résultat void

getConfigFile() public méthode

public getConfigFile ( ConfigFileType fileType ) : FileBasedConfig
fileType ConfigFileType
Résultat GitSharp.Core.FileBasedConfig

getConfigFile() public méthode

public getConfigFile ( string fileLocation ) : FileBasedConfig
fileLocation string
Résultat GitSharp.Core.FileBasedConfig

getCurrentTime() public méthode

public getCurrentTime ( ) : long
Résultat long

getHostname() public méthode

public getHostname ( ) : string
Résultat string

getOperatingSystem() public méthode

public getOperatingSystem ( ) : PlatformType
Résultat PlatformType

getProperty() public méthode

public getProperty ( string key ) : string
key string
Résultat string

getTimezone() public méthode

public getTimezone ( long when ) : int
when long
Résultat int

getenv() public méthode

public getenv ( string variable ) : string
variable string
Résultat string

openUserConfig() public méthode

public openUserConfig ( ) : FileBasedConfig
Résultat GitSharp.Core.FileBasedConfig

setProperty() public méthode

public setProperty ( string key, string value ) : void
key string
value string
Résultat void

Property Details

operatingSystem public_oe property

public PlatformType operatingSystem
Résultat PlatformType

userGitConfig public_oe property

public FileBasedConfig,GitSharp.Core userGitConfig
Résultat GitSharp.Core.FileBasedConfig

values public_oe property

public IDictionary values
Résultat String>.IDictionary