‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest:

Public Member Functions

 bestStorageIsResolved (string $sourceIdentifier, string $expectedCombinedIdentifier)
 
 getNestedProcessingFolderTest ()
 
 isWithinFileMountBoundariesRespectsReadOnlyFileMounts (string $targetDirectory, string $fileMountFolder, bool $isFileMountReadOnly, bool $checkWriteAccess, bool $expectedResult)
 
 getProcessingRootFolderTest ()
 
 getRoleReturnsDefaultForRegularFolders ()
 
 replaceFileFailsIfLocalFileDoesNotExist ()
 
 createFolderThrowsExceptionIfParentFolderDoesNotExist ()
 
 deleteFileMovesFileToRecyclerFolderIfAvailable ()
 
 deleteFileUnlinksFileIfNoRecyclerFolderAvailable ()
 
 searchFilesFindsFilesInFolder (string $searchTerm, ?string $searchFolder, bool $recursive, array $filters, array $expectedIdentifiers)
 
 copyFolderThrowsErrorWhenFolderAlreadyExistsInTargetFolderAndConflictModeIsCancel ()
 
 copyFolderGeneratesNewFolderNameWhenFolderAlreadyExistsInTargetFolderAndConflictModeIsRename ()
 
 copyFileThrowsErrorWhenFileWithSameNameAlreadyExistsInTargetFolderAndConflictModeIsCancel ()
 
 copyFileGeneratesNewFileNameWhenFileAlreadyExistsInTargetFolderAndConflictModeIsRename ()
 
 copyFileCopiesMetadata ()
 

Static Public Member Functions

static bestStorageIsResolvedDataProvider ()
 
static isWithinFileMountBoundariesDataProvider ()
 
static searchFilesFindsFilesInFolderDataProvider ()
 

Protected Member Functions

 tearDown ()
 

Detailed Description

Definition at line 38 of file StorageRepositoryTest.php.

Member Function Documentation

◆ bestStorageIsResolved()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::bestStorageIsResolved ( string  $sourceIdentifier,
string  $expectedCombinedIdentifier 
)

◆ bestStorageIsResolvedDataProvider()

static TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::bestStorageIsResolvedDataProvider ( )
static

Definition at line 48 of file StorageRepositoryTest.php.

◆ copyFileCopiesMetadata()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::copyFileCopiesMetadata ( )

◆ copyFileGeneratesNewFileNameWhenFileAlreadyExistsInTargetFolderAndConflictModeIsRename()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::copyFileGeneratesNewFileNameWhenFileAlreadyExistsInTargetFolderAndConflictModeIsRename ( )

◆ copyFileThrowsErrorWhenFileWithSameNameAlreadyExistsInTargetFolderAndConflictModeIsCancel()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::copyFileThrowsErrorWhenFileWithSameNameAlreadyExistsInTargetFolderAndConflictModeIsCancel ( )

◆ copyFolderGeneratesNewFolderNameWhenFolderAlreadyExistsInTargetFolderAndConflictModeIsRename()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::copyFolderGeneratesNewFolderNameWhenFolderAlreadyExistsInTargetFolderAndConflictModeIsRename ( )

◆ copyFolderThrowsErrorWhenFolderAlreadyExistsInTargetFolderAndConflictModeIsCancel()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::copyFolderThrowsErrorWhenFolderAlreadyExistsInTargetFolderAndConflictModeIsCancel ( )

◆ createFolderThrowsExceptionIfParentFolderDoesNotExist()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::createFolderThrowsExceptionIfParentFolderDoesNotExist ( )

Definition at line 274 of file StorageRepositoryTest.php.

◆ deleteFileMovesFileToRecyclerFolderIfAvailable()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::deleteFileMovesFileToRecyclerFolderIfAvailable ( )

◆ deleteFileUnlinksFileIfNoRecyclerFolderAvailable()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::deleteFileUnlinksFileIfNoRecyclerFolderAvailable ( )

◆ getNestedProcessingFolderTest()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::getNestedProcessingFolderTest ( )

◆ getProcessingRootFolderTest()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::getProcessingRootFolderTest ( )

Definition at line 235 of file StorageRepositoryTest.php.

◆ getRoleReturnsDefaultForRegularFolders()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::getRoleReturnsDefaultForRegularFolders ( )

◆ isWithinFileMountBoundariesDataProvider()

static TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::isWithinFileMountBoundariesDataProvider ( )
static

Definition at line 164 of file StorageRepositoryTest.php.

◆ isWithinFileMountBoundariesRespectsReadOnlyFileMounts()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::isWithinFileMountBoundariesRespectsReadOnlyFileMounts ( string  $targetDirectory,
string  $fileMountFolder,
bool  $isFileMountReadOnly,
bool  $checkWriteAccess,
bool  $expectedResult 
)

◆ replaceFileFailsIfLocalFileDoesNotExist()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::replaceFileFailsIfLocalFileDoesNotExist ( )

◆ searchFilesFindsFilesInFolder()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::searchFilesFindsFilesInFolder ( string  $searchTerm,
?string  $searchFolder,
bool  $recursive,
array  $filters,
array  $expectedIdentifiers 
)

◆ searchFilesFindsFilesInFolderDataProvider()

static TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::searchFilesFindsFilesInFolderDataProvider ( )
static

Definition at line 315 of file StorageRepositoryTest.php.

◆ tearDown()

TYPO3\CMS\Core\Tests\Functional\Resource\StorageRepositoryTest::tearDown ( )
protected