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

Inheritance: GitSharp.Core.SystemReader
ファイルを表示 Open project: nestalk/GitSharp Class Usage Examples

Public Properties

Property Type Description
operatingSystem PlatformType
userGitConfig GitSharp.Core.FileBasedConfig
values String>.IDictionary

Public Methods

Method 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

Method Description
init ( string n ) : void

Method Details

MockSystemReader() public method

public MockSystemReader ( ) : System
return System

clearProperties() public method

public clearProperties ( ) : void
return void

getConfigFile() public method

public getConfigFile ( ConfigFileType fileType ) : FileBasedConfig
fileType ConfigFileType
return GitSharp.Core.FileBasedConfig

getConfigFile() public method

public getConfigFile ( string fileLocation ) : FileBasedConfig
fileLocation string
return GitSharp.Core.FileBasedConfig

getCurrentTime() public method

public getCurrentTime ( ) : long
return long

getHostname() public method

public getHostname ( ) : string
return string

getOperatingSystem() public method

public getOperatingSystem ( ) : PlatformType
return PlatformType

getProperty() public method

public getProperty ( string key ) : string
key string
return string

getTimezone() public method

public getTimezone ( long when ) : int
when long
return int

getenv() public method

public getenv ( string variable ) : string
variable string
return string

openUserConfig() public method

public openUserConfig ( ) : FileBasedConfig
return GitSharp.Core.FileBasedConfig

setProperty() public method

public setProperty ( string key, string value ) : void
key string
value string
return void

Property Details

operatingSystem public_oe property

public PlatformType operatingSystem
return PlatformType

userGitConfig public_oe property

public FileBasedConfig,GitSharp.Core userGitConfig
return GitSharp.Core.FileBasedConfig

values public_oe property

public IDictionary values
return String>.IDictionary