TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 createStorageCollectionObjectCreatesCollectionWithCorrectArguments ()
 
 getDriverObjectAcceptsDriverClassName ()
 
 retrieveFileOrFolderObjectReturnsFileIfPathIsGiven ()
 
 findBestMatchingStorageByLocalPathReturnsDefaultStorageIfNoMatchIsFound (array $storageConfiguration, $path, $expectedStorageId)
 
 storageDetectionDataProvider ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\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)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

 $singletonInstances = []
 
 $subject
 
 $filesCreated = []
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for the factory of FAL

Definition at line 20 of file ResourceFactoryTest.php.

Member Function Documentation

◆ createStorageCollectionObjectCreatesCollectionWithCorrectArguments()

TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest::createStorageCollectionObjectCreatesCollectionWithCorrectArguments ( )

◆ findBestMatchingStorageByLocalPathReturnsDefaultStorageIfNoMatchIsFound()

TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest::findBestMatchingStorageByLocalPathReturnsDefaultStorageIfNoMatchIsFound ( array  $storageConfiguration,
  $path,
  $expectedStorageId 
)
Parameters
array$storageConfiguration
string$path
int$expectedStorageId
Test:
storageDetectionDataProvider

Definition at line 159 of file ResourceFactoryTest.php.

◆ getDriverObjectAcceptsDriverClassName()

◆ retrieveFileOrFolderObjectReturnsFileIfPathIsGiven()

TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest::retrieveFileOrFolderObjectReturnsFileIfPathIsGiven ( )

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest::setUp ( )
protected

◆ storageDetectionDataProvider()

TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest::storageDetectionDataProvider ( )
Returns
array

Definition at line 168 of file ResourceFactoryTest.php.

◆ tearDown()

TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest::tearDown ( )
protected

Member Data Documentation

◆ $filesCreated

TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest::$filesCreated = []
protected

Definition at line 35 of file ResourceFactoryTest.php.

◆ $singletonInstances

TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest::$singletonInstances = []
protected

Definition at line 25 of file ResourceFactoryTest.php.

◆ $subject

TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest::$subject
protected