1 | <?php |
||
10 | class ErrorTwigTest extends BaseTwigTest |
||
11 | { |
||
12 | protected static $TEMP_PATH = '/../../tmp/error/'; |
||
13 | |||
14 | // |
||
15 | // PhpUnit |
||
16 | // |
||
17 | |||
18 | /** |
||
19 | * @return array |
||
20 | */ |
||
21 | public function formatProvider() |
||
25 | |||
26 | // |
||
27 | // Tests |
||
28 | // |
||
29 | |||
30 | /** |
||
31 | * @param string $format |
||
32 | * |
||
33 | * @throws \Exception |
||
34 | * |
||
35 | * @dataProvider formatProvider |
||
36 | */ |
||
37 | public function testCellIndexError($format) |
||
44 | |||
45 | /** |
||
46 | * @param string $format |
||
47 | * |
||
48 | * @throws \Exception |
||
49 | * |
||
50 | * @dataProvider formatProvider |
||
51 | */ |
||
52 | public function testDocumentError($format) |
||
59 | |||
60 | /** |
||
61 | * @param string $format |
||
62 | * |
||
63 | * @throws \Exception |
||
64 | * |
||
65 | * @dataProvider formatProvider |
||
66 | */ |
||
67 | public function testDocumentErrorTextAfter($format) |
||
74 | |||
75 | /** |
||
76 | * @param string $format |
||
77 | * |
||
78 | * @throws \Exception |
||
79 | * |
||
80 | * @dataProvider formatProvider |
||
81 | */ |
||
82 | public function testDocumentErrorTextBefore($format) |
||
89 | |||
90 | /** |
||
91 | * @param string $format |
||
92 | * |
||
93 | * @throws \Exception |
||
94 | * |
||
95 | * @dataProvider formatProvider |
||
96 | */ |
||
97 | public function testRowIndexError($format) |
||
104 | |||
105 | /** |
||
106 | * @param string $format |
||
107 | * |
||
108 | * @throws \Exception |
||
109 | * |
||
110 | * @dataProvider formatProvider |
||
111 | */ |
||
112 | public function testSheetError($format) |
||
119 | } |
||
120 |