PHP Class VersionPress\Tests\GitRepositoryTests\MergeDriverTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: versionpress/versionpress

Public Methods

Method Description
changesOnAdjacentLinesMergeWithoutConflict ( string $driver )
conflictingContentsCreatedConflict ( string $driver ) Creates two branches with a conflict in content. Asserts that dates are merged automatically but the content conflicts.
driverProvider ( )
gitAttributesIsSameAfterInstallAndUninstall ( )
gitAttributesRemovedCorrectlyAfterUninstall ( )
gitAttributesRemovedWhenEmpty ( )
mergeDriverInstalledCorrectly ( )
mergeDriverIsNotAddedWhenPresent ( )
mergeDriverUninstalledCorrectly ( )
mergedDatesWithoutConflict ( string $driver ) Creates two branches differing only in the date modified (and the GMT version of it).
setUp ( )
setUpBeforeClass ( )
tearDown ( )

Private Methods

Method Description
installMergeDriver ( string $driver )

Method Details

changesOnAdjacentLinesMergeWithoutConflict() public method

conflictingContentsCreatedConflict() public method

Creates two branches with a conflict in content. Asserts that dates are merged automatically but the content conflicts.
public conflictingContentsCreatedConflict ( string $driver )
$driver string

driverProvider() public method

public driverProvider ( )

gitAttributesIsSameAfterInstallAndUninstall() public method

gitAttributesRemovedCorrectlyAfterUninstall() public method

gitAttributesRemovedWhenEmpty() public method

mergeDriverInstalledCorrectly() public method

mergeDriverIsNotAddedWhenPresent() public method

mergeDriverUninstalledCorrectly() public method

mergedDatesWithoutConflict() public method

This should result in a clean merge when our merge driver is installed.
public mergedDatesWithoutConflict ( string $driver )
$driver string

setUp() public method

public setUp ( )

setUpBeforeClass() public static method

public static setUpBeforeClass ( )

tearDown() public method

public tearDown ( )