Skip to content

Commit a079bec

Browse files
MAGETWO-31369: [South] Unit and Integration tests coverage
1 parent e4fcb81 commit a079bec

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

dev/tests/unit/testsuite/Magento/Theme/Block/Adminhtml/System/Design/Theme/Tab/CssTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ protected static function getMethod($name)
126126
}
127127

128128
/**
129-
* @covers \Magento\Theme\Block\Adminhtml\System\Design\Theme\Edit\Tab\Css::getDownloadUrl
129+
* cover \Magento\Theme\Block\Adminhtml\System\Design\Theme\Edit\Tab\Css::getDownloadUrl
130130
*/
131131
public function testGetterDownloadUrl()
132132
{

dev/tests/unit/testsuite/Magento/Theme/Block/Html/Header/LogoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class LogoTest extends \PHPUnit_Framework_TestCase
99
{
1010
/**
11-
* @covers \Magento\Theme\Block\Html\Header\Logo::getLogoSrc
11+
* cover \Magento\Theme\Block\Html\Header\Logo::getLogoSrc
1212
*/
1313
public function testGetLogoSrc()
1414
{

dev/tests/unit/testsuite/Magento/Theme/Helper/StorageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ protected function tearDown()
136136
}
137137

138138
/**
139-
* @covers \Magento\Theme\Helper\Storage::getShortFilename
139+
* cover \Magento\Theme\Helper\Storage::getShortFilename
140140
*/
141141
public function testGetShortFilename()
142142
{

dev/tests/unit/testsuite/Magento/Theme/Model/ConfigTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ protected function tearDown()
9595
}
9696

9797
/**
98-
* @covers \Magento\Theme\Model\Config::assignToStore
98+
* cover \Magento\Theme\Model\Config::assignToStore
9999
*/
100100
public function testAssignToStoreInSingleStoreMode()
101101
{
@@ -146,7 +146,7 @@ public function testAssignToStoreInSingleStoreMode()
146146
}
147147

148148
/**
149-
* @covers \Magento\Theme\Model\Config::assignToStore
149+
* cover \Magento\Theme\Model\Config::assignToStore
150150
*/
151151
public function testAssignToStoreNonSingleStoreMode()
152152
{

dev/tests/unit/testsuite/Magento/Theme/Model/CopyServiceTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ protected function tearDown()
253253
}
254254

255255
/**
256-
* @covers \Magento\Theme\Model\CopyService::_copyLayoutCustomization
256+
* cover \Magento\Theme\Model\CopyService::_copyLayoutCustomization
257257
*/
258258
public function testCopyLayoutUpdates()
259259
{
@@ -336,7 +336,7 @@ public function testCopyLayoutUpdates()
336336
}
337337

338338
/**
339-
* @covers \Magento\Theme\Model\CopyService::_copyDatabaseCustomization
339+
* cover \Magento\Theme\Model\CopyService::_copyDatabaseCustomization
340340
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
341341
*/
342342
public function testCopyDatabaseCustomization()
@@ -459,7 +459,7 @@ public function testCopyDatabaseCustomization()
459459
}
460460

461461
/**
462-
* @covers \Magento\Theme\Model\CopyService::_copyFilesystemCustomization
462+
* cover \Magento\Theme\Model\CopyService::_copyFilesystemCustomization
463463
*/
464464
public function testCopyFilesystemCustomization()
465465
{

dev/tests/unit/testsuite/Magento/Theme/Model/Wysiwyg/StorageTest.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ protected function tearDown()
102102
}
103103

104104
/**
105-
* @covers \Magento\Theme\Model\Wysiwyg\Storage::_createThumbnail
106-
* @covers \Magento\Theme\Model\Wysiwyg\Storage::uploadFile
105+
* cover \Magento\Theme\Model\Wysiwyg\Storage::_createThumbnail
106+
* cover \Magento\Theme\Model\Wysiwyg\Storage::uploadFile
107107
*/
108108
public function testUploadFile()
109109
{
@@ -154,7 +154,7 @@ public function testUploadFile()
154154
}
155155

156156
/**
157-
* @covers \Magento\Theme\Model\Wysiwyg\Storage::uploadFile
157+
* cover \Magento\Theme\Model\Wysiwyg\Storage::uploadFile
158158
* @expectedException \Magento\Framework\Model\Exception
159159
*/
160160
public function testUploadInvalidFile()
@@ -183,7 +183,7 @@ protected function _prepareUploader()
183183

184184
/**
185185
* @dataProvider booleanCasesDataProvider
186-
* @covers \Magento\Theme\Model\Wysiwyg\Storage::createFolder
186+
* cover \Magento\Theme\Model\Wysiwyg\Storage::createFolder
187187
*/
188188
public function testCreateFolder($isWritable)
189189
{
@@ -252,7 +252,7 @@ public function testCreateFolder($isWritable)
252252
}
253253

254254
/**
255-
* @covers \Magento\Theme\Model\Wysiwyg\Storage::createFolder
255+
* cover \Magento\Theme\Model\Wysiwyg\Storage::createFolder
256256
* @expectedException \Magento\Framework\Model\Exception
257257
*/
258258
public function testCreateFolderWithInvalidName()
@@ -262,7 +262,7 @@ public function testCreateFolderWithInvalidName()
262262
}
263263

