PHP 클래스 Gitonomy\Git\Tests\AbstractTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: gitonomy/gitlib 1 사용 예제들

공개 메소드들

메소드 설명
createEmptyRepository ( $bare = true ) : Repository Creates an empty git repository and returns instance.
createFoobarRepository ( $bare = true ) : Repository Creates a fixture test repository.
createTempDir ( ) : string Created an empty directory and return path to it.
deleteDir ( string $dir ) Deletes a directory recursively.
provideEmpty ( ) Can be used as data provider to get bare/not-bare repositories.
provideFoobar ( ) Can be used as data provider to get bare/not-bare repositories.
registerDeletion ( Repository $repository )

보호된 메소드들

메소드 설명
getOptions ( )

메소드 상세

createEmptyRepository() 공개 정적인 메소드

Creates an empty git repository and returns instance.
public static createEmptyRepository ( $bare = true ) : Repository
리턴 Gitonomy\Git\Repository

createFoobarRepository() 공개 정적인 메소드

Creates a fixture test repository.
public static createFoobarRepository ( $bare = true ) : Repository
리턴 Gitonomy\Git\Repository

createTempDir() 공개 정적인 메소드

Created an empty directory and return path to it.
public static createTempDir ( ) : string
리턴 string a fullpath

deleteDir() 공개 정적인 메소드

Deletes a directory recursively.
public static deleteDir ( string $dir )
$dir string directory to delete

getOptions() 보호된 정적인 메소드

protected static getOptions ( )

provideEmpty() 공개 정적인 메소드

Can be used as data provider to get bare/not-bare repositories.
public static provideEmpty ( )

provideFoobar() 공개 정적인 메소드

Can be used as data provider to get bare/not-bare repositories.
public static provideFoobar ( )

registerDeletion() 공개 정적인 메소드

public static registerDeletion ( Repository $repository )
$repository Gitonomy\Git\Repository