‪TYPO3CMS  9.5
TYPO3\CMS\Frontend\Tests\Unit\Resource\FilePathSanitizerTest Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Tests\Unit\Resource\FilePathSanitizerTest:

Public Member Functions

 sanitizeReturnsUrlCorrectly ()
 
 sanitizeReturnsFileCorrectly ()
 
 sanitizeFailsIfDirectoryGiven ()
 
 sanitizeThrowsExceptionWithInvalidFileName ()
 

Detailed Description

Testcase for \TYPO3\CMS\Frontend\Resource\FilePathSanitizer

Definition at line 27 of file FilePathSanitizerTest.php.

Member Function Documentation

◆ sanitizeFailsIfDirectoryGiven()

TYPO3\CMS\Frontend\Tests\Unit\Resource\FilePathSanitizerTest::sanitizeFailsIfDirectoryGiven ( )
Test:

Definition at line 51 of file FilePathSanitizerTest.php.

◆ sanitizeReturnsFileCorrectly()

TYPO3\CMS\Frontend\Tests\Unit\Resource\FilePathSanitizerTest::sanitizeReturnsFileCorrectly ( )
Test:

Definition at line 42 of file FilePathSanitizerTest.php.

◆ sanitizeReturnsUrlCorrectly()

TYPO3\CMS\Frontend\Tests\Unit\Resource\FilePathSanitizerTest::sanitizeReturnsUrlCorrectly ( )
Test:

Definition at line 32 of file FilePathSanitizerTest.php.

◆ sanitizeThrowsExceptionWithInvalidFileName()

TYPO3\CMS\Frontend\Tests\Unit\Resource\FilePathSanitizerTest::sanitizeThrowsExceptionWithInvalidFileName ( )
Test:

Definition at line 61 of file FilePathSanitizerTest.php.