PHP Class Elgg\CommitMessageTest

Inheritance: extends TestCase
Show file Open project: elgg/elgg

Public Methods

Method Description
assertIgnoreCommitMessages ( array $ignored )
assertInvalidCommitMessages ( array $msgs )
testCanParseMessagesWithAnExtendedBody ( )
testCanParseMessagesWithOneLineBody ( )
testCanParseMessagesWithoutBody ( )
testFindLengthyLinesFindsLinesOverTheMaxLineLength ( )
testGetLengthyLinesFindsLinesOverTheMaxLineLength ( )
testIsValidLineLengthRejectsLinesOverTheMaxLineLength ( )
testIsValidTypeReturnsTrueForValidTypes ( )
testRejectsMessagesWithoutComponent ( )
testRejectsMessagesWithoutSummary ( )
testRejectsMessagesWithoutType ( )
testRemovesComments ( )
testShouldIgnoreMerges ( )
testShouldIgnoreReverts ( )

Method Details

assertIgnoreCommitMessages() public method

public assertIgnoreCommitMessages ( array $ignored )
$ignored array

assertInvalidCommitMessages() public method

public assertInvalidCommitMessages ( array $msgs )
$msgs array

testCanParseMessagesWithAnExtendedBody() public method

testCanParseMessagesWithOneLineBody() public method

testCanParseMessagesWithoutBody() public method

testFindLengthyLinesFindsLinesOverTheMaxLineLength() public method

testGetLengthyLinesFindsLinesOverTheMaxLineLength() public method

testIsValidLineLengthRejectsLinesOverTheMaxLineLength() public method

testIsValidTypeReturnsTrueForValidTypes() public method

testRejectsMessagesWithoutComponent() public method

testRejectsMessagesWithoutSummary() public method

testRejectsMessagesWithoutType() public method

testRemovesComments() public method

public testRemovesComments ( )

testShouldIgnoreMerges() public method

testShouldIgnoreReverts() public method