1 | <?php |
||
26 | class ParserTest extends \Mockery\Adapter\Phpunit\MockeryTestCase |
||
27 | { |
||
28 | /** @var Parser */ |
||
29 | protected $fixture = null; |
||
30 | |||
31 | /** |
||
32 | * Instantiates a new parser object as fixture. |
||
33 | */ |
||
34 | protected function setUp() |
||
43 | |||
44 | /** |
||
45 | * @covers ::getIgnoredTags |
||
46 | * @covers ::setIgnoredTags |
||
47 | */ |
||
48 | public function testSetAndGetIgnoredTags() |
||
60 | |||
61 | /** |
||
62 | * @covers ::setForced |
||
63 | * @covers ::isForced |
||
64 | */ |
||
65 | public function testSetAndCheckWhetherParsingIsForced() |
||
72 | |||
73 | /** |
||
74 | * @covers ::setEncoding |
||
75 | * @covers ::getEncoding |
||
76 | */ |
||
77 | public function testSettingAndRetrievingTheEncodingOfTheProvidedFiles() |
||
84 | |||
85 | /** |
||
86 | * @covers ::setPath |
||
87 | * @covers ::getPath |
||
88 | */ |
||
89 | public function testSettingAndRetrievingTheBasePath() |
||
100 | |||
101 | /** |
||
102 | * Tests whether the doValidation() and setValidate methods function |
||
103 | * properly. |
||
104 | * |
||
105 | * @covers ::setValidate |
||
106 | * @covers ::doValidation |
||
107 | */ |
||
108 | public function testValidate() |
||
119 | |||
120 | /** |
||
121 | * Tests whether the getMarker() and setMarkers methods function |
||
122 | * properly. |
||
123 | * |
||
124 | * @covers ::setMarkers |
||
125 | * @covers ::getMarkers |
||
126 | */ |
||
127 | public function testMarkers() |
||
137 | |||
138 | /** |
||
139 | * @covers ::setDefaultPackageName |
||
140 | * @covers ::getDefaultPackageName |
||
141 | */ |
||
142 | public function testSetAndGetDefaultPackageName() |
||
156 | } |
||
157 |