‪TYPO3CMS  10.4
TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest:

Public Member Functions

 directoryActionAllowsInvocationDataProvider ()
 
 directoryOpenAllowsInvocation (string $path)
 
 directoryReadAllowsInvocation (string $path, array $expectation)
 
 directoryCloseAllowsInvocation (string $path, array $expectation)
 
 directoryActionDeniesInvocationDataProvider ()
 
 directoryActionDeniesInvocation (string $path)
 
array urlStatAllowsInvocationDataProvider ()
 
 urlStatAllowsInvocation (string $functionName, string $path, $expectation)
 
array urlStatDeniesInvocationDataProvider ()
 
 urlStatDeniesInvocation (string $functionName, string $path)
 
 streamOpenAllowsInvocationForFileOpen ()
 
 streamOpenAllowsInvocationForFileRead ()
 
 streamOpenAllowsInvocationForFileEnd ()
 
 streamOpenAllowsInvocationForFileClose ()
 
 streamOpenAllowsInvocationForFileGetContents ()
 
 streamOpenAllowsInvocationForInclude ()
 
 streamOpenDeniesInvocationForFileOpen ()
 
 streamOpenDeniesInvocationForFileGetContents ()
 
 streamOpenDeniesInvocationForIncludeDataProvider ()
 
 streamOpenDeniesInvocationForInclude (string $path)
 

Protected Member Functions

 setUp ()
 

Protected Attributes

array $pathsToProvideInTestInstance
 

Detailed Description

Definition at line 23 of file PharStreamWrapperInterceptorTest.php.

Member Function Documentation

◆ directoryActionAllowsInvocationDataProvider()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::directoryActionAllowsInvocationDataProvider ( )

Definition at line 45 of file PharStreamWrapperInterceptorTest.php.

◆ directoryActionDeniesInvocation()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::directoryActionDeniesInvocation ( string  $path)
Parameters
string$path
Test:
‪@dataProvider directoryActionDeniesInvocationDataProvider

Definition at line 141 of file PharStreamWrapperInterceptorTest.php.

◆ directoryActionDeniesInvocationDataProvider()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::directoryActionDeniesInvocationDataProvider ( )

Definition at line 115 of file PharStreamWrapperInterceptorTest.php.

◆ directoryCloseAllowsInvocation()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::directoryCloseAllowsInvocation ( string  $path,
array  $expectation 
)
Parameters
string$path
$expectation
Test:
‪@dataProvider directoryActionAllowsInvocationDataProvider

Definition at line 105 of file PharStreamWrapperInterceptorTest.php.

◆ directoryOpenAllowsInvocation()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::directoryOpenAllowsInvocation ( string  $path)
Parameters
string$path
Test:
‪@dataProvider directoryActionAllowsInvocationDataProvider

Definition at line 71 of file PharStreamWrapperInterceptorTest.php.

◆ directoryReadAllowsInvocation()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::directoryReadAllowsInvocation ( string  $path,
array  $expectation 
)
Parameters
string$path
$expectation
Test:
‪@dataProvider directoryActionAllowsInvocationDataProvider

Definition at line 85 of file PharStreamWrapperInterceptorTest.php.

◆ setUp()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::setUp ( )
protected

Definition at line 34 of file PharStreamWrapperInterceptorTest.php.

◆ streamOpenAllowsInvocationForFileClose()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::streamOpenAllowsInvocationForFileClose ( )
Test:

Definition at line 322 of file PharStreamWrapperInterceptorTest.php.

◆ streamOpenAllowsInvocationForFileEnd()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::streamOpenAllowsInvocationForFileEnd ( )
Test:

Definition at line 311 of file PharStreamWrapperInterceptorTest.php.

◆ streamOpenAllowsInvocationForFileGetContents()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::streamOpenAllowsInvocationForFileGetContents ( )
Test:

Definition at line 333 of file PharStreamWrapperInterceptorTest.php.

◆ streamOpenAllowsInvocationForFileOpen()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::streamOpenAllowsInvocationForFileOpen ( )
Test:

Definition at line 290 of file PharStreamWrapperInterceptorTest.php.

◆ streamOpenAllowsInvocationForFileRead()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::streamOpenAllowsInvocationForFileRead ( )
Test:

Definition at line 300 of file PharStreamWrapperInterceptorTest.php.

◆ streamOpenAllowsInvocationForInclude()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::streamOpenAllowsInvocationForInclude ( )
Test:

Definition at line 343 of file PharStreamWrapperInterceptorTest.php.

◆ streamOpenDeniesInvocationForFileGetContents()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::streamOpenDeniesInvocationForFileGetContents ( )
Test:

Definition at line 371 of file PharStreamWrapperInterceptorTest.php.

◆ streamOpenDeniesInvocationForFileOpen()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::streamOpenDeniesInvocationForFileOpen ( )
Test:

Definition at line 359 of file PharStreamWrapperInterceptorTest.php.

◆ streamOpenDeniesInvocationForInclude()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::streamOpenDeniesInvocationForInclude ( string  $path)
Test:
‪@dataProvider streamOpenDeniesInvocationForIncludeDataProvider

Definition at line 392 of file PharStreamWrapperInterceptorTest.php.

◆ streamOpenDeniesInvocationForIncludeDataProvider()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::streamOpenDeniesInvocationForIncludeDataProvider ( )

Definition at line 380 of file PharStreamWrapperInterceptorTest.php.

◆ urlStatAllowsInvocation()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::urlStatAllowsInvocation ( string  $functionName,
string  $path,
  $expectation 
)
Parameters
string$functionName
string$path
mixed$expectation
Test:
‪@dataProvider urlStatAllowsInvocationDataProvider

Definition at line 209 of file PharStreamWrapperInterceptorTest.php.

◆ urlStatAllowsInvocationDataProvider()

array TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::urlStatAllowsInvocationDataProvider ( )
Returns
‪array

Definition at line 153 of file PharStreamWrapperInterceptorTest.php.

◆ urlStatDeniesInvocation()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::urlStatDeniesInvocation ( string  $functionName,
string  $path 
)
Parameters
string$functionName
string$path
mixed$expectation
Test:
‪@dataProvider urlStatDeniesInvocationDataProvider

Definition at line 278 of file PharStreamWrapperInterceptorTest.php.

◆ urlStatDeniesInvocationDataProvider()

array TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::urlStatDeniesInvocationDataProvider ( )
Returns
‪array

Definition at line 222 of file PharStreamWrapperInterceptorTest.php.

Member Data Documentation

◆ $pathsToProvideInTestInstance

array TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::$pathsToProvideInTestInstance
protected
Initial value:
= array(
'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_resources' => 'typo3conf/ext/test_resources',
'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_resources/bundle.phar' => 'fileadmin/bundle.phar',
)

Explicitly copy extension directory & files instead of using symlink with $testExtensionsToLoad

Definition at line 29 of file PharStreamWrapperInterceptorTest.php.