|
1
|
|
|
<?php |
|
2
|
|
|
/** |
|
3
|
|
|
* Swiss Payment Slip FPDF |
|
4
|
|
|
* |
|
5
|
|
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License |
|
6
|
|
|
* @copyright 2012-2015 Some nice Swiss guys |
|
7
|
|
|
* @author Marc Würth <[email protected]> |
|
8
|
|
|
* @author Manuel Reinhard <[email protected]> |
|
9
|
|
|
* @author Peter Siska <[email protected]> |
|
10
|
|
|
* @link https://github.com/ravage84/SwissPaymentSlipFpdf |
|
11
|
|
|
*/ |
|
12
|
|
|
|
|
13
|
|
|
namespace SwissPaymentSlip\SwissPaymentSlipFpdf\Tests; |
|
14
|
|
|
|
|
15
|
|
|
/** |
|
16
|
|
|
* Tests for the PaymentSlipFpdf class |
|
17
|
|
|
* |
|
18
|
|
|
* @coversDefaultClass SwissPaymentSlip\SwissPaymentSlipPdf\PaymentSlipFpdf |
|
19
|
|
|
*/ |
|
20
|
|
|
class PaymentSlipFpdfTest extends \PHPUnit_Framework_TestCase |
|
21
|
|
|
{ |
|
22
|
|
|
/** |
|
23
|
|
|
* Tests the displayImage method |
|
24
|
|
|
* |
|
25
|
|
|
* @return void |
|
26
|
|
|
* @covers ::displayImage |
|
27
|
|
|
*/ |
|
28
|
|
|
public function testDisplayImage() |
|
29
|
|
|
{ |
|
30
|
|
|
$this->markTestIncomplete( |
|
31
|
|
|
'This test has not been implemented yet.' |
|
32
|
|
|
); |
|
33
|
|
|
} |
|
34
|
|
|
|
|
35
|
|
|
/** |
|
36
|
|
|
* Tests the setFont method |
|
37
|
|
|
* |
|
38
|
|
|
* @return void |
|
39
|
|
|
* @covers ::setFont |
|
40
|
|
|
*/ |
|
41
|
|
|
public function testSetFont() |
|
42
|
|
|
{ |
|
43
|
|
|
$this->markTestIncomplete( |
|
44
|
|
|
'This test has not been implemented yet.' |
|
45
|
|
|
); |
|
46
|
|
|
} |
|
47
|
|
|
|
|
48
|
|
|
/** |
|
49
|
|
|
* Tests the setBackground method |
|
50
|
|
|
* |
|
51
|
|
|
* @return void |
|
52
|
|
|
* @covers ::setBackground |
|
53
|
|
|
*/ |
|
54
|
|
|
public function testSetBackground() |
|
55
|
|
|
{ |
|
56
|
|
|
$this->markTestIncomplete( |
|
57
|
|
|
'This test has not been implemented yet.' |
|
58
|
|
|
); |
|
59
|
|
|
} |
|
60
|
|
|
|
|
61
|
|
|
/** |
|
62
|
|
|
* Tests the setPosition method |
|
63
|
|
|
* |
|
64
|
|
|
* @return void |
|
65
|
|
|
* @covers ::setPosition |
|
66
|
|
|
*/ |
|
67
|
|
|
public function testSetPosition() |
|
68
|
|
|
{ |
|
69
|
|
|
$this->markTestIncomplete( |
|
70
|
|
|
'This test has not been implemented yet.' |
|
71
|
|
|
); |
|
72
|
|
|
} |
|
73
|
|
|
|
|
74
|
|
|
/** |
|
75
|
|
|
* Tests the createCell method |
|
76
|
|
|
* |
|
77
|
|
|
* @return void |
|
78
|
|
|
* @covers ::createCell |
|
79
|
|
|
*/ |
|
80
|
|
|
public function testCreateCell() |
|
81
|
|
|
{ |
|
82
|
|
|
$this->markTestIncomplete( |
|
83
|
|
|
'This test has not been implemented yet.' |
|
84
|
|
|
); |
|
85
|
|
|
} |
|
86
|
|
|
|
|
87
|
|
|
/** |
|
88
|
|
|
* Tests the convertColor2Rgb method |
|
89
|
|
|
* |
|
90
|
|
|
* @return void |
|
91
|
|
|
* @covers ::convertColor2Rgb |
|
92
|
|
|
* @covers ::hex2RGB |
|
93
|
|
|
*/ |
|
94
|
|
|
public function testConvertColor2Rgb() |
|
95
|
|
|
{ |
|
96
|
|
|
$this->markTestIncomplete( |
|
97
|
|
|
'This test has not been implemented yet.' |
|
98
|
|
|
); |
|
99
|
|
|
} |
|
100
|
|
|
} |
|
101
|
|
|
|