PHP Class Gush\Tests\Validator\MergeWorkflowValidatorTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: gushphp/gush

Public Methods

Method Description
provideAllowedBranches ( )
provideDeniedBranches ( )
provideInvalidGitFlowBranches ( )
provideInvalidSemverBranches ( )
provideValidGitFlowBranches ( )
provideValidSemverBranches ( )
testBranchRestrictionsDeniesAccessForUnknownBranchWithPolicyDeny ( )
testBranchRestrictionsWithAllowUnknown ( string $source, string $target )
testBranchRestrictionsWithDeniedBranchAndAllowUnknown ( string $source, string $target )
testInvalidGitFlowPresetWithNoBranches ( string $source )
testInvalidSemverPresetWithNoBranches ( string $source, string $target, string $invalidPart )
testValidGitFlowPresetWithNoBranches ( string $source, string $target )
testValidSemverPresetWithNoBranches ( string $source, string $target )

Method Details

provideAllowedBranches() public method

provideDeniedBranches() public method

provideInvalidGitFlowBranches() public method

provideInvalidSemverBranches() public method

provideValidGitFlowBranches() public method

provideValidSemverBranches() public method

testBranchRestrictionsDeniesAccessForUnknownBranchWithPolicyDeny() public method

testBranchRestrictionsWithAllowUnknown() public method

public testBranchRestrictionsWithAllowUnknown ( string $source, string $target )
$source string
$target string

testBranchRestrictionsWithDeniedBranchAndAllowUnknown() public method

testInvalidGitFlowPresetWithNoBranches() public method

testInvalidSemverPresetWithNoBranches() public method

public testInvalidSemverPresetWithNoBranches ( string $source, string $target, string $invalidPart )
$source string
$target string
$invalidPart string

testValidGitFlowPresetWithNoBranches() public method

public testValidGitFlowPresetWithNoBranches ( string $source, string $target )
$source string
$target string

testValidSemverPresetWithNoBranches() public method

public testValidSemverPresetWithNoBranches ( string $source, string $target )
$source string
$target string