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

@@ -3,10 +3,10 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Exception\NoValidChoiceException;
use App\Attribut\ActionTypeAttributInterface;
use App\Attribut\ActionTypeAttribut;
use App\DBAL\Types\ActionType;
use Infinito\Exception\NoValidChoiceException;
use Infinito\Attribut\ActionTypeAttributInterface;
use Infinito\Attribut\ActionTypeAttribut;
use Infinito\DBAL\Types\ActionType;
/**
* @author kevinfrantz

View File

@@ -3,8 +3,8 @@
namespace Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\ChildsAttributInterface;
use App\Attribut\ChildsAttribut;
use Infinito\Attribut\ChildsAttributInterface;
use Infinito\Attribut\ChildsAttribut;
use Doctrine\Common\Collections\ArrayCollection;
class ChildsAttributTest extends TestCase

View File

@@ -3,9 +3,9 @@
namespace Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\ClassAttributInterface;
use App\Attribut\ClassAttribut;
use App\Entity\Source\AbstractSource;
use Infinito\Attribut\ClassAttributInterface;
use Infinito\Attribut\ClassAttribut;
use Infinito\Entity\Source\AbstractSource;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
class ClassAttributTest extends TestCase

View File

@@ -3,8 +3,8 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\CollectionAttributInterface;
use App\Attribut\CollectionAttribut;
use Infinito\Attribut\CollectionAttributInterface;
use Infinito\Attribut\CollectionAttribut;
use Doctrine\Common\Collections\ArrayCollection;
class CollectionAttributTest extends TestCase

View File

@@ -3,9 +3,9 @@
namespace Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\ConditionAttributInterface;
use App\Attribut\ConditionAttribut;
use App\Logic\Operation\OperationInterface;
use Infinito\Attribut\ConditionAttributInterface;
use Infinito\Attribut\ConditionAttribut;
use Infinito\Logic\Operation\OperationInterface;
class ConditionAttributTest extends TestCase
{

View File

@@ -1,11 +1,11 @@
<?php
namespace App\Tests\Unit\Attribut;
namespace Infinito\Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\CreatorRelationAttributInterface;
use App\Attribut\CreatorRelationAttribut;
use App\Entity\Meta\Relation\Parent\CreatorRelationInterface;
use Infinito\Attribut\CreatorRelationAttributInterface;
use Infinito\Attribut\CreatorRelationAttribut;
use Infinito\Entity\Meta\Relation\Parent\CreatorRelationInterface;
class CreatorRelationAttributTest extends TestCase
{

View File

@@ -3,10 +3,10 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\CrudAttributInterface;
use App\Attribut\CrudAttribut;
use App\DBAL\Types\Meta\Right\CRUDType;
use App\Exception\NoValidChoiceException;
use Infinito\Attribut\CrudAttributInterface;
use Infinito\Attribut\CrudAttribut;
use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\Exception\NoValidChoiceException;
/**
* @author kevinfrantz

View File

@@ -3,9 +3,9 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\FirstNameSourceAttribut;
use App\Attribut\FirstNameSourceAttributInterface;
use App\Entity\Source\Primitive\Name\FirstNameSourceInterface;
use Infinito\Attribut\FirstNameSourceAttribut;
use Infinito\Attribut\FirstNameSourceAttributInterface;
use Infinito\Entity\Source\Primitive\Name\FirstNameSourceInterface;
/**
* @author kevinfrantz

View File

@@ -3,9 +3,9 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Complex\FullPersonNameSourceInterface;
use App\Attribut\FullPersonNameSourceAttributInterface;
use App\Attribut\FullPersonNameSourceAttribut;
use Infinito\Entity\Source\Complex\FullPersonNameSourceInterface;
use Infinito\Attribut\FullPersonNameSourceAttributInterface;
use Infinito\Attribut\FullPersonNameSourceAttribut;
/**
* @author kevinfrantz

View File

@@ -3,8 +3,8 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\GrantAttribut;
use App\Attribut\GrantAttributInterface;
use Infinito\Attribut\GrantAttribut;
use Infinito\Attribut\GrantAttributInterface;
class GrantAttributTest extends TestCase
{

View File

@@ -3,8 +3,8 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\IdAttribut;
use App\Attribut\IdAttributInterface;
use Infinito\Attribut\IdAttribut;
use Infinito\Attribut\IdAttributInterface;
/**
* @author kevinfrantz

View File

@@ -3,10 +3,10 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\LayerAttributInterface;
use App\Attribut\LayerAttribut;
use App\DBAL\Types\Meta\Right\LayerType;
use App\Exception\NoValidChoiceException;
use Infinito\Attribut\LayerAttributInterface;
use Infinito\Attribut\LayerAttribut;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\Exception\NoValidChoiceException;
/**
* @author kevinfrantz

View File

@@ -3,9 +3,9 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\LayerRepositoryFactoryServiceAttributInterface;
use App\Attribut\LayerRepositoryFactoryServiceAttribut;
use App\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use Infinito\Attribut\LayerRepositoryFactoryServiceAttributInterface;
use Infinito\Attribut\LayerRepositoryFactoryServiceAttribut;
use Infinito\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
/**
* @author kevinfrantz

View File

@@ -3,9 +3,9 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\MemberRelationAttributInterface;
use App\Attribut\MemberRelationAttribut;
use App\Entity\Meta\Relation\Member\MemberRelationInterface;
use Infinito\Attribut\MemberRelationAttributInterface;
use Infinito\Attribut\MemberRelationAttribut;
use Infinito\Entity\Meta\Relation\Member\MemberRelationInterface;
class MemberRelationAttributTest extends TestCase
{

View File

@@ -4,9 +4,9 @@ namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use Doctrine\Common\Collections\ArrayCollection;
use App\Attribut\MembersAttributInterface;
use App\Entity\Source\SourceInterface;
use App\Attribut\MembersAttribut;
use Infinito\Attribut\MembersAttributInterface;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Attribut\MembersAttribut;
class MembersAttributTest extends TestCase
{

View File

@@ -3,10 +3,10 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\MembershipsAttributInterface;
use App\Attribut\MembershipsAttribut;
use Infinito\Attribut\MembershipsAttributInterface;
use Infinito\Attribut\MembershipsAttribut;
use Doctrine\Common\Collections\ArrayCollection;
use App\Entity\Source\Complex\Collection\TreeCollectionSourceInterface;
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSourceInterface;
class MembershipsAttributTest extends TestCase
{

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Attribut;
namespace Infinito\Attribut;
use PHPUnit\Framework\TestCase;

View File

@@ -3,9 +3,9 @@
namespace tests\unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\NameSourceAttributInterface;
use App\Attribut\NameSourceAttribut;
use App\Entity\Source\Primitive\Name\NameSourceInterface;
use Infinito\Attribut\NameSourceAttributInterface;
use Infinito\Attribut\NameSourceAttribut;
use Infinito\Entity\Source\Primitive\Name\NameSourceInterface;
class NameSourceAttributTest extends TestCase
{

View File

@@ -1,11 +1,11 @@
<?php
namespace App\Tests\Unit\Attribut;
namespace Infinito\Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\ParentRelationAttributInterface;
use App\Attribut\ParentRelationAttribut;
use App\Entity\Meta\Relation\Parent\ParentRelationInterface;
use Infinito\Attribut\ParentRelationAttributInterface;
use Infinito\Attribut\ParentRelationAttribut;
use Infinito\Entity\Meta\Relation\Parent\ParentRelationInterface;
class ParentRelationAttributTest extends TestCase
{

View File

@@ -3,8 +3,8 @@
namespace Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\ParentsAttributInterface;
use App\Attribut\ParentsAttribut;
use Infinito\Attribut\ParentsAttributInterface;
use Infinito\Attribut\ParentsAttribut;
use Doctrine\Common\Collections\ArrayCollection;
class ParentsAttributTest extends TestCase

View File

@@ -3,9 +3,9 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\PersonIdentitySourceAttributInterface;
use App\Attribut\PersonIdentitySourceAttribut;
use App\Entity\Source\Complex\PersonIdentitySourceInterface;
use Infinito\Attribut\PersonIdentitySourceAttributInterface;
use Infinito\Attribut\PersonIdentitySourceAttribut;
use Infinito\Entity\Source\Complex\PersonIdentitySourceInterface;
/**
* @todo Implement abstract test class for entity attributs

View File

@@ -3,8 +3,8 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\PriorityAttributInterface;
use App\Attribut\PriorityAttribut;
use Infinito\Attribut\PriorityAttributInterface;
use Infinito\Attribut\PriorityAttribut;
/**
* @author kevinfrantz

View File

@@ -3,9 +3,9 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\RecieverAttributInterface;
use App\Attribut\RecieverAttribut;
use App\Entity\Source\AbstractSource;
use Infinito\Attribut\RecieverAttributInterface;
use Infinito\Attribut\RecieverAttribut;
use Infinito\Entity\Source\AbstractSource;
class RecieverAttributTest extends TestCase
{

View File

@@ -1,11 +1,11 @@
<?php
namespace App\Tests\Unit\Attribut;
namespace Infinito\Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Entity\Meta\Relation\RelationInterface;
use App\Attribut\RelationAttributInterface;
use App\Attribut\RelationAttribut;
use Infinito\Entity\Meta\Relation\RelationInterface;
use Infinito\Attribut\RelationAttributInterface;
use Infinito\Attribut\RelationAttribut;
class RelationAttributTest extends TestCase
{

View File

@@ -3,8 +3,8 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\RequestAttributInterface;
use App\Attribut\RequestAttribut;
use Infinito\Attribut\RequestAttributInterface;
use Infinito\Attribut\RequestAttribut;
use Symfony\Component\HttpFoundation\Request;
/**

View File

@@ -3,9 +3,9 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\RequestedEntityAttribut;
use App\Attribut\RequestedEntityAttributInterface;
use App\Domain\RequestManagement\Entity\RequestedEntityInterface;
use Infinito\Attribut\RequestedEntityAttribut;
use Infinito\Attribut\RequestedEntityAttributInterface;
use Infinito\Domain\RequestManagement\Entity\RequestedEntityInterface;
/**
* @author kevinfrantz

View File

@@ -3,9 +3,9 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Domain\RequestManagement\Right\RequestedRightInterface;
use App\Attribut\RequestedRightAttributInterface;
use App\Attribut\RequestedRightAttribut;
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
use Infinito\Attribut\RequestedRightAttributInterface;
use Infinito\Attribut\RequestedRightAttribut;
/**
* @author kevinfrantz

View File

@@ -1,11 +1,11 @@
<?php
namespace App\Tests\Unit\Attribut;
namespace Infinito\Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\RightAttributInterface;
use App\Attribut\RightAttribut;
use App\Entity\Meta\RightInterface;
use Infinito\Attribut\RightAttributInterface;
use Infinito\Attribut\RightAttribut;
use Infinito\Entity\Meta\RightInterface;
/**
* @author kevinfrantz

View File

@@ -3,9 +3,9 @@
namespace Tests\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\SlugAttributInterface;
use App\Attribut\SlugAttribut;
use App\Exception\UnvalidValueException;
use Infinito\Attribut\SlugAttributInterface;
use Infinito\Attribut\SlugAttribut;
use Infinito\Exception\UnvalidValueException;
/**
* @author kevinfrantz

View File

@@ -3,8 +3,8 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\TextAttributInterface;
use App\Attribut\TextAttribut;
use Infinito\Attribut\TextAttributInterface;
use Infinito\Attribut\TextAttribut;
/**
* @author kevinfrantz

View File

@@ -3,9 +3,9 @@
namespace Tests\Unit\Attribut;
use PHPUnit\Framework\TestCase;
use App\Attribut\UserAttributInterface;
use App\Attribut\UserAttribut;
use App\Entity\UserInterface;
use Infinito\Attribut\UserAttributInterface;
use Infinito\Attribut\UserAttribut;
use Infinito\Entity\UserInterface;
/**
* @author kevinfrantz

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Tests\Unit\Controller;
namespace Infinito\Tests\Unit\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use App\Controller\DefaultController;
use Infinito\Controller\DefaultController;
/**
* @author kevinfrantz

View File

@@ -3,7 +3,7 @@
namespace tests\Unit\DBAL\Types;
use PHPUnit\Framework\TestCase;
use App\DBAL\Types\ActionType;
use Infinito\DBAL\Types\ActionType;
/**
* @author kevinfrantz

View File

@@ -3,16 +3,16 @@
namespace tests\Unit\Domain\SecureCRUDManagement\Factory;
use PHPUnit\Framework\TestCase;
use App\Domain\ActionManagement\ActionFactoryServiceInterface;
use App\Domain\ActionManagement\ActionFactoryService;
use App\Domain\ActionManagement\ActionServiceInterface;
use App\Domain\ActionManagement\ActionInterface;
use App\Domain\RequestManagement\Action\RequestedActionInterface;
use App\Domain\RequestManagement\Action\RequestedAction;
use App\Domain\RequestManagement\Right\RequestedRight;
use App\Domain\LayerManagement\LayerActionMap;
use App\Domain\RequestManagement\User\RequestedUser;
use App\Domain\UserManagement\UserSourceDirectorInterface;
use Infinito\Domain\ActionManagement\ActionFactoryServiceInterface;
use Infinito\Domain\ActionManagement\ActionFactoryService;
use Infinito\Domain\ActionManagement\ActionServiceInterface;
use Infinito\Domain\ActionManagement\ActionInterface;
use Infinito\Domain\RequestManagement\Action\RequestedActionInterface;
use Infinito\Domain\RequestManagement\Action\RequestedAction;
use Infinito\Domain\RequestManagement\Right\RequestedRight;
use Infinito\Domain\LayerManagement\LayerActionMap;
use Infinito\Domain\RequestManagement\User\RequestedUser;
use Infinito\Domain\UserManagement\UserSourceDirectorInterface;
/**
* @author kevinfrantz

View File

@@ -3,21 +3,21 @@
namespace tests\Unit\Domain\ActionManagement;
use PHPUnit\Framework\TestCase;
use App\Domain\ActionManagement\ActionService;
use App\Domain\RequestManagement\Action\RequestedActionInterface;
use Infinito\Domain\ActionManagement\ActionService;
use Infinito\Domain\RequestManagement\Action\RequestedActionInterface;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Component\HttpFoundation\RequestStack;
use App\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use App\Domain\ActionManagement\ActionServiceInterface;
use App\Repository\RepositoryInterface;
use Infinito\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use Infinito\Domain\ActionManagement\ActionServiceInterface;
use Infinito\Repository\RepositoryInterface;
use Symfony\Component\HttpFoundation\Request;
use App\Domain\RequestManagement\Entity\RequestedEntityInterface;
use Infinito\Domain\RequestManagement\Entity\RequestedEntityInterface;
use PHPUnit\Framework\MockObject\MockObject;
use App\Entity\EntityInterface;
use Infinito\Entity\EntityInterface;
use Symfony\Component\Form\FormBuilderInterface;
use App\Domain\FormManagement\RequestedActionFormBuilderServiceInterface;
use App\Domain\RequestManagement\Action\RequestedActionServiceInterface;
use App\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface;
use Infinito\Domain\FormManagement\RequestedActionFormBuilderServiceInterface;
use Infinito\Domain\RequestManagement\Action\RequestedActionServiceInterface;
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface;
/**
* @author kevinfrantz

View File

@@ -3,21 +3,21 @@
namespace tests\Unit\Domain\ActionManagement\Create;
use PHPUnit\Framework\TestCase;
use App\Domain\ActionManagement\Create\CreateSourceAction;
use Infinito\Domain\ActionManagement\Create\CreateSourceAction;
use Symfony\Component\HttpFoundation\Request;
use App\Entity\Source\PureSource;
use App\Attribut\ClassAttributInterface;
use App\Attribut\SlugAttributInterface;
use App\Entity\Source\PureSourceInterface;
use App\Domain\ActionManagement\ActionService;
use Infinito\Entity\Source\PureSource;
use Infinito\Attribut\ClassAttributInterface;
use Infinito\Attribut\SlugAttributInterface;
use Infinito\Entity\Source\PureSourceInterface;
use Infinito\Domain\ActionManagement\ActionService;
use Doctrine\ORM\EntityManagerInterface;
use App\Domain\RequestManagement\Action\RequestedActionServiceInterface;
use App\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface;
use Infinito\Domain\RequestManagement\Action\RequestedActionServiceInterface;
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface;
use Symfony\Component\HttpFoundation\RequestStack;
use App\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use App\Domain\FormManagement\RequestedActionFormBuilderServiceInterface;
use Infinito\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use Infinito\Domain\FormManagement\RequestedActionFormBuilderServiceInterface;
use Symfony\Component\Form\FormBuilderInterface;
use App\Form\Source\PureSourceTypeInterface;
use Infinito\Form\Source\PureSourceTypeInterface;
/**
* @author kevinfrantz

View File

@@ -3,11 +3,11 @@
namespace tests\Unit\Domain\ActionManagement\Read;
use PHPUnit\Framework\TestCase;
use App\Domain\ActionManagement\ActionInterface;
use App\Domain\ActionManagement\AbstractAction;
use App\Domain\ActionManagement\ActionServiceInterface;
use Infinito\Domain\ActionManagement\ActionInterface;
use Infinito\Domain\ActionManagement\AbstractAction;
use Infinito\Domain\ActionManagement\ActionServiceInterface;
use PHPUnit\Framework\MockObject\MockObject;
use App\Exception\NotValidByFormException;
use Infinito\Exception\NotValidByFormException;
/**
* @author kevinfrantz

View File

@@ -4,13 +4,13 @@ namespace tests\Unit\Domain\SecureCRUDManagement\CRUD\Read;
use Doctrine\ORM\EntityManagerInterface;
use PHPUnit\Framework\TestCase;
use App\Domain\ActionManagement\Read\ReadAction;
use App\Domain\ActionManagement\ActionServiceInterface;
use App\Domain\ActionManagement\Read\ReadActionInterface;
use App\Exception\NotSecureException;
use App\Domain\RequestManagement\Action\RequestedActionInterface;
use App\Domain\RequestManagement\Entity\RequestedEntityInterface;
use App\Entity\Source\SourceInterface;
use Infinito\Domain\ActionManagement\Read\ReadAction;
use Infinito\Domain\ActionManagement\ActionServiceInterface;
use Infinito\Domain\ActionManagement\Read\ReadActionInterface;
use Infinito\Exception\NotSecureException;
use Infinito\Domain\RequestManagement\Action\RequestedActionInterface;
use Infinito\Domain\RequestManagement\Entity\RequestedEntityInterface;
use Infinito\Entity\Source\SourceInterface;
/**
* @author kevinfrantz

View File

@@ -3,9 +3,9 @@
namespace tests\Unit\Domain\FormManagement;
use PHPUnit\Framework\TestCase;
use App\Domain\FormManagement\FormClassNameService;
use App\Entity\Source\PureSource;
use App\DBAL\Types\ActionType;
use Infinito\Domain\FormManagement\FormClassNameService;
use Infinito\Entity\Source\PureSource;
use Infinito\DBAL\Types\ActionType;
/**
* @author kevinfrantz
@@ -17,7 +17,7 @@ class FormClassNameServiceTest extends TestCase
$entityClass = PureSource::class;
$formNameService = new FormClassNameService();
$entityForm = $formNameService->getClass($entityClass);
$this->assertEquals('App\\Form\\Source\\PureSourceType', $entityForm);
$this->assertEquals('Infinito\\Form\\Source\\PureSourceType', $entityForm);
}
public function testWithType(): void
@@ -25,6 +25,6 @@ class FormClassNameServiceTest extends TestCase
$entityClass = PureSource::class;
$formNameService = new FormClassNameService();
$entityForm = $formNameService->getClass($entityClass, ActionType::CREATE);
$this->assertEquals('App\\Form\\Source\\PureSourceCreateType', $entityForm);
$this->assertEquals('Infinito\\Form\\Source\\PureSourceCreateType', $entityForm);
}
}

View File

@@ -3,18 +3,18 @@
namespace Tests\Unit\Domain\FormManagement;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Primitive\Name\SurnameSource;
use App\Domain\FormManagement\FormMetaInformationInterface;
use App\Domain\SourceManagement\SourceMetaInformation;
use App\Domain\FormManagement\FormMetaInformation;
use App\Domain\TemplateManagement\TemplatePathInformationInterface;
use Infinito\Entity\Source\Primitive\Name\SurnameSource;
use Infinito\Domain\FormManagement\FormMetaInformationInterface;
use Infinito\Domain\SourceManagement\SourceMetaInformation;
use Infinito\Domain\FormManagement\FormMetaInformation;
use Infinito\Domain\TemplateManagement\TemplatePathInformationInterface;
/**
* @author kevinfrantz
*/
class FormMetaInformationTest extends TestCase
{
const FORM_CLASS = 'App\Form\Source\Primitive\Name\SurnameType';
const FORM_CLASS = 'Infinito\Form\Source\Primitive\Name\SurnameType';
const FORM_VIEW_ATOM = 'atom/form/source/primitive/name/surname.html.twig';

View File

@@ -3,10 +3,10 @@
namespace tests\Unit\Domain\FormManagement;
use PHPUnit\Framework\TestCase;
use App\Exception\NotSetException;
use App\Domain\RequestManagement\Action\RequestedActionInterface;
use App\Domain\FormManagement\RequestedActionFormBuilder;
use App\Domain\FormManagement\FormClassNameServiceInterface;
use Infinito\Exception\NotSetException;
use Infinito\Domain\RequestManagement\Action\RequestedActionInterface;
use Infinito\Domain\FormManagement\RequestedActionFormBuilder;
use Infinito\Domain\FormManagement\FormClassNameServiceInterface;
use Symfony\Component\Form\FormFactoryInterface;
/**

View File

@@ -3,18 +3,18 @@
namespace Unit\Domain\LawManagement;
use PHPUnit\Framework\TestCase;
use App\Domain\LawManagement\LawPermissionChecker;
use App\Domain\LawManagement\LawPermissionCheckerInterface;
use App\Entity\Source\SourceInterface;
use App\Entity\Meta\Right;
use App\DBAL\Types\Meta\Right\LayerType;
use App\DBAL\Types\Meta\Right\CRUDType;
use App\Entity\Meta\Law;
use App\Entity\Meta\LawInterface;
use App\Entity\Meta\RightInterface;
use Infinito\Domain\LawManagement\LawPermissionChecker;
use Infinito\Domain\LawManagement\LawPermissionCheckerInterface;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Entity\Meta\Right;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\Entity\Meta\Law;
use Infinito\Entity\Meta\LawInterface;
use Infinito\Entity\Meta\RightInterface;
use Doctrine\Common\Collections\ArrayCollection;
use App\Domain\SourceManagement\SourceMemberManager;
use App\Entity\Source\PureSource;
use Infinito\Domain\SourceManagement\SourceMemberManager;
use Infinito\Entity\Source\PureSource;
/**
* @author kevinfrantz

View File

@@ -3,9 +3,9 @@
namespace tests\Unit\Domain\LayerManagement;
use PHPUnit\Framework\TestCase;
use App\DBAL\Types\ActionType;
use App\Domain\LayerManagement\LayerActionMap;
use App\DBAL\Types\Meta\Right\LayerType;
use Infinito\DBAL\Types\ActionType;
use Infinito\Domain\LayerManagement\LayerActionMap;
use Infinito\DBAL\Types\Meta\Right\LayerType;
/**
* @author kevinfrantz

View File

@@ -4,8 +4,8 @@ namespace tests\Unit\Domain\MapManagement;
use PHPUnit\Framework\TestCase;
use Symfony\Component\HttpFoundation\Request;
use App\Domain\MapManagement\ActionHttpMethodMap;
use App\DBAL\Types\ActionType;
use Infinito\Domain\MapManagement\ActionHttpMethodMap;
use Infinito\DBAL\Types\ActionType;
/**
* @author kevinfrantz

View File

@@ -3,10 +3,10 @@
namespace Tests\Unit\Domain\MemberManagement;
use PHPUnit\Framework\TestCase;
use App\Domain\MemberManagement\MemberManagerInterface;
use App\Entity\Meta\Relation\Member\MemberRelationInterface;
use App\Entity\Meta\Relation\Member\MemberRelation;
use App\Domain\MemberManagement\MemberManager;
use Infinito\Domain\MemberManagement\MemberManagerInterface;
use Infinito\Entity\Meta\Relation\Member\MemberRelationInterface;
use Infinito\Entity\Meta\Relation\Member\MemberRelation;
use Infinito\Domain\MemberManagement\MemberManager;
class MemberManagerTest extends TestCase
{

View File

@@ -3,8 +3,8 @@
namespace tests\Unit\Domain\PathManagement;
use PHPUnit\Framework\TestCase;
use App\Domain\PathManagement\NamespacePathMapInterface;
use App\Domain\PathManagement\NamespacePathMap;
use Infinito\Domain\PathManagement\NamespacePathMapInterface;
use Infinito\Domain\PathManagement\NamespacePathMap;
/**
* @author kevinfrantz

View File

@@ -3,11 +3,11 @@
namespace tests\Unit\Domain\RepositoryManagement;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use App\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use App\Domain\RepositoryManagement\LayerRepositoryFactoryService;
use App\Repository\RepositoryInterface;
use App\Exception\NotSetException;
use App\Domain\LayerManagement\LayerClassMap;
use Infinito\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use Infinito\Domain\RepositoryManagement\LayerRepositoryFactoryService;
use Infinito\Repository\RepositoryInterface;
use Infinito\Exception\NotSetException;
use Infinito\Domain\LayerManagement\LayerClassMap;
/**
* @author kevinfrantz

View File

@@ -3,10 +3,10 @@
namespace tests\Unit\Domain\RequestManagement\Action;
use PHPUnit\Framework\TestCase;
use App\Domain\RequestManagement\Action\RequestedActionService;
use App\Domain\RequestManagement\Action\RequestedActionServiceInterface;
use App\Domain\RequestManagement\User\RequestedUserServiceInterface;
use App\Domain\UserManagement\UserSourceDirectorInterface;
use Infinito\Domain\RequestManagement\Action\RequestedActionService;
use Infinito\Domain\RequestManagement\Action\RequestedActionServiceInterface;
use Infinito\Domain\RequestManagement\User\RequestedUserServiceInterface;
use Infinito\Domain\UserManagement\UserSourceDirectorInterface;
/**
* @author kevinfrantz

View File

@@ -3,17 +3,17 @@
namespace tests\Unit\Domain\RequestManagement\Action;
use PHPUnit\Framework\TestCase;
use App\Domain\RequestManagement\Right\RequestedRightInterface;
use App\Domain\RequestManagement\Action\RequestedActionInterface;
use App\Domain\RequestManagement\Right\RequestedRight;
use App\Domain\RequestManagement\Action\RequestedAction;
use App\DBAL\Types\ActionType;
use App\DBAL\Types\Meta\Right\CRUDType;
use App\Repository\Source\SourceRepositoryInterface;
use App\DBAL\Types\Meta\Right\LayerType;
use App\Domain\UserManagement\UserSourceDirector;
use App\Domain\RequestManagement\User\RequestedUser;
use App\Entity\Source\Complex\UserSourceInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
use Infinito\Domain\RequestManagement\Action\RequestedActionInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRight;
use Infinito\Domain\RequestManagement\Action\RequestedAction;
use Infinito\DBAL\Types\ActionType;
use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\Repository\Source\SourceRepositoryInterface;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\Domain\UserManagement\UserSourceDirector;
use Infinito\Domain\RequestManagement\User\RequestedUser;
use Infinito\Entity\Source\Complex\UserSourceInterface;
/**
* @author kevinfrantz

View File

@@ -3,16 +3,16 @@
namespace tests\Unit\Domain\RequestManagement\Entity;
use PHPUnit\Framework\TestCase;
use App\Domain\RequestManagement\Entity\RequestedEntity;
use App\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use App\Exception\NotSetException;
use App\Exception\NotCorrectInstanceException;
use App\Domain\RequestManagement\Right\RequestedRightInterface;
use App\DBAL\Types\Meta\Right\LayerType;
use App\Repository\RepositoryInterface;
use App\Entity\EntityInterface;
use App\Entity\Source\AbstractSource;
use App\Exception\AllreadyDefinedException;
use Infinito\Domain\RequestManagement\Entity\RequestedEntity;
use Infinito\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use Infinito\Exception\NotSetException;
use Infinito\Exception\NotCorrectInstanceException;
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\Repository\RepositoryInterface;
use Infinito\Entity\EntityInterface;
use Infinito\Entity\Source\AbstractSource;
use Infinito\Exception\AllreadyDefinedException;
/**
* @author kevinfrantz

View File

@@ -3,19 +3,19 @@
namespace tests\Unit\Domain\RightManagement\User;
use PHPUnit\Framework\TestCase;
use App\Entity\User;
use App\Domain\RequestManagement\User\RequestedUser;
use App\DBAL\Types\Meta\Right\LayerType;
use App\DBAL\Types\Meta\Right\CRUDType;
use App\Entity\Source\AbstractSource;
use App\Domain\UserManagement\UserSourceDirectorInterface;
use App\Domain\RequestManagement\Right\RequestedRightInterface;
use App\Domain\RequestManagement\Right\RequestedRight;
use App\Domain\RequestManagement\Entity\RequestedEntityInterface;
use App\DBAL\Types\SystemSlugType;
use App\Exception\SetNotPossibleException;
use App\Entity\Source\SourceInterface;
use App\Domain\RequestManagement\Right\AbstractRequestedRightFacade;
use Infinito\Entity\User;
use Infinito\Domain\RequestManagement\User\RequestedUser;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\Entity\Source\AbstractSource;
use Infinito\Domain\UserManagement\UserSourceDirectorInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRight;
use Infinito\Domain\RequestManagement\Entity\RequestedEntityInterface;
use Infinito\DBAL\Types\SystemSlugType;
use Infinito\Exception\SetNotPossibleException;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\RequestManagement\Right\AbstractRequestedRightFacade;
/**
* @author kevinfrantz

View File

@@ -3,19 +3,19 @@
namespace tests\Unit\Domain\RequestManagement\Entity;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use App\Domain\RequestManagement\Right\RequestedRightInterface;
use App\Domain\RequestManagement\Right\RequestedRight;
use App\DBAL\Types\Meta\Right\LayerType;
use App\Domain\RequestManagement\Entity\RequestedEntity;
use App\DBAL\Types\SystemSlugType;
use App\Domain\RequestManagement\Entity\RequestedEntityInterface;
use App\Exception\PreconditionFailedException;
use App\Entity\Source\PureSource;
use App\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use App\Domain\RepositoryManagement\LayerRepositoryFactoryService;
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRight;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\Domain\RequestManagement\Entity\RequestedEntity;
use Infinito\DBAL\Types\SystemSlugType;
use Infinito\Domain\RequestManagement\Entity\RequestedEntityInterface;
use Infinito\Exception\PreconditionFailedException;
use Infinito\Entity\Source\PureSource;
use Infinito\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use Infinito\Domain\RepositoryManagement\LayerRepositoryFactoryService;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use App\Entity\Meta\Law;
use App\Entity\Source\SourceInterface;
use Infinito\Entity\Meta\Law;
use Infinito\Entity\Source\SourceInterface;
/**
* @author kevinfrantz

View File

@@ -3,10 +3,10 @@
namespace tests\Unit\Domain\RequestManagement\User;
use PHPUnit\Framework\TestCase;
use App\Domain\RequestManagement\User\RequestedUserService;
use App\Domain\UserManagement\UserSourceDirectorServiceInterface;
use App\Domain\RequestManagement\User\RequestedUserServiceInterface;
use App\Domain\RequestManagement\Right\RequestedRightServiceInterface;
use Infinito\Domain\RequestManagement\User\RequestedUserService;
use Infinito\Domain\UserManagement\UserSourceDirectorServiceInterface;
use Infinito\Domain\RequestManagement\User\RequestedUserServiceInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRightServiceInterface;
/**
* @author kevinfrantz

View File

@@ -3,20 +3,20 @@
namespace tests\Unit\Domain\RightManagement\User;
use PHPUnit\Framework\TestCase;
use App\Entity\User;
use App\Domain\RequestManagement\User\RequestedUser;
use App\DBAL\Types\Meta\Right\LayerType;
use App\DBAL\Types\Meta\Right\CRUDType;
use App\Entity\Source\AbstractSource;
use App\Domain\UserManagement\UserSourceDirectorInterface;
use App\Domain\RequestManagement\Right\RequestedRightInterface;
use App\Domain\RequestManagement\Right\RequestedRight;
use App\Domain\UserManagement\UserSourceDirector;
use App\Repository\Source\SourceRepositoryInterface;
use App\Domain\RequestManagement\Entity\RequestedEntityInterface;
use App\DBAL\Types\SystemSlugType;
use App\Exception\SetNotPossibleException;
use App\Exception\NotCorrectInstanceException;
use Infinito\Entity\User;
use Infinito\Domain\RequestManagement\User\RequestedUser;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\Entity\Source\AbstractSource;
use Infinito\Domain\UserManagement\UserSourceDirectorInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRight;
use Infinito\Domain\UserManagement\UserSourceDirector;
use Infinito\Repository\Source\SourceRepositoryInterface;
use Infinito\Domain\RequestManagement\Entity\RequestedEntityInterface;
use Infinito\DBAL\Types\SystemSlugType;
use Infinito\Exception\SetNotPossibleException;
use Infinito\Exception\NotCorrectInstanceException;
/**
* @author kevinfrantz

View File

@@ -3,14 +3,14 @@
namespace Tests\Unit\Domain\RightManagement;
use PHPUnit\Framework\TestCase;
use App\Entity\Meta\RightInterface;
use App\Entity\Meta\Right;
use App\Entity\Source\SourceInterface;
use App\DBAL\Types\Meta\Right\LayerType;
use App\Domain\RightManagement\RightCheckerInterface;
use App\Domain\RightManagement\RightChecker;
use App\DBAL\Types\Meta\Right\CRUDType;
use App\Entity\Source\PureSource;
use Infinito\Entity\Meta\RightInterface;
use Infinito\Entity\Meta\Right;
use Infinito\Entity\Source\SourceInterface;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\Domain\RightManagement\RightCheckerInterface;
use Infinito\Domain\RightManagement\RightChecker;
use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\Entity\Source\PureSource;
/**
* @author kevinfrantz

View File

@@ -3,10 +3,10 @@
namespace tests\Unit\Domain\RightManagement;
use PHPUnit\Framework\TestCase;
use App\Domain\RightManagement\RightLayerCombinationServiceInterface;
use App\Domain\RightManagement\RightLayerCombinationService;
use App\DBAL\Types\Meta\Right\CRUDType;
use App\DBAL\Types\Meta\Right\LayerType;
use Infinito\Domain\RightManagement\RightLayerCombinationServiceInterface;
use Infinito\Domain\RightManagement\RightLayerCombinationService;
use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\DBAL\Types\Meta\Right\LayerType;
/**
* @author kevinfrantz

View File

@@ -3,12 +3,12 @@
namespace tests\Unit\Domain\RightManagement;
use PHPUnit\Framework\TestCase;
use App\Domain\RequestManagement\Right\RequestedRight;
use App\DBAL\Types\Meta\Right\CRUDType;
use App\DBAL\Types\Meta\Right\LayerType;
use App\Entity\Source\SourceInterface;
use App\Domain\RightManagement\RightTransformerService;
use App\Domain\RequestManagement\Entity\RequestedEntityInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRight;
use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\RightManagement\RightTransformerService;
use Infinito\Domain\RequestManagement\Entity\RequestedEntityInterface;
/**
* @author kevinfrantz

View File

@@ -3,15 +3,15 @@
namespace tests\Unit\Domain\SecureManagement;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\AbstractSource;
use App\DBAL\Types\Meta\Right\LayerType;
use App\DBAL\Types\Meta\Right\CRUDType;
use App\Entity\Meta\Right;
use App\Domain\RequestManagement\Right\RequestedRight;
use App\Domain\RequestManagement\Entity\RequestedEntityInterface;
use App\Domain\SecureManagement\SecureRequestedRightCheckerService;
use App\Domain\RightManagement\RightTransformerService;
use App\Domain\RequestManagement\Right\RequestedRightInterface;
use Infinito\Entity\Source\AbstractSource;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\Entity\Meta\Right;
use Infinito\Domain\RequestManagement\Right\RequestedRight;
use Infinito\Domain\RequestManagement\Entity\RequestedEntityInterface;
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerService;
use Infinito\Domain\RightManagement\RightTransformerService;
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
/**
* @author kevinfrantz

View File

@@ -3,16 +3,16 @@
namespace Tests\Unit\Domain\SecureManagement;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\SourceInterface;
use App\Domain\SecureManagement\SecureSourceCheckerInterface;
use App\Entity\Source\AbstractSource;
use App\Domain\SecureManagement\SecureSourceChecker;
use App\Entity\Meta\Right;
use App\DBAL\Types\Meta\Right\LayerType;
use App\DBAL\Types\Meta\Right\CRUDType;
use App\Attribut\SourceAttribut;
use App\Attribut\SourceAttributInterface;
use App\Exception\SourceAccessDenied;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\SecureManagement\SecureSourceCheckerInterface;
use Infinito\Entity\Source\AbstractSource;
use Infinito\Domain\SecureManagement\SecureSourceChecker;
use Infinito\Entity\Meta\Right;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\Attribut\SourceAttribut;
use Infinito\Attribut\SourceAttributInterface;
use Infinito\Exception\SourceAccessDenied;
/**
* @author kevinfrantz

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
{

View File

@@ -3,10 +3,10 @@
namespace tests\Unit\Domain\TemplateManagement;
use PHPUnit\Framework\TestCase;
use App\Domain\TemplateManagement\TemplateNameServiceInterface;
use App\Domain\TemplateManagement\TemplateNameService;
use App\Domain\RequestManagement\Entity\RequestedEntityServiceInterface;
use App\Domain\RequestManagement\Action\RequestedActionServiceInterface;
use Infinito\Domain\TemplateManagement\TemplateNameServiceInterface;
use Infinito\Domain\TemplateManagement\TemplateNameService;
use Infinito\Domain\RequestManagement\Entity\RequestedEntityServiceInterface;
use Infinito\Domain\RequestManagement\Action\RequestedActionServiceInterface;
/**
* @author kevinfrantz
@@ -21,7 +21,7 @@ class TemplateNameServiceTest extends TestCase
/**
* @var string
*/
const CLASS_NAME = 'App\\Entity\\Source\\PureSource';
const CLASS_NAME = 'Infinito\\Entity\\Source\\PureSource';
/**
* @var string

View File

@@ -3,8 +3,8 @@
namespace tests\Unit\Domain\TemplateManagement;
use PHPUnit\Framework\TestCase;
use App\Domain\TemplateManagement\TemplatePathFormAndView;
use App\DBAL\Types\RESTResponseType;
use Infinito\Domain\TemplateManagement\TemplatePathFormAndView;
use Infinito\DBAL\Types\RESTResponseType;
/**
* @author kevinfrantz

View File

@@ -3,11 +3,11 @@
namespace Tests\Unit\Domain\TemplateManagement;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Primitive\Name\FirstNameSource;
use App\Entity\Source\SourceInterface;
use App\Domain\TemplateManagement\TemplatePathInformation;
use App\Domain\SourceManagement\SourceMetaInformation;
use App\DBAL\Types\RESTResponseType;
use Infinito\Entity\Source\Primitive\Name\FirstNameSource;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\TemplateManagement\TemplatePathInformation;
use Infinito\Domain\SourceManagement\SourceMetaInformation;
use Infinito\DBAL\Types\RESTResponseType;
class TemplatePathInformationTest extends TestCase
{

View File

@@ -2,10 +2,10 @@
namespace tests\Unit\Domain\UserManagement;
use App\Domain\UserManagement\UserSourceDirectorInterface;
use App\Domain\UserManagement\UserSourceDirectorService;
use App\Entity\User;
use App\Entity\Source\SourceInterface;
use Infinito\Domain\UserManagement\UserSourceDirectorInterface;
use Infinito\Domain\UserManagement\UserSourceDirectorService;
use Infinito\Entity\User;
use Infinito\Entity\Source\SourceInterface;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Symfony\Component\Security\Core\Security;

View File

@@ -3,11 +3,11 @@
namespace Tests\Unit\Domain\UserManagement;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use App\DBAL\Types\SystemSlugType;
use App\Entity\User;
use App\Domain\UserManagement\UserSourceDirector;
use App\Repository\Source\SourceRepository;
use App\Entity\Source\AbstractSource;
use Infinito\DBAL\Types\SystemSlugType;
use Infinito\Entity\User;
use Infinito\Domain\UserManagement\UserSourceDirector;
use Infinito\Repository\Source\SourceRepository;
use Infinito\Entity\Source\AbstractSource;
/**
* @author kevinfrantz

View File

@@ -3,8 +3,8 @@
namespace tests\unit\Entity;
use PHPUnit\Framework\TestCase;
use App\Entity\EntityInterface;
use App\Entity\AbstractEntity;
use Infinito\Entity\EntityInterface;
use Infinito\Entity\AbstractEntity;
class AbstractEntityTest extends TestCase
{

View File

@@ -5,9 +5,9 @@ namespace tests\unit\Entity\Meta;
use PHPUnit\Framework\TestCase;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Collections\ArrayCollection;
use App\Entity\Meta\LawInterface;
use App\Entity\Meta\Law;
use App\Entity\Meta\Right;
use Infinito\Entity\Meta\LawInterface;
use Infinito\Entity\Meta\Law;
use Infinito\Entity\Meta\Right;
class LawTest extends TestCase
{

View File

@@ -3,8 +3,8 @@
namespace Tests\Unit\Entity\Meta\Relation\Member;
use PHPUnit\Framework\TestCase;
use App\Entity\Meta\Relation\Member\MemberRelation;
use App\Entity\Meta\Relation\Member\MemberRelationInterface;
use Infinito\Entity\Meta\Relation\Member\MemberRelation;
use Infinito\Entity\Meta\Relation\Member\MemberRelationInterface;
use Doctrine\Common\Collections\Collection;
class MemberRelationTest extends TestCase

View File

@@ -4,8 +4,8 @@ namespace tests\Unit\Entity\Meta;
use PHPUnit\Framework\TestCase;
use Doctrine\Common\Collections\Collection;
use App\Entity\Meta\Relation\Parent\AbstractParentRelation;
use App\Entity\Meta\Relation\Parent\ParentRelationInterface;
use Infinito\Entity\Meta\Relation\Parent\AbstractParentRelation;
use Infinito\Entity\Meta\Relation\Parent\ParentRelationInterface;
class AbstractParentRelationTest extends TestCase
{

View File

@@ -3,13 +3,13 @@
namespace tests\unit\Entity;
use PHPUnit\Framework\TestCase;
use App\DBAL\Types\Meta\Right\CRUDType;
use App\Entity\Meta\RightInterface;
use App\Entity\Meta\Right;
use App\Entity\Meta\Law;
use App\DBAL\Types\Meta\Right\LayerType;
use App\Exception\NoValidChoiceException;
use App\Entity\Source\AbstractSource;
use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\Entity\Meta\RightInterface;
use Infinito\Entity\Meta\Right;
use Infinito\Entity\Meta\Law;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\Exception\NoValidChoiceException;
use Infinito\Entity\Source\AbstractSource;
/**
* @todo Implement reciever test

View File

@@ -3,12 +3,12 @@
namespace tests\unit\Entity\Source;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\SourceInterface;
use App\Entity\Meta\LawInterface;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Entity\Meta\LawInterface;
use Doctrine\Common\Collections\Collection;
use App\Entity\EntityInterface;
use App\Entity\Meta\Relation\Parent\CreatorRelationInterface;
use App\Entity\Source\PureSource;
use Infinito\Entity\EntityInterface;
use Infinito\Entity\Meta\Relation\Parent\CreatorRelationInterface;
use Infinito\Entity\Source\PureSource;
/**
* @author kevinfrantz

View File

@@ -3,8 +3,8 @@
namespace Tests\Unit\Entity\Source\Complex\Collection;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Complex\Collection\CollectionSourceInterface;
use App\Entity\Source\Complex\Collection\AbstractCollectionSource;
use Infinito\Entity\Source\Complex\Collection\CollectionSourceInterface;
use Infinito\Entity\Source\Complex\Collection\AbstractCollectionSource;
use Doctrine\Common\Collections\Collection;
class AbstractCollectionSourceTest extends TestCase

View File

@@ -5,9 +5,9 @@ namespace Tests\Unit\Entity\Source\Complex\Collection;
use PHPUnit\Framework\TestCase;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Collections\ArrayCollection;
use App\Entity\Source\Complex\Collection\TreeCollectionSourceInterface;
use App\Entity\Source\Complex\Collection\TreeCollectionSource;
use App\Entity\Source\PureSource;
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSourceInterface;
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSource;
use Infinito\Entity\Source\PureSource;
/**
* @author kevinfrantz

View File

@@ -3,10 +3,10 @@
namespace tests\unit\Entity\Source\Complex;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Complex\FullPersonNameSourceInterface;
use App\Entity\Source\Complex\FullPersonNameSource;
use App\Entity\Source\Primitive\Name\SurnameSourceInterface;
use App\Entity\Source\Primitive\Name\FirstNameSourceInterface;
use Infinito\Entity\Source\Complex\FullPersonNameSourceInterface;
use Infinito\Entity\Source\Complex\FullPersonNameSource;
use Infinito\Entity\Source\Primitive\Name\SurnameSourceInterface;
use Infinito\Entity\Source\Primitive\Name\FirstNameSourceInterface;
class FullPersonNameSourceTest extends TestCase
{

View File

@@ -3,9 +3,9 @@
namespace tests\unit\Entity\Source\Complex;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Complex\PersonIdentitySourceInterface;
use App\Entity\Source\Complex\PersonIdentitySource;
use App\Entity\Source\Complex\FullPersonNameSourceInterface;
use Infinito\Entity\Source\Complex\PersonIdentitySourceInterface;
use Infinito\Entity\Source\Complex\PersonIdentitySource;
use Infinito\Entity\Source\Complex\FullPersonNameSourceInterface;
class PersonIdentitySourceTest extends TestCase
{

View File

@@ -3,10 +3,10 @@
namespace tests\unit\Entity\Source\Complex;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Complex\UserSourceInterface;
use App\Entity\Source\Complex\UserSource;
use Infinito\Entity\Source\Complex\UserSourceInterface;
use Infinito\Entity\Source\Complex\UserSource;
use Doctrine\Common\Collections\Collection;
use App\Entity\Source\Complex\PersonIdentitySourceInterface;
use Infinito\Entity\Source\Complex\PersonIdentitySourceInterface;
class UserSourceTest extends TestCase
{

View File

@@ -3,14 +3,14 @@
namespace tests\unit\Entity\Source\Operand;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Operation\AbstractOperation;
use App\Entity\Source\Operation\OperationInterface;
use Infinito\Entity\Source\Operation\AbstractOperation;
use Infinito\Entity\Source\Operation\OperationInterface;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Collections\ArrayCollection;
use App\Logic\Operation\OperandInterface;
use App\Logic\Result\ResultInterface;
use App\Logic\Result\Result;
use App\Exception\NotProcessedException;
use Infinito\Logic\Operation\OperandInterface;
use Infinito\Logic\Result\ResultInterface;
use Infinito\Logic\Result\Result;
use Infinito\Exception\NotProcessedException;
class AbstractOperationTest extends TestCase
{

View File

@@ -3,13 +3,13 @@
namespace tests\unit\Entity\Source\Operation;
use PHPUnit\Framework\TestCase;
use App\Exception\NotDefinedException;
use App\Logic\Result\Result;
use App\Logic\Operation\OperandInterface;
use App\Logic\Result\ResultInterface;
use Infinito\Exception\NotDefinedException;
use Infinito\Logic\Result\Result;
use Infinito\Logic\Operation\OperandInterface;
use Infinito\Logic\Result\ResultInterface;
use Doctrine\Common\Collections\ArrayCollection;
use App\Entity\Source\Operation\OperationInterface;
use App\Entity\Source\Operation\AndOperation;
use Infinito\Entity\Source\Operation\OperationInterface;
use Infinito\Entity\Source\Operation\AndOperation;
class AndOperationTest extends TestCase
{

View File

@@ -3,8 +3,8 @@
namespace tests\unit\Entity\Source\Primitive;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Primitive\Name\NameSourceInterface;
use App\Entity\Source\Primitive\Name\AbstractNameSource;
use Infinito\Entity\Source\Primitive\Name\NameSourceInterface;
use Infinito\Entity\Source\Primitive\Name\AbstractNameSource;
/**
* @author kevinfrantz

View File

@@ -3,8 +3,8 @@
namespace Tests\Unit\Entity\Source\Primitive\Text;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Primitive\Text\TextSourceInterface;
use App\Entity\Source\Primitive\Text\TextSource;
use Infinito\Entity\Source\Primitive\Text\TextSourceInterface;
use Infinito\Entity\Source\Primitive\Text\TextSource;
class TextSourceTest extends TestCase
{

View File

@@ -2,10 +2,10 @@
namespace Tests\Unit\Entity\Source;
use App\Entity\Source\PureSourceInterface;
use App\Entity\Source\SourceInterface;
use App\Entity\Source\PureSource;
use App\Entity\Source\AbstractSource;
use Infinito\Entity\Source\PureSourceInterface;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Entity\Source\PureSource;
use Infinito\Entity\Source\AbstractSource;
use PHPUnit\Framework\TestCase;
/**

View File

@@ -3,13 +3,13 @@
namespace tests\unit\Entity;
use PHPUnit\Framework\TestCase;
use App\Entity\User;
use App\Entity\Source\Complex\UserSource;
use App\Entity\UserInterface;
use Infinito\Entity\User;
use Infinito\Entity\Source\Complex\UserSource;
use Infinito\Entity\UserInterface;
/**
* @author kevinfrantz
use App\Entity\Source\UserSource;
use Infinito\Entity\Source\UserSource;
*/
class UserTest extends TestCase
{

View File

@@ -3,7 +3,7 @@
namespace Event;
use PHPUnit\Framework\TestCase;
use App\Event\Menu\MenuEvent;
use Infinito\Event\Menu\MenuEvent;
use Knp\Menu\FactoryInterface;
use Knp\Menu\ItemInterface;
use Symfony\Component\HttpFoundation\RequestStack;

View File

@@ -3,7 +3,7 @@
namespace Tests\Unit\Form;
use PHPUnit\Framework\TestCase;
use App\Form\AbstractType;
use Infinito\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;

View File

@@ -3,8 +3,8 @@
namespace tests\Unit\Form\Source;
use Symfony\Component\Form\Test\TypeTestCase;
use App\Entity\Source\PureSource;
use App\Form\Source\PureSourceCreateType;
use Infinito\Entity\Source\PureSource;
use Infinito\Form\Source\PureSourceCreateType;
/**
* @author kevinfrantz

View File

@@ -3,10 +3,10 @@
namespace Tests\Unit\Form;
use PHPUnit\Framework\TestCase;
use App\Form\AbstractType;
use Infinito\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use App\Form\UserSourceType;
use Infinito\Form\UserSourceType;
/**
* This class just exists to keep the code coverage high.

View File

@@ -3,9 +3,9 @@
namespace Tests\Unit\Form;
use PHPUnit\Framework\TestCase;
use App\Form\AbstractType;
use Infinito\Form\AbstractType;
use Symfony\Component\OptionsResolver\OptionsResolver;
use App\Form\UserType;
use Infinito\Form\UserType;
use Symfony\Component\Form\FormBuilder;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\Form\FormFactoryInterface;

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Tests\Unit;
namespace Infinito\Tests\Unit;
use App\Kernel;
use App\Tests\AbstractTestCase;
use Infinito\Kernel;
use Tests\AbstractTestCase;
/**
* This tests just exist to keep the code covering high.

View File

@@ -3,8 +3,8 @@
namespace Tests\Unit\Logic;
use PHPUnit\Framework\TestCase;
use App\Logic\Result\ResultInterface;
use App\Logic\Result\Result;
use Infinito\Logic\Result\ResultInterface;
use Infinito\Logic\Result\Result;
class ResultTest extends TestCase
{

View File

@@ -3,11 +3,11 @@
namespace tests\Unit\Repository\Source;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use App\Repository\Source\SourceRepositoryInterface;
use App\Entity\Source\AbstractSource;
use App\Domain\RequestManagement\Entity\RequestedEntityInterface;
use App\DBAL\Types\SystemSlugType;
use App\Entity\Source\SourceInterface;
use Infinito\Repository\Source\SourceRepositoryInterface;
use Infinito\Entity\Source\AbstractSource;
use Infinito\Domain\RequestManagement\Entity\RequestedEntityInterface;
use Infinito\DBAL\Types\SystemSlugType;
use Infinito\Entity\Source\SourceInterface;
/**
* @author kevinfrantz

View File

@@ -4,8 +4,8 @@ namespace tests\Unit\Repository\Source;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Doctrine\ORM\EntityManager;
use App\Entity\Source\Complex\UserSource;
use App\Domain\SourceManagement\SourceMemberManager;
use Infinito\Entity\Source\Complex\UserSource;
use Infinito\Domain\SourceManagement\SourceMemberManager;
/**
* @todo refactor this to an integration test!

View File

@@ -4,11 +4,11 @@ namespace tests\Unit\Repository;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Doctrine\ORM\EntityManager;
use App\Repository\UserRepository;
use App\Entity\User;
use App\Entity\UserInterface;
use App\Entity\Source\Complex\PersonIdentitySourceInterface;
use App\Entity\Source\Complex\PersonIdentitySource;
use Infinito\Repository\UserRepository;
use Infinito\Entity\User;
use Infinito\Entity\UserInterface;
use Infinito\Entity\Source\Complex\PersonIdentitySourceInterface;
use Infinito\Entity\Source\Complex\PersonIdentitySource;
class UserRepositoryTest extends KernelTestCase
{

View File

@@ -2,9 +2,9 @@
namespace Tests\Unit\Entity\Subscriber;
use App\Subscriber\SourceMenuSubscriber;
use Infinito\Subscriber\SourceMenuSubscriber;
use Symfony\Component\Translation\Translator;
use App\Event\Menu\MenuEvent;
use Infinito\Event\Menu\MenuEvent;
use PHPUnit\Framework\TestCase;
use Symfony\Component\HttpFoundation\RequestStack;
use Symfony\Component\HttpFoundation\Request;