‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Resource\ProcessedFileTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Resource\ProcessedFileTest:

Public Member Functions

 propertiesOfProcessedFileAreSetFromDatabaseRow ()
 
 deletingProcessedFileRemovesFile ()
 
 deletingProcessedFileThatUsesOriginalFileDoesNotRemoveFile ()
 

Protected Member Functions

 setUp ()
 
 getFileFixture (array $dbRow=null, ResourceStorage $storageMock=null)
 
 getProcessedFileFixture (array $dbRow=null, File $originalFile=null)
 

Protected Attributes

bool $resetSingletonInstances = true
 
Folder &MockObject $folderMock
 
ResourceStorage &MockObject $storageMock
 
array $databaseRow = []
 

Detailed Description

Testcase for the ProcessedFile class of the TYPO3 FAL

Definition at line 32 of file ProcessedFileTest.php.

Member Function Documentation

◆ deletingProcessedFileRemovesFile()

TYPO3\CMS\Core\Tests\Unit\Resource\ProcessedFileTest::deletingProcessedFileRemovesFile ( )

◆ deletingProcessedFileThatUsesOriginalFileDoesNotRemoveFile()

TYPO3\CMS\Core\Tests\Unit\Resource\ProcessedFileTest::deletingProcessedFileThatUsesOriginalFileDoesNotRemoveFile ( )

◆ getFileFixture()

TYPO3\CMS\Core\Tests\Unit\Resource\ProcessedFileTest::getFileFixture ( array  $dbRow = null,
ResourceStorage  $storageMock = null 
)
protected

◆ getProcessedFileFixture()

◆ propertiesOfProcessedFileAreSetFromDatabaseRow()

TYPO3\CMS\Core\Tests\Unit\Resource\ProcessedFileTest::propertiesOfProcessedFileAreSetFromDatabaseRow ( )

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Resource\ProcessedFileTest::setUp ( )
protected
Exceptions
Exception

Definition at line 45 of file ProcessedFileTest.php.

References TYPO3\CMS\Core\Utility\StringUtility\getUniqueId().

Member Data Documentation

◆ $databaseRow

◆ $folderMock

Folder& MockObject TYPO3\CMS\Core\Tests\Unit\Resource\ProcessedFileTest::$folderMock
protected

Definition at line 36 of file ProcessedFileTest.php.

◆ $resetSingletonInstances

bool TYPO3\CMS\Core\Tests\Unit\Resource\ProcessedFileTest::$resetSingletonInstances = true
protected

Definition at line 34 of file ProcessedFileTest.php.

◆ $storageMock

ResourceStorage& MockObject TYPO3\CMS\Core\Tests\Unit\Resource\ProcessedFileTest::$storageMock
protected