1 | <?php |
||
12 | class CommitMessageTest extends \PHPUnit_Framework_TestCase |
||
13 | { |
||
14 | /** |
||
15 | * Tests CommitMessage::isEmpty |
||
16 | */ |
||
17 | public function testIsEmpty() |
||
22 | |||
23 | public function testGetContent() |
||
29 | |||
30 | /** |
||
31 | * Tests CommitMessage::getLines |
||
32 | */ |
||
33 | public function testGetLines() |
||
40 | |||
41 | /** |
||
42 | * Tests CommitMessage::getLineCount |
||
43 | */ |
||
44 | public function testLineCodeOnEmptyMessage() |
||
49 | |||
50 | /** |
||
51 | * Tests CommitMessage::getLineCount |
||
52 | */ |
||
53 | public function testLineCount() |
||
58 | |||
59 | /** |
||
60 | * Tests CommitMessage::getSubject |
||
61 | */ |
||
62 | public function testGetSubject() |
||
67 | |||
68 | /** |
||
69 | * Tests CommitMessage::getBody |
||
70 | */ |
||
71 | public function testGetBody() |
||
76 | |||
77 | /** |
||
78 | * Tests CommitMessage::getBodyLines |
||
79 | */ |
||
80 | public function testGetBodyLines() |
||
88 | |||
89 | /** |
||
90 | * Tests CommitMessage::getLine |
||
91 | */ |
||
92 | public function testGetLine() |
||
99 | |||
100 | /** |
||
101 | * Tests CommitMessage::createFromFile |
||
102 | * |
||
103 | * @expectedException \Exception |
||
104 | */ |
||
105 | public function testCreateFromFile() |
||
109 | } |
||
110 |