264264
/**
265-
* @covers \Magento\Theme\Model\Wysiwyg\Storage::createFolder
265+
* cover \Magento\Theme\Model\Wysiwyg\Storage::createFolder
266266
* @expectedException \Magento\Framework\Model\Exception
267267
*/
268268
public function testCreateFolderDirectoryAlreadyExist()
@@ -294,7 +294,7 @@ public function testCreateFolderDirectoryAlreadyExist()
294294
}
295295

296296
/**
297-
* @covers \Magento\Theme\Model\Wysiwyg\Storage::getDirsCollection
297+
* cover \Magento\Theme\Model\Wysiwyg\Storage::getDirsCollection
298298
*/
299299
public function testGetDirsCollection()
300300
{
@@ -318,7 +318,7 @@ public function testGetDirsCollection()
318318
}
319319

320320
/**
321-
* @covers \Magento\Theme\Model\Wysiwyg\Storage::getDirsCollection
321+
* cover \Magento\Theme\Model\Wysiwyg\Storage::getDirsCollection
322322
* @expectedException \Magento\Framework\Model\Exception
323323
*/
324324
public function testGetDirsCollectionWrongDirName()
@@ -337,7 +337,7 @@ public function testGetDirsCollectionWrongDirName()
337337
}
338338

339339
/**
340-
* @covers \Magento\Theme\Model\Wysiwyg\Storage::getFilesCollection
340+
* cover \Magento\Theme\Model\Wysiwyg\Storage::getFilesCollection
341341
*/
342342
public function testGetFilesCollection()
343343
{
@@ -373,7 +373,7 @@ public function testGetFilesCollection()
373373
}
374374

375375
/**
376-
* @covers \Magento\Theme\Model\Wysiwyg\Storage::getFilesCollection
376+
* cover \Magento\Theme\Model\Wysiwyg\Storage::getFilesCollection
377377
*/
378378
public function testGetFilesCollectionImageType()
379379
{
@@ -417,7 +417,7 @@ public function testGetFilesCollectionImageType()
417417
}
418418

419419
/**
420-
* @covers \Magento\Theme\Model\Wysiwyg\Storage::getTreeArray
420+
* cover \Magento\Theme\Model\Wysiwyg\Storage::getTreeArray
421421
*/
422422
public function testTreeArray()
423423
{
@@ -460,7 +460,7 @@ public function testTreeArray()
460460
}
461461

462462
/**
463-
* @covers \Magento\Theme\Model\Wysiwyg\Storage::deleteFile
463+
* cover \Magento\Theme\Model\Wysiwyg\Storage::deleteFile
464464
*/
465465
public function testDeleteFile()
466466
{
@@ -503,7 +503,7 @@ public function testDeleteFile()
503503
}
504504

505505
/**
506-
* @covers \Magento\Theme\Model\Wysiwyg\Storage::deleteDirectory
506+
* cover \Magento\Theme\Model\Wysiwyg\Storage::deleteDirectory
507507
*/
508508
public function testDeleteDirectory()
509509
{
@@ -523,7 +523,7 @@ public function testDeleteDirectory()
523523
}
524524

525525
/**
526-
* @covers \Magento\Theme\Model\Wysiwyg\Storage::deleteDirectory
526+
* cover \Magento\Theme\Model\Wysiwyg\Storage::deleteDirectory
527527
* @expectedException \Magento\Framework\Model\Exception
528528
*/
529529
public function testDeleteRootDirectory()

0 commit comments

Comments
 (0)