Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Elgg
CommitMessageTest
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
public
testCanParseMessagesWithAnExtendedBody
( )
testCanParseMessagesWithOneLineBody()
public
method
public
testCanParseMessagesWithOneLineBody
( )
testCanParseMessagesWithoutBody()
public
method
public
testCanParseMessagesWithoutBody
( )
testFindLengthyLinesFindsLinesOverTheMaxLineLength()
public
method
public
testFindLengthyLinesFindsLinesOverTheMaxLineLength
( )
testGetLengthyLinesFindsLinesOverTheMaxLineLength()
public
method
public
testGetLengthyLinesFindsLinesOverTheMaxLineLength
( )
testIsValidLineLengthRejectsLinesOverTheMaxLineLength()
public
method
public
testIsValidLineLengthRejectsLinesOverTheMaxLineLength
( )
testIsValidTypeReturnsTrueForValidTypes()
public
method
public
testIsValidTypeReturnsTrueForValidTypes
( )
testRejectsMessagesWithoutComponent()
public
method
public
testRejectsMessagesWithoutComponent
( )
testRejectsMessagesWithoutSummary()
public
method
public
testRejectsMessagesWithoutSummary
( )
testRejectsMessagesWithoutType()
public
method
public
testRejectsMessagesWithoutType
( )
testRemovesComments()
public
method
public
testRemovesComments
( )
testShouldIgnoreMerges()
public
method
public
testShouldIgnoreMerges
( )
testShouldIgnoreReverts()
public
method
public
testShouldIgnoreReverts
( )