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,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;
/**