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

Public Member Functions

 createFolderCreatesObjectWithCorrectArguments ()
 
 retrieveFileOrFolderObjectCallsGetFolderObjectFromCombinedIdentifierWithRelativePath ()
 
 retrieveFileOrFolderObjectCallsGetFolderObjectFromCombinedIdentifierWithAbsolutePath ()
 
 retrieveFileOrFolderObjectReturnsFileIfPathIsGiven ()
 
 retrieveFileOrFolderObjectReturnsFileFromPublicFolderWhenProjectRootIsNotPublic ()
 
 retrieveFileOrFolderObjectReturnsFileFromPublicExtensionResourceWhenExtensionIsNotPublic ()
 
 retrieveFileOrFolderObjectThrowsExceptionFromPrivateExtensionResourceWhenExtensionIsNotPublic ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Protected Attributes

bool $resetSingletonInstances = true
 
bool $backupEnvironment = true
 
ResourceFactory $subject
 
array $filesCreated = []
 

Detailed Description

Definition at line 28 of file ResourceFactoryTest.php.

Member Function Documentation

◆ createFolderCreatesObjectWithCorrectArguments()

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

◆ retrieveFileOrFolderObjectCallsGetFolderObjectFromCombinedIdentifierWithAbsolutePath()

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

◆ retrieveFileOrFolderObjectCallsGetFolderObjectFromCombinedIdentifierWithRelativePath()

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

◆ retrieveFileOrFolderObjectReturnsFileFromPublicExtensionResourceWhenExtensionIsNotPublic()

◆ retrieveFileOrFolderObjectReturnsFileFromPublicFolderWhenProjectRootIsNotPublic()

◆ retrieveFileOrFolderObjectReturnsFileIfPathIsGiven()

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

◆ retrieveFileOrFolderObjectThrowsExceptionFromPrivateExtensionResourceWhenExtensionIsNotPublic()

◆ setUp()

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

Definition at line 40 of file ResourceFactoryTest.php.

◆ tearDown()

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

Tear down

Definition at line 49 of file ResourceFactoryTest.php.

Member Data Documentation

◆ $backupEnvironment

bool TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest::$backupEnvironment = true
protected

Definition at line 32 of file ResourceFactoryTest.php.

◆ $filesCreated

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

Definition at line 38 of file ResourceFactoryTest.php.

◆ $resetSingletonInstances

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

Definition at line 30 of file ResourceFactoryTest.php.

◆ $subject