‪TYPO3CMS  9.5
TYPO3\CMS\Core\Tests\Functional\Service\Archive\ZipServiceTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\Service\Archive\ZipServiceTest:

Public Member Functions

 filesCanNotGetExtractedOutsideTargetDirectory ()
 
 fileContentIsExtractedAsExpected ()
 
 fileContentIsExtractedAsExpectedAndSetsPermissions ()
 
 nonExistentFileThrowsException ()
 
 nonExistentDirectoryThrowsException ()
 
 nonWritableDirectoryThrowsException ()
 
 verifyDetectsValidArchive ()
 
 verifyDetectsSuspiciousSequences ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Private Attributes

vfsStreamDirectory $vfs
 
string $directory
 

Detailed Description

Definition at line 25 of file ZipServiceTest.php.

Member Function Documentation

◆ fileContentIsExtractedAsExpected()

TYPO3\CMS\Core\Tests\Functional\Service\Archive\ZipServiceTest::fileContentIsExtractedAsExpected ( )
Test:

Definition at line 76 of file ZipServiceTest.php.

◆ fileContentIsExtractedAsExpectedAndSetsPermissions()

TYPO3\CMS\Core\Tests\Functional\Service\Archive\ZipServiceTest::fileContentIsExtractedAsExpectedAndSetsPermissions ( )
Test:

Definition at line 94 of file ZipServiceTest.php.

References $GLOBALS.

◆ filesCanNotGetExtractedOutsideTargetDirectory()

TYPO3\CMS\Core\Tests\Functional\Service\Archive\ZipServiceTest::filesCanNotGetExtractedOutsideTargetDirectory ( )
Test:

Definition at line 57 of file ZipServiceTest.php.

◆ nonExistentDirectoryThrowsException()

TYPO3\CMS\Core\Tests\Functional\Service\Archive\ZipServiceTest::nonExistentDirectoryThrowsException ( )
Test:

Definition at line 133 of file ZipServiceTest.php.

◆ nonExistentFileThrowsException()

TYPO3\CMS\Core\Tests\Functional\Service\Archive\ZipServiceTest::nonExistentFileThrowsException ( )
Test:

Definition at line 119 of file ZipServiceTest.php.

◆ nonWritableDirectoryThrowsException()

TYPO3\CMS\Core\Tests\Functional\Service\Archive\ZipServiceTest::nonWritableDirectoryThrowsException ( )
Test:

Definition at line 147 of file ZipServiceTest.php.

◆ setUp()

TYPO3\CMS\Core\Tests\Functional\Service\Archive\ZipServiceTest::setUp ( )
protected

Definition at line 35 of file ZipServiceTest.php.

◆ tearDown()

TYPO3\CMS\Core\Tests\Functional\Service\Archive\ZipServiceTest::tearDown ( )
protected

Definition at line 48 of file ZipServiceTest.php.

◆ verifyDetectsSuspiciousSequences()

TYPO3\CMS\Core\Tests\Functional\Service\Archive\ZipServiceTest::verifyDetectsSuspiciousSequences ( )
Test:

Definition at line 176 of file ZipServiceTest.php.

◆ verifyDetectsValidArchive()

TYPO3\CMS\Core\Tests\Functional\Service\Archive\ZipServiceTest::verifyDetectsValidArchive ( )
Test:

Definition at line 166 of file ZipServiceTest.php.

Member Data Documentation

◆ $directory

string TYPO3\CMS\Core\Tests\Functional\Service\Archive\ZipServiceTest::$directory
private

Definition at line 33 of file ZipServiceTest.php.

◆ $vfs

vfsStreamDirectory TYPO3\CMS\Core\Tests\Functional\Service\Archive\ZipServiceTest::$vfs
private

Definition at line 29 of file ZipServiceTest.php.