TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest:
TYPO3\CMS\Core\Tests\FunctionalTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 directoryActionAllowsInvocationDataProvider ()
 
 directoryOpenAllowsInvocation ($path)
 
 directoryReadAllowsInvocation ($path, array $expectation)
 
 directoryCloseAllowsInvocation ($path, array $expectation)
 
 directoryActionDeniesInvocationDataProvider ()
 
 directoryActionDeniesInvocation ($path)
 
 urlStatAllowsInvocationDataProvider ()
 
 urlStatAllowsInvocation ($functionName, $path, $expectation)
 
 urlStatDeniesInvocationDataProvider ()
 
 urlStatDeniesInvocation ($functionName, $path)
 
 streamOpenAllowsInvocationForFileOpen ()
 
 streamOpenAllowsInvocationForFileRead ()
 
 streamOpenAllowsInvocationForFileEnd ()
 
 streamOpenAllowsInvocationForFileClose ()
 
 streamOpenAllowsInvocationForFileGetContents ()
 
 streamOpenAllowsInvocationForInclude ()
 
 streamOpenDeniesInvocationForFileOpen ()
 
 streamOpenDeniesInvocationForFileGetContents ()
 
 streamOpenDeniesInvocationForInclude ()
 
- Public Member Functions inherited from TYPO3\CMS\Core\Tests\FunctionalTestCase
 importCSVDataSet ($path)
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\FunctionalTestCase
 getInstanceIdentifier ()
 
 getInstancePath ()
 
 setUp ()
 
 getDatabaseConnection ()
 
 assertCSVDataSet ($path)
 
 assertInRecords (array $expectedRecord, array $actualRecords)
 
 getAllRecords ($tableName, $hasUidField=false)
 
 arrayToString (array $array)
 
 renderRecords (array $assertion, array $record)
 
 getDifferentFields (array $assertion, array $record)
 
 setUpFrontendRootPage ($pageId, array $typoScriptFiles=[])
 
 addTypoScriptToTemplateRecord ($pageId, $typoScript)
 
 getFrontendResponse ($pageId, $languageId=0, $backendUserId=0, $workspaceId=0, $failOnFailure=true, $frontendUserId=0)
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, $methods=[], array $arguments=[], $mockClassName='', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=[], $mockClassName='', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

 $testExtensionsToLoad
 
 $pathsToLinkInTestInstance
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\FunctionalTestCase
 $coreExtensionsToLoad = []
 
 $testExtensionsToLoad = []
 
 $pathsToLinkInTestInstance = []
 
 $configurationToUseInTestInstance = []
 
 $additionalFoldersToCreate = []
 
 $backendUserFixture = 'typo3/sysext/core/Tests/Functional/Fixtures/be_users.xml'
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Definition at line 20 of file PharStreamWrapperInterceptorTest.php.

Member Function Documentation

◆ directoryActionAllowsInvocationDataProvider()

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

Definition at line 48 of file PharStreamWrapperInterceptorTest.php.

◆ directoryActionDeniesInvocation()

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::directoryActionDeniesInvocation (   $path)
Parameters
string$path
Test:
directoryActionDeniesInvocationDataProvider Exception 1530103998

Definition at line 146 of file PharStreamWrapperInterceptorTest.php.

References TYPO3\CMS\Core\Tests\FunctionalTestCase\getInstancePath().

◆ directoryActionDeniesInvocationDataProvider()

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

Definition at line 118 of file PharStreamWrapperInterceptorTest.php.

◆ directoryCloseAllowsInvocation()

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

Definition at line 108 of file PharStreamWrapperInterceptorTest.php.

References TYPO3\CMS\Core\Tests\FunctionalTestCase\getInstancePath().

◆ directoryOpenAllowsInvocation()

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

Definition at line 74 of file PharStreamWrapperInterceptorTest.php.

References TYPO3\CMS\Core\Tests\FunctionalTestCase\getInstancePath().

◆ directoryReadAllowsInvocation()

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

Definition at line 88 of file PharStreamWrapperInterceptorTest.php.

References TYPO3\CMS\Core\Tests\FunctionalTestCase\getInstancePath().

◆ setUp()

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

Definition at line 36 of file PharStreamWrapperInterceptorTest.php.

◆ streamOpenAllowsInvocationForFileClose()

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

◆ streamOpenAllowsInvocationForFileEnd()

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

◆ streamOpenAllowsInvocationForFileGetContents()

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

◆ streamOpenAllowsInvocationForFileOpen()

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

◆ streamOpenAllowsInvocationForFileRead()

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

◆ streamOpenAllowsInvocationForInclude()

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

◆ streamOpenDeniesInvocationForFileGetContents()

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

◆ streamOpenDeniesInvocationForFileOpen()

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

◆ streamOpenDeniesInvocationForInclude()

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

◆ urlStatAllowsInvocation()

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

Definition at line 211 of file PharStreamWrapperInterceptorTest.php.

References TYPO3\CMS\Core\Tests\FunctionalTestCase\getInstancePath().

◆ urlStatAllowsInvocationDataProvider()

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

Definition at line 155 of file PharStreamWrapperInterceptorTest.php.

◆ urlStatDeniesInvocation()

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

Definition at line 282 of file PharStreamWrapperInterceptorTest.php.

References TYPO3\CMS\Core\Tests\FunctionalTestCase\getInstancePath().

◆ urlStatDeniesInvocationDataProvider()

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

Definition at line 224 of file PharStreamWrapperInterceptorTest.php.

Member Data Documentation

◆ $pathsToLinkInTestInstance

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::$pathsToLinkInTestInstance
protected
Initial value:
= [
'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_resources/bundle.phar' => 'fileadmin/bundle.phar'
]

Definition at line 32 of file PharStreamWrapperInterceptorTest.php.

◆ $testExtensionsToLoad

TYPO3\CMS\Core\Tests\Functional\IO\PharStreamWrapperInterceptorTest::$testExtensionsToLoad
protected
Initial value:
= [
'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_resources'
]

Definition at line 25 of file PharStreamWrapperInterceptorTest.php.