‪TYPO3CMS  11.5
TYPO3\CMS\Core\Tests\Unit\Resource\StorageRepositoryTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Resource\StorageRepositoryTest:

Public Member Functions

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

Private Member Functions

 asRelativePath (string $value)
 

Detailed Description

Test case

Definition at line 31 of file StorageRepositoryTest.php.

Member Function Documentation

◆ asRelativePath()

TYPO3\CMS\Core\Tests\Unit\Resource\StorageRepositoryTest::asRelativePath ( string  $value)
private

◆ findBestMatchingStorageByLocalPathReturnsDefaultStorageIfNoMatchIsFound()

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

Definition at line 69 of file StorageRepositoryTest.php.

References TYPO3\CMS\Core\Resource\StorageRepository\findBestMatchingStorageByLocalPath().

◆ getDriverObjectAcceptsDriverClassName()

TYPO3\CMS\Core\Tests\Unit\Resource\StorageRepositoryTest::getDriverObjectAcceptsDriverClassName ( )
Test:

Definition at line 40 of file StorageRepositoryTest.php.

◆ storageDetectionDataProvider()

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

Definition at line 85 of file StorageRepositoryTest.php.