PHP Class Elgg\CommitMessageTest

Inheritance: extends TestCase
Afficher le fichier Open project: elgg/elgg

Méthodes publiques

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

Method Details

assertIgnoreCommitMessages() public méthode

public assertIgnoreCommitMessages ( array $ignored )
$ignored array

assertInvalidCommitMessages() public méthode

public assertInvalidCommitMessages ( array $msgs )
$msgs array

testCanParseMessagesWithAnExtendedBody() public méthode

testCanParseMessagesWithOneLineBody() public méthode

testCanParseMessagesWithoutBody() public méthode

testFindLengthyLinesFindsLinesOverTheMaxLineLength() public méthode

testGetLengthyLinesFindsLinesOverTheMaxLineLength() public méthode

testIsValidLineLengthRejectsLinesOverTheMaxLineLength() public méthode

testIsValidTypeReturnsTrueForValidTypes() public méthode

testRejectsMessagesWithoutComponent() public méthode

testRejectsMessagesWithoutSummary() public méthode

testRejectsMessagesWithoutType() public méthode

testRemovesComments() public méthode

public testRemovesComments ( )

testShouldIgnoreMerges() public méthode

testShouldIgnoreReverts() public méthode