TYPO3 CMS  TYPO3_6-2
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

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

Protected Attributes

 $singletonInstances = array()
 
 $subject
 
 $filesCreated = array()
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = array('TYPO3_LOADED_EXT')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = TRUE
 
 $backupStaticAttributes = FALSE
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Testcase for the factory of FAL

Author
Andreas Wolf andre.nosp@m.as.w.nosp@m.olf@i.nosp@m.kt-w.nosp@m.erk.d.nosp@m.e

Definition at line 22 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
integer$expectedStorageId
Test:
storageDetectionDataProvider

Definition at line 155 of file ResourceFactoryTest.php.

◆ getDriverObjectAcceptsDriverClassName()

◆ retrieveFileOrFolderObjectReturnsFileIfPathIsGiven()

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

◆ setUp()

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

◆ storageDetectionDataProvider()

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

Definition at line 165 of file ResourceFactoryTest.php.

◆ tearDown()

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

Member Data Documentation

◆ $filesCreated

TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest::$filesCreated = array()
protected

Definition at line 37 of file ResourceFactoryTest.php.

◆ $singletonInstances

TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest::$singletonInstances = array()
protected

Definition at line 27 of file ResourceFactoryTest.php.

◆ $subject

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