* [ADD] Unit testing. Work in progress

* [MOD] Code refactoring
* [MOD] Make classes final for performance improvements and avoid some side behaviours
This commit is contained in:
nuxsmin
2018-07-28 19:15:11 +02:00
parent d0056d74a8
commit 3e26a1df71
367 changed files with 1774 additions and 1251 deletions

View File

@@ -39,7 +39,7 @@ class XmlFileImportTest extends TestCase
/**
* @throws \SP\Services\Import\ImportException
* @throws \SP\Storage\FileException
* @throws \SP\Storage\File\FileException
*/
public function testDetectXMLFormat()
{
@@ -58,7 +58,7 @@ class XmlFileImportTest extends TestCase
/**
* @throws \SP\Services\Import\ImportException
* @throws \SP\Storage\FileException
* @throws \SP\Storage\File\FileException
*/
public function testInvalidFile()
{
@@ -71,7 +71,7 @@ class XmlFileImportTest extends TestCase
/**
* @throws \SP\Services\Import\ImportException
* @throws \SP\Storage\FileException
* @throws \SP\Storage\File\FileException
*/
public function testEmptyFile()
{