TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ProcessedFileTest Class Reference
Inheritance diagram for ProcessedFileTest:
UnitTestCase BaseTestCase

Public Member Functions

 propertiesOfProcessedFileAreSetFromDatabaseRow ()
 
 deletingProcessedFileRemovesFile ()
 
 deletingProcessedFileThatUsesOriginalFileDoesNotRemoveFile ()
 

Protected Member Functions

 setUp ()
 
 getFileFixture ($dbRow=null, $storageMock=null)
 
 getProcessedFileFixture ($dbRow=null, $originalFile=null)
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $folderMock
 
 $storageMock
 
 $databaseRow = []
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for the ProcessedFile class of the TYPO3 FAL

Definition at line 25 of file ProcessedFileTest.php.

Member Function Documentation

deletingProcessedFileRemovesFile ( )
deletingProcessedFileThatUsesOriginalFileDoesNotRemoveFile ( )
getFileFixture (   $dbRow = null,
  $storageMock = null 
)
protected
Parameters
array$dbRow
ResourceStorage$storageMock
Returns
File

Definition at line 68 of file ProcessedFileTest.php.

References ProcessedFileTest\$storageMock.

Referenced by ProcessedFileTest\getProcessedFileFixture().

getProcessedFileFixture (   $dbRow = null,
  $originalFile = null 
)
protected
propertiesOfProcessedFileAreSetFromDatabaseRow ( )
setUp ( )
protected
Exceptions
PHPUnit_Framework_Exception

Definition at line 45 of file ProcessedFileTest.php.

References BaseTestCase\getUniqueId().

Member Data Documentation

$folderMock
protected

Definition at line 30 of file ProcessedFileTest.php.

$storageMock
protected

Definition at line 35 of file ProcessedFileTest.php.

Referenced by ProcessedFileTest\getFileFixture().