Commit c83a3427 authored by Wouter Wolters's avatar Wouter Wolters Committed by Christian Kuhn
Browse files

[TASK] Shorten the extend class in all unit tests

Shorten \TYPO3\TestingFramework\Core\Unit\UnitTestCase to UnitTestCase

Resolves: #86478
Releases: master
Change-Id: I5dc7704fb2776cff26f1bbf89b35e28fecd9a79e
Reviewed-on: https://review.typo3.org/58501


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 4b080a92
......@@ -26,11 +26,12 @@ use TYPO3\CMS\Core\Log\Logger;
use TYPO3\CMS\Core\Package\PackageInterface;
use TYPO3\CMS\Core\Package\PackageManager;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Testcase for class \TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching\ConditionMatcher.
*/
class ConditionMatcherTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class ConditionMatcherTest extends UnitTestCase
{
/**
* @var array
......
......@@ -15,11 +15,12 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Controller;
*/
use TYPO3\CMS\Backend\Controller\EditDocumentController;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Tests for EditDocumentController
*/
class EditDocumentControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class EditDocumentControllerTest extends UnitTestCase
{
/**
* @test
......
......@@ -18,11 +18,12 @@ use PHPUnit\Framework\MockObject\MockObject;
use TYPO3\CMS\Backend\Controller\File\ThumbnailController;
use TYPO3\CMS\Core\Http\Response;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Tests for \TYPO3\CMS\Backend\Controller\File\ThumbnailController
*/
class ThumbnailControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class ThumbnailControllerTest extends UnitTestCase
{
/**
* @var ThumbnailController|MockObject
......
......@@ -16,11 +16,12 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Controller;
use Psr\Http\Message\ServerRequestInterface;
use TYPO3\CMS\Backend\Controller\FormSelectTreeAjaxController;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class FormSelectTreeAjaxControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class FormSelectTreeAjaxControllerTest extends UnitTestCase
{
/**
* @test
......
......@@ -18,11 +18,12 @@ use Prophecy\Argument;
use Prophecy\Prophecy\ObjectProphecy;
use TYPO3\CMS\Backend\Form\FormDataCompiler;
use TYPO3\CMS\Backend\Form\FormDataGroupInterface;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class FormDataCompilerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class FormDataCompilerTest extends UnitTestCase
{
/**
* @var FormDataCompiler
......
......@@ -20,11 +20,12 @@ use TYPO3\CMS\Backend\Form\FormDataGroup\FlexFormSegment;
use TYPO3\CMS\Backend\Form\FormDataProviderInterface;
use TYPO3\CMS\Core\Service\DependencyOrderingService;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class FlexFormSegmentTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class FlexFormSegmentTest extends UnitTestCase
{
/**
* @var FlexFormSegment
......
......@@ -19,11 +19,12 @@ use Prophecy\Prophecy\ObjectProphecy;
use TYPO3\CMS\Backend\Form\FormDataGroup\OnTheFly;
use TYPO3\CMS\Backend\Form\FormDataProviderInterface;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class OnTheFlyTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class OnTheFlyTest extends UnitTestCase
{
/**
* @var OnTheFly
......
......@@ -20,11 +20,12 @@ use TYPO3\CMS\Backend\Form\FormDataGroup\TcaDatabaseRecord;
use TYPO3\CMS\Backend\Form\FormDataProviderInterface;
use TYPO3\CMS\Core\Service\DependencyOrderingService;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class TcaDatabaseRecordTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class TcaDatabaseRecordTest extends UnitTestCase
{
/**
* @var TcaDatabaseRecord
......
......@@ -20,11 +20,12 @@ use TYPO3\CMS\Backend\Form\FormDataGroup\TcaInputPlaceholderRecord;
use TYPO3\CMS\Backend\Form\FormDataProviderInterface;
use TYPO3\CMS\Core\Service\DependencyOrderingService;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class TcaInputPlaceholderRecordTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class TcaInputPlaceholderRecordTest extends UnitTestCase
{
/**
* @var TcaInputPlaceholderRecord
......
......@@ -16,11 +16,12 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider;
use TYPO3\CMS\Backend\Form\Exception\DatabaseRecordException;
use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseEditRow;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class DatabaseEditRowTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class DatabaseEditRowTest extends UnitTestCase
{
/**
* @var DatabaseEditRow|\PHPUnit_Framework_MockObject_MockObject
......
......@@ -15,11 +15,12 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider;
*/
use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseEffectivePid;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class DatabaseEffectivePidTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class DatabaseEffectivePidTest extends UnitTestCase
{
/**
* @var DatabaseEffectivePid
......
......@@ -20,11 +20,12 @@ use TYPO3\CMS\Backend\Form\Exception\DatabaseDefaultLanguageException;
use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseLanguageRows;
use TYPO3\CMS\Core\Authentication\BackendUserAuthentication;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class DatabaseLanguageRowsTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class DatabaseLanguageRowsTest extends UnitTestCase
{
/**
* @var DatabaseLanguageRows|\PHPUnit_Framework_MockObject_MockObject
......
......@@ -15,11 +15,12 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider;
*/
use TYPO3\CMS\Backend\Form\FormDataProvider\DatabasePageLanguageOverlayRows;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class DatabasePageLanguageOverlayRowsTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class DatabasePageLanguageOverlayRowsTest extends UnitTestCase
{
/**
* @var DatabasePageLanguageOverlayRows|\PHPUnit_Framework_MockObject_MockObject
......
......@@ -15,11 +15,12 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider;
*/
use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseParentPageRow;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class DatabaseParentPageRowTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class DatabaseParentPageRowTest extends UnitTestCase
{
/**
* @var DatabaseParentPageRow|\PHPUnit_Framework_MockObject_MockObject
......
......@@ -15,11 +15,12 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider;
*/
use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRecordOverrideValues;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class DatabaseRecordOverrideValuesTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class DatabaseRecordOverrideValuesTest extends UnitTestCase
{
/**
* @var DatabaseRecordOverrideValues
......
......@@ -15,11 +15,12 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider;
*/
use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowDateTimeFields;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class DatabaseRowDateTimeFieldsTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class DatabaseRowDateTimeFieldsTest extends UnitTestCase
{
/**
* @test
......
......@@ -15,11 +15,12 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider;
*/
use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowDefaultValues;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class DatabaseRowDefaultValuesTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class DatabaseRowDefaultValuesTest extends UnitTestCase
{
/**
* @var DatabaseRowDefaultValues
......
......@@ -15,11 +15,12 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider;
*/
use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseUniqueUidNewRow;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class DatabaseUniqueUidNewRowTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class DatabaseUniqueUidNewRowTest extends UnitTestCase
{
/**
* @var DatabaseUniqueUidNewRow
......
......@@ -15,11 +15,12 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider;
*/
use TYPO3\CMS\Backend\Form\FormDataProvider\InitializeProcessedTca;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class InitializeProcessedTcaTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class InitializeProcessedTcaTest extends UnitTestCase
{
/**
* @var InitializeProcessedTca
......
......@@ -15,11 +15,12 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider;
*/
use TYPO3\CMS\Backend\Form\FormDataProvider\PageTsConfigMerged;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Test case
*/
class PageTsConfigMergedTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class PageTsConfigMergedTest extends UnitTestCase
{
/**
* @var PageTsConfigMerged
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment