‪TYPO3CMS  ‪main
TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest Class Reference
Inheritance diagram for TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest:

Public Member Functions

 databaseRecordForMissingFileIsDeleted ()
 
 fileForMissingReferenceIsDeleted ()
 
 dryRunReallyDoesNothing ()
 
 confirmDeleteYes ()
 
 confirmDeleteYesForAll ()
 
 confirmDeleteNo ()
 
 confirmDeleteNoWithAllOption ()
 
 allFilesAreDeleted ()
 
 allDatabaseRecordsAreDeleted ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Protected Attributes

CleanUpLocalProcessedFilesCommand $subject = null
 
CommandTester $commandTester = null
 
array $coreExtensionsToLoad = ['lowlevel']
 
array $pathsToProvideInTestInstance
 

Detailed Description

Definition at line 30 of file CleanUpLocalProcessedFilesTest.php.

Member Function Documentation

◆ allDatabaseRecordsAreDeleted()

TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::allDatabaseRecordsAreDeleted ( )
Test:

Definition at line 227 of file CleanUpLocalProcessedFilesTest.php.

◆ allFilesAreDeleted()

TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::allFilesAreDeleted ( )
Test:

Definition at line 211 of file CleanUpLocalProcessedFilesTest.php.

◆ confirmDeleteNo()

TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::confirmDeleteNo ( )
Test:

Definition at line 185 of file CleanUpLocalProcessedFilesTest.php.

References $output.

◆ confirmDeleteNoWithAllOption()

TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::confirmDeleteNoWithAllOption ( )
Test:

Definition at line 198 of file CleanUpLocalProcessedFilesTest.php.

References $output.

◆ confirmDeleteYes()

TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::confirmDeleteYes ( )
Test:

Definition at line 146 of file CleanUpLocalProcessedFilesTest.php.

References $output.

◆ confirmDeleteYesForAll()

TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::confirmDeleteYesForAll ( )
Test:

Definition at line 165 of file CleanUpLocalProcessedFilesTest.php.

References $output.

◆ databaseRecordForMissingFileIsDeleted()

TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::databaseRecordForMissingFileIsDeleted ( )
Test:

Definition at line 98 of file CleanUpLocalProcessedFilesTest.php.

◆ dryRunReallyDoesNothing()

TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::dryRunReallyDoesNothing ( )
Test:

Definition at line 124 of file CleanUpLocalProcessedFilesTest.php.

◆ fileForMissingReferenceIsDeleted()

TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::fileForMissingReferenceIsDeleted ( )
Test:

Definition at line 108 of file CleanUpLocalProcessedFilesTest.php.

◆ setUp()

TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::setUp ( )
protected

◆ tearDown()

TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::tearDown ( )
protected

Definition at line 84 of file CleanUpLocalProcessedFilesTest.php.

Member Data Documentation

◆ $commandTester

CommandTester TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::$commandTester = null
protected

Definition at line 34 of file CleanUpLocalProcessedFilesTest.php.

◆ $coreExtensionsToLoad

array TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::$coreExtensionsToLoad = ['lowlevel']
protected

Definition at line 36 of file CleanUpLocalProcessedFilesTest.php.

◆ $pathsToProvideInTestInstance

array TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::$pathsToProvideInTestInstance
protected
Initial value:
= [
'typo3/sysext/lowlevel/Tests/Functional/Fixtures/DataSet/image.png' => 'fileadmin/image.png',
'typo3/sysext/lowlevel/Tests/Functional/Fixtures/DataSet/NotReferencedImage.png' => 'fileadmin/_processed_/0/a/NotReferencedImage.png',
'typo3/sysext/lowlevel/Tests/Functional/Fixtures/DataSet/FileWithoutProcessedFileRecord.png' => 'fileadmin/_processed_/1/b/FileWithoutProcessedFileRecord.png',
'typo3/sysext/lowlevel/Tests/Functional/Fixtures/DataSet/NotReferencedImage2.png' => 'local-storage/_processed_/0/a/NotReferencedImage2.png',
'typo3/sysext/lowlevel/Tests/Functional/Fixtures/DataSet/FileWithoutProcessedFileRecord2.png' => 'local-storage/_processed_/1/b/FileWithoutProcessedFileRecord2.png',
'typo3/sysext/lowlevel/Tests/Functional/Fixtures/DataSet/ReferencedImage.png' => 'local-storage/_processed_/1/a/ReferencedImage.png',
'typo3/sysext/lowlevel/Tests/Functional/Fixtures/DataSet/ReferencedImage2.png' => 'local-storage/_processed_/1/a/ReferencedImage2.png',
]

Definition at line 38 of file CleanUpLocalProcessedFilesTest.php.

◆ $subject

CleanUpLocalProcessedFilesCommand TYPO3\CMS\Lowlevel\Tests\Functional\Clean\CleanUpLocalProcessedFilesTest::$subject = null
protected