8
8
9
9
use Magento \FunctionalTestingFramework \Config \MftfApplicationConfig ;
10
10
use Magento \FunctionalTestingFramework \Test \Handlers \TestObjectHandler ;
11
+ use Magento \FunctionalTestingFramework \Test \Objects \TestObject ;
11
12
use Magento \FunctionalTestingFramework \Util \Script \ScriptUtil ;
12
13
use Symfony \Component \Console \Input \InputInterface ;
13
14
use Exception ;
@@ -110,7 +111,8 @@ public function getOutput()
110
111
* description
111
112
* severity
112
113
*
113
- * @param $test
114
+ * @param TestObject $test
115
+ * @return void
114
116
*/
115
117
private function validateRequiredAnnotations ($ test )
116
118
{
@@ -146,7 +148,8 @@ private function validateRequiredAnnotations($test)
146
148
/**
147
149
* Add the key = "stories appended to title", value = test name, to the class variable.
148
150
*
149
- * @param $test
151
+ * @param TestObject $test
152
+ * @return void
150
153
*/
151
154
private function aggregateStoriesTitlePairs ($ test )
152
155
{
@@ -161,7 +164,8 @@ private function aggregateStoriesTitlePairs($test)
161
164
/**
162
165
* Add the key = "testCaseId appended to title", value = test name, to the class variable.
163
166
*
164
- * @param $test
167
+ * @param TestObject $test
168
+ * @return void
165
169
*/
166
170
private function aggregateTestCaseIdTitlePairs ($ test )
167
171
{
@@ -177,7 +181,7 @@ private function aggregateTestCaseIdTitlePairs($test)
177
181
* Strip away the testCaseId prefix that was automatically added to the test title
178
182
* so that way we have just the raw title from the XML file.
179
183
*
180
- * @param $test
184
+ * @param TestObject $test
181
185
* @return string|null
182
186
*/
183
187
private function getTestTitleWithoutPrefix ($ test )
@@ -194,6 +198,8 @@ private function getTestTitleWithoutPrefix($test)
194
198
195
199
/**
196
200
* Adds an error if any story+title pairs are used by more than one test.
201
+ *
202
+ * @return void
197
203
*/
198
204
private function validateStoriesTitlePairs ()
199
205
{
@@ -206,6 +212,8 @@ private function validateStoriesTitlePairs()
206
212
207
213
/**
208
214
* Adds an error if any testCaseId+title pairs are used by more than one test.
215
+ *
216
+ * @return void
209
217
*/
210
218
private function validateTestCaseIdTitlePairs ()
211
219
{
0 commit comments