Changed App namespace to Infinito namespace

This commit is contained in:
Kevin Frantz
2019-02-17 14:33:19 +01:00
parent bf5d11a318
commit 493471df5f
424 changed files with 1488 additions and 1500 deletions

View File

@@ -2,11 +2,11 @@
namespace tests\Unit\Domain\SourceManagement;
use App\Domain\SourceManagement\SourceClassInformationServiceInterface;
use App\Domain\SourceManagement\SourceClassInformationService;
use Infinito\Domain\SourceManagement\SourceClassInformationServiceInterface;
use Infinito\Domain\SourceManagement\SourceClassInformationService;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\PureSource;
use App\Entity\Source\Complex\AbstractComplexSource;
use Infinito\Entity\Source\PureSource;
use Infinito\Entity\Source\Complex\AbstractComplexSource;
/**
* @author kevinfrantz
@@ -37,7 +37,7 @@ class SourceClassInformationServiceTest extends TestCase
public function testSubSource(): void
{
$allClasses = $this->sourceClassInformationService->getAllSubSourceClasses('App\\Entity\\Source\\Complex');
$allClasses = $this->sourceClassInformationService->getAllSubSourceClasses('Infinito\\Entity\\Source\\Complex');
$this->assertFalse(in_array(PureSource::class, $allClasses));
$this->assertTrue(in_array(AbstractComplexSource::class, $allClasses));
}

View File

@@ -3,15 +3,15 @@
namespace Tests\Unit\Domain\SourceManagement;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\SourceInterface;
use App\Entity\Source\Complex\UserSource;
use App\Entity\Source\Primitive\Text\TextSource;
use App\Entity\Source\Primitive\Name\FirstNameSource;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Entity\Source\Complex\UserSource;
use Infinito\Entity\Source\Primitive\Text\TextSource;
use Infinito\Entity\Source\Primitive\Name\FirstNameSource;
use Doctrine\Common\Collections\ArrayCollection;
use App\Entity\Source\Complex\FullPersonNameSource;
use App\Domain\SourceManagement\SourceMemberInformation;
use App\Domain\SourceManagement\SourceMemberInformationInterface;
use App\Entity\Source\PureSource;
use Infinito\Entity\Source\Complex\FullPersonNameSource;
use Infinito\Domain\SourceManagement\SourceMemberInformation;
use Infinito\Domain\SourceManagement\SourceMemberInformationInterface;
use Infinito\Entity\Source\PureSource;
class SourceMemberInformationTest extends TestCase
{

View File

@@ -3,10 +3,10 @@
namespace Tests\Unit\Domain\SourceManagement;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\SourceInterface;
use App\Domain\SourceManagement\SourceMemberManagerInterface;
use App\Domain\SourceManagement\SourceMemberManager;
use App\Entity\Source\PureSource;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\SourceManagement\SourceMemberManagerInterface;
use Infinito\Domain\SourceManagement\SourceMemberManager;
use Infinito\Entity\Source\PureSource;
class SourceMemberManagerTest extends TestCase
{

View File

@@ -3,14 +3,14 @@
namespace Tests\Unit\Domain\SourceManagement;
use PHPUnit\Framework\TestCase;
use App\Domain\SourceManagement\SourceMembershipInformationInterface;
use App\Domain\SourceManagement\SourceMembershipInformation;
use App\Entity\Source\SourceInterface;
use App\Entity\Source\Complex\UserSource;
use App\Entity\Source\Primitive\Text\TextSource;
use App\Entity\Source\Primitive\Name\FirstNameSource;
use Infinito\Domain\SourceManagement\SourceMembershipInformationInterface;
use Infinito\Domain\SourceManagement\SourceMembershipInformation;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Entity\Source\Complex\UserSource;
use Infinito\Entity\Source\Primitive\Text\TextSource;
use Infinito\Entity\Source\Primitive\Name\FirstNameSource;
use Doctrine\Common\Collections\ArrayCollection;
use App\Entity\Source\Complex\FullPersonNameSource;
use Infinito\Entity\Source\Complex\FullPersonNameSource;
class SourceMembershipInformationTest extends TestCase
{

View File

@@ -3,15 +3,15 @@
namespace Tests\Unit\Domain\SourceManagement;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Complex\UserSource;
use App\Entity\Source\Complex\UserSourceInterface;
use App\Entity\Source\SourceInterface;
use App\Domain\SourceManagement\SourceMetaInformation;
use App\Domain\SourceManagement\SourceMetaInformationInterface;
use App\Domain\TemplateManagement\TemplatePathFormAndViewInterface;
use App\Domain\FormManagement\FormMetaInformationInterface;
use App\Entity\EntityInterface;
use App\Exception\NotCorrectInstanceException;
use Infinito\Entity\Source\Complex\UserSource;
use Infinito\Entity\Source\Complex\UserSourceInterface;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\SourceManagement\SourceMetaInformation;
use Infinito\Domain\SourceManagement\SourceMetaInformationInterface;
use Infinito\Domain\TemplateManagement\TemplatePathFormAndViewInterface;
use Infinito\Domain\FormManagement\FormMetaInformationInterface;
use Infinito\Entity\EntityInterface;
use Infinito\Exception\NotCorrectInstanceException;
class SourceMetaInformationTest extends TestCase
{

View File

@@ -3,16 +3,16 @@
namespace Unit\Domain\SourceManagement;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\SourceInterface;
use App\Domain\SourceManagement\SourceRightManagerInterface;
use App\Domain\SourceManagement\SourceRightManager;
use App\Entity\Meta\RightInterface;
use App\Entity\Meta\Right;
use App\Entity\Meta\Law;
use App\Exception\AllreadySetException;
use App\Exception\NotSetException;
use App\Exception\AllreadyDefinedException;
use App\Entity\Source\PureSource;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\SourceManagement\SourceRightManagerInterface;
use Infinito\Domain\SourceManagement\SourceRightManager;
use Infinito\Entity\Meta\RightInterface;
use Infinito\Entity\Meta\Right;
use Infinito\Entity\Meta\Law;
use Infinito\Exception\AllreadySetException;
use Infinito\Exception\NotSetException;
use Infinito\Exception\AllreadyDefinedException;
use Infinito\Entity\Source\PureSource;
class SourceRightManagerTest extends TestCase
{

View File

@@ -3,11 +3,11 @@
namespace Tests\Unit\Domain\SourceManagement;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Complex\Collection\TreeCollectionSource;
use App\Entity\Source\SourceInterface;
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSource;
use Infinito\Entity\Source\SourceInterface;
use Doctrine\Common\Collections\ArrayCollection;
use App\Domain\SourceManagement\TreeSourceInformationInterface;
use App\Domain\SourceManagement\TreeSourceInformation;
use Infinito\Domain\SourceManagement\TreeSourceInformationInterface;
use Infinito\Domain\SourceManagement\TreeSourceInformation;
class TreeSourceInformationTest extends TestCase
{