PHP Class Gittern\Transport\NativeTransportTest

Author: Magnus Nordlander
Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: e-butik/gittern

Public Methods

Method Description
setUp ( )
testCanCheckWhetherIndexDataExists ( )
testCanOverwriteOldBranch ( )
testCanPutIndexData ( )
testCanPutRawObject ( )
testCanReadIndexData ( )
testCanReadLooseObject ( )
testCanReadPackedObject ( )
testCanRemoveBranch ( )
testCanResolveLooseHeadRef ( )
testCanResolvePackedHeadRef ( )
testCanResolveRefAsTreeish ( )
testCanResolveShaAsTreeish ( )
testCanResoveTag ( ) : void Test to see so a tag can be resolved
testCanSetNewBranch ( )
testCantLooseObjectWithInvalidLength ( )
testCantReadEmptyLooseObject ( )
testCantResolveNonExistantObject ( )
testCantResolveUnknownAsTreeish ( )
testNoSuchTag ( ) : void Test to ensure no such tag resolves to false.
testResolveTreeishTag ( )

Protected Methods

Method Description
writeData ( $relative_path, $data )

Method Details

setUp() public method

public setUp ( )

testCanCheckWhetherIndexDataExists() public method

testCanOverwriteOldBranch() public method

testCanPutIndexData() public method

public testCanPutIndexData ( )

testCanPutRawObject() public method

public testCanPutRawObject ( )

testCanReadIndexData() public method

testCanReadLooseObject() public method

testCanReadPackedObject() public method

testCanRemoveBranch() public method

public testCanRemoveBranch ( )

testCanResolveLooseHeadRef() public method

testCanResolvePackedHeadRef() public method

testCanResolveRefAsTreeish() public method

testCanResolveShaAsTreeish() public method

testCanResoveTag() public method

Test to see so a tag can be resolved
public testCanResoveTag ( ) : void
return void

testCanSetNewBranch() public method

public testCanSetNewBranch ( )

testCantLooseObjectWithInvalidLength() public method

testCantReadEmptyLooseObject() public method

testCantResolveNonExistantObject() public method

testCantResolveUnknownAsTreeish() public method

testNoSuchTag() public method

Test to ensure no such tag resolves to false.
public testNoSuchTag ( ) : void
return void

testResolveTreeishTag() public method

writeData() protected method

protected writeData ( $relative_path, $data )