C# Class GitSharp.Tests.RepositoryTestCase

Show file Open project: jagregory/GitSharp

Protected Properties

Property Type Description
db GitSharp.Core.Repository
trash System.IO.DirectoryInfo
userGitConfig GitSharp.RepositoryConfig

Public Methods

Method Description
setUp ( ) : void

Protected Methods

Method Description
CopyDirectory ( string sourceDirectoryPath, string targetDirectoryPath ) : void
checkFile ( FileInfo f, string checkData ) : void
writeTrashFile ( string name, string data ) : FileInfo

Method Details

CopyDirectory() protected static method

protected static CopyDirectory ( string sourceDirectoryPath, string targetDirectoryPath ) : void
sourceDirectoryPath string
targetDirectoryPath string
return void

checkFile() protected static method

protected static checkFile ( FileInfo f, string checkData ) : void
f System.IO.FileInfo
checkData string
return void

setUp() public method

public setUp ( ) : void
return void

writeTrashFile() protected method

protected writeTrashFile ( string name, string data ) : FileInfo
name string
data string
return System.IO.FileInfo

Property Details

db protected property

protected Repository,GitSharp.Core db
return GitSharp.Core.Repository

trash protected property

protected DirectoryInfo,System.IO trash
return System.IO.DirectoryInfo

userGitConfig protected property

mock user's global configuration used instead ~/.gitconfig. This configuration can be modified by the tests without any effect for ~/.gitconfig.
protected RepositoryConfig,GitSharp userGitConfig
return GitSharp.RepositoryConfig