TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
SystemEnvironmentBuilderTest Class Reference
Inheritance diagram for SystemEnvironmentBuilderTest:
UnitTestCase BaseTestCase

Public Member Functions

 fileDenyPatternMatchesPhpExtensionDataProvider ()
 
 fileDenyPatternMatchesPhpExtension ($phpExtension)
 
 getPathThisScriptCliReadsLocalPartFromArgv ()
 
 getPathThisScriptCliReadsLocalPartFromEnv ()
 
 getPathThisScriptCliReadsLocalPartFromServer ()
 
 getPathThisScriptCliAddsCurrentWorkingDirectoryFromServerEnvironmentToLocalPathOnUnix ()
 
 getUnifiedDirectoryNameReturnsCorrectPathOnUnix ()
 
 initializeGlobalVariablesUnsetsGlobalErrorArray ()
 
 initializeGlobalVariablesSetsGlobalTypo3MiscArray ()
 
 initializeGlobalVariablesSetsGlobalT3VarArray ()
 
 initializeGlobalVariablesSetsGlobalT3ServicesArray ()
 
 initializeGlobalTimeTrackingVariablesSetsGlobalVariablesDataProvider ()
 
 initializeGlobalTimeTrackingVariablesSetsGlobalVariables ($variable)
 
 initializeGlobalTimeTrackingVariablesSetsGlobalTypo3MiscMicrotimeStart ()
 
 initializeGlobalTimeTrackingVariablesRoundsAccessTimeToSixtySeconds ()
 
 initializeGlobalTimeTrackingVariablesRoundsSimAccessTimeToSixtySeconds ()
 
 initializeBasicErrorReportingExcludesStrict ()
 
 initializeBasicErrorReportingExcludesNotice ()
 
 initializeBasicErrorReportingExcludesDeprecated ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from 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,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $subject = null
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase

Definition at line 20 of file SystemEnvironmentBuilderTest.php.

Member Function Documentation

fileDenyPatternMatchesPhpExtension (   $phpExtension)

Tests whether an accordant PHP extension is denied.

Test:
fileDenyPatternMatchesPhpExtensionDataProvider
Parameters
string$phpExtension

Definition at line 61 of file SystemEnvironmentBuilderTest.php.

fileDenyPatternMatchesPhpExtensionDataProvider ( )

Data provider for 'fileDenyPatternMatchesPhpExtension' test case.

Returns
array

Definition at line 42 of file SystemEnvironmentBuilderTest.php.

References BaseTestCase\getUniqueId(), and GeneralUtility\trimExplode().

getPathThisScriptCliAddsCurrentWorkingDirectoryFromServerEnvironmentToLocalPathOnUnix ( )
Test:

Definition at line 102 of file SystemEnvironmentBuilderTest.php.

References $GLOBALS, and BaseTestCase\getUniqueId().

getPathThisScriptCliReadsLocalPartFromArgv ( )
Test:

Definition at line 69 of file SystemEnvironmentBuilderTest.php.

References $GLOBALS, and BaseTestCase\getUniqueId().

getPathThisScriptCliReadsLocalPartFromEnv ( )
Test:

Definition at line 79 of file SystemEnvironmentBuilderTest.php.

References $GLOBALS, and BaseTestCase\getUniqueId().

getPathThisScriptCliReadsLocalPartFromServer ( )
Test:

Definition at line 90 of file SystemEnvironmentBuilderTest.php.

References $GLOBALS, and BaseTestCase\getUniqueId().

getUnifiedDirectoryNameReturnsCorrectPathOnUnix ( )
Test:

Definition at line 113 of file SystemEnvironmentBuilderTest.php.

initializeBasicErrorReportingExcludesDeprecated ( )
Test:

Definition at line 244 of file SystemEnvironmentBuilderTest.php.

initializeBasicErrorReportingExcludesNotice ( )
Test:

Definition at line 232 of file SystemEnvironmentBuilderTest.php.

initializeBasicErrorReportingExcludesStrict ( )
Test:

Definition at line 220 of file SystemEnvironmentBuilderTest.php.

initializeGlobalTimeTrackingVariablesRoundsAccessTimeToSixtySeconds ( )
Test:

Definition at line 202 of file SystemEnvironmentBuilderTest.php.

References $GLOBALS.

initializeGlobalTimeTrackingVariablesRoundsSimAccessTimeToSixtySeconds ( )
Test:

Definition at line 211 of file SystemEnvironmentBuilderTest.php.

References $GLOBALS.

initializeGlobalTimeTrackingVariablesSetsGlobalTypo3MiscMicrotimeStart ( )
Test:

Definition at line 192 of file SystemEnvironmentBuilderTest.php.

References $GLOBALS.

initializeGlobalTimeTrackingVariablesSetsGlobalVariables (   $variable)
Test:
initializeGlobalTimeTrackingVariablesSetsGlobalVariablesDataProvider
Parameters
string$variableVariable to check for in $GLOBALS

Definition at line 182 of file SystemEnvironmentBuilderTest.php.

References $GLOBALS.

initializeGlobalTimeTrackingVariablesSetsGlobalVariablesDataProvider ( )

Data provider for initializeGlobalTimeTrackingVariablesSetsGlobalVariables

Returns
array

Definition at line 166 of file SystemEnvironmentBuilderTest.php.

initializeGlobalVariablesSetsGlobalT3ServicesArray ( )
Test:

Definition at line 154 of file SystemEnvironmentBuilderTest.php.

References $GLOBALS.

initializeGlobalVariablesSetsGlobalT3VarArray ( )
Test:

Definition at line 144 of file SystemEnvironmentBuilderTest.php.

References $GLOBALS.

initializeGlobalVariablesSetsGlobalTypo3MiscArray ( )
Test:

Definition at line 134 of file SystemEnvironmentBuilderTest.php.

References $GLOBALS.

initializeGlobalVariablesUnsetsGlobalErrorArray ( )
Test:

Definition at line 124 of file SystemEnvironmentBuilderTest.php.

References $GLOBALS.

setUp ( )
protected

Set up testcase

Returns
void

Definition at line 32 of file SystemEnvironmentBuilderTest.php.

References BaseTestCase\getAccessibleMock().

Member Data Documentation

$subject = null
protected

Definition at line 25 of file SystemEnvironmentBuilderTest.php